Class: CyberSourceMergedSpec::ConsumerAuthenticationInformation5

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb

Overview

ConsumerAuthenticationInformation5 Model.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#check_for_conflict, #process_additional_properties, #process_array, #process_basic_value, #process_hash, #to_hash, #to_json

Constructor Details

#initialize(access_token: SKIP, acs_rendering_type: SKIP, acs_transaction_id: SKIP, acs_url: SKIP, authentication_path: SKIP, authorization_payload: SKIP, authentication_type: SKIP, authentication_transaction_id: SKIP, authentication_transaction_context_id: SKIP, validity_period: SKIP, cardholder_message: SKIP, cavv: SKIP, cavv_algorithm: SKIP, challenge_cancel_code: SKIP, challenge_required: SKIP, decoupled_authentication_indicator: SKIP, directory_server_error_code: SKIP, directory_server_error_description: SKIP, ecommerce_indicator: SKIP, eci: SKIP, eci_raw: SKIP, effective_authentication_type: SKIP, exemption_data_raw: SKIP, ivr: SKIP, network_score: SKIP, pareq: SKIP, pares_status: SKIP, proof_xml: SKIP, proxy_pan: SKIP, sdk_transaction_id: SKIP, signed_pares_status_reason: SKIP, specification_version: SKIP, step_up_url: SKIP, three_ds_server_transaction_id: SKIP, ucaf_authentication_data: SKIP, ucaf_collection_indicator: SKIP, veres_enrolled: SKIP, white_list_status_source: SKIP, xid: SKIP, directory_server_transaction_id: SKIP, acs_operator_id: SKIP, acs_reference_number: SKIP, idci_decision: SKIP, idci_reason_code1: SKIP, idci_reason_code2: SKIP, idci_score: SKIP, additional_properties: nil) ⇒ ConsumerAuthenticationInformation5

Returns a new instance of ConsumerAuthenticationInformation5.



532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 532

def initialize(access_token: SKIP, acs_rendering_type: SKIP,
               acs_transaction_id: SKIP, acs_url: SKIP,
               authentication_path: SKIP, authorization_payload: SKIP,
               authentication_type: SKIP,
               authentication_transaction_id: SKIP,
               authentication_transaction_context_id: SKIP,
               validity_period: SKIP, cardholder_message: SKIP, cavv: SKIP,
               cavv_algorithm: SKIP, challenge_cancel_code: SKIP,
               challenge_required: SKIP,
               decoupled_authentication_indicator: SKIP,
               directory_server_error_code: SKIP,
               directory_server_error_description: SKIP,
               ecommerce_indicator: SKIP, eci: SKIP, eci_raw: SKIP,
               effective_authentication_type: SKIP,
               exemption_data_raw: SKIP, ivr: SKIP, network_score: SKIP,
               pareq: SKIP, pares_status: SKIP, proof_xml: SKIP,
               proxy_pan: SKIP, sdk_transaction_id: SKIP,
               signed_pares_status_reason: SKIP,
               specification_version: SKIP, step_up_url: SKIP,
               three_ds_server_transaction_id: SKIP,
               ucaf_authentication_data: SKIP,
               ucaf_collection_indicator: SKIP, veres_enrolled: SKIP,
               white_list_status_source: SKIP, xid: SKIP,
               directory_server_transaction_id: SKIP, acs_operator_id: SKIP,
               acs_reference_number: SKIP, idci_decision: SKIP,
               idci_reason_code1: SKIP, idci_reason_code2: SKIP,
               idci_score: SKIP, additional_properties: nil)
  # Add additional model properties to the instance
  additional_properties = {} if additional_properties.nil?

  @access_token = access_token unless access_token == SKIP
  @acs_rendering_type = acs_rendering_type unless acs_rendering_type == SKIP
  @acs_transaction_id = acs_transaction_id unless acs_transaction_id == SKIP
  @acs_url = acs_url unless acs_url == SKIP
  @authentication_path = authentication_path unless authentication_path == SKIP
  @authorization_payload = authorization_payload unless authorization_payload == SKIP
  @authentication_type = authentication_type unless authentication_type == SKIP
  unless authentication_transaction_id == SKIP
    @authentication_transaction_id =
      authentication_transaction_id
  end
  unless authentication_transaction_context_id == SKIP
    @authentication_transaction_context_id =
      authentication_transaction_context_id
  end
  @validity_period = validity_period unless validity_period == SKIP
  @cardholder_message = cardholder_message unless cardholder_message == SKIP
  @cavv = cavv unless cavv == SKIP
  @cavv_algorithm = cavv_algorithm unless cavv_algorithm == SKIP
  @challenge_cancel_code = challenge_cancel_code unless challenge_cancel_code == SKIP
  @challenge_required = challenge_required unless challenge_required == SKIP
  unless decoupled_authentication_indicator == SKIP
    @decoupled_authentication_indicator =
      decoupled_authentication_indicator
  end
  unless directory_server_error_code == SKIP
    @directory_server_error_code =
      directory_server_error_code
  end
  unless directory_server_error_description == SKIP
    @directory_server_error_description =
      directory_server_error_description
  end
  @ecommerce_indicator = ecommerce_indicator unless ecommerce_indicator == SKIP
  @eci = eci unless eci == SKIP
  @eci_raw = eci_raw unless eci_raw == SKIP
  unless effective_authentication_type == SKIP
    @effective_authentication_type =
      effective_authentication_type
  end
  @exemption_data_raw = exemption_data_raw unless exemption_data_raw == SKIP
  @ivr = ivr unless ivr == SKIP
  @network_score = network_score unless network_score == SKIP
  @pareq = pareq unless pareq == SKIP
  @pares_status = pares_status unless pares_status == SKIP
  @proof_xml = proof_xml unless proof_xml == SKIP
  @proxy_pan = proxy_pan unless proxy_pan == SKIP
  @sdk_transaction_id = sdk_transaction_id unless sdk_transaction_id == SKIP
  unless signed_pares_status_reason == SKIP
    @signed_pares_status_reason =
      signed_pares_status_reason
  end
  @specification_version = specification_version unless specification_version == SKIP
  @step_up_url = step_up_url unless step_up_url == SKIP
  unless three_ds_server_transaction_id == SKIP
    @three_ds_server_transaction_id =
      three_ds_server_transaction_id
  end
  @ucaf_authentication_data = ucaf_authentication_data unless ucaf_authentication_data == SKIP
  unless ucaf_collection_indicator == SKIP
    @ucaf_collection_indicator =
      ucaf_collection_indicator
  end
  @veres_enrolled = veres_enrolled unless veres_enrolled == SKIP
  @white_list_status_source = white_list_status_source unless white_list_status_source == SKIP
  @xid = xid unless xid == SKIP
  unless directory_server_transaction_id == SKIP
    @directory_server_transaction_id =
      directory_server_transaction_id
  end
  @acs_operator_id = acs_operator_id unless acs_operator_id == SKIP
  @acs_reference_number = acs_reference_number unless acs_reference_number == SKIP
  @idci_decision = idci_decision unless idci_decision == SKIP
  @idci_reason_code1 = idci_reason_code1 unless idci_reason_code1 == SKIP
  @idci_reason_code2 = idci_reason_code2 unless idci_reason_code2 == SKIP
  @idci_score = idci_score unless idci_score == SKIP
  @additional_properties = additional_properties
