Class: CyberSource::RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation
- Inherits:
-
Object
- Object
- CyberSource::RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation
- Defined in:
- lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb
Instance Attribute Summary collapse
-
#acs_operator_id ⇒ Object
Directory Server assigned ACS identifier.
-
#acs_reference_number ⇒ Object
Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval.
-
#acs_rendering_type ⇒ Object
Identifies the UI Type the ACS will use to complete the challenge.
-
#acs_transaction_id ⇒ Object
Unique transaction identifier assigned by the ACS to identify a single transaction.
-
#authentication_result ⇒ Object
Raw authentication data that comes from the cardissuing bank.
-
#authentication_status_msg ⇒ Object
Message that explains the authenticationResult reply field.
-
#authentication_transaction_context_id ⇒ Object
Payer authentication transaction identifier passed to link the validation and authorization calls.
-
#authentication_transaction_id ⇒ Object
Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages.
-
#authentication_type ⇒ Object
Indicates the type of authentication that will be used to challenge the card holder.
-
#authorization_payload ⇒ Object
The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow.
-
#cavv ⇒ Object
Unique identifier generated by the card-issuing bank for Visa, American Express, JCB, Diners Club, and Discover transactions after the customer is authenticated.
-
#cavv_algorithm ⇒ Object
Field that is returned only when the CAVV is generated, which occurs when paresStatus contains the values Y (successful authentication) or A (attempted authentication).
-
#challenge_cancel_code ⇒ Object
An indicator as to why the transaction was canceled.
-
#directory_server_error_code ⇒ Object
The directory server error code indicating a problem with this transaction.
-
#directory_server_error_description ⇒ Object
Directory server text and additional detail about the error for this transaction.
-
#directory_server_transaction_id ⇒ Object
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.
-
#eci ⇒ Object
Note This field applies only to non-U.S-issued cards.
-
#eci_raw ⇒ Object
ECI value that can be returned for Visa, Mastercard, American Express, JCB, Diners Club, and Discover.
-
#effective_authentication_type ⇒ Object
This field describes the type of 3DS transaction flow that took place.
-
#indicator ⇒ Object
Indicator used to differentiate Internet transactions from other types.
-
#interaction_counter ⇒ Object
Indicates the number of authentication cycles attempted by the cardholder and is tracked by the Issuing Banks ACS.Example: if customer gets the challenge window and enter in their one time password and hit submit then that interaction counter should just be 1.
-
#pares_status ⇒ Object
Raw result of the authentication check.
-
#sdk_transaction_id ⇒ Object
SDK unique transaction identifier that is generated on each new transaction.
-
#specification_version ⇒ Object
This field contains the 3D Secure version that was used to process the transaction.
-
#three_ds_server_transaction_id ⇒ Object
Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
-
#transaction_token ⇒ Object
Web based token used to authenticate consumer with Rupay authentication provider.
-
#ucaf_authentication_data ⇒ Object
AAV is a unique identifier generated by the card-issuing bank for Mastercard Identity Check transactions after the customer is authenticated.
-
#ucaf_collection_indicator ⇒ Object
For enroll, Returned only for Mastercard transactions.
-
#white_list_status ⇒ Object
Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor.
-
#white_list_status_source ⇒ Object
This data element will be populated by the system setting Whitelist Status.
-
#xid ⇒ Object
Transaction identifier generated by CyberSource for successful enrollment or validation checks.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.json_map ⇒ Object
Attribute mapping from JSON key to ruby-style variable name.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation
Initializes the object
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 222 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } if attributes.has_key?(:'acsRenderingType') self.acs_rendering_type = attributes[:'acsRenderingType'] end if attributes.has_key?(:'acsReferenceNumber') self.acs_reference_number = attributes[:'acsReferenceNumber'] end if attributes.has_key?(:'acsTransactionId') self.acs_transaction_id = attributes[:'acsTransactionId'] end if attributes.has_key?(:'acsOperatorID') self.acs_operator_id = attributes[:'acsOperatorID'] end if attributes.has_key?(:'authenticationResult') self.authentication_result = attributes[:'authenticationResult'] end if attributes.has_key?(:'authenticationType') self.authentication_type = attributes[:'authenticationType'] end if attributes.has_key?(:'authenticationStatusMsg') self.authentication_status_msg = attributes[:'authenticationStatusMsg'] end if attributes.has_key?(:'authenticationTransactionId') self.authentication_transaction_id = attributes[:'authenticationTransactionId'] end if attributes.has_key?(:'authenticationTransactionContextId') self.authentication_transaction_context_id = attributes[:'authenticationTransactionContextId'] end if attributes.has_key?(:'transactionToken') self.transaction_token = attributes[:'transactionToken'] end if attributes.has_key?(:'authorizationPayload') self. = attributes[:'authorizationPayload'] end if attributes.has_key?(:'cavv') self.cavv = attributes[:'cavv'] end if attributes.has_key?(:'cavvAlgorithm') self.cavv_algorithm = attributes[:'cavvAlgorithm'] end if attributes.has_key?(:'challengeCancelCode') self.challenge_cancel_code = attributes[:'challengeCancelCode'] end if attributes.has_key?(:'directoryServerErrorCode') self.directory_server_error_code = attributes[:'directoryServerErrorCode'] end if attributes.has_key?(:'directoryServerErrorDescription') self.directory_server_error_description = attributes[:'directoryServerErrorDescription'] end if attributes.has_key?(:'effectiveAuthenticationType') self.effective_authentication_type = attributes[:'effectiveAuthenticationType'] end if attributes.has_key?(:'indicator') self.indicator = attributes[:'indicator'] end if attributes.has_key?(:'interactionCounter') self.interaction_counter = attributes[:'interactionCounter'] end if attributes.has_key?(:'eci') self.eci = attributes[:'eci'] end if attributes.has_key?(:'eciRaw') self.eci_raw = attributes[:'eciRaw'] end if attributes.has_key?(:'paresStatus') self.pares_status = attributes[:'paresStatus'] end if attributes.has_key?(:'sdkTransactionId') self.sdk_transaction_id = attributes[:'sdkTransactionId'] end if attributes.has_key?(:'specificationVersion') self.specification_version = attributes[:'specificationVersion'] end if attributes.has_key?(:'threeDSServerTransactionId') self.three_ds_server_transaction_id = attributes[:'threeDSServerTransactionId'] end if attributes.has_key?(:'ucafAuthenticationData') self.ucaf_authentication_data = attributes[:'ucafAuthenticationData'] end if attributes.has_key?(:'ucafCollectionIndicator') self.ucaf_collection_indicator = attributes[:'ucafCollectionIndicator'] end if attributes.has_key?(:'whiteListStatus') self.white_list_status = attributes[:'whiteListStatus'] end if attributes.has_key?(:'whiteListStatusSource') self.white_list_status_source = attributes[:'whiteListStatusSource'] end if attributes.has_key?(:'xid') self.xid = attributes[:'xid'] end if attributes.has_key?(:'directoryServerTransactionId') self.directory_server_transaction_id = attributes[:'directoryServerTransactionId'] end end |
Instance Attribute Details
#acs_operator_id ⇒ Object
Directory Server assigned ACS identifier.
26 27 28 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 26 def acs_operator_id @acs_operator_id end |
#acs_reference_number ⇒ Object
Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval.
20 21 22 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 20 def acs_reference_number @acs_reference_number end |
#acs_rendering_type ⇒ Object
Identifies the UI Type the ACS will use to complete the challenge. NOTE: Only available for App transactions using the Cardinal Mobile SDK.
17 18 19 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 17 def acs_rendering_type @acs_rendering_type end |
#acs_transaction_id ⇒ Object
Unique transaction identifier assigned by the ACS to identify a single transaction.
23 24 25 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 23 def acs_transaction_id @acs_transaction_id end |
#authentication_result ⇒ Object
Raw authentication data that comes from the cardissuing bank. Primary authentication field that indicates if authentication was successful and if liability shift occurred. You should examine first the result of this field. This field contains one of these values: - ‘-1`: Invalid PARes. - `0`: Successful validation. - `1`: Cardholder is not participating, but the attempt to authenticate was recorded. - `6`: Issuer unable to perform authentication. - `9`: Cardholder did not complete authentication.
29 30 31 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 29 def authentication_result @authentication_result end |
#authentication_status_msg ⇒ Object
Message that explains the authenticationResult reply field.
35 36 37 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 35 def authentication_status_msg @authentication_status_msg end |
#authentication_transaction_context_id ⇒ Object
Payer authentication transaction identifier passed to link the validation and authorization calls.
41 42 43 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 41 def authentication_transaction_context_id @authentication_transaction_context_id end |
#authentication_transaction_id ⇒ Object
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.
38 39 40 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 38 def authentication_transaction_id @authentication_transaction_id end |
#authentication_type ⇒ Object
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.
32 33 34 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 32 def authentication_type @authentication_type end |
#authorization_payload ⇒ Object
The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
47 48 49 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 47 def @authorization_payload end |
#cavv ⇒ Object
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.
50 51 52 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 50 def cavv @cavv end |
#cavv_algorithm ⇒ Object
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
53 54 55 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 53 def cavv_algorithm @cavv_algorithm end |
#challenge_cancel_code ⇒ Object
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
56 57 58 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 56 def challenge_cancel_code @challenge_cancel_code end |
#directory_server_error_code ⇒ Object
The directory server error code indicating a problem with this transaction. Note - Max Length of this field is typically 3 characters.
59 60 61 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 59 def directory_server_error_code @directory_server_error_code end |
#directory_server_error_description ⇒ Object
Directory server text and additional detail about the error for this transaction.
62 63 64 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 62 def directory_server_error_description @directory_server_error_description end |
#directory_server_transaction_id ⇒ Object
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
107 108 109 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 107 def directory_server_transaction_id @directory_server_transaction_id end |
#eci ⇒ Object
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.)
74 75 76 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 74 def eci @eci end |
#eci_raw ⇒ Object
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)
77 78 79 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 77 def eci_raw @eci_raw end |
#effective_authentication_type ⇒ Object
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).
65 66 67 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 65 def effective_authentication_type @effective_authentication_type end |
#indicator ⇒ Object
Indicator used to differentiate Internet transactions from other types. The authentication failed if this field is not returned. For Visa, if your payment processor is Streamline, Barclays, AIBMS, or FDC Germany, you receive the value vbv_failure instead of internet when eci is 07. The value of this field is passed automatically to the authorization service if you request the services together. This field contains one of these values: - ‘aesk`: American Express SafeKey authentication verified successfully. - `aesk_attempted`: Card not enrolled in American Express SafeKey, but the attempt to authenticate was recorded. - `dipb`: Discover ProtectBuy authentication verified successfully. - `dipb_attempted`: Card not enrolled in Discover ProtectBuy, but the attempt to authenticate was recorded. - `internet`: Authentication was not verified successfully. - `js`: J/Secure authentication verified successfully. - `js_attempted`: Card not enrolled in J/Secure, but the attempt to authenticate was recorded. - `moto`: Mail or telephone order. - `pb_attempted`: Card not enrolled in Diners Club ProtectBuy, but the attempt to authenticate was recorded. - `recurring`: Recurring transaction. - `spa`: Mastercard Identity Check authentication verified successfully. - `spa_failure`: Mastercard Identity Check failed authentication. - `vbv`: Visa Secure authentication verified successfully. - `vbv_attempted`: Card not enrolled in Visa Secure, but the attempt to authenticate was recorded. - `vbv_failure`: Visa Secure authentication unavailable.
68 69 70 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 68 def indicator @indicator end |
#interaction_counter ⇒ Object
Indicates the number of authentication cycles attempted by the cardholder and is tracked by the Issuing Banks ACS.Example: if customer gets the challenge window and enter in their one time password and hit submit then that interaction counter should just be 1. When customer gets the challenge window and the bank asks if they want to have the one time password sent to their phone or their email and they have to choose before going to the next screen to enter in their one time password then this interaction count would be 2. One for the selection of how they want the one time password delivered and another with them actually entering in the one time password and hitting the submit button.
71 72 73 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 71 def interaction_counter @interaction_counter end |
#pares_status ⇒ Object
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.
80 81 82 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 80 def pares_status @pares_status end |
#sdk_transaction_id ⇒ Object
SDK unique transaction identifier that is generated on each new transaction.
83 84 85 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 83 def sdk_transaction_id @sdk_transaction_id end |
#specification_version ⇒ Object
This field contains the 3D Secure version that was used to process the transaction. For example: 2.2.0
86 87 88 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 86 def specification_version @specification_version end |
#three_ds_server_transaction_id ⇒ Object
Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
89 90 91 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 89 def three_ds_server_transaction_id @three_ds_server_transaction_id end |
#transaction_token ⇒ Object
Web based token used to authenticate consumer with Rupay authentication provider.
44 45 46 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 44 def transaction_token @transaction_token end |
#ucaf_authentication_data ⇒ Object
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.
92 93 94 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 92 def ucaf_authentication_data @ucaf_authentication_data end |
#ucaf_collection_indicator ⇒ Object
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.
95 96 97 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 95 def ucaf_collection_indicator @ucaf_collection_indicator end |
#white_list_status ⇒ Object
Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor. Possible Values: Y - 3DS Requestor is whitelisted by cardholder N - 3DS Requestor is not whitelisted by cardholder
98 99 100 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 98 def white_list_status @white_list_status end |
#white_list_status_source ⇒ Object
This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS
101 102 103 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 101 def white_list_status_source @white_list_status_source end |
#xid ⇒ Object
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`)
104 105 106 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 104 def xid @xid end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 110 def self.attribute_map { :'acs_rendering_type' => :'acsRenderingType', :'acs_reference_number' => :'acsReferenceNumber', :'acs_transaction_id' => :'acsTransactionId', :'acs_operator_id' => :'acsOperatorID', :'authentication_result' => :'authenticationResult', :'authentication_type' => :'authenticationType', :'authentication_status_msg' => :'authenticationStatusMsg', :'authentication_transaction_id' => :'authenticationTransactionId', :'authentication_transaction_context_id' => :'authenticationTransactionContextId', :'transaction_token' => :'transactionToken', :'authorization_payload' => :'authorizationPayload', :'cavv' => :'cavv', :'cavv_algorithm' => :'cavvAlgorithm', :'challenge_cancel_code' => :'challengeCancelCode', :'directory_server_error_code' => :'directoryServerErrorCode', :'directory_server_error_description' => :'directoryServerErrorDescription', :'effective_authentication_type' => :'effectiveAuthenticationType', :'indicator' => :'indicator', :'interaction_counter' => :'interactionCounter', :'eci' => :'eci', :'eci_raw' => :'eciRaw', :'pares_status' => :'paresStatus', :'sdk_transaction_id' => :'sdkTransactionId', :'specification_version' => :'specificationVersion', :'three_ds_server_transaction_id' => :'threeDSServerTransactionId', :'ucaf_authentication_data' => :'ucafAuthenticationData', :'ucaf_collection_indicator' => :'ucafCollectionIndicator', :'white_list_status' => :'whiteListStatus', :'white_list_status_source' => :'whiteListStatusSource', :'xid' => :'xid', :'directory_server_transaction_id' => :'directoryServerTransactionId' } end |
.json_map ⇒ Object
Attribute mapping from JSON key to ruby-style variable name.
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 147 def self.json_map { :'acs_rendering_type' => :'acs_rendering_type', :'acs_reference_number' => :'acs_reference_number', :'acs_transaction_id' => :'acs_transaction_id', :'acs_operator_id' => :'acs_operator_id', :'authentication_result' => :'authentication_result', :'authentication_type' => :'authentication_type', :'authentication_status_msg' => :'authentication_status_msg', :'authentication_transaction_id' => :'authentication_transaction_id', :'authentication_transaction_context_id' => :'authentication_transaction_context_id', :'transaction_token' => :'transaction_token', :'authorization_payload' => :'authorization_payload', :'cavv' => :'cavv', :'cavv_algorithm' => :'cavv_algorithm', :'challenge_cancel_code' => :'challenge_cancel_code', :'directory_server_error_code' => :'directory_server_error_code', :'directory_server_error_description' => :'directory_server_error_description', :'effective_authentication_type' => :'effective_authentication_type', :'indicator' => :'indicator', :'interaction_counter' => :'interaction_counter', :'eci' => :'eci', :'eci_raw' => :'eci_raw', :'pares_status' => :'pares_status', :'sdk_transaction_id' => :'sdk_transaction_id', :'specification_version' => :'specification_version', :'three_ds_server_transaction_id' => :'three_ds_server_transaction_id', :'ucaf_authentication_data' => :'ucaf_authentication_data', :'ucaf_collection_indicator' => :'ucaf_collection_indicator', :'white_list_status' => :'white_list_status', :'white_list_status_source' => :'white_list_status_source', :'xid' => :'xid', :'directory_server_transaction_id' => :'directory_server_transaction_id' } end |
.swagger_types ⇒ Object
Attribute type mapping.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 184 def self.swagger_types { :'acs_rendering_type' => :'String', :'acs_reference_number' => :'String', :'acs_transaction_id' => :'String', :'acs_operator_id' => :'String', :'authentication_result' => :'String', :'authentication_type' => :'String', :'authentication_status_msg' => :'String', :'authentication_transaction_id' => :'String', :'authentication_transaction_context_id' => :'String', :'transaction_token' => :'String', :'authorization_payload' => :'String', :'cavv' => :'String', :'cavv_algorithm' => :'String', :'challenge_cancel_code' => :'String', :'directory_server_error_code' => :'String', :'directory_server_error_description' => :'String', :'effective_authentication_type' => :'String', :'indicator' => :'String', :'interaction_counter' => :'String', :'eci' => :'String', :'eci_raw' => :'String', :'pares_status' => :'String', :'sdk_transaction_id' => :'String', :'specification_version' => :'String', :'three_ds_server_transaction_id' => :'String', :'ucaf_authentication_data' => :'String', :'ucaf_collection_indicator' => :'String', :'white_list_status' => :'String', :'white_list_status_source' => :'String', :'xid' => :'String', :'directory_server_transaction_id' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
470 471 472 473 474 475 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 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 470 def ==(o) return true if self.equal?(o) self.class == o.class && acs_rendering_type == o.acs_rendering_type && acs_reference_number == o.acs_reference_number && acs_transaction_id == o.acs_transaction_id && acs_operator_id == o.acs_operator_id && authentication_result == o.authentication_result && authentication_type == o.authentication_type && authentication_status_msg == o.authentication_status_msg && authentication_transaction_id == o.authentication_transaction_id && authentication_transaction_context_id == o.authentication_transaction_context_id && transaction_token == o.transaction_token && == o. && cavv == o.cavv && cavv_algorithm == o.cavv_algorithm && challenge_cancel_code == o.challenge_cancel_code && directory_server_error_code == o.directory_server_error_code && directory_server_error_description == o.directory_server_error_description && effective_authentication_type == o.effective_authentication_type && indicator == o.indicator && interaction_counter == o.interaction_counter && eci == o.eci && eci_raw == o.eci_raw && pares_status == o.pares_status && sdk_transaction_id == o.sdk_transaction_id && specification_version == o.specification_version && three_ds_server_transaction_id == o.three_ds_server_transaction_id && ucaf_authentication_data == o.ucaf_authentication_data && ucaf_collection_indicator == o.ucaf_collection_indicator && white_list_status == o.white_list_status && white_list_status_source == o.white_list_status_source && xid == o.xid && directory_server_transaction_id == o.directory_server_transaction_id end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
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 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 542 def _deserialize(type, value) case type.to_sym when :DateTime DateTime.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :BOOLEAN if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model temp_model = CyberSource.const_get(type).new temp_model.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
608 609 610 611 612 613 614 615 616 617 618 619 620 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 608 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 521 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(o) ⇒ Boolean
508 509 510 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 508 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
514 515 516 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 514 def hash [acs_rendering_type, acs_reference_number, acs_transaction_id, acs_operator_id, authentication_result, authentication_type, authentication_status_msg, authentication_transaction_id, authentication_transaction_context_id, transaction_token, , cavv, cavv_algorithm, challenge_cancel_code, directory_server_error_code, directory_server_error_description, effective_authentication_type, indicator, interaction_counter, eci, eci_raw, pares_status, sdk_transaction_id, specification_version, three_ds_server_transaction_id, ucaf_authentication_data, ucaf_collection_indicator, white_list_status, white_list_status_source, xid, directory_server_transaction_id].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
355 356 357 358 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 355 def list_invalid_properties invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
588 589 590 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 588 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
594 595 596 597 598 599 600 601 602 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 594 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
582 583 584 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 582 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
362 363 364 |
# File 'lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb', line 362 def valid? true end |