cybersource_rest_client 0.0.64 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/batches_api.rb +9 -9
  3. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
  4. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +3 -3
  5. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +6 -6
  6. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  7. data/lib/cybersource_rest_client/models/bin_lookupv400_response.rb +224 -224
  8. data/lib/cybersource_rest_client/models/binv1binlookup_client_reference_information.rb +222 -222
  9. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information.rb +219 -219
  10. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information_card.rb +196 -196
  11. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information.rb +200 -200
  12. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information_payout_options.rb +213 -213
  13. data/lib/cybersource_rest_client/models/binv1binlookup_token_information.rb +207 -207
  14. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +321 -321
  15. data/lib/cybersource_rest_client/models/create_bin_lookup_request.rb +219 -219
  16. data/lib/cybersource_rest_client/models/create_payment_request.rb +462 -452
  17. data/lib/cybersource_rest_client/models/inline_response_200_1.rb +253 -247
  18. data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information.rb → inline_response_200_1_integration_information.rb} +204 -204
  19. data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information_tenant_configurations.rb → inline_response_200_1_integration_information_tenant_configurations.rb} +296 -296
  20. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +25 -65
  21. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +335 -213
  22. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +251 -335
  23. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded.rb → inline_response_200_5__embedded.rb} +191 -191
  24. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded__links.rb → inline_response_200_5__embedded__links.rb} +191 -191
  25. data/lib/cybersource_rest_client/models/{inline_response_200_7__links_report.rb → inline_response_200_5__embedded__links_reports.rb} +190 -189
  26. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded_batches.rb → inline_response_200_5__embedded_batches.rb} +295 -295
  27. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded_totals.rb → inline_response_200_5__embedded_totals.rb} +229 -229
  28. data/lib/cybersource_rest_client/models/inline_response_200_5__links.rb +200 -0
  29. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +290 -251
  30. data/lib/cybersource_rest_client/models/inline_response_200_6__links.rb +201 -200
  31. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded__links_reports.rb → inline_response_200_6__links_report.rb} +189 -190
  32. data/lib/cybersource_rest_client/models/{inline_response_200_7_billing.rb → inline_response_200_6_billing.rb} +219 -219
  33. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +292 -290
  34. data/lib/cybersource_rest_client/models/{inline_response_200_8_records.rb → inline_response_200_7_records.rb} +209 -209
  35. data/lib/cybersource_rest_client/models/{inline_response_200_8_response_record.rb → inline_response_200_7_response_record.rb} +307 -307
  36. data/lib/cybersource_rest_client/models/{inline_response_200_8_response_record_additional_updates.rb → inline_response_200_7_response_record_additional_updates.rb} +242 -242
  37. data/lib/cybersource_rest_client/models/{inline_response_200_8_source_record.rb → inline_response_200_7_source_record.rb} +295 -295
  38. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +248 -248
  39. data/lib/cybersource_rest_client/models/inline_response_201_1_issuer_information.rb +264 -264
  40. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information.rb +209 -209
  41. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card.rb +277 -277
  42. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card_brands.rb +213 -213
  43. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_features.rb +320 -320
  44. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_network.rb +190 -190
  45. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information.rb +216 -216
  46. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds.rb +213 -213
  47. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds.rb +417 -417
  48. data/lib/cybersource_rest_client/models/inline_response_201_2.rb +315 -315
  49. data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information.rb +192 -192
  50. data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information_tenant_configurations.rb +286 -286
  51. data/lib/cybersource_rest_client/models/inline_response_201_2_organization_information.rb +217 -217
  52. data/lib/cybersource_rest_client/models/inline_response_201_2_product_information_setups.rb +214 -214
  53. data/lib/cybersource_rest_client/models/inline_response_201_2_registration_information.rb +256 -256
  54. data/lib/cybersource_rest_client/models/inline_response_201_2_setups.rb +219 -219
  55. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_commerce_solutions.rb +209 -209
  56. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments.rb +15 -5
  57. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing.rb +199 -199
  58. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_configuration_status.rb +299 -299
  59. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_subscription_status.rb +278 -278
  60. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_digital_payments.rb +189 -189
  61. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_risk.rb +199 -199
  62. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_value_added_services.rb +199 -199
  63. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +222 -222
  64. data/lib/cybersource_rest_client/models/inline_response_201_3_key_information.rb +300 -300
  65. data/lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information.rb +202 -202
  66. data/lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information_details.rb +201 -201
  67. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +347 -347
  68. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +222 -222
  69. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +269 -234
  70. data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_5_details.rb} +201 -201
  71. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +275 -235
  72. data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_6_details.rb} +199 -199
  73. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +269 -269
  74. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +269 -269
  75. data/lib/cybersource_rest_client/models/inline_response_500_2.rb +257 -223
  76. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +225 -225
  77. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +225 -225
  78. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +333 -333
  79. data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +241 -241
  80. data/lib/cybersource_rest_client/models/payer_auth_config_card_types_verified_by_visa_currencies.rb +244 -243
  81. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +219 -219
  82. data/lib/cybersource_rest_client/models/payments_products.rb +369 -359
  83. data/lib/cybersource_rest_client/models/{kms_v2_keys_asym_get200_response.rb → payments_products_service_fee.rb} +199 -200
  84. data/lib/cybersource_rest_client/models/{inline_response_200_7__links.rb → payments_products_service_fee_configuration_information.rb} +189 -201
  85. data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → payments_products_service_fee_configuration_information_configurations.rb} +266 -292
  86. data/lib/cybersource_rest_client/models/{kms_v2_keys_sym_deletes_post200_response_key_information.rb → payments_products_service_fee_configuration_information_configurations_merchant_information.rb} +239 -234
  87. data/lib/cybersource_rest_client/models/{inline_response_400_8.rb → payments_products_service_fee_configuration_information_configurations_payment_information.rb} +280 -275
  88. data/lib/cybersource_rest_client/models/payments_products_service_fee_configuration_information_configurations_products.rb +190 -0
  89. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +284 -284
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +249 -249
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +765 -765
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_consumer_authentication.rb +212 -212
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +264 -264
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb +199 -199
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_orchestration.rb +192 -192
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +230 -230
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +223 -223
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +217 -217
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +18 -1
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +230 -230
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +196 -196
  106. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +232 -232
  107. data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +247 -247
  108. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +326 -326
  109. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +285 -285
  110. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +241 -241
  111. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
  112. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +196 -196
  113. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +453 -453
  114. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_line_items.rb +361 -361
  115. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_ship_to.rb +485 -485
  116. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +366 -366
  117. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1075 -1075
  118. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +416 -416
  119. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +196 -196
  120. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +464 -464
  121. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +405 -405
  122. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +641 -641
  123. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_order.rb +332 -332
  124. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +286 -286
  125. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +444 -444
  126. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +699 -699
  127. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +496 -496
  128. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +346 -346
  129. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_account_reference.rb +196 -196
  130. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
  131. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +633 -633
  132. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +704 -704
  133. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +467 -456
  134. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +213 -213
  135. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +205 -205
  136. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +72 -4
  137. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +298 -0
  138. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +332 -332
  139. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
  140. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +267 -267
  141. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +287 -287
  142. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +206 -206
  143. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +362 -362
  144. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +257 -257
  145. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +502 -502
  146. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +299 -299
  147. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +342 -342
  148. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +192 -192
  149. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +213 -213
  150. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +287 -287
  151. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +234 -234
  152. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +286 -286
  153. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +301 -301
  154. data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +190 -190
  155. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +269 -280
  156. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +80 -1
  157. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +279 -290
  158. data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response_1.rb +235 -235
  159. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +840 -840
  160. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +290 -290
  161. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +312 -337
  162. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +241 -258
  163. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
  164. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +434 -366
  165. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +497 -497
  166. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +219 -219
  167. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
  168. data/lib/cybersource_rest_client/models/{kmsv2keyssym_client_reference_information.rb → riskv1authenticationsetups_client_reference_information.rb} +240 -217
  169. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
  170. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +213 -213
  171. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +812 -820
  172. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +223 -223
  173. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +416 -416
  174. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
  175. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +314 -314
  176. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +196 -196
  177. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +207 -207
  178. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +200 -200
  179. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +196 -196
  180. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +236 -236
  181. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +292 -292
  182. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +349 -349
  183. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +222 -222
  184. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +383 -383
  185. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +241 -241
  186. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +231 -231
  187. data/lib/cybersource_rest_client/models/validate_request.rb +249 -249
  188. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +196 -196
  189. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +403 -403
  190. data/lib/cybersource_rest_client/utilities/tracking/sdk_tracker.rb +0 -5
  191. data/lib/cybersource_rest_client.rb +24 -57
  192. metadata +26 -59
  193. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +0 -307
  194. data/lib/cybersource_rest_client/api/key_management_api.rb +0 -120
  195. data/lib/cybersource_rest_client/api/key_management_password_api.rb +0 -98
  196. data/lib/cybersource_rest_client/api/key_management_pgp_api.rb +0 -98
  197. data/lib/cybersource_rest_client/api/key_management_scmp_api.rb +0 -98
  198. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +0 -308
  199. data/lib/cybersource_rest_client/models/create_p12_keys_request.rb +0 -201
  200. data/lib/cybersource_rest_client/models/create_shared_secret_keys_request.rb +0 -201
  201. data/lib/cybersource_rest_client/models/create_shared_secret_keys_verifi_request.rb +0 -201
  202. data/lib/cybersource_rest_client/models/delete_bulk_p12_keys_request.rb +0 -201
  203. data/lib/cybersource_rest_client/models/delete_bulk_symmetric_keys_request.rb +0 -201
  204. data/lib/cybersource_rest_client/models/inline_response_200_1_keys.rb +0 -323
  205. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +0 -269
  206. data/lib/cybersource_rest_client/models/inline_response_500_3.rb +0 -257
  207. data/lib/cybersource_rest_client/models/inline_response_502_1.rb +0 -234
  208. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response.rb +0 -212
  209. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +0 -245
  210. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +0 -267
  211. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response.rb +0 -235
  212. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_certificate_information.rb +0 -223
  213. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +0 -278
  214. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response.rb +0 -223
  215. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response.rb +0 -211
  216. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response_key_information.rb +0 -245
  217. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response.rb +0 -223
  218. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_error_information.rb +0 -202
  219. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +0 -284
  220. data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +0 -223
  221. data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +0 -207
  222. data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +0 -223
  223. data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +0 -254
  224. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +0 -290
  225. data/lib/cybersource_rest_client/models/update_asym_keys_request.rb +0 -211
  226. data/lib/cybersource_rest_client/models/update_password_keys_request.rb +0 -211
  227. data/lib/cybersource_rest_client/models/update_pgp_keys_request.rb +0 -211
  228. data/lib/cybersource_rest_client/models/update_pgp_keys_request_1.rb +0 -234