end

Instance Attribute Details

#access_tokenString

JSON Web Token (JWT) used to authenticate the consumer with the authentication provider, such as, CardinalCommerce or Rupay. Note - Max Length of this field is 2048 characters.

Returns:

  • (String)


16
17
18
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 16

def access_token
  @access_token
end

#acs_operator_idString

Directory Server assigned ACS identifier.

Returns:

  • (String)


396
397
398
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 396

def acs_operator_id
  @acs_operator_id
end

#acs_reference_numberString

Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval.

Returns:

  • (String)


401
402
403
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 401

def acs_reference_number
  @acs_reference_number
end

#acs_rendering_typeString

Identifies the UI Type the ACS will use to complete the challenge. NOTE: Only available for App transactions using the Cardinal Mobile SDK.

Returns:

  • (String)


22
23
24
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 22

def acs_rendering_type
  @acs_rendering_type
end

#acs_transaction_idString

Unique transaction identifier assigned by the ACS to identify a single transaction.

Returns:

  • (String)


27
28
29
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 27

def acs_transaction_id
  @acs_transaction_id
end

#acs_urlString

URL for the card-issuing bank’s authentication form that you receive when the card is enrolled. The value can be very large.

Returns:

  • (String)


33
34
35
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 33

def acs_url
  @acs_url
end

#authentication_pathString

Indicates what displays to the customer during the authentication process. This field can contain one of these values:

  • ADS: (Card not enrolled) customer prompted to activate the card during the checkout process.
  • ATTEMPTS: (Attempts processing) Processing briefly displays before the checkout process is completed.
  • ENROLLED: (Card enrolled) the card issuer’s authentication window displays.
  • UNKNOWN: Card enrollment status cannot be determined.
  • NOREDIRECT: (Card not enrolled, authentication unavailable, or error occurred) nothing displays to the customer. The following values can be returned if you are using rules-based payer authentication.
  • RIBA: The card-issuing bank supports risk-based authentication, but whether the cardholder is likely to be challenged cannot be determined.
  • RIBA_PASS: The card-issuing bank supports risk-based authentication and it is likely that the cardholder will not be challenged to provide credentials, also known as silent authentication.

Returns:

  • (String)


56
57
58
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 56

def authentication_path
  @authentication_path
end

#authentication_transaction_context_idString

Payer authentication transaction identifier passed to link the validation and authorization calls.

Returns:

  • (String)


86
87
88
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 86

def authentication_transaction_context_id
  @authentication_transaction_context_id
end

#authentication_transaction_idString

Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.

Returns:

  • (String)


81
82
83
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 81

def authentication_transaction_id
  @authentication_transaction_id
end

#authentication_typeString

Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled 20 - OTP hosted at merchant end. (Rupay S2S flow) NOTE: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.

Returns:

  • (String)


75
76
77
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 75

def authentication_type
  @authentication_type
end

#authorization_payloadString

The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow

Returns:

  • (String)


61
62
63
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 61

def authorization_payload
  @authorization_payload
end

#cardholder_messageString

Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example, “Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.”. The Issuing Bank can optionally support this value.

Returns:

  • (String)


98
99
100
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 98

def cardholder_message
  @cardholder_message
end

#cavvString

Unique identifier generated by the card-issuing bank for Visa, American Express, JCB, Diners Club, and Discover transactions after the customer is authenticated. The value is in base64. When you request the card authorization service, CyberSource automatically converts the value, not the field name, to the format required by your payment processor.

Returns:

  • (String)


108
109
110
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 108

def cavv
  @cavv
end

#cavv_algorithmString

Field that is returned only when the CAVV is generated, which occurs when paresStatus contains the values Y (successful authentication) or A (attempted authentication). If you use the ATOS processor, send the value of this field in the cavv_algorithm request field of the authorization service. This field contains one of these values:

  • 2: Visa, American Express, JCB, Diners Club, and Discover
  • 3: Mastercard

Returns:

  • (String)


120
121
122
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 120

def cavv_algorithm
  @cavv_algorithm
end

#challenge_cancel_codeString

An indicator as to why the transaction was canceled. Possible Values:

  • 01: Cardholder selected Cancel.
  • 02: Reserved for future EMVCo use (values invalid until defined by EMVCo).
  • 03: Transaction Timed Out—Decoupled Authentication
  • 04: Transaction timed out at ACS—other timeouts
  • 05: Transaction Timed out at ACS - First CReq not received by ACS
  • 06: Transaction Error
  • 07: Unknown
  • 08: Transaction Timed Out at SDK

Returns:

  • (String)


134
135
136
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 134

def challenge_cancel_code
  @challenge_cancel_code
end

#challenge_requiredString

Indicates whether a challenge is required in order to complete authentication. Note Regional mandates might determine that a challenge is required. Possible values:

  • Y: Challenge required
  • N: Challenge not required Note Used by the Hybrid integration.

Returns:

  • (String)


144
145
146
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 144

def challenge_required
  @challenge_required
end

#decoupled_authentication_indicatorString

Indicates whether the 3DS Requestor requests the ACS to utilize Decoupled Authentication and agrees to utilize Decoupled Authentication if the ACS confirms its use. Possible Values: Y - Decoupled Authentication is supported and preferred if challenge is necessary N - Do not use Decoupled Authentication Default Value: N

Returns:

  • (String)


155
156
157
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 155

def decoupled_authentication_indicator
  @decoupled_authentication_indicator
end

#directory_server_error_codeString

The directory server error code indicating a problem with this transaction. Note - Max Length of this field is typically 3 characters.

Returns:

  • (String)


160
161
162
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 160

def directory_server_error_code
  @directory_server_error_code
end

#directory_server_error_descriptionString

Directory server text and additional detail about the error for this transaction.

Returns:

  • (String)


165
166
167
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 165

def directory_server_error_description
  @directory_server_error_description
end

#directory_server_transaction_idString

The Directory Server Transaction ID is generated by the Mastercard Directory Server during the authentication transaction and passed back to the merchant with the authentication results. For Cybersource Through Visanet Gateway: The value for this field corresponds to the following data in the TC 33 capture file3: Record: CP01 TCR7, Position: 114-149, Field: MC AVV Verification—Directory Server Transaction ID

Returns:

  • (String)


392
393
394
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 392

def directory_server_transaction_id
  @directory_server_transaction_id
end

#eciString

Note This field applies only to non-U.S-issued cards. For enroll, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions when the card is not enrolled. For more information, see "Interpreting the Reply," page 22. If you are not using the CyberSource payment services, you must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values:

  • 06: The card can be enrolled. Liability shift.
  • 07: The card cannot be enrolled. No liability shift. For validate, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions. The field is absent when authentication fails. You must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values:
  • 05: Successful authentication
  • 06: Authentication attempted
  • 07: Failed authentication (No response from the merchant because of a problem.)

Returns:

  • (String)


210
211
212
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 210

def eci
  @eci
end

#eci_rawString

ECI value that can be returned for Visa, Mastercard, American Express, JCB, Diners Club, and Discover. The field is absent when authentication fails. If your payment processor is Streamline, you must pass the value of this field instead of the value of eci or ucafCollectionIndicator. This field can contain one of these values:

  • 01: Authentication attempted (Mastercard)
  • 02: Successful authentication (Mastercard)
  • 05: Successful authentication (Visa, American Express, JCB, Diners Club, and Discover)
  • 06: Authentication attempted (Visa, American Express, JCB, Diners Club, and Discover)

Returns:

  • (String)


226
227
228
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 226

def eci_raw
  @eci_raw
end

#ecommerce_indicatorString

Commerce indicator for cards not enrolled. This field contains one of these values:

  • internet: Card not enrolled, or card type not supported by payer authentication. No liability shift.
  • js_attempted: Card not enrolled, but attempt to authenticate is recorded. Liability shift.
  • js_failure: J/Secure directory service is not available. No liability shift.
  • spa: Mastercard card not enrolled in the SecureCode program. No liability shift.
  • vbv_attempted: Card not enrolled, but attempt to authenticate is recorded. Liability shift.
  • vbv_failure: For payment processor Barclays, Streamline, AIBMS, or FDC Germany, you receive this result if Visa’s directory service is not available. No liability shift.

Returns:

  • (String)


184
185
186
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 184

def ecommerce_indicator
  @ecommerce_indicator
end

#effective_authentication_typeString

This field describes the type of 3DS transaction flow that took place. It can be one of three possible flows; CH - Challenge FR - Frictionless FD - Frictionless with delegation, (challenge not generated by the issuer but by the scheme on behalf of the issuer).

Returns:

  • (String)


235
236
237
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 235

def effective_authentication_type
  @effective_authentication_type
end

#exemption_data_rawString

Payer authentication exemption indicator for Carte Bancaire exemptions. This is used with unbundled authentication and authorizations calls, for example: "low fraud merchant program". The value returned in this field should be passed in the authorization request under the field - consumerAuthenticationInformation.strongAuthentication.issuerInformation. exemptionDataRaw.

Returns:

  • (String)


245
246
247
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 245

def exemption_data_raw
  @exemption_data_raw
end

#idci_decisionString

Decision on the Risk Assessment from Mastercard.

Returns:

  • (String)


405
406
407
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 405

def idci_decision
  @idci_decision
end

#idci_reason_code1String

ReasonCode from Mastercard

Returns:

  • (String)


409
410
411
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 409

def idci_reason_code1
  @idci_reason_code1
end

#idci_reason_code2String

ReasonCode from Mastercard

Returns:

  • (String)


413
414
415
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 413

def idci_reason_code2
  @idci_reason_code2
end

#idci_scoreInteger

Risk Assessment from Mastercard

Returns:

  • (Integer)


417
418
419
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 417

def idci_score
  @idci_score
end

#ivrIvr

Payer authentication exemption indicator for Carte Bancaire exemptions. This is used with unbundled authentication and authorizations calls, for example: "low fraud merchant program". The value returned in this field should be passed in the authorization request under the field - consumerAuthenticationInformation.strongAuthentication.issuerInformation. exemptionDataRaw.

Returns:



255
256
257
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 255

def ivr
  @ivr
end

#network_scoreString

The global score calculated by the CB scoring platform and returned to merchants.

Returns:

  • (String)


260
261
262
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 260

def network_score
  @network_score
end

#pareqString

Payer authentication request (PAReq) message that you need to forward to the ACS. The value can be very large. The value is in base64.

Returns:

  • (String)


266
267
268
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 266

def pareq
  @pareq
end

#pares_statusString

Raw result of the authentication check. If you are configured for Asia, Middle East, and Africa Gateway Processing, you need to send the value of this field in your authorization request. This field can contain one of these values:

  • A: Proof of authentication attempt was generated.
  • N: Customer failed or canceled authentication. Transaction denied.
  • U: Authentication not completed regardless of the reason.
  • Y: Customer was successfully authenticated.

Returns:

  • (String)


278
279
280
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 278

def pares_status
  @pares_status
end

#proof_xmlString

Date and time of the enrollment check combined with the VEReq and VERes elements. If you ever need to show proof of enrollment checking, you may need to parse the string for the information required by the payment card company. The value can be very large. For cards issued in the U.S. or Canada, Visa may require this data for specific merchant category codes.For cards not issued in the U.S. or Canada, your bank may require this data as proof of enrollment checking for any payer authentication transaction that you re-present because of a chargeback.

Returns:

  • (String)


291
292
293
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 291

def proof_xml
  @proof_xml
end

#proxy_panString

Encrypted version of the card number used in the payer authentication request message.

Returns:

  • (String)


296
297
298
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 296

def proxy_pan
  @proxy_pan
end

#sdk_transaction_idString

SDK unique transaction identifier that is generated on each new transaction.

Returns:

  • (String)


301
302
303
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 301

def sdk_transaction_id
  @sdk_transaction_id
end

#signed_pares_status_reasonString

Provides additional information as to why the PAResStatus has a specific value.

Returns:

  • (String)


306
307
308
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 306

def signed_pares_status_reason
  @signed_pares_status_reason
end

#specification_versionString

This field contains the 3D Secure version that was used to process the transaction. For example: 2.2.0

Returns:

  • (String)


311
312
313
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 311

def specification_version
  @specification_version
end

#step_up_urlString