@@ -1,765 +1,765 @@
1
- =begin
2
- #CyberSource Merged Spec
3
-
4
- #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
-
6
- OpenAPI spec version: 0.0.1
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.38
10
- =end
11
-
12
- require 'date'
13
-
14
- module CyberSource
15
- class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation
16
- # 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.
17
- attr_accessor :access_token
18
-
19
- # Identifies the UI Type the ACS will use to complete the challenge. **NOTE**: Only available for App transactions using the Cardinal Mobile SDK.
20
- attr_accessor :acs_rendering_type
21
-
22
- # Unique transaction identifier assigned by the ACS to identify a single transaction.
23
- attr_accessor :acs_transaction_id
24
-
25
- # URL for the card-issuing bank's authentication form that you receive when the card is enrolled. The value can be very large.
26
- attr_accessor :acs_url
27
-
28
- # 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_.
29
- attr_accessor :authentication_path
30
-
31
- # The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
32
- attr_accessor :authorization_payload
33
-
34
- # 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.
35
- attr_accessor :authentication_transaction_id
36
-
37
- # 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.
38
- attr_accessor :cardholder_message
39
-
40
- # 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.
41
- attr_accessor :cavv
42
-
43
- # 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
44
- attr_accessor :cavv_algorithm
45
-
46
- # 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
47
- attr_accessor :challenge_cancel_code
48
-
49
- # 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.
50
- attr_accessor :challenge_required
51
-
52
- # 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
53
- attr_accessor :decoupled_authentication_indicator
54
-
55
- # The directory server error code indicating a problem with this transaction. Note - Max Length of this field is typically 3 characters.
56
- attr_accessor :directory_server_error_code
57
-
58
- # Directory server text and additional detail about the error for this transaction.
59
- attr_accessor :directory_server_error_description
60
-
61
- # 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.
62
- attr_accessor :ecommerce_indicator
63
-
64
- # 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.)
65
- attr_accessor :eci
66
-
67
- # 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)
68
- attr_accessor :eci_raw
69
-
70
- # 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).
71
- attr_accessor :effective_authentication_type
72
-
73
- attr_accessor :ivr
74
-
75
- attr_accessor :strong_authentication
76
-
77
- # The global score calculated by the CB scoring platform and returned to merchants.
78
- attr_accessor :network_score
79
-
80
- # Payer authentication request (PAReq) message that you need to forward to the ACS. The value can be very large. The value is in base64.
81
- attr_accessor :pareq
82
-
83
- # 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.
84
- attr_accessor :pares_status
85
-
86
- # 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.
87
- attr_accessor :proof_xml
88
-
89
- # Encrypted version of the card number used in the payer authentication request message.
90
- attr_accessor :proxy_pan
91
-
92
- # SDK unique transaction identifier that is generated on each new transaction.
93
- attr_accessor :sdk_transaction_id
94
-
95
- # Provides additional information as to why the PAResStatus has a specific value.
96
- attr_accessor :signed_pares_status_reason
97
-
98
- # This field contains the 3D Secure version that was used to process the transaction. For example: 2.2.0
99
- attr_accessor :specification_version
100
-
101
- # 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.
102
- attr_accessor :step_up_url
103
-
104
- # Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
105
- attr_accessor :three_ds_server_transaction_id
106
-
107
- # 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.
108
- attr_accessor :ucaf_authentication_data
109
-
110
- # 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.
111
- attr_accessor :ucaf_collection_indicator
112
-
113
- # 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.
114
- attr_accessor :veres_enrolled
115
-
116
- # This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS
117
- attr_accessor :white_list_status_source
118
-
119
- # 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`)
120
- attr_accessor :xid
121
-
122
- # 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
123
- attr_accessor :directory_server_transaction_id
124
-
125
- # 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.
126
- attr_accessor :authentication_result
127
-
128
- # Message that explains the authenticationResult reply field.
129
- attr_accessor :authentication_status_msg
130
-
131
- # 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.
132
- attr_accessor :indicator
133
-
134
- # 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.
135
- attr_accessor :interaction_counter
136
-
137
- # 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
138
- attr_accessor :white_list_status
139
-
140
- # Attribute mapping from ruby-style variable name to JSON key.
141
- def self.attribute_map
142
- {
143
- :'access_token' => :'accessToken',
144
- :'acs_rendering_type' => :'acsRenderingType',
145
- :'acs_transaction_id' => :'acsTransactionId',
146
- :'acs_url' => :'acsUrl',
147
- :'authentication_path' => :'authenticationPath',
148
- :'authorization_payload' => :'authorizationPayload',
149
- :'authentication_transaction_id' => :'authenticationTransactionId',
150
- :'cardholder_message' => :'cardholderMessage',
151
- :'cavv' => :'cavv',
152
- :'cavv_algorithm' => :'cavvAlgorithm',
153
- :'challenge_cancel_code' => :'challengeCancelCode',
154
- :'challenge_required' => :'challengeRequired',
155
- :'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
156
- :'directory_server_error_code' => :'directoryServerErrorCode',
157
- :'directory_server_error_description' => :'directoryServerErrorDescription',
158
- :'ecommerce_indicator' => :'ecommerceIndicator',
159
- :'eci' => :'eci',
160
- :'eci_raw' => :'eciRaw',
161
- :'effective_authentication_type' => :'effectiveAuthenticationType',
162
- :'ivr' => :'ivr',
163
- :'strong_authentication' => :'strongAuthentication',
164
- :'network_score' => :'networkScore',
165
- :'pareq' => :'pareq',
166
- :'pares_status' => :'paresStatus',
167
- :'proof_xml' => :'proofXml',
168
- :'proxy_pan' => :'proxyPan',
169
- :'sdk_transaction_id' => :'sdkTransactionId',
170
- :'signed_pares_status_reason' => :'signedParesStatusReason',
171
- :'specification_version' => :'specificationVersion',
172
- :'step_up_url' => :'stepUpUrl',
173
- :'three_ds_server_transaction_id' => :'threeDSServerTransactionId',
174
- :'ucaf_authentication_data' => :'ucafAuthenticationData',
175
- :'ucaf_collection_indicator' => :'ucafCollectionIndicator',
176
- :'veres_enrolled' => :'veresEnrolled',
177
- :'white_list_status_source' => :'whiteListStatusSource',
178
- :'xid' => :'xid',
179
- :'directory_server_transaction_id' => :'directoryServerTransactionId',
180
- :'authentication_result' => :'authenticationResult',
181
- :'authentication_status_msg' => :'authenticationStatusMsg',
182
- :'indicator' => :'indicator',
183
- :'interaction_counter' => :'interactionCounter',
184
- :'white_list_status' => :'whiteListStatus'
185
- }
186
- end
187
-
188
- # Attribute mapping from JSON key to ruby-style variable name.
189
- def self.json_map
190
- {
191
- :'access_token' => :'access_token',
192
- :'acs_rendering_type' => :'acs_rendering_type',
193
- :'acs_transaction_id' => :'acs_transaction_id',
194
- :'acs_url' => :'acs_url',
195
- :'authentication_path' => :'authentication_path',
196
- :'authorization_payload' => :'authorization_payload',
197
- :'authentication_transaction_id' => :'authentication_transaction_id',
198
- :'cardholder_message' => :'cardholder_message',
199
- :'cavv' => :'cavv',
200
- :'cavv_algorithm' => :'cavv_algorithm',
201
- :'challenge_cancel_code' => :'challenge_cancel_code',
202
- :'challenge_required' => :'challenge_required',
203
- :'decoupled_authentication_indicator' => :'decoupled_authentication_indicator',
204
- :'directory_server_error_code' => :'directory_server_error_code',
205
- :'directory_server_error_description' => :'directory_server_error_description',
206
- :'ecommerce_indicator' => :'ecommerce_indicator',
207
- :'eci' => :'eci',
208
- :'eci_raw' => :'eci_raw',
209
- :'effective_authentication_type' => :'effective_authentication_type',
210
- :'ivr' => :'ivr',
211
- :'strong_authentication' => :'strong_authentication',
212
- :'network_score' => :'network_score',
213
- :'pareq' => :'pareq',
214
- :'pares_status' => :'pares_status',
215
- :'proof_xml' => :'proof_xml',
216
- :'proxy_pan' => :'proxy_pan',
217
- :'sdk_transaction_id' => :'sdk_transaction_id',
218
- :'signed_pares_status_reason' => :'signed_pares_status_reason',
219
- :'specification_version' => :'specification_version',
220
- :'step_up_url' => :'step_up_url',
221
- :'three_ds_server_transaction_id' => :'three_ds_server_transaction_id',
222
- :'ucaf_authentication_data' => :'ucaf_authentication_data',
223
- :'ucaf_collection_indicator' => :'ucaf_collection_indicator',
224
- :'veres_enrolled' => :'veres_enrolled',
225
- :'white_list_status_source' => :'white_list_status_source',
226
- :'xid' => :'xid',
227
- :'directory_server_transaction_id' => :'directory_server_transaction_id',
228
- :'authentication_result' => :'authentication_result',
229
- :'authentication_status_msg' => :'authentication_status_msg',
230
- :'indicator' => :'indicator',
231
- :'interaction_counter' => :'interaction_counter',
232
- :'white_list_status' => :'white_list_status'
233
- }
234
- end
235
-
236
- # Attribute type mapping.
237
- def self.swagger_types
238
- {
239
- :'access_token' => :'String',
240
- :'acs_rendering_type' => :'String',
241
- :'acs_transaction_id' => :'String',
242
- :'acs_url' => :'String',
243
- :'authentication_path' => :'String',
244
- :'authorization_payload' => :'String',
245
- :'authentication_transaction_id' => :'String',
246
- :'cardholder_message' => :'String',
247
- :'cavv' => :'String',
248
- :'cavv_algorithm' => :'String',
249
- :'challenge_cancel_code' => :'String',
250
- :'challenge_required' => :'String',
251
- :'decoupled_authentication_indicator' => :'String',
252
- :'directory_server_error_code' => :'String',
253
- :'directory_server_error_description' => :'String',
254
- :'ecommerce_indicator' => :'String',
255
- :'eci' => :'String',
256
- :'eci_raw' => :'String',
257
- :'effective_authentication_type' => :'String',
258
- :'ivr' => :'PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr',
259
- :'strong_authentication' => :'PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication',
260
- :'network_score' => :'String',
261
- :'pareq' => :'String',
262
- :'pares_status' => :'String',
263
- :'proof_xml' => :'String',
264
- :'proxy_pan' => :'String',
265
- :'sdk_transaction_id' => :'String',
266
- :'signed_pares_status_reason' => :'String',
267
- :'specification_version' => :'String',
268
- :'step_up_url' => :'String',
269
- :'three_ds_server_transaction_id' => :'String',
270
- :'ucaf_authentication_data' => :'String',
271
- :'ucaf_collection_indicator' => :'String',
272
- :'veres_enrolled' => :'String',
273
- :'white_list_status_source' => :'String',
274
- :'xid' => :'String',
275
- :'directory_server_transaction_id' => :'String',
276
- :'authentication_result' => :'String',
277
- :'authentication_status_msg' => :'String',
278
- :'indicator' => :'String',
279
- :'interaction_counter' => :'String',
280
- :'white_list_status' => :'String'
281
- }
282
- end
283
-
284
- # Initializes the object
285
- # @param [Hash] attributes Model attributes in the form of hash
286
- def initialize(attributes = {})
287
- return unless attributes.is_a?(Hash)
288
-
289
- # convert string to symbol for hash key
290
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
291
-
292
- if attributes.has_key?(:'accessToken')
293
- self.access_token = attributes[:'accessToken']
294
- end
295
-
296
- if attributes.has_key?(:'acsRenderingType')
297
- self.acs_rendering_type = attributes[:'acsRenderingType']
298
- end
299
-
300
- if attributes.has_key?(:'acsTransactionId')
301
- self.acs_transaction_id = attributes[:'acsTransactionId']
302
- end
303
-
304
- if attributes.has_key?(:'acsUrl')
305
- self.acs_url = attributes[:'acsUrl']
306
- end
307
-
308
- if attributes.has_key?(:'authenticationPath')
309
- self.authentication_path = attributes[:'authenticationPath']
310
- end
311
-
312
- if attributes.has_key?(:'authorizationPayload')
313
- self.authorization_payload = attributes[:'authorizationPayload']
314
- end
315
-
316
- if attributes.has_key?(:'authenticationTransactionId')
317
- self.authentication_transaction_id = attributes[:'authenticationTransactionId']
318
- end
319
-
320
- if attributes.has_key?(:'cardholderMessage')
321
- self.cardholder_message = attributes[:'cardholderMessage']
322
- end
323
-
324
- if attributes.has_key?(:'cavv')
325
- self.cavv = attributes[:'cavv']
326
- end
327
-
328
- if attributes.has_key?(:'cavvAlgorithm')
329
- self.cavv_algorithm = attributes[:'cavvAlgorithm']
330
- end
331
-
332
- if attributes.has_key?(:'challengeCancelCode')
333
- self.challenge_cancel_code = attributes[:'challengeCancelCode']
334
- end
335
-
336
- if attributes.has_key?(:'challengeRequired')
337
- self.challenge_required = attributes[:'challengeRequired']
338
- end
339
-
340
- if attributes.has_key?(:'decoupledAuthenticationIndicator')
341
- self.decoupled_authentication_indicator = attributes[:'decoupledAuthenticationIndicator']
342
- end
343
-
344
- if attributes.has_key?(:'directoryServerErrorCode')
345
- self.directory_server_error_code = attributes[:'directoryServerErrorCode']
346
- end
347
-
348
- if attributes.has_key?(:'directoryServerErrorDescription')
349
- self.directory_server_error_description = attributes[:'directoryServerErrorDescription']
350
- end
351
-
352
- if attributes.has_key?(:'ecommerceIndicator')
353
- self.ecommerce_indicator = attributes[:'ecommerceIndicator']
354
- end
355
-
356
- if attributes.has_key?(:'eci')
357
- self.eci = attributes[:'eci']
358
- end
359
-
360
- if attributes.has_key?(:'eciRaw')
361
- self.eci_raw = attributes[:'eciRaw']
362
- end
363
-
364
- if attributes.has_key?(:'effectiveAuthenticationType')
365
- self.effective_authentication_type = attributes[:'effectiveAuthenticationType']
366
- end
367
-
368
- if attributes.has_key?(:'ivr')
369
- self.ivr = attributes[:'ivr']
370
- end
371
-
372
- if attributes.has_key?(:'strongAuthentication')
373
- self.strong_authentication = attributes[:'strongAuthentication']
374
- end
375
-
376
- if attributes.has_key?(:'networkScore')
377
- self.network_score = attributes[:'networkScore']
378
- end
379
-
380
- if attributes.has_key?(:'pareq')
381
- self.pareq = attributes[:'pareq']
382
- end
383
-
384
- if attributes.has_key?(:'paresStatus')
385
- self.pares_status = attributes[:'paresStatus']
386
- end
387
-
388
- if attributes.has_key?(:'proofXml')
389
- self.proof_xml = attributes[:'proofXml']
390
- end
391
-
392
- if attributes.has_key?(:'proxyPan')
393
- self.proxy_pan = attributes[:'proxyPan']
394
- end
395
-
396
- if attributes.has_key?(:'sdkTransactionId')
397
- self.sdk_transaction_id = attributes[:'sdkTransactionId']
398
- end
399
-
400
- if attributes.has_key?(:'signedParesStatusReason')
401
- self.signed_pares_status_reason = attributes[:'signedParesStatusReason']
402
- end
403
-
404
- if attributes.has_key?(:'specificationVersion')
405
- self.specification_version = attributes[:'specificationVersion']
406
- end
407
-
408
- if attributes.has_key?(:'stepUpUrl')
409
- self.step_up_url = attributes[:'stepUpUrl']
410
- end
411
-
412
- if attributes.has_key?(:'threeDSServerTransactionId')
413
- self.three_ds_server_transaction_id = attributes[:'threeDSServerTransactionId']
414
- end
415
-
416
- if attributes.has_key?(:'ucafAuthenticationData')
417
- self.ucaf_authentication_data = attributes[:'ucafAuthenticationData']
418
- end
419
-
420
- if attributes.has_key?(:'ucafCollectionIndicator')
421
- self.ucaf_collection_indicator = attributes[:'ucafCollectionIndicator']
422
- end
423
-
424
- if attributes.has_key?(:'veresEnrolled')
425
- self.veres_enrolled = attributes[:'veresEnrolled']
426
- end
427
-
428
- if attributes.has_key?(:'whiteListStatusSource')
429
- self.white_list_status_source = attributes[:'whiteListStatusSource']
430
- end
431
-
432
- if attributes.has_key?(:'xid')
433
- self.xid = attributes[:'xid']
434
- end
435
-
436
- if attributes.has_key?(:'directoryServerTransactionId')
437
- self.directory_server_transaction_id = attributes[:'directoryServerTransactionId']
438
- end
439
-
440
- if attributes.has_key?(:'authenticationResult')
441
- self.authentication_result = attributes[:'authenticationResult']
442
- end
443
-
444
- if attributes.has_key?(:'authenticationStatusMsg')
445
- self.authentication_status_msg = attributes[:'authenticationStatusMsg']
446
- end
447
-
448
- if attributes.has_key?(:'indicator')
449
- self.indicator = attributes[:'indicator']
450
- end
451
-
452
- if attributes.has_key?(:'interactionCounter')
453
- self.interaction_counter = attributes[:'interactionCounter']
454
- end
455
-
456
- if attributes.has_key?(:'whiteListStatus')
457
- self.white_list_status = attributes[:'whiteListStatus']
458
- end
459
- end
460
-
461
- # Show invalid properties with the reasons. Usually used together with valid?
462
- # @return Array for valid properties with the reasons
463
- def list_invalid_properties
464
- invalid_properties = Array.new
465
- invalid_properties
466
- end
467
-
468
- # Check to see if the all the properties in the model are valid
469
- # @return true if the model is valid
470
- def valid?
471
- true
472
- end
473
-
474
- # Custom attribute writer method with validation
475
- # @param [Object] acs_transaction_id Value to be assigned
476
- def acs_transaction_id=(acs_transaction_id)
477
- @acs_transaction_id = acs_transaction_id
478
- end
479
-
480
- # Custom attribute writer method with validation
481
- # @param [Object] acs_url Value to be assigned
482
- def acs_url=(acs_url)
483
- @acs_url = acs_url
484
- end
485
-
486
- # Custom attribute writer method with validation
487
- # @param [Object] authentication_transaction_id Value to be assigned
488
- def authentication_transaction_id=(authentication_transaction_id)
489
- @authentication_transaction_id = authentication_transaction_id
490
- end
491
-
492
- # Custom attribute writer method with validation
493
- # @param [Object] cardholder_message Value to be assigned
494
- def cardholder_message=(cardholder_message)
495
- @cardholder_message = cardholder_message
496
- end
497
-
498
- # Custom attribute writer method with validation
499
- # @param [Object] cavv Value to be assigned
500
- def cavv=(cavv)
501
- @cavv = cavv
502
- end
503
-
504
- # Custom attribute writer method with validation
505
- # @param [Object] cavv_algorithm Value to be assigned
506
- def cavv_algorithm=(cavv_algorithm)
507
- @cavv_algorithm = cavv_algorithm
508
- end
509
-
510
- # Custom attribute writer method with validation
511
- # @param [Object] challenge_cancel_code Value to be assigned
512
- def challenge_cancel_code=(challenge_cancel_code)
513
- @challenge_cancel_code = challenge_cancel_code
514
- end
515
-
516
- # Custom attribute writer method with validation
517
- # @param [Object] challenge_required Value to be assigned
518
- def challenge_required=(challenge_required)
519
- @challenge_required = challenge_required
520
- end
521
-
522
- # Custom attribute writer method with validation
523
- # @param [Object] decoupled_authentication_indicator Value to be assigned
524
- def decoupled_authentication_indicator=(decoupled_authentication_indicator)
525
- @decoupled_authentication_indicator = decoupled_authentication_indicator
526
- end
527
-
528
- # Custom attribute writer method with validation
529
- # @param [Object] directory_server_error_description Value to be assigned
530
- def directory_server_error_description=(directory_server_error_description)
531
- @directory_server_error_description = directory_server_error_description
532
- end
533
-
534
- # Custom attribute writer method with validation
535
- # @param [Object] ecommerce_indicator Value to be assigned
536
- def ecommerce_indicator=(ecommerce_indicator)
537
- @ecommerce_indicator = ecommerce_indicator
538
- end
539
-
540
- # Custom attribute writer method with validation
541
- # @param [Object] effective_authentication_type Value to be assigned
542
- def effective_authentication_type=(effective_authentication_type)
543
- @effective_authentication_type = effective_authentication_type
544
- end
545
-
546
- # Custom attribute writer method with validation
547
- # @param [Object] network_score Value to be assigned
548
- def network_score=(network_score)
549
- @network_score = network_score
550
- end
551
-
552
- # Custom attribute writer method with validation
553
- # @param [Object] sdk_transaction_id Value to be assigned
554
- def sdk_transaction_id=(sdk_transaction_id)
555
- @sdk_transaction_id = sdk_transaction_id
556
- end
557
-
558
- # Custom attribute writer method with validation
559
- # @param [Object] signed_pares_status_reason Value to be assigned
560
- def signed_pares_status_reason=(signed_pares_status_reason)
561
- @signed_pares_status_reason = signed_pares_status_reason
562
- end
563
-
564
- # Custom attribute writer method with validation
565
- # @param [Object] step_up_url Value to be assigned
566
- def step_up_url=(step_up_url)
567
- @step_up_url = step_up_url
568
- end
569
-
570
- # Custom attribute writer method with validation
571
- # @param [Object] three_ds_server_transaction_id Value to be assigned
572
- def three_ds_server_transaction_id=(three_ds_server_transaction_id)
573
- @three_ds_server_transaction_id = three_ds_server_transaction_id
574
- end
575
-
576
- # Custom attribute writer method with validation
577
- # @param [Object] white_list_status_source Value to be assigned
578
- def white_list_status_source=(white_list_status_source)
579
- @white_list_status_source = white_list_status_source
580
- end
581
-
582
- # Custom attribute writer method with validation
583
- # @param [Object] directory_server_transaction_id Value to be assigned
584
- def directory_server_transaction_id=(directory_server_transaction_id)
585
- @directory_server_transaction_id = directory_server_transaction_id
586
- end
587
-
588
- # Custom attribute writer method with validation
589
- # @param [Object] interaction_counter Value to be assigned
590
- def interaction_counter=(interaction_counter)
591
- @interaction_counter = interaction_counter
592
- end
593
-
594
- # Custom attribute writer method with validation
595
- # @param [Object] white_list_status Value to be assigned
596
- def white_list_status=(white_list_status)
597
- @white_list_status = white_list_status
598
- end
599
-
600
- # Checks equality by comparing each attribute.
601
- # @param [Object] Object to be compared
602
- def ==(o)
603
- return true if self.equal?(o)
604
- self.class == o.class &&
605
- access_token == o.access_token &&
606
- acs_rendering_type == o.acs_rendering_type &&
607
- acs_transaction_id == o.acs_transaction_id &&
608
- acs_url == o.acs_url &&
609
- authentication_path == o.authentication_path &&
610
- authorization_payload == o.authorization_payload &&
611
- authentication_transaction_id == o.authentication_transaction_id &&
612
- cardholder_message == o.cardholder_message &&
613
- cavv == o.cavv &&
614
- cavv_algorithm == o.cavv_algorithm &&
615
- challenge_cancel_code == o.challenge_cancel_code &&
616
- challenge_required == o.challenge_required &&
617
- decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
618
- directory_server_error_code == o.directory_server_error_code &&
619
- directory_server_error_description == o.directory_server_error_description &&
620
- ecommerce_indicator == o.ecommerce_indicator &&
621
- eci == o.eci &&
622
- eci_raw == o.eci_raw &&
623
- effective_authentication_type == o.effective_authentication_type &&
624
- ivr == o.ivr &&
625
- strong_authentication == o.strong_authentication &&
626
- network_score == o.network_score &&
627
- pareq == o.pareq &&
628
- pares_status == o.pares_status &&
629
- proof_xml == o.proof_xml &&
630
- proxy_pan == o.proxy_pan &&
631
- sdk_transaction_id == o.sdk_transaction_id &&
632
- signed_pares_status_reason == o.signed_pares_status_reason &&
633
- specification_version == o.specification_version &&
634
- step_up_url == o.step_up_url &&
635
- three_ds_server_transaction_id == o.three_ds_server_transaction_id &&
636
- ucaf_authentication_data == o.ucaf_authentication_data &&
637
- ucaf_collection_indicator == o.ucaf_collection_indicator &&
638
- veres_enrolled == o.veres_enrolled &&
639
- white_list_status_source == o.white_list_status_source &&
640
- xid == o.xid &&
641
- directory_server_transaction_id == o.directory_server_transaction_id &&
642
- authentication_result == o.authentication_result &&
643
- authentication_status_msg == o.authentication_status_msg &&
644
- indicator == o.indicator &&
645
- interaction_counter == o.interaction_counter &&
646
- white_list_status == o.white_list_status
647
- end
648
-
649
- # @see the `==` method
650
- # @param [Object] Object to be compared
651
- def eql?(o)
652
- self == o
653
- end
654
-
655
- # Calculates hash code according to all attributes.
656
- # @return [Fixnum] Hash code
657
- def hash
658
- [access_token, acs_rendering_type, acs_transaction_id, acs_url, authentication_path, authorization_payload, authentication_transaction_id, 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, ivr, strong_authentication, 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, authentication_result, authentication_status_msg, indicator, interaction_counter, white_list_status].hash
659
- end
660
-
661
- # Builds the object from hash
662
- # @param [Hash] attributes Model attributes in the form of hash
663
- # @return [Object] Returns the model itself
664
- def build_from_hash(attributes)
665
- return nil unless attributes.is_a?(Hash)
666
- self.class.swagger_types.each_pair do |key, type|
667
- if type =~ /\AArray<(.*)>/i
668
- # check to ensure the input is an array given that the the attribute
669
- # is documented as an array but the input is not
670
- if attributes[self.class.attribute_map[key]].is_a?(Array)
671
- self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
672
- end
673
- elsif !attributes[self.class.attribute_map[key]].nil?
674
- self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
675
- end # or else data not found in attributes(hash), not an issue as the data can be optional
676
- end
677
-
678
- self
679
- end
680
-
681
- # Deserializes the data based on type
682
- # @param string type Data type
683
- # @param string value Value to be deserialized
684
- # @return [Object] Deserialized data
685
- def _deserialize(type, value)
686
- case type.to_sym
687
- when :DateTime
688
- DateTime.parse(value)
689
- when :Date
690
- Date.parse(value)
691
- when :String
692
- value.to_s
693
- when :Integer
694
- value.to_i
695
- when :Float
696
- value.to_f
697
- when :BOOLEAN
698
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
699
- true
700
- else
701
- false
702
- end
703
- when :Object
704
- # generic object (usually a Hash), return directly
705
- value
706
- when /\AArray<(?<inner_type>.+)>\z/
707
- inner_type = Regexp.last_match[:inner_type]
708
- value.map { |v| _deserialize(inner_type, v) }
709
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
710
- k_type = Regexp.last_match[:k_type]
711
- v_type = Regexp.last_match[:v_type]
712
- {}.tap do |hash|
713
- value.each do |k, v|
714
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
715
- end
716
- end
717
- else # model
718
- temp_model = CyberSource.const_get(type).new
719
- temp_model.build_from_hash(value)
720
- end
721
- end
722
-
723
- # Returns the string representation of the object
724
- # @return [String] String presentation of the object
725
- def to_s
726
- to_hash.to_s
727
- end
728
-
729
- # to_body is an alias to to_hash (backward compatibility)
730
- # @return [Hash] Returns the object in the form of hash
731
- def to_body
732
- to_hash
733
- end
734
-
735
- # Returns the object in the form of hash
736
- # @return [Hash] Returns the object in the form of hash
737
- def to_hash
738
- hash = {}
739
- self.class.attribute_map.each_pair do |attr, param|
740
- value = self.send(attr)
741
- next if value.nil?
742
- hash[param] = _to_hash(value)
743
- end
744
- hash
745
- end
746
-
747
- # Outputs non-array value in the form of hash
748
- # For object, use to_hash. Otherwise, just return the value
749
- # @param [Object] value Any valid value
750
- # @return [Hash] Returns the value in the form of hash
751
- def _to_hash(value)
752
- if value.is_a?(Array)
753
- value.compact.map { |v| _to_hash(v) }
754
- elsif value.is_a?(Hash)
755
- {}.tap do |hash|
756
- value.each { |k, v| hash[k] = _to_hash(v) }
757
- end
758
- elsif value.respond_to? :to_hash
759
- value.to_hash
760
- else
761
- value
762
- end
763
- end
764
- end
765
- end
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.38
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module CyberSource
15
+ class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation
16
+ # 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.
17
+ attr_accessor :access_token
18
+
19
+ # Identifies the UI Type the ACS will use to complete the challenge. **NOTE**: Only available for App transactions using the Cardinal Mobile SDK.
20
+ attr_accessor :acs_rendering_type
21
+
22
+ # Unique transaction identifier assigned by the ACS to identify a single transaction.
23
+ attr_accessor :acs_transaction_id
24
+
25
+ # URL for the card-issuing bank's authentication form that you receive when the card is enrolled. The value can be very large.
26
+ attr_accessor :acs_url
27
+
28
+ # 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_.
29
+ attr_accessor :authentication_path
30
+
31
+ # The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
32
+ attr_accessor :authorization_payload
33
+
34
+ # 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.
35
+ attr_accessor :authentication_transaction_id
36
+
37
+ # 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.
38
+ attr_accessor :cardholder_message
39
+
40
+ # 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.
41
+ attr_accessor :cavv
42
+
43
+ # 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
44
+ attr_accessor :cavv_algorithm
45
+
46
+ # 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
47
+ attr_accessor :challenge_cancel_code
48
+
49
+ # 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.
50
+ attr_accessor :challenge_required
51
+
52
+ # 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
53
+ attr_accessor :decoupled_authentication_indicator
54
+
55
+ # The directory server error code indicating a problem with this transaction. Note - Max Length of this field is typically 3 characters.
56
+ attr_accessor :directory_server_error_code
57
+
58
+ # Directory server text and additional detail about the error for this transaction.
59
+ attr_accessor :directory_server_error_description
60
+
61
+ # 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.
62
+ attr_accessor :ecommerce_indicator
63
+
64
+ # 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.)
65
+ attr_accessor :eci
66
+
67
+ # 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)
68
+ attr_accessor :eci_raw
69
+
70
+ # 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).
71
+ attr_accessor :effective_authentication_type
72
+
73
+ attr_accessor :ivr
74
+
75
+ attr_accessor :strong_authentication
76
+
77
+ # The global score calculated by the CB scoring platform and returned to merchants.
78
+ attr_accessor :network_score
79
+
80
+ # Payer authentication request (PAReq) message that you need to forward to the ACS. The value can be very large. The value is in base64.
81
+ attr_accessor :pareq
82
+
83
+ # 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.
84
+ attr_accessor :pares_status
85
+
86
+ # 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.
87
+ attr_accessor :proof_xml
88
+
89
+ # Encrypted version of the card number used in the payer authentication request message.
90
+ attr_accessor :proxy_pan
91
+
92
+ # SDK unique transaction identifier that is generated on each new transaction.
93
+ attr_accessor :sdk_transaction_id
94
+
95
+ # Provides additional information as to why the PAResStatus has a specific value.
96
+ attr_accessor :signed_pares_status_reason
97
+
98
+ # This field contains the 3D Secure version that was used to process the transaction. For example: 2.2.0
99
+ attr_accessor :specification_version
100
+
101
+ # 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.
102
+ attr_accessor :step_up_url
103
+
104
+ # Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
105
+ attr_accessor :three_ds_server_transaction_id
106
+
107
+ # 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.
108
+ attr_accessor :ucaf_authentication_data
109
+
110
+ # 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.
111
+ attr_accessor :ucaf_collection_indicator
112
+
113
+ # 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.
114
+ attr_accessor :veres_enrolled
115
+
116
+ # This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS
117
+ attr_accessor :white_list_status_source
118
+
119
+ # 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`)
120
+ attr_accessor :xid
121
+
122
+ # 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
123
+ attr_accessor :directory_server_transaction_id
124
+
125
+ # 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.
126
+ attr_accessor :authentication_result
127
+
128
+ # Message that explains the authenticationResult reply field.
129
+ attr_accessor :authentication_status_msg
130
+
131
+ # 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.
132
+ attr_accessor :indicator
133
+
134
+ # 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.
135
+ attr_accessor :interaction_counter
136
+
137
+ # 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
138
+ attr_accessor :white_list_status
139
+
140
+ # Attribute mapping from ruby-style variable name to JSON key.
141
+ def self.attribute_map
142
+ {
143
+ :'access_token' => :'accessToken',
144
+ :'acs_rendering_type' => :'acsRenderingType',
145
+ :'acs_transaction_id' => :'acsTransactionId',
146
+ :'acs_url' => :'acsUrl',
147
+ :'authentication_path' => :'authenticationPath',
148
+ :'authorization_payload' => :'authorizationPayload',
149
+ :'authentication_transaction_id' => :'authenticationTransactionId',
150
+ :'cardholder_message' => :'cardholderMessage',
151
+ :'cavv' => :'cavv',
152
+ :'cavv_algorithm' => :'cavvAlgorithm',
153
+ :'challenge_cancel_code' => :'challengeCancelCode',
154
+ :'challenge_required' => :'challengeRequired',
155
+ :'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
156
+ :'directory_server_error_code' => :'directoryServerErrorCode',
157
+ :'directory_server_error_description' => :'directoryServerErrorDescription',
158
+ :'ecommerce_indicator' => :'ecommerceIndicator',
159
+ :'eci' => :'eci',
160
+ :'eci_raw' => :'eciRaw',
161
+ :'effective_authentication_type' => :'effectiveAuthenticationType',
162
+ :'ivr' => :'ivr',
163
+ :'strong_authentication' => :'strongAuthentication',
164
+ :'network_score' => :'networkScore',
165
+ :'pareq' => :'pareq',
166
+ :'pares_status' => :'paresStatus',
167
+ :'proof_xml' => :'proofXml',
168
+ :'proxy_pan' => :'proxyPan',
169
+ :'sdk_transaction_id' => :'sdkTransactionId',
170
+ :'signed_pares_status_reason' => :'signedParesStatusReason',
171
+ :'specification_version' => :'specificationVersion',
172
+ :'step_up_url' => :'stepUpUrl',
173
+ :'three_ds_server_transaction_id' => :'threeDSServerTransactionId',
174
+ :'ucaf_authentication_data' => :'ucafAuthenticationData',
175
+ :'ucaf_collection_indicator' => :'ucafCollectionIndicator',
176
+ :'veres_enrolled' => :'veresEnrolled',
177
+ :'white_list_status_source' => :'whiteListStatusSource',
178
+ :'xid' => :'xid',
179
+ :'directory_server_transaction_id' => :'directoryServerTransactionId',
180
+ :'authentication_result' => :'authenticationResult',
181
+ :'authentication_status_msg' => :'authenticationStatusMsg',
182
+ :'indicator' => :'indicator',
183
+ :'interaction_counter' => :'interactionCounter',
184
+ :'white_list_status' => :'whiteListStatus'
185
+ }
186
+ end
187
+
188
+ # Attribute mapping from JSON key to ruby-style variable name.
189
+ def self.json_map
190
+ {
191
+ :'access_token' => :'access_token',
192
+ :'acs_rendering_type' => :'acs_rendering_type',
193
+ :'acs_transaction_id' => :'acs_transaction_id',
194
+ :'acs_url' => :'acs_url',
195
+ :'authentication_path' => :'authentication_path',
196
+ :'authorization_payload' => :'authorization_payload',
197
+ :'authentication_transaction_id' => :'authentication_transaction_id',
198
+ :'cardholder_message' => :'cardholder_message',
199
+ :'cavv' => :'cavv',
200
+ :'cavv_algorithm' => :'cavv_algorithm',
201
+ :'challenge_cancel_code' => :'challenge_cancel_code',
202
+ :'challenge_required' => :'challenge_required',
203
+ :'decoupled_authentication_indicator' => :'decoupled_authentication_indicator',
204
+ :'directory_server_error_code' => :'directory_server_error_code',
205
+ :'directory_server_error_description' => :'directory_server_error_description',
206
+ :'ecommerce_indicator' => :'ecommerce_indicator',
207
+ :'eci' => :'eci',
208
+ :'eci_raw' => :'eci_raw',
209
+ :'effective_authentication_type' => :'effective_authentication_type',
210
+ :'ivr' => :'ivr',
211
+ :'strong_authentication' => :'strong_authentication',
212
+ :'network_score' => :'network_score',
213
+ :'pareq' => :'pareq',
214
+ :'pares_status' => :'pares_status',
215
+ :'proof_xml' => :'proof_xml',
216
+ :'proxy_pan' => :'proxy_pan',
217
+ :'sdk_transaction_id' => :'sdk_transaction_id',
218
+ :'signed_pares_status_reason' => :'signed_pares_status_reason',
219
+ :'specification_version' => :'specification_version',
220
+ :'step_up_url' => :'step_up_url',
221
+ :'three_ds_server_transaction_id' => :'three_ds_server_transaction_id',
222
+ :'ucaf_authentication_data' => :'ucaf_authentication_data',
223
+ :'ucaf_collection_indicator' => :'ucaf_collection_indicator',
224
+ :'veres_enrolled' => :'veres_enrolled',
225
+ :'white_list_status_source' => :'white_list_status_source',
226
+ :'xid' => :'xid',
227
+ :'directory_server_transaction_id' => :'directory_server_transaction_id',
228
+ :'authentication_result' => :'authentication_result',
229
+ :'authentication_status_msg' => :'authentication_status_msg',
230
+ :'indicator' => :'indicator',
231
+ :'interaction_counter' => :'interaction_counter',
232
+ :'white_list_status' => :'white_list_status'
233
+ }
234
+ end
235
+
236
+ # Attribute type mapping.
237
+ def self.swagger_types
238
+ {
239
+ :'access_token' => :'String',
240
+ :'acs_rendering_type' => :'String',
241
+ :'acs_transaction_id' => :'String',
242
+ :'acs_url' => :'String',
243
+ :'authentication_path' => :'String',
244
+ :'authorization_payload' => :'String',
245
+ :'authentication_transaction_id' => :'String',
246
+ :'cardholder_message' => :'String',
247
+ :'cavv' => :'String',
248
+ :'cavv_algorithm' => :'String',
249
+ :'challenge_cancel_code' => :'String',
250
+ :'challenge_required' => :'String',
251
+ :'decoupled_authentication_indicator' => :'String',
252
+ :'directory_server_error_code' => :'String',
253
+ :'directory_server_error_description' => :'String',
254
+ :'ecommerce_indicator' => :'String',
255
+ :'eci' => :'String',
256
+ :'eci_raw' => :'String',
257
+ :'effective_authentication_type' => :'String',
258
+ :'ivr' => :'PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr',
259
+ :'strong_authentication' => :'PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthentication',
260
+ :'network_score' => :'String',
261
+ :'pareq' => :'String',
262
+ :'pares_status' => :'String',
263
+ :'proof_xml' => :'String',
264
+ :'proxy_pan' => :'String',
265
+ :'sdk_transaction_id' => :'String',
266
+ :'signed_pares_status_reason' => :'String',
267
+ :'specification_version' => :'String',
268
+ :'step_up_url' => :'String',
269
+ :'three_ds_server_transaction_id' => :'String',
270
+ :'ucaf_authentication_data' => :'String',
271
+ :'ucaf_collection_indicator' => :'String',
272
+ :'veres_enrolled' => :'String',
273
+ :'white_list_status_source' => :'String',
274
+ :'xid' => :'String',
275
+ :'directory_server_transaction_id' => :'String',
276
+ :'authentication_result' => :'String',
277
+ :'authentication_status_msg' => :'String',
278
+ :'indicator' => :'String',
279
+ :'interaction_counter' => :'String',
280
+ :'white_list_status' => :'String'
281
+ }
282
+ end
283
+
284
+ # Initializes the object
285
+ # @param [Hash] attributes Model attributes in the form of hash
286
+ def initialize(attributes = {})
287
+ return unless attributes.is_a?(Hash)
288
+
289
+ # convert string to symbol for hash key
290
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
291
+
292
+ if attributes.has_key?(:'accessToken')
293
+ self.access_token = attributes[:'accessToken']
294
+ end
295
+
296
+ if attributes.has_key?(:'acsRenderingType')
297
+ self.acs_rendering_type = attributes[:'acsRenderingType']
298
+ end
299
+
300
+ if attributes.has_key?(:'acsTransactionId')
301
+ self.acs_transaction_id = attributes[:'acsTransactionId']
302
+ end
303
+
304
+ if attributes.has_key?(:'acsUrl')
305
+ self.acs_url = attributes[:'acsUrl']
306
+ end
307
+
308
+ if attributes.has_key?(:'authenticationPath')
309
+ self.authentication_path = attributes[:'authenticationPath']
310
+ end
311
+
312
+ if attributes.has_key?(:'authorizationPayload')
313
+ self.authorization_payload = attributes[:'authorizationPayload']
314
+ end
315
+
316
+ if attributes.has_key?(:'authenticationTransactionId')
317
+ self.authentication_transaction_id = attributes[:'authenticationTransactionId']
318
+ end
319
+
320
+ if attributes.has_key?(:'cardholderMessage')
321
+ self.cardholder_message = attributes[:'cardholderMessage']
322
+ end
323
+
324
+ if attributes.has_key?(:'cavv')
325
+ self.cavv = attributes[:'cavv']
326
+ end
327
+
328
+ if attributes.has_key?(:'cavvAlgorithm')
329
+ self.cavv_algorithm = attributes[:'cavvAlgorithm']
330
+ end
331
+
332
+ if attributes.has_key?(:'challengeCancelCode')
333
+ self.challenge_cancel_code = attributes[:'challengeCancelCode']
334
+ end
335
+
336
+ if attributes.has_key?(:'challengeRequired')
337
+ self.challenge_required = attributes[:'challengeRequired']
338
+ end
339
+
340
+ if attributes.has_key?(:'decoupledAuthenticationIndicator')
341
+ self.decoupled_authentication_indicator = attributes[:'decoupledAuthenticationIndicator']
342
+ end
343
+
344
+ if attributes.has_key?(:'directoryServerErrorCode')
345
+ self.directory_server_error_code = attributes[:'directoryServerErrorCode']
346
+ end
347
+
348
+ if attributes.has_key?(:'directoryServerErrorDescription')
349
+ self.directory_server_error_description = attributes[:'directoryServerErrorDescription']
350
+ end
351
+
352
+ if attributes.has_key?(:'ecommerceIndicator')
353
+ self.ecommerce_indicator = attributes[:'ecommerceIndicator']
354
+ end
355
+
356
+ if attributes.has_key?(:'eci')
357
+ self.eci = attributes[:'eci']
358
+ end
359
+
360
+ if attributes.has_key?(:'eciRaw')
361
+ self.eci_raw = attributes[:'eciRaw']
362
+ end
363
+
364
+ if attributes.has_key?(:'effectiveAuthenticationType')
365
+ self.effective_authentication_type = attributes[:'effectiveAuthenticationType']
366
+ end
367
+
368
+ if attributes.has_key?(:'ivr')
369
+ self.ivr = attributes[:'ivr']
370
+ end
371
+
372
+ if attributes.has_key?(:'strongAuthentication')
373
+ self.strong_authentication = attributes[:'strongAuthentication']
374
+ end
375
+
376
+ if attributes.has_key?(:'networkScore')
377
+ self.network_score = attributes[:'networkScore']
378
+ end
379
+
380
+ if attributes.has_key?(:'pareq')
381
+ self.pareq = attributes[:'pareq']
382
+ end
383
+
384
+ if attributes.has_key?(:'paresStatus')
385
+ self.pares_status = attributes[:'paresStatus']
386
+ end
387
+
388
+ if attributes.has_key?(:'proofXml')
389
+ self.proof_xml = attributes[:'proofXml']
390
+ end
391
+
392
+ if attributes.has_key?(:'proxyPan')
393
+ self.proxy_pan = attributes[:'proxyPan']
394
+ end
395
+
396
+ if attributes.has_key?(:'sdkTransactionId')
397
+ self.sdk_transaction_id = attributes[:'sdkTransactionId']
398
+ end
399
+
400
+ if attributes.has_key?(:'signedParesStatusReason')
401
+ self.signed_pares_status_reason = attributes[:'signedParesStatusReason']
402
+ end
403
+
404
+ if attributes.has_key?(:'specificationVersion')
405
+ self.specification_version = attributes[:'specificationVersion']
406
+ end
407
+
408
+ if attributes.has_key?(:'stepUpUrl')
409
+ self.step_up_url = attributes[:'stepUpUrl']
410
+ end
411
+
412
+ if attributes.has_key?(:'threeDSServerTransactionId')
413
+ self.three_ds_server_transaction_id = attributes[:'threeDSServerTransactionId']
414
+ end
415
+
416
+ if attributes.has_key?(:'ucafAuthenticationData')
417
+ self.ucaf_authentication_data = attributes[:'ucafAuthenticationData']
418
+ end
419
+
420
+ if attributes.has_key?(:'ucafCollectionIndicator')
421
+ self.ucaf_collection_indicator = attributes[:'ucafCollectionIndicator']
422
+ end
423
+
424
+ if attributes.has_key?(:'veresEnrolled')
425
+ self.veres_enrolled = attributes[:'veresEnrolled']
426
+ end
427
+
428
+ if attributes.has_key?(:'whiteListStatusSource')
429
+ self.white_list_status_source = attributes[:'whiteListStatusSource']
430
+ end
431
+
432
+ if attributes.has_key?(:'xid')
433
+ self.xid = attributes[:'xid']
434
+ end
435
+
436
+ if attributes.has_key?(:'directoryServerTransactionId')
437
+ self.directory_server_transaction_id = attributes[:'directoryServerTransactionId']
438
+ end
439
+
440
+ if attributes.has_key?(:'authenticationResult')
441
+ self.authentication_result = attributes[:'authenticationResult']
442
+ end
443
+
444
+ if attributes.has_key?(:'authenticationStatusMsg')
445
+ self.authentication_status_msg = attributes[:'authenticationStatusMsg']
446
+ end
447
+
448
+ if attributes.has_key?(:'indicator')
449
+ self.indicator = attributes[:'indicator']
450
+ end
451
+
452
+ if attributes.has_key?(:'interactionCounter')
453
+ self.interaction_counter = attributes[:'interactionCounter']
454
+ end
455
+
456
+ if attributes.has_key?(:'whiteListStatus')
457
+ self.white_list_status = attributes[:'whiteListStatus']
458
+ end
459
+ end
460
+
461
+ # Show invalid properties with the reasons. Usually used together with valid?
462
+ # @return Array for valid properties with the reasons
463
+ def list_invalid_properties
464
+ invalid_properties = Array.new
465
+ invalid_properties
466
+ end
467
+
468
+ # Check to see if the all the properties in the model are valid
469
+ # @return true if the model is valid
470
+ def valid?
471
+ true
472
+ end
473
+
474
+ # Custom attribute writer method with validation
475
+ # @param [Object] acs_transaction_id Value to be assigned
476
+ def acs_transaction_id=(acs_transaction_id)
477
+ @acs_transaction_id = acs_transaction_id
478
+ end
479
+
480
+ # Custom attribute writer method with validation
481
+ # @param [Object] acs_url Value to be assigned
482
+ def acs_url=(acs_url)
483
+ @acs_url = acs_url
484
+ end
485
+
486
+ # Custom attribute writer method with validation
487
+ # @param [Object] authentication_transaction_id Value to be assigned
488
+ def authentication_transaction_id=(authentication_transaction_id)
489
+ @authentication_transaction_id = authentication_transaction_id
490
+ end
491
+
492
+ # Custom attribute writer method with validation
493
+ # @param [Object] cardholder_message Value to be assigned
494
+ def cardholder_message=(cardholder_message)
495
+ @cardholder_message = cardholder_message
496
+ end
497
+
498
+ # Custom attribute writer method with validation
499
+ # @param [Object] cavv Value to be assigned
500
+ def cavv=(cavv)
501
+ @cavv = cavv
502
+ end
503
+
504
+ # Custom attribute writer method with validation
505
+ # @param [Object] cavv_algorithm Value to be assigned
506
+ def cavv_algorithm=(cavv_algorithm)
507
+ @cavv_algorithm = cavv_algorithm
508
+ end
509
+
510
+ # Custom attribute writer method with validation
511
+ # @param [Object] challenge_cancel_code Value to be assigned
512
+ def challenge_cancel_code=(challenge_cancel_code)
513
+ @challenge_cancel_code = challenge_cancel_code
514
+ end
515
+
516
+ # Custom attribute writer method with validation
517
+ # @param [Object] challenge_required Value to be assigned
518
+ def challenge_required=(challenge_required)
519
+ @challenge_required = challenge_required
520
+ end
521
+
522
+ # Custom attribute writer method with validation
523
+ # @param [Object] decoupled_authentication_indicator Value to be assigned
524
+ def decoupled_authentication_indicator=(decoupled_authentication_indicator)
525
+ @decoupled_authentication_indicator = decoupled_authentication_indicator
526
+ end
527
+
528
+ # Custom attribute writer method with validation
529
+ # @param [Object] directory_server_error_description Value to be assigned
530
+ def directory_server_error_description=(directory_server_error_description)
531
+ @directory_server_error_description = directory_server_error_description
532
+ end
533
+
534
+ # Custom attribute writer method with validation
535
+ # @param [Object] ecommerce_indicator Value to be assigned
536
+ def ecommerce_indicator=(ecommerce_indicator)
537
+ @ecommerce_indicator = ecommerce_indicator
538
+ end
539
+
540
+ # Custom attribute writer method with validation
541
+ # @param [Object] effective_authentication_type Value to be assigned
542
+ def effective_authentication_type=(effective_authentication_type)
543
+ @effective_authentication_type = effective_authentication_type
544
+ end
545
+
546
+ # Custom attribute writer method with validation
547
+ # @param [Object] network_score Value to be assigned
548
+ def network_score=(network_score)
549
+ @network_score = network_score
550
+ end
551
+
552
+ # Custom attribute writer method with validation
553
+ # @param [Object] sdk_transaction_id Value to be assigned
554
+ def sdk_transaction_id=(sdk_transaction_id)
555
+ @sdk_transaction_id = sdk_transaction_id
556
+ end
557
+
558
+ # Custom attribute writer method with validation
559
+ # @param [Object] signed_pares_status_reason Value to be assigned
560
+ def signed_pares_status_reason=(signed_pares_status_reason)
561
+ @signed_pares_status_reason = signed_pares_status_reason
562
+ end
563
+
564
+ # Custom attribute writer method with validation
565
+ # @param [Object] step_up_url Value to be assigned
566
+ def step_up_url=(step_up_url)
567
+ @step_up_url = step_up_url
568
+ end
569
+
570
+ # Custom attribute writer method with validation
571
+ # @param [Object] three_ds_server_transaction_id Value to be assigned
572
+ def three_ds_server_transaction_id=(three_ds_server_transaction_id)
573
+ @three_ds_server_transaction_id = three_ds_server_transaction_id
574
+ end
575
+
576
+ # Custom attribute writer method with validation
577
+ # @param [Object] white_list_status_source Value to be assigned
578
+ def white_list_status_source=(white_list_status_source)
579
+ @white_list_status_source = white_list_status_source
580
+ end
581
+
582
+ # Custom attribute writer method with validation
583
+ # @param [Object] directory_server_transaction_id Value to be assigned
584
+ def directory_server_transaction_id=(directory_server_transaction_id)
585
+ @directory_server_transaction_id = directory_server_transaction_id
586
+ end
587
+
588
+ # Custom attribute writer method with validation
589
+ # @param [Object] interaction_counter Value to be assigned
590
+ def interaction_counter=(interaction_counter)
591
+ @interaction_counter = interaction_counter
592
+ end
593
+
594
+ # Custom attribute writer method with validation
595
+ # @param [Object] white_list_status Value to be assigned
596
+ def white_list_status=(white_list_status)
597
+ @white_list_status = white_list_status
598
+ end
599
+
600
+ # Checks equality by comparing each attribute.
601
+ # @param [Object] Object to be compared
602
+ def ==(o)
603
+ return true if self.equal?(o)
604
+ self.class == o.class &&
605
+ access_token == o.access_token &&
606
+ acs_rendering_type == o.acs_rendering_type &&
607
+ acs_transaction_id == o.acs_transaction_id &&
608
+ acs_url == o.acs_url &&
609
+ authentication_path == o.authentication_path &&
610
+ authorization_payload == o.authorization_payload &&
611
+ authentication_transaction_id == o.authentication_transaction_id &&
612
+ cardholder_message == o.cardholder_message &&
613
+ cavv == o.cavv &&
614
+ cavv_algorithm == o.cavv_algorithm &&
615
+ challenge_cancel_code == o.challenge_cancel_code &&
616
+ challenge_required == o.challenge_required &&
617
+ decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
618
+ directory_server_error_code == o.directory_server_error_code &&
619
+ directory_server_error_description == o.directory_server_error_description &&
620
+ ecommerce_indicator == o.ecommerce_indicator &&
621
+ eci == o.eci &&
622
+ eci_raw == o.eci_raw &&
623
+ effective_authentication_type == o.effective_authentication_type &&
624
+ ivr == o.ivr &&
625
+ strong_authentication == o.strong_authentication &&
626
+ network_score == o.network_score &&
627
+ pareq == o.pareq &&
628
+ pares_status == o.pares_status &&
629
+ proof_xml == o.proof_xml &&
630
+ proxy_pan == o.proxy_pan &&
631
+ sdk_transaction_id == o.sdk_transaction_id &&
632
+ signed_pares_status_reason == o.signed_pares_status_reason &&
633
+ specification_version == o.specification_version &&
634
+ step_up_url == o.step_up_url &&
635
+ three_ds_server_transaction_id == o.three_ds_server_transaction_id &&
636
+ ucaf_authentication_data == o.ucaf_authentication_data &&
637
+ ucaf_collection_indicator == o.ucaf_collection_indicator &&
638
+ veres_enrolled == o.veres_enrolled &&
639
+ white_list_status_source == o.white_list_status_source &&
640
+ xid == o.xid &&
641
+ directory_server_transaction_id == o.directory_server_transaction_id &&
642
+ authentication_result == o.authentication_result &&
643
+ authentication_status_msg == o.authentication_status_msg &&
644
+ indicator == o.indicator &&
645
+ interaction_counter == o.interaction_counter &&
646
+ white_list_status == o.white_list_status
647
+ end
648
+
649
+ # @see the `==` method
650
+ # @param [Object] Object to be compared
651
+ def eql?(o)
652
+ self == o
653
+ end
654
+
655
+ # Calculates hash code according to all attributes.
656
+ # @return [Fixnum] Hash code
657
+ def hash
658
+ [access_token, acs_rendering_type, acs_transaction_id, acs_url, authentication_path, authorization_payload, authentication_transaction_id, 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, ivr, strong_authentication, 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, authentication_result, authentication_status_msg, indicator, interaction_counter, white_list_status].hash
659
+ end
660
+
661
+ # Builds the object from hash
662
+ # @param [Hash] attributes Model attributes in the form of hash
663
+ # @return [Object] Returns the model itself
664
+ def build_from_hash(attributes)
665
+ return nil unless attributes.is_a?(Hash)
666
+ self.class.swagger_types.each_pair do |key, type|
667
+ if type =~ /\AArray<(.*)>/i
668
+ # check to ensure the input is an array given that the the attribute
669
+ # is documented as an array but the input is not
670
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
671
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
672
+ end
673
+ elsif !attributes[self.class.attribute_map[key]].nil?
674
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
675
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
676
+ end
677
+
678
+ self
679
+ end
680
+
681
+ # Deserializes the data based on type
682
+ # @param string type Data type
683
+ # @param string value Value to be deserialized
684
+ # @return [Object] Deserialized data
685
+ def _deserialize(type, value)
686
+ case type.to_sym
687
+ when :DateTime
688
+ DateTime.parse(value)
689
+ when :Date
690
+ Date.parse(value)
691
+ when :String
692
+ value.to_s
693
+ when :Integer
694
+ value.to_i
695
+ when :Float
696
+ value.to_f
697
+ when :BOOLEAN
698
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
699
+ true
700
+ else
701
+ false
702
+ end
703
+ when :Object
704
+ # generic object (usually a Hash), return directly
705
+ value
706
+ when /\AArray<(?<inner_type>.+)>\z/
707
+ inner_type = Regexp.last_match[:inner_type]
708
+ value.map { |v| _deserialize(inner_type, v) }
709
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
710
+ k_type = Regexp.last_match[:k_type]
711
+ v_type = Regexp.last_match[:v_type]
712
+ {}.tap do |hash|
713
+ value.each do |k, v|
714
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
715
+ end
716
+ end
717
+ else # model
718
+ temp_model = CyberSource.const_get(type).new
719
+ temp_model.build_from_hash(value)
720
+ end
721
+ end
722
+
723
+ # Returns the string representation of the object
724
+ # @return [String] String presentation of the object
725
+ def to_s
726
+ to_hash.to_s
727
+ end
728
+
729
+ # to_body is an alias to to_hash (backward compatibility)
730
+ # @return [Hash] Returns the object in the form of hash
731
+ def to_body
732
+ to_hash
733
+ end
734
+
735
+ # Returns the object in the form of hash
736
+ # @return [Hash] Returns the object in the form of hash
737
+ def to_hash
738
+ hash = {}
739
+ self.class.attribute_map.each_pair do |attr, param|
740
+ value = self.send(attr)
741
+ next if value.nil?
742
+ hash[param] = _to_hash(value)
743
+ end
744
+ hash
745
+ end
746
+
747
+ # Outputs non-array value in the form of hash
748
+ # For object, use to_hash. Otherwise, just return the value
749
+ # @param [Object] value Any valid value
750
+ # @return [Hash] Returns the value in the form of hash
751
+ def _to_hash(value)
752
+ if value.is_a?(Array)
753
+ value.compact.map { |v| _to_hash(v) }
754
+ elsif value.is_a?(Hash)
755
+ {}.tap do |hash|
756
+ value.each { |k, v| hash[k] = _to_hash(v) }
757
+ end
758
+ elsif value.respond_to? :to_hash
759
+ value.to_hash
760
+ else
761
+ value
762
+ end
763
+ end
764
+ end
765
+ end