The fully qualified URL that the merchant uses to post a form to the cardholder in order to complete the Consumer Authentication transaction for the Cardinal Cruise API integration.

Returns:

  • (String)


317
318
319
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 317

def step_up_url
  @step_up_url
end

#three_ds_server_transaction_idString

Unique transaction identifier assigned by the 3DS Server to identify a single transaction.

Returns:

  • (String)


322
323
324
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 322

def three_ds_server_transaction_id
  @three_ds_server_transaction_id
end

#ucaf_authentication_dataString

AAV is a unique identifier generated by the card-issuing bank for Mastercard Identity Check transactions after the customer is authenticated. The value is in base64. Include the data in the card authorization request.

Returns:

  • (String)


329
330
331
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 329

def ucaf_authentication_data
  @ucaf_authentication_data
end

#ucaf_collection_indicatorString

For enroll, Returned only for Mastercard transactions. Indicates that authentication is not required because the customer is not enrolled. Add the value of this field to the authorization field ucaf_collection_indicator. This field can contain these values: 0, 1. For validate, Numeric electronic commerce indicator (ECI) returned only for Mastercard Identity Check transactions. The field is absent when authentication fails. You must send this value to your payment processor in the request for card authorization. This field contain one of these values:

  • 0: Authentication data not collected, and customer authentication was not completed.
  • 1: Authentication data not collected because customer authentication was not completed.
  • 2: Authentication data collected because customer completed authentication.

Returns:

  • (String)


349
350
351
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 349

def ucaf_collection_indicator
  @ucaf_collection_indicator
end

#validity_periodInteger

Describes validity of OTP in minutes for incoming transaction. .

Returns:

  • (Integer)


90
91
92
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 90

def validity_period
  @validity_period
end

#veres_enrolledString

Result of the enrollment check. This field can contain one of these values:

  • Y: Card enrolled or can be enrolled; you must authenticate. Liability shift.
  • N: Card not enrolled; proceed with authorization. Liability shift.
  • U: Unable to authenticate regardless of the reason. No liability shift. Note This field only applies to the Asia, Middle East, and Africa Gateway. If you are configured for this processor, you must send the value of this field in your authorization request. The following value can be returned if you are using rules-based Payer Authentication:
  • B: Indicates that authentication was bypassed.

Returns:

  • (String)


366
367
368
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 366

def veres_enrolled
  @veres_enrolled
end

#white_list_status_sourceString

This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS

Returns:

  • (String)


371
372
373
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 371

def white_list_status_source
  @white_list_status_source
end

#xidString

Transaction identifier generated by CyberSource for successful enrollment or validation checks. Use this value, which is in base64, to match an outgoing PAReq with an incoming PARes. CyberSource forwards the XID with the card authorization service to these payment processors in these cases:

  • Barclays
  • Streamline (when the ecommerceIndicator=spa)

Returns:

  • (String)


382
383
384
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 382

def xid
  @xid
end

Class Method Details

.from_element(root) ⇒ Object



779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 779

def self.from_element(root)
  access_token = XmlUtilities.from_element(root, 'accessToken', String)
  acs_rendering_type = XmlUtilities.from_element(root, 'acsRenderingType',
                                                 String)
  acs_transaction_id = XmlUtilities.from_element(root, 'acsTransactionId',
                                                 String)
  acs_url = XmlUtilities.from_element(root, 'acsUrl', String)
  authentication_path = XmlUtilities.from_element(root,
                                                  'authenticationPath',
                                                  String)
  authorization_payload = XmlUtilities.from_element(root,
                                                    'authorizationPayload',
                                                    String)
  authentication_type = XmlUtilities.from_element(root,
                                                  'authenticationType',
                                                  String)
  authentication_transaction_id = XmlUtilities.from_element(
    root, 'authenticationTransactionId', String
  )
  authentication_transaction_context_id = XmlUtilities.from_element(
    root, 'authenticationTransactionContextId', String
  )
  validity_period = XmlUtilities.from_element(root, 'validityPeriod',
                                              Integer)
  cardholder_message = XmlUtilities.from_element(root, 'cardholderMessage',
                                                 String)
  cavv = XmlUtilities.from_element(root, 'cavv', String)
  cavv_algorithm = XmlUtilities.from_element(root, 'cavvAlgorithm', String)
  challenge_cancel_code = XmlUtilities.from_element(root,
                                                    'challengeCancelCode',
                                                    String)
  challenge_required = XmlUtilities.from_element(root, 'challengeRequired',
                                                 String)
  decoupled_authentication_indicator = XmlUtilities.from_element(
    root, 'decoupledAuthenticationIndicator', String
  )
  directory_server_error_code = XmlUtilities.from_element(
    root, 'directoryServerErrorCode', String
  )
  directory_server_error_description = XmlUtilities.from_element(
    root, 'directoryServerErrorDescription', String
  )
  ecommerce_indicator = XmlUtilities.from_element(root,
                                                  'ecommerceIndicator',
                                                  String)
  eci = XmlUtilities.from_element(root, 'eci', String)
  eci_raw = XmlUtilities.from_element(root, 'eciRaw', String)
  effective_authentication_type = XmlUtilities.from_element(
    root, 'effectiveAuthenticationType', String
  )
  exemption_data_raw = XmlUtilities.from_element(root, 'exemptionDataRaw',
                                                 String)
  ivr = XmlUtilities.from_element(root, 'Ivr', Ivr)
  network_score = XmlUtilities.from_element(root, 'networkScore', String)
  pareq = XmlUtilities.from_element(root, 'pareq', String)
  pares_status = XmlUtilities.from_element(root, 'paresStatus', String)
  proof_xml = XmlUtilities.from_element(root, 'proofXml', String)
  proxy_pan = XmlUtilities.from_element(root, 'proxyPan', String)
  sdk_transaction_id = XmlUtilities.from_element(root, 'sdkTransactionId',
                                                 String)
  signed_pares_status_reason = XmlUtilities.from_element(
    root, 'signedParesStatusReason', String
  )
  specification_version = XmlUtilities.from_element(root,
                                                    'specificationVersion',
                                                    String)
  step_up_url = XmlUtilities.from_element(root, 'stepUpUrl', String)
  three_ds_server_transaction_id = XmlUtilities.from_element(
    root, 'threeDSServerTransactionId', String
  )
  ucaf_authentication_data = XmlUtilities.from_element(
    root, 'ucafAuthenticationData', String
  )
  ucaf_collection_indicator = XmlUtilities.from_element(
    root, 'ucafCollectionIndicator', String
  )
  veres_enrolled = XmlUtilities.from_element(root, 'veresEnrolled', String)
  white_list_status_source = XmlUtilities.from_element(
    root, 'whiteListStatusSource', String
  )
  xid = XmlUtilities.from_element(root, 'xid', String)
  directory_server_transaction_id = XmlUtilities.from_element(
    root, 'directoryServerTransactionId', String
  )
  acs_operator_id = XmlUtilities.from_element(root, 'acsOperatorID', String)
  acs_reference_number = XmlUtilities.from_element(root,
                                                   'acsReferenceNumber',
                                                   String)
  idci_decision = XmlUtilities.from_element(root, 'idciDecision', String)
  idci_reason_code1 = XmlUtilities.from_element(root, 'idciReasonCode1',
                                                String)
  idci_reason_code2 = XmlUtilities.from_element(root, 'idciReasonCode2',
                                                String)
  idci_score = XmlUtilities.from_element(root, 'idciScore', Integer)

  new(access_token: access_token,
      acs_rendering_type: acs_rendering_type,
      acs_transaction_id: acs_transaction_id,
      acs_url: acs_url,
      authentication_path: authentication_path,
      authorization_payload: authorization_payload,
      authentication_type: authentication_type,
      authentication_transaction_id: authentication_transaction_id,
      authentication_transaction_context_id: authentication_transaction_context_id,
      validity_period: validity_period,
      cardholder_message: cardholder_message,
      cavv: cavv,
      cavv_algorithm: cavv_algorithm,
      challenge_cancel_code: challenge_cancel_code,
      challenge_required: challenge_required,
      decoupled_authentication_indicator: decoupled_authentication_indicator,
      directory_server_error_code: directory_server_error_code,
      directory_server_error_description: directory_server_error_description,
      ecommerce_indicator: ecommerce_indicator,
      eci: eci,
      eci_raw: eci_raw,
      effective_authentication_type: effective_authentication_type,
      exemption_data_raw: exemption_data_raw,
      ivr: ivr,
      network_score: network_score,
      pareq: pareq,
      pares_status: pares_status,
      proof_xml: proof_xml,
      proxy_pan: proxy_pan,
      sdk_transaction_id: sdk_transaction_id,
      signed_pares_status_reason: signed_pares_status_reason,
      specification_version: specification_version,
      step_up_url: step_up_url,
      three_ds_server_transaction_id: three_ds_server_transaction_id,
      ucaf_authentication_data: ucaf_authentication_data,
      ucaf_collection_indicator: ucaf_collection_indicator,
      veres_enrolled: veres_enrolled,
      white_list_status_source: white_list_status_source,
      xid: xid,
      directory_server_transaction_id: directory_server_transaction_id,
      acs_operator_id: acs_operator_id,
      acs_reference_number: acs_reference_number,
      idci_decision: idci_decision,
      idci_reason_code1: idci_reason_code1,
      idci_reason_code2: idci_reason_code2,
      idci_score: idci_score,
      additional_properties: additional_properties)
end

.from_hash(hash) ⇒ Object

Creates an instance of the object from a hash.



642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 642

def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.
  access_token = hash.key?('accessToken') ? hash['accessToken'] : SKIP
  acs_rendering_type =
    hash.key?('acsRenderingType') ? hash['acsRenderingType'] : SKIP
  acs_transaction_id =
    hash.key?('acsTransactionId') ? hash['acsTransactionId'] : SKIP
  acs_url = hash.key?('acsUrl') ? hash['acsUrl'] : SKIP
  authentication_path =
    hash.key?('authenticationPath') ? hash['authenticationPath'] : SKIP
  authorization_payload =
    hash.key?('authorizationPayload') ? hash['authorizationPayload'] : SKIP
  authentication_type =
    hash.key?('authenticationType') ? hash['authenticationType'] : SKIP
  authentication_transaction_id =
    hash.key?('authenticationTransactionId') ? hash['authenticationTransactionId'] : SKIP
  authentication_transaction_context_id =
    hash.key?('authenticationTransactionContextId') ? hash['authenticationTransactionContextId'] : SKIP
  validity_period =
    hash.key?('validityPeriod') ? hash['validityPeriod'] : SKIP
  cardholder_message =
    hash.key?('cardholderMessage') ? hash['cardholderMessage'] : SKIP
  cavv = hash.key?('cavv') ? hash['cavv'] : SKIP
  cavv_algorithm = hash.key?('cavvAlgorithm') ? hash['cavvAlgorithm'] : SKIP
  challenge_cancel_code =
    hash.key?('challengeCancelCode') ? hash['challengeCancelCode'] : SKIP
  challenge_required =
    hash.key?('challengeRequired') ? hash['challengeRequired'] : SKIP
  decoupled_authentication_indicator =
    hash.key?('decoupledAuthenticationIndicator') ? hash['decoupledAuthenticationIndicator'] : SKIP
  directory_server_error_code =
    hash.key?('directoryServerErrorCode') ? hash['directoryServerErrorCode'] : SKIP
  directory_server_error_description =
    hash.key?('directoryServerErrorDescription') ? hash['directoryServerErrorDescription'] : SKIP
  ecommerce_indicator =
    hash.key?('ecommerceIndicator') ? hash['ecommerceIndicator'] : SKIP
  eci = hash.key?('eci') ? hash['eci'] : SKIP
  eci_raw = hash.key?('eciRaw') ? hash['eciRaw'] : SKIP
  effective_authentication_type =
    hash.key?('effectiveAuthenticationType') ? hash['effectiveAuthenticationType'] : SKIP
  exemption_data_raw =
    hash.key?('exemptionDataRaw') ? hash['exemptionDataRaw'] : SKIP
  ivr = Ivr.from_hash(hash['ivr']) if hash['ivr']
  network_score = hash.key?('networkScore') ? hash['networkScore'] : SKIP
  pareq = hash.key?('pareq') ? hash['pareq'] : SKIP
  pares_status = hash.key?('paresStatus') ? hash['paresStatus'] : SKIP
  proof_xml = hash.key?('proofXml') ? hash['proofXml'] : SKIP
  proxy_pan = hash.key?('proxyPan') ? hash['proxyPan'] : SKIP
  sdk_transaction_id =
    hash.key?('sdkTransactionId') ? hash['sdkTransactionId'] : SKIP
  signed_pares_status_reason =
    hash.key?('signedParesStatusReason') ? hash['signedParesStatusReason'] : SKIP
  specification_version =
    hash.key?('specificationVersion') ? hash['specificationVersion'] : SKIP
  step_up_url = hash.key?('stepUpUrl') ? hash['stepUpUrl'] : SKIP
  three_ds_server_transaction_id =
    hash.key?('threeDSServerTransactionId') ? hash['threeDSServerTransactionId'] : SKIP
  ucaf_authentication_data =
    hash.key?('ucafAuthenticationData') ? hash['ucafAuthenticationData'] : SKIP
  ucaf_collection_indicator =
    hash.key?('ucafCollectionIndicator') ? hash['ucafCollectionIndicator'] : SKIP
  veres_enrolled = hash.key?('veresEnrolled') ? hash['veresEnrolled'] : SKIP
  white_list_status_source =
    hash.key?('whiteListStatusSource') ? hash['whiteListStatusSource'] : SKIP
  xid = hash.key?('xid') ? hash['xid'] : SKIP
  directory_server_transaction_id =
    hash.key?('directoryServerTransactionId') ? hash['directoryServerTransactionId'] : SKIP
  acs_operator_id =
    hash.key?('acsOperatorID') ? hash['acsOperatorID'] : SKIP
  acs_reference_number =
    hash.key?('acsReferenceNumber') ? hash['acsReferenceNumber'] : SKIP
  idci_decision = hash.key?('idciDecision') ? hash['idciDecision'] : SKIP
  idci_reason_code1 =
    hash.key?('idciReasonCode1') ? hash['idciReasonCode1'] : SKIP
  idci_reason_code2 =
    hash.key?('idciReasonCode2') ? hash['idciReasonCode2'] : SKIP
  idci_score = hash.key?('idciScore') ? hash['idciScore'] : SKIP

  # Create a new hash for additional properties, removing known properties.
  new_hash = hash.reject { |k, _| names.value?(k) }

  additional_properties = APIHelper.get_additional_properties(
    new_hash, proc { |value| value }
  )

  # Create object from extracted values.
  ConsumerAuthenticationInformation5.new(access_token: access_token,
                                         acs_rendering_type: acs_rendering_type,
                                         acs_transaction_id: acs_transaction_id,
                                         acs_url: acs_url,
                                         authentication_path: authentication_path,
                                         authorization_payload: authorization_payload,
                                         authentication_type: authentication_type,
                                         authentication_transaction_id: authentication_transaction_id,
                                         authentication_transaction_context_id: authentication_transaction_context_id,
                                         validity_period: validity_period,
                                         cardholder_message: cardholder_message,
                                         cavv: cavv,
                                         cavv_algorithm: cavv_algorithm,
                                         challenge_cancel_code: challenge_cancel_code,
                                         challenge_required: challenge_required,
                                         decoupled_authentication_indicator: decoupled_authentication_indicator,
                                         directory_server_error_code: directory_server_error_code,
                                         directory_server_error_description: directory_server_error_description,
                                         ecommerce_indicator: ecommerce_indicator,
                                         eci: eci,
                                         eci_raw: eci_raw,
                                         effective_authentication_type: effective_authentication_type,
                                         exemption_data_raw: exemption_data_raw,
                                         ivr: ivr,
                                         network_score: network_score,
                                         pareq: pareq,
                                         pares_status: pares_status,
                                         proof_xml: proof_xml,
                                         proxy_pan: proxy_pan,
                                         sdk_transaction_id: sdk_transaction_id,
                                         signed_pares_status_reason: signed_pares_status_reason,
                                         specification_version: specification_version,
                                         step_up_url: step_up_url,
                                         three_ds_server_transaction_id: three_ds_server_transaction_id,
                                         ucaf_authentication_data: ucaf_authentication_data,
                                         ucaf_collection_indicator: ucaf_collection_indicator,
                                         veres_enrolled: veres_enrolled,
                                         white_list_status_source: white_list_status_source,
                                         xid: xid,
                                         directory_server_transaction_id: directory_server_transaction_id,
                                         acs_operator_id: acs_operator_id,
                                         acs_reference_number: acs_reference_number,
                                         idci_decision: idci_decision,
                                         idci_reason_code1: idci_reason_code1,
                                         idci_reason_code2: idci_reason_code2,
                                         idci_score: idci_score,
                                         additional_properties: additional_properties)
end

.namesObject

A mapping from model property names to API property names.



420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 420

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['access_token'] = 'accessToken'
  @_hash['acs_rendering_type'] = 'acsRenderingType'
  @_hash['acs_transaction_id'] = 'acsTransactionId'
  @_hash['acs_url'] = 'acsUrl'
  @_hash['authentication_path'] = 'authenticationPath'
  @_hash['authorization_payload'] = 'authorizationPayload'
  @_hash['authentication_type'] = 'authenticationType'
  @_hash['authentication_transaction_id'] = 'authenticationTransactionId'
  @_hash['authentication_transaction_context_id'] =
    'authenticationTransactionContextId'
  @_hash['validity_period'] = 'validityPeriod'
  @_hash['cardholder_message'] = 'cardholderMessage'
  @_hash['cavv'] = 'cavv'
  @_hash['cavv_algorithm'] = 'cavvAlgorithm'
  @_hash['challenge_cancel_code'] = 'challengeCancelCode'
  @_hash['challenge_required'] = 'challengeRequired'
  @_hash['decoupled_authentication_indicator'] =
    'decoupledAuthenticationIndicator'
  @_hash['directory_server_error_code'] = 'directoryServerErrorCode'
  @_hash['directory_server_error_description'] =
    'directoryServerErrorDescription'
  @_hash['ecommerce_indicator'] = 'ecommerceIndicator'
  @_hash['eci'] = 'eci'
  @_hash['eci_raw'] = 'eciRaw'
  @_hash['effective_authentication_type'] = 'effectiveAuthenticationType'
  @_hash['exemption_data_raw'] = 'exemptionDataRaw'
  @_hash['ivr'] = 'ivr'
  @_hash['network_score'] = 'networkScore'
  @_hash['pareq'] = 'pareq'
  @_hash['pares_status'] = 'paresStatus'
  @_hash['proof_xml'] = 'proofXml'
  @_hash['proxy_pan'] = 'proxyPan'
  @_hash['sdk_transaction_id'] = 'sdkTransactionId'
  @_hash['signed_pares_status_reason'] = 'signedParesStatusReason'
  @_hash['specification_version'] = 'specificationVersion'
  @_hash['step_up_url'] = 'stepUpUrl'
  @_hash['three_ds_server_transaction_id'] = 'threeDSServerTransactionId'
  @_hash['ucaf_authentication_data'] = 'ucafAuthenticationData'
  @_hash['ucaf_collection_indicator'] = 'ucafCollectionIndicator'
  @_hash['veres_enrolled'] = 'veresEnrolled'
  @_hash['white_list_status_source'] = 'whiteListStatusSource'
  @_hash['xid'] = 'xid'
  @_hash['directory_server_transaction_id'] =
    'directoryServerTransactionId'
  @_hash['acs_operator_id'] = 'acsOperatorID'
  @_hash['acs_reference_number'] = 'acsReferenceNumber'
  @_hash['idci_decision'] = 'idciDecision'
  @_hash['idci_reason_code1'] = 'idciReasonCode1'
  @_hash['idci_reason_code2'] = 'idciReasonCode2'
  @_hash['idci_score'] = 'idciScore'
  @_hash
end

.nullablesObject

An array for nullable fields



528
529
530
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 528

def self.nullables
  []
end

.optionalsObject

An array for optional fields



476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 476

def self.optionals
  %w[
    access_token
    acs_rendering_type
    acs_transaction_id
    acs_url
    authentication_path
    authorization_payload
    authentication_type
    authentication_transaction_id
    authentication_transaction_context_id
    validity_period
    cardholder_message
    cavv
    cavv_algorithm
    challenge_cancel_code
    challenge_required
    decoupled_authentication_indicator
    directory_server_error_code
    directory_server_error_description
    ecommerce_indicator
    eci
    eci_raw
    effective_authentication_type
    exemption_data_raw
    ivr
    network_score
    pareq
    pares_status
    proof_xml
    proxy_pan
    sdk_transaction_id
    signed_pares_status_reason
    specification_version
    step_up_url
    three_ds_server_transaction_id
    ucaf_authentication_data
    ucaf_collection_indicator
    veres_enrolled
    white_list_status_source
    xid
    directory_server_transaction_id
    acs_operator_id
    acs_reference_number
    idci_decision
    idci_reason_code1
    idci_reason_code2
    idci_score
  ]
end

Instance Method Details

#inspectObject

Provides a debugging-friendly string with detailed object information.



1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 1043

def inspect
  class_name = self.class.name.split('::').last
  "<#{class_name} access_token: #{@access_token.inspect}, acs_rendering_type:"\
  " #{@acs_rendering_type.inspect}, acs_transaction_id: #{@acs_transaction_id.inspect},"\
  " acs_url: #{@acs_url.inspect}, authentication_path: #{@authentication_path.inspect},"\
  " authorization_payload: #{@authorization_payload.inspect}, authentication_type:"\
  " #{@authentication_type.inspect}, authentication_transaction_id:"\
  " #{@authentication_transaction_id.inspect}, authentication_transaction_context_id:"\
  " #{@authentication_transaction_context_id.inspect}, validity_period:"\
  " #{@validity_period.inspect}, cardholder_message: #{@cardholder_message.inspect}, cavv:"\
  " #{@cavv.inspect}, cavv_algorithm: #{@cavv_algorithm.inspect}, challenge_cancel_code:"\
  " #{@challenge_cancel_code.inspect}, challenge_required: #{@challenge_required.inspect},"\
  " decoupled_authentication_indicator: #{@decoupled_authentication_indicator.inspect},"\
  " directory_server_error_code: #{@directory_server_error_code.inspect},"\
  " directory_server_error_description: #{@directory_server_error_description.inspect},"\
  " ecommerce_indicator: #{@ecommerce_indicator.inspect}, eci: #{@eci.inspect}, eci_raw:"\
  " #{@eci_raw.inspect}, effective_authentication_type:"\
  " #{@effective_authentication_type.inspect}, exemption_data_raw:"\
  " #{@exemption_data_raw.inspect}, ivr: #{@ivr.inspect}, network_score:"\
  " #{@network_score.inspect}, pareq: #{@pareq.inspect}, pares_status:"\
  " #{@pares_status.inspect}, proof_xml: #{@proof_xml.inspect}, proxy_pan:"\
  " #{@proxy_pan.inspect}, sdk_transaction_id: #{@sdk_transaction_id.inspect},"\
  " signed_pares_status_reason: #{@signed_pares_status_reason.inspect}, specification_version:"\
  " #{@specification_version.inspect}, step_up_url: #{@step_up_url.inspect},"\
  " three_ds_server_transaction_id: #{@three_ds_server_transaction_id.inspect},"\
  " ucaf_authentication_data: #{@ucaf_authentication_data.inspect}, ucaf_collection_indicator:"\
  " #{@ucaf_collection_indicator.inspect}, veres_enrolled: #{@veres_enrolled.inspect},"\
  " white_list_status_source: #{@white_list_status_source.inspect}, xid: #{@xid.inspect},"\
  " directory_server_transaction_id: #{@directory_server_transaction_id.inspect},"\
  " acs_operator_id: #{@acs_operator_id.inspect}, acs_reference_number:"\
  " #{@acs_reference_number.inspect}, idci_decision: #{@idci_decision.inspect},"\
  " idci_reason_code1: #{@idci_reason_code1.inspect}, idci_reason_code2:"\
  " #{@idci_reason_code2.inspect}, idci_score: #{@idci_score.inspect}, additional_properties:"\
  " #{@additional_properties}>"
end

#to_sObject

Provides a human-readable string representation of the object.



1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 1011

def to_s
  class_name = self.class.name.split('::').last
  "<#{class_name} access_token: #{@access_token}, acs_rendering_type: #{@acs_rendering_type},"\
  " acs_transaction_id: #{@acs_transaction_id}, acs_url: #{@acs_url}, authentication_path:"\
  " #{@authentication_path}, authorization_payload: #{@authorization_payload},"\
  " authentication_type: #{@authentication_type}, authentication_transaction_id:"\
  " #{@authentication_transaction_id}, authentication_transaction_context_id:"\
  " #{@authentication_transaction_context_id}, validity_period: #{@validity_period},"\
  " cardholder_message: #{@cardholder_message}, cavv: #{@cavv}, cavv_algorithm:"\
  " #{@cavv_algorithm}, challenge_cancel_code: #{@challenge_cancel_code}, challenge_required:"\
  " #{@challenge_required}, decoupled_authentication_indicator:"\
  " #{@decoupled_authentication_indicator}, directory_server_error_code:"\
  " #{@directory_server_error_code}, directory_server_error_description:"\
  " #{@directory_server_error_description}, ecommerce_indicator: #{@ecommerce_indicator}, eci:"\
  " #{@eci}, eci_raw: #{@eci_raw}, effective_authentication_type:"\
  " #{@effective_authentication_type}, exemption_data_raw: #{@exemption_data_raw}, ivr:"\
  " #{@ivr}, network_score: #{@network_score}, pareq: #{@pareq}, pares_status:"\
  " #{@pares_status}, proof_xml: #{@proof_xml}, proxy_pan: #{@proxy_pan}, sdk_transaction_id:"\
  " #{@sdk_transaction_id}, signed_pares_status_reason: #{@signed_pares_status_reason},"\
  " specification_version: #{@specification_version}, step_up_url: #{@step_up_url},"\
  " three_ds_server_transaction_id: #{@three_ds_server_transaction_id},"\
  " ucaf_authentication_data: #{@ucaf_authentication_data}, ucaf_collection_indicator:"\
  " #{@ucaf_collection_indicator}, veres_enrolled: #{@veres_enrolled},"\
  " white_list_status_source: #{@white_list_status_source}, xid: #{@xid},"\
  " directory_server_transaction_id: #{@directory_server_transaction_id}, acs_operator_id:"\
  " #{@acs_operator_id}, acs_reference_number: #{@acs_reference_number}, idci_decision:"\
  " #{@idci_decision}, idci_reason_code1: #{@idci_reason_code1}, idci_reason_code2:"\
  " #{@idci_reason_code2}, idci_score: #{@idci_score}, additional_properties:"\
  " #{@additional_properties}>"
end

#to_xml_element(doc, root_name) ⇒ Object



923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
# File 'lib/cyber_source_merged_spec/models/consumer_authentication_information5.rb', line 923

def to_xml_element(doc, root_name)
  root = doc.create_element(root_name)

  XmlUtilities.add_as_subelement(doc, root, 'accessToken', access_token)
  XmlUtilities.add_as_subelement(doc, root, 'acsRenderingType',
                                 acs_rendering_type)
  XmlUtilities.add_as_subelement(doc, root, 'acsTransactionId',
                                 acs_transaction_id)
  XmlUtilities.add_as_subelement(doc, root, 'acsUrl', acs_url)
  XmlUtilities.add_as_subelement(doc, root, 'authenticationPath',
                                 authentication_path)
  XmlUtilities.add_as_subelement(doc, root, 'authorizationPayload',
                                 authorization_payload)
  XmlUtilities.add_as_subelement(doc, root, 'authenticationType',
                                 authentication_type)
  XmlUtilities.add_as_subelement(doc, root, 'authenticationTransactionId',
                                 authentication_transaction_id)
  XmlUtilities.add_as_subelement(doc, root,
                                 'authenticationTransactionContextId',
                                 authentication_transaction_context_id)
  XmlUtilities.add_as_subelement(doc, root, 'validityPeriod',
                                 validity_period)
  XmlUtilities.add_as_subelement(doc, root, 'cardholderMessage',
                                 cardholder_message)
  XmlUtilities.add_as_subelement(doc, root, 'cavv', cavv)
  XmlUtilities.add_as_subelement(doc, root, 'cavvAlgorithm', cavv_algorithm)
  XmlUtilities.add_as_subelement(doc, root, 'challengeCancelCode',
                                 challenge_cancel_code)
  XmlUtilities.add_as_subelement(doc, root, 'challengeRequired',
                                 challenge_required)
  XmlUtilities.add_as_subelement(doc, root,
                                 'decoupledAuthenticationIndicator',
                                 decoupled_authentication_indicator)
  XmlUtilities.add_as_subelement(doc, root, 'directoryServerErrorCode',
                                 directory_server_error_code)
  XmlUtilities.add_as_subelement(doc, root,
                                 'directoryServerErrorDescription',
                                 directory_server_error_description)
  XmlUtilities.add_as_subelement(doc, root, 'ecommerceIndicator',
                                 ecommerce_indicator)
  XmlUtilities.add_as_subelement(doc, root, 'eci', eci)
  XmlUtilities.add_as_subelement(doc, root, 'eciRaw', eci_raw)
  XmlUtilities.add_as_subelement(doc, root, 'effectiveAuthenticationType',
                                 effective_authentication_type)
  XmlUtilities.add_as_subelement(doc, root, 'exemptionDataRaw',
                                 exemption_data_raw)
  XmlUtilities.add_as_subelement(doc, root, 'Ivr', ivr)
  XmlUtilities.add_as_subelement(doc, root, 'networkScore', network_score)
  XmlUtilities.add_as_subelement(doc, root, 'pareq', pareq)
  XmlUtilities.add_as_subelement(doc, root, 'paresStatus', pares_status)
  XmlUtilities.add_as_subelement(doc, root, 'proofXml', proof_xml)
  XmlUtilities.add_as_subelement(doc, root, 'proxyPan', proxy_pan)
  XmlUtilities.add_as_subelement(doc, root, 'sdkTransactionId',
                                 sdk_transaction_id)
  XmlUtilities.add_as_subelement(doc, root, 'signedParesStatusReason',
                                 signed_pares_status_reason)
  XmlUtilities.add_as_subelement(doc, root, 'specificationVersion',
                                 specification_version)
  XmlUtilities.add_as_subelement(doc, root, 'stepUpUrl', step_up_url)
  XmlUtilities.add_as_subelement(doc, root, 'threeDSServerTransactionId',
                                 three_ds_server_transaction_id)
  XmlUtilities.add_as_subelement(doc, root, 'ucafAuthenticationData',
                                 ucaf_authentication_data)
  XmlUtilities.add_as_subelement(doc, root, 'ucafCollectionIndicator',
                                 ucaf_collection_indicator)
  XmlUtilities.add_as_subelement(doc, root, 'veresEnrolled', veres_enrolled)
  XmlUtilities.add_as_subelement(doc, root, 'whiteListStatusSource',
                                 white_list_status_source)
  XmlUtilities.add_as_subelement(doc, root, 'xid', xid)
  XmlUtilities.add_as_subelement(doc, root, 'directoryServerTransactionId',
                                 directory_server_transaction_id)
  XmlUtilities.add_as_subelement(doc, root, 'acsOperatorID',
                                 acs_operator_id)
  XmlUtilities.add_as_subelement(doc, root, 'acsReferenceNumber',
                                 acs_reference_number)
  XmlUtilities.add_as_subelement(doc, root, 'idciDecision', idci_decision)
  XmlUtilities.add_as_subelement(doc, root, 'idciReasonCode1',
                                 idci_reason_code1)
  XmlUtilities.add_as_subelement(doc, root, 'idciReasonCode2',
                                 idci_reason_code2)
  XmlUtilities.add_as_subelement(doc, root, 'idciScore', idci_score)
  XmlUtilities.add_as_subelement(doc, root, 'additional_properties',
                                 additional_properties)

  root
end