cybersource_rest_client 0.0.62 → 0.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +93 -0
  3. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
  4. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +3 -3
  5. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  6. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +4 -4
  7. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -2
  8. data/lib/cybersource_rest_client/api_client.rb +28 -26
  9. data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +3 -3
  10. data/lib/cybersource_rest_client/models/{tss_v2_transactions_post400_response.rb → bin_lookupv400_response.rb} +224 -224
  11. data/lib/cybersource_rest_client/models/binv1binlookup_client_reference_information.rb +222 -0
  12. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information.rb +219 -0
  13. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information_card.rb +196 -0
  14. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information.rb +200 -0
  15. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information_payout_options.rb +213 -0
  16. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options_initiator.rb → binv1binlookup_token_information.rb} +207 -196
  17. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +3 -3
  18. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +3 -3
  19. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +3 -3
  20. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +9 -9
  21. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +12 -12
  22. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +9 -9
  23. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +15 -15
  24. data/lib/cybersource_rest_client/models/case_management_comments_request.rb +3 -3
  25. data/lib/cybersource_rest_client/models/create_bin_lookup_request.rb +219 -0
  26. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +6 -6
  27. data/lib/cybersource_rest_client/models/e_check_config_common.rb +9 -9
  28. data/lib/cybersource_rest_client/models/e_check_config_common_processors.rb +3 -3
  29. data/lib/cybersource_rest_client/models/get_all_plans_response_order_information_amount_details.rb +1 -1
  30. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +253 -253
  31. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +248 -315
  32. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_aggregator_information.rb → inline_response_201_1_issuer_information.rb} +264 -223
  33. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information.rb +209 -0
  34. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card.rb +277 -0
  35. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_merchant_defined_information.rb → inline_response_201_1_payment_account_information_card_brands.rb} +213 -213
  36. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_features.rb +320 -0
  37. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options.rb → inline_response_201_1_payment_account_information_network.rb} +190 -189
  38. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information.rb +216 -0
  39. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds.rb +213 -0
  40. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds.rb +417 -0
  41. data/lib/cybersource_rest_client/models/inline_response_201_2.rb +315 -222
  42. data/lib/cybersource_rest_client/models/{inline_response_201_1_integration_information.rb → inline_response_201_2_integration_information.rb} +192 -192
  43. data/lib/cybersource_rest_client/models/{inline_response_201_1_integration_information_tenant_configurations.rb → inline_response_201_2_integration_information_tenant_configurations.rb} +286 -286
  44. data/lib/cybersource_rest_client/models/{inline_response_201_1_organization_information.rb → inline_response_201_2_organization_information.rb} +217 -217
  45. data/lib/cybersource_rest_client/models/{inline_response_201_1_product_information_setups.rb → inline_response_201_2_product_information_setups.rb} +214 -214
  46. data/lib/cybersource_rest_client/models/{inline_response_201_1_registration_information.rb → inline_response_201_2_registration_information.rb} +256 -256
  47. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups.rb → inline_response_201_2_setups.rb} +219 -219
  48. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_commerce_solutions.rb → inline_response_201_2_setups_commerce_solutions.rb} +209 -209
  49. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments.rb → inline_response_201_2_setups_payments.rb} +349 -349
  50. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing.rb → inline_response_201_2_setups_payments_card_processing.rb} +199 -199
  51. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing_configuration_status.rb → inline_response_201_2_setups_payments_card_processing_configuration_status.rb} +299 -299
  52. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing_subscription_status.rb → inline_response_201_2_setups_payments_card_processing_subscription_status.rb} +278 -278
  53. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_digital_payments.rb → inline_response_201_2_setups_payments_digital_payments.rb} +189 -189
  54. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_risk.rb → inline_response_201_2_setups_risk.rb} +199 -199
  55. data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_value_added_services.rb → inline_response_201_2_setups_value_added_services.rb} +199 -199
  56. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +222 -347
  57. data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information.rb → inline_response_201_3_key_information.rb} +300 -300
  58. data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information_error_information.rb → inline_response_201_3_key_information_error_information.rb} +202 -202
  59. data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information_error_information_details.rb → inline_response_201_3_key_information_error_information_details.rb} +201 -201
  60. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +347 -222
  61. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +222 -0
  62. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +1 -1
  63. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
  64. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +248 -248
  65. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +2 -2
  66. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +270 -270
  67. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +1 -1
  68. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +258 -258
  69. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +2 -2
  70. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb +235 -235
  71. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +1 -1
  72. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +2 -2
  73. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
  74. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +2 -2
  75. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +225 -225
  76. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +225 -225
  77. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +333 -333
  78. data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -1
  79. data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +241 -241
  80. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +2 -2
  81. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_processor_account.rb +3 -3
  82. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +6 -6
  83. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +3 -3
  84. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +2 -2
  85. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +2 -2
  86. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +3 -3
  87. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
  88. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
  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_captures_post201_response_order_information_amount_details.rb +1 -1
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_buyer_information_personal_identification.rb +2 -2
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_amount_details.rb +1 -1
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +1 -1
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +249 -249
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_order_information_amount_details.rb +1 -1
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +765 -765
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +264 -264
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +5 -5
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
  106. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
  107. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb +199 -189
  108. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_information_recurring_options.rb → pts_v2_payments_post201_response_payment_insights_information_orchestration.rb} +192 -190
  109. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +230 -230
  110. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +223 -223
  111. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +217 -217
  112. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
  113. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +736 -736
  114. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
  115. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
  116. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
  117. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +230 -230
  118. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +2 -2
  119. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
  120. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +196 -196
  121. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +1 -1
  122. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
  123. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
  124. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information.rb +5 -32
  125. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +74 -13
  126. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +232 -310
  127. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +41 -23
  128. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +18 -43
  129. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +28 -1
  130. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +33 -7
  131. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +27 -26
  132. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +10 -1
  133. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +41 -5
  134. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +33 -7
  135. data/lib/cybersource_rest_client/models/ptsv2billingagreements_aggregator_information.rb +1 -1
  136. data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +247 -247
  137. data/lib/cybersource_rest_client/models/ptsv2billingagreements_client_reference_information.rb +1 -1
  138. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +326 -326
  139. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +285 -285
  140. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +241 -241
  141. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +1 -1
  142. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
  143. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_buyer_information.rb +1 -1
  144. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +196 -196
  145. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +453 -453
  146. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
  147. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_buyer_information.rb +1 -1
  148. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_amount_details.rb +3 -3
  149. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_line_items.rb +361 -361
  150. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_ship_to.rb +485 -485
  151. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank.rb +1 -1
  152. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank_account.rb +1 -1
  153. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_card.rb +275 -275
  154. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
  155. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +366 -366
  156. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +4 -4
  157. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +3 -3
  158. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -1
  159. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1075 -1075
  160. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +308 -308
  161. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication_issuer_information.rb +196 -196
  162. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +416 -416
  163. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +196 -196
  164. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
  165. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +464 -464
  166. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +405 -405
  167. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
  168. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +641 -624
  169. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
  170. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_order.rb +332 -332
  171. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +286 -286
  172. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +1 -1
  173. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
  174. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +444 -444
  175. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +699 -699
  176. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +496 -496
  177. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +346 -336
  178. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +3 -3
  179. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +2 -2
  180. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +428 -428
  181. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
  182. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_order_information_surcharge.rb → ptsv2payments_payment_information_payment_account_reference.rb} +196 -196
  183. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
  184. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +633 -633
  185. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +257 -257
  186. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +704 -704
  187. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +2 -2
  188. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
  189. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +5 -5
  190. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +213 -213
  191. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +205 -205
  192. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +315 -315
  193. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +15 -5
  194. data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_token_provisioning_information.rb → ptsv2payments_token_information_token_provisioning_information.rb} +1 -1
  195. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +1 -1
  196. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
  197. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +332 -332
  198. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
  199. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information_personal_identification.rb +1 -1
  200. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
  201. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +267 -267
  202. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +5 -5
  203. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +1 -1
  204. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +287 -287
  205. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +206 -206
  206. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +362 -362
  207. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
  208. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_client_reference_information.rb +1 -1
  209. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +257 -257
  210. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +502 -502
  211. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +299 -289
  212. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +3 -3
  213. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank_account.rb +1 -1
  214. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +377 -377
  215. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +342 -342
  216. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +192 -192
  217. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
  218. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +213 -213
  219. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +287 -287
  220. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
  221. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +234 -234
  222. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +286 -286
  223. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
  224. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +301 -301
  225. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +5 -39
  226. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
  227. data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +190 -196
  228. data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +4 -4
  229. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +3 -37
  230. data/lib/cybersource_rest_client/models/push_funds400_response.rb +1 -1
  231. data/lib/cybersource_rest_client/models/push_funds_request.rb +5 -60
  232. data/lib/cybersource_rest_client/models/rbsv1plans_order_information_amount_details.rb +7 -7
  233. data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +3 -3
  234. data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information_customer.rb +3 -3
  235. data/lib/cybersource_rest_client/models/rbsv1subscriptions_subscription_information.rb +3 -3
  236. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +1 -1
  237. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +543 -543
  238. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
  239. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +1 -1
  240. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +5 -5
  241. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +12 -12
  242. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +290 -290
  243. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +6 -6
  244. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_amount_details.rb +2 -2
  245. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
  246. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +1 -1
  247. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +8 -8
  248. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +22 -22
  249. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +497 -497
  250. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +9 -9
  251. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
  252. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +9 -9
  253. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +3 -3
  254. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
  255. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +213 -213
  256. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +3 -3
  257. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +3 -3
  258. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
  259. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +223 -223
  260. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -1
  261. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +416 -416
  262. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
  263. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +1 -1
  264. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +16 -16
  265. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +314 -314
  266. data/lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb +3 -3
  267. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +1 -1
  268. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +196 -196
  269. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +2 -2
  270. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +207 -207
  271. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_tokenized_card.rb +12 -1
  272. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +200 -200
  273. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +196 -196
  274. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +236 -236
  275. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +2 -2
  276. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
  277. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +3 -3
  278. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +2 -2
  279. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +292 -292
  280. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +349 -349
  281. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +5 -5
  282. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +2 -2
  283. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +365 -365
  284. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
  285. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +3 -3
  286. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
  287. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +222 -222
  288. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +383 -383
  289. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +4 -4
  290. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
  291. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +2 -2
  292. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +1 -1
  293. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +241 -241
  294. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +231 -231
  295. data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +6 -6
  296. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +1 -1
  297. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
  298. data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -1
  299. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +196 -196
  300. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +403 -403
  301. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +1 -1
  302. data/lib/cybersource_rest_client.rb +39 -30
  303. metadata +42 -33
  304. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +0 -332
  305. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +0 -234
  306. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +0 -298
  307. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +0 -246
  308. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options.rb +0 -189
@@ -1,1075 +1,1075 @@
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 Ptsv2paymentsConsumerAuthenticationInformation
16
- # Cardholder authentication verification value (CAVV).
17
- attr_accessor :cavv
18
-
19
- # This field details out the type of transaction. Below are the possible values. 08:GC- Guest Checkout.
20
- attr_accessor :transaction_flow_indicator
21
-
22
- # Algorithm used to generate the CAVV for Visa Secure or the UCAF authentication data for Mastercard Identity Check.
23
- attr_accessor :cavv_algorithm
24
-
25
- # Raw electronic commerce indicator (ECI). For details, see `eci_raw` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
26
- attr_accessor :eci_raw
27
-
28
- # Payer authentication response status. For details, see `pares_status` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
29
- attr_accessor :pares_status
30
-
31
- # Verification response enrollment status. For details, see `veres_enrolled` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
32
- attr_accessor :veres_enrolled
33
-
34
- # Transaction identifier. For details, see `xid` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
35
- attr_accessor :xid
36
-
37
- # Universal cardholder authentication field (UCAF) collection indicator. For details, see `ucaf_collection_indicator` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR7 - Position: 5 - Field: Mastercard Electronic Commerce Indicators—UCAF Collection Indicator
38
- attr_accessor :ucaf_collection_indicator
39
-
40
- # Universal cardholder authentication field (UCAF) data. For details, see `ucaf_authentication_data` request field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
41
- attr_accessor :ucaf_authentication_data
42
-
43
- attr_accessor :strong_authentication
44
-
45
- # 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
46
- attr_accessor :directory_server_transaction_id
47
-
48
- # This field contains 3DS version that was used for Secured Consumer Authentication (SCA). For example 3DS secure version 1.0.2 or 2.0.0 is used for Secured Consumer Authentication. 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: 113 , Field: MC AVV Verification—Program Protocol It will contain one of the following values: - `1` (3D Secure Version 1.0 (3DS 1.0)) - `2` (EMV 3-D Secure (3DS 2.0)) For Cybersource connection through Visanet, below are additional values to be supported. - `2.1.0` (EMV 3D Secure Version 2.1) - `2.2.0` (EMV 3D Secure Version 2.2) - `2.3.0` (EMV 3D Secure Version 2.3) - `2.4.0` (EMV 3D Secure Version 2.4) - `2.5.0` (EMV 3D Secure Version 2.5) - `2.6.0` (EMV 3D Secure Version 2.6) - `2.7.0` (EMV 3D Secure Version 2.7) - `2.8.0` (EMV 3D Secure Version 2.8) - `2.9.0` (EMV 3D Secure Version 2.9)
49
- attr_accessor :pa_specification_version
50
-
51
- # Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled 20 - OTP hosted at merchant end. (Rupay S2S flow) **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
52
- attr_accessor :authentication_type
53
-
54
- # JWT returned by the 3D Secure provider when the authentication is complete. Required for Hybrid integration if you use the Cybersource-generated access token. Note: Max. length of this field is 2048 characters.
55
- attr_accessor :response_access_token
56
-
57
- # Unique transaction identifier assigned by the ACS to identify a single transaction. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC.
58
- attr_accessor :acs_transaction_id
59
-
60
- # An override field that a merchant can pass in to set the challenge window size to display to the end cardholder. The ACS (Active Control Server) will reply with content that is formatted appropriately to this window size to allow for the best user experience. The sizes are width x height in pixels of the window displayed in the cardholder browser window. 01 - 250x400 02 - 390x400 03 - 500x600 04 - 600x400 05 - Full page
61
- attr_accessor :acs_window_size
62
-
63
- # Data that documents and supports a specific authentication process.
64
- attr_accessor :alternate_authentication_data
65
-
66
- # Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM
67
- attr_accessor :alternate_authentication_date
68
-
69
- # Mechanism used by the cardholder to authenticate to the 3D Secure requestor. Possible values: - `01`: No authentication occurred - `02`: Login using merchant system credentials - `03`: Login using Federated ID - `04`: Login using issuer credentials - `05`: Login using third-party authenticator - `06`: Login using FIDO Authenticator
70
- attr_accessor :alternate_authentication_method
71
-
72
- # The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS
73
- attr_accessor :authentication_date
74
-
75
- # Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service.
76
- attr_accessor :authentication_transaction_id
77
-
78
- # 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
79
- attr_accessor :challenge_cancel_code
80
-
81
- # Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. For details, see `pa_challenge_code` field description in [CyberSource Payer Authentication Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Payer_Authentication_SCMP_API/html)
82
- attr_accessor :challenge_code
83
-
84
- # The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used.
85
- attr_accessor :challenge_status
86
-
87
- # An alias that uniquely identifies the customer's account and credit card on file. Note This field is required if Tokenization is enabled in the merchant profile settings.
88
- attr_accessor :customer_card_alias
89
-
90
- # 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
91
- attr_accessor :decoupled_authentication_indicator
92
-
93
- # Indicates the maximum amount of time that the 3DS Requestor will wait for an ACS (Active control server) to provide the results of a Decoupled Authentication transaction (in minutes). Possible Values: Numeric values between 1 and 10080 accepted.
94
- attr_accessor :decoupled_authentication_max_time
95
-
96
- # Indicates that the card being used is the one designated as the primary payment card for purchase. Recommended for Discover ProtectBuy.
97
- attr_accessor :default_card
98
-
99
- # Determines the channel that the transaction came through. Possible Values: SDK/Browser/3RI. 3RI - 3DS request initiated.
100
- attr_accessor :device_channel
101
-
102
- # An integer value greater than 1 indicating the max number of permitted authorizations for installment payments. **Note** This is required if the merchant and cardholder have agreed to installment payments.
103
- attr_accessor :installment_total_count
104
-
105
- # Calculated by merchants as per PSD2** RTS** (EEA** card fraud divided by all EEA card volumes). Possible Values: 1 = Represents fraud rate <=1 2 = Represents fraud rate >1 and <=6 3 = Represents fraud rate >6 and <=13 4 = Represents fraud rate >13 and <=25 5 = Represents fraud rate >25 EEA** = European Economic Area RTS** = Regulatory Technical Standards PSD2** = Payment Services Directive
106
- attr_accessor :merchant_fraud_rate
107
-
108
- # Indicates whether the customer has opted in for marketing offers. Recommended for Discover ProtectBuy.
109
- attr_accessor :marketing_opt_in
110
-
111
- # Indicates origin of the marketing offer. Recommended for Discover ProtectBuy.
112
- attr_accessor :marketing_source
113
-
114
- # Merchant category code. **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
115
- attr_accessor :mcc
116
-
117
- # Risk Score provided by merchants. This is specific for CB transactions.
118
- attr_accessor :merchant_score
119
-
120
- # Category of the message for a specific use case. Possible values: - `01`: PA- payment authentication - `02`: NPA- non-payment authentication - `03-79`: Reserved for EMVCo future use (values invalid until defined by EMVCo) - `80-99`: Reserved for DS use
121
- attr_accessor :message_category
122
-
123
- # The global score calculated by the CB scoring platform and returned to merchants. Possible values: - '00' - '99' When you request the payer authentication and authorization services separately, get the value for this field from the pa_network_score reply field. This field is supported only for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC.
124
- attr_accessor :network_score
125
-
126
- # Non-Payer Authentication Indicator. Possible values: - `01`: Add card - `02`: Maintain card information - `03`: Cardholder verification for EMV token - `04-80` Reserved for EMVCo - `80-90` Reserved DS
127
- attr_accessor :npa_code
128
-
129
- # Specifies the Brazilian payment account type used for the transaction. This field overrides other payment types that might be specified in the request. Use one of the following values for this field: - `NA`: Not applicable. Do not override other payment types that are specified in the request. - `CR`: Credit card. - `DB`: Debit card. - `VSAVR`: Visa Vale Refeicao - `VSAVA`: Visa Vale Alimentacao **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
130
- attr_accessor :override_payment_method
131
-
132
- # Two-character [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf)..
133
- attr_accessor :override_country_code
134
-
135
- # This field carry data that the ACS can use to verify the authentication process.
136
- attr_accessor :prior_authentication_data
137
-
138
- # Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. 01 - Frictionless authentication occurred by ACS 02 - Cardholder challenge occurred by ACS 03 - AVS verified 04 - Other issuer methods 05-79 - Reserved for EMVCo future use (values invalid until defined by EMVCo) 80-99 - Reserved for DS use
139
- attr_accessor :prior_authentication_method
140
-
141
- # This data element contains a ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder
142
- attr_accessor :prior_authentication_reference_id
143
-
144
- # Date and time in UTC of the prior cardholder authentication. Format – YYYYMMDDHHMM
145
- attr_accessor :prior_authentication_time
146
-
147
- # Specifies the product code, which designates the type of transaction. Specify one of the following values for this field: - AIR: Airline purchase Important Required for American Express SafeKey (U.S.). - `ACC`: Accommodation Rental - `ACF`: Account funding - `CHA`: Check acceptance - `DIG`: Digital Goods - `DSP`: Cash Dispensing - `GAS`: Fuel - `GEN`: General Retail - `LUX`: Luxury Retail - `PAL`: Prepaid activation and load - `PHY`: Goods or services purchase - `QCT`: Quasi-cash transaction - `REN`: Car Rental - `RES`: Restaurant - `SVC`: Services - `TBD`: Other - `TRA`: Travel **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
148
- attr_accessor :product_code
149
-
150
- # The URL of the merchant's return page. CyberSource adds this return URL to the step-up JWT and returns it in the response of the Payer Authentication enrollment call. The merchant's return URL page serves as a listening URL. Once the bank session completes, the merchant receives a POST to their URL. This response contains the completed bank session's transactionId. The merchant's return page should capture the transaction ID and send it in the Payer Authentication validation call.
151
- attr_accessor :return_url
152
-
153
- # Cardinal's directory server assigned 3DS Requestor ID value
154
- attr_accessor :requestor_id
155
-
156
- # Indicates the type of 3RI request. Possible Values: 01 - Recurring transaction 02 - Installment transaction 03 - Add card 04 - Maintain card 05 - Account verification 06 - Split/delayed shipment 07 - Top-up 08 - Mail Order 09 - Telephone Order 10 - Whitelist status check 11 - Other payment
157
- attr_accessor :requestor_initiated_authentication_indicator
158
-
159
- # Cardinal's directory server assigned 3DS Requestor Name value
160
- attr_accessor :requestor_name
161
-
162
- # Reference ID that corresponds to the device fingerprinting data that was collected previously. Note Required for Hybrid integration.
163
- attr_accessor :reference_id
164
-
165
- # This field indicates the maximum amount of time for all 3DS 2.0 messages to be communicated between all components (in minutes). Possible Values: Greater than or equal to 05 (05 is the minimum timeout to set) Cardinal Default is set to 15 NOTE: This field is a required 3DS 2.0 field and Cardinal sends in a default of 15 if nothing is passed
166
- attr_accessor :sdk_max_timeout
167
-
168
- # Indicates dedicated payment processes and procedures were used, potential secure corporate payment exemption applies. Possible Values : 0/1
169
- attr_accessor :secure_corporate_payment_indicator
170
-
171
- # Transaction mode identifier. Identifies the channel from which the transaction originates. Possible values: - `M`: MOTO (Mail Order Telephone Order) - `R`: Retail - `S`: eCommerce - `P`: Mobile Device - `T`: Tablet
172
- attr_accessor :transaction_mode
173
-
174
- # 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
175
- attr_accessor :white_list_status
176
-
177
- # 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).
178
- attr_accessor :effective_authentication_type
179
-
180
- # Provides additional information as to why the PAResStatus has a specific value.
181
- attr_accessor :signed_pares_status_reason
182
-
183
- # Payer authentication result (PARes) message returned by the card-issuing bank. If you need to show proof of enrollment checking, you may need to decrypt and parse the string for the information required by the payment card company. For more information, see \"Storing Payer Authentication Data,\" page 160. Important The value is in base64. You must remove all carriage returns and line feeds before adding the PARes to the request.
184
- attr_accessor :signed_pares
185
-
186
- # Attribute mapping from ruby-style variable name to JSON key.
187
- def self.attribute_map
188
- {
189
- :'cavv' => :'cavv',
190
- :'transaction_flow_indicator' => :'transactionFlowIndicator',
191
- :'cavv_algorithm' => :'cavvAlgorithm',
192
- :'eci_raw' => :'eciRaw',
193
- :'pares_status' => :'paresStatus',
194
- :'veres_enrolled' => :'veresEnrolled',
195
- :'xid' => :'xid',
196
- :'ucaf_collection_indicator' => :'ucafCollectionIndicator',
197
- :'ucaf_authentication_data' => :'ucafAuthenticationData',
198
- :'strong_authentication' => :'strongAuthentication',
199
- :'directory_server_transaction_id' => :'directoryServerTransactionId',
200
- :'pa_specification_version' => :'paSpecificationVersion',
201
- :'authentication_type' => :'authenticationType',
202
- :'response_access_token' => :'responseAccessToken',
203
- :'acs_transaction_id' => :'acsTransactionId',
204
- :'acs_window_size' => :'acsWindowSize',
205
- :'alternate_authentication_data' => :'alternateAuthenticationData',
206
- :'alternate_authentication_date' => :'alternateAuthenticationDate',
207
- :'alternate_authentication_method' => :'alternateAuthenticationMethod',
208
- :'authentication_date' => :'authenticationDate',
209
- :'authentication_transaction_id' => :'authenticationTransactionId',
210
- :'challenge_cancel_code' => :'challengeCancelCode',
211
- :'challenge_code' => :'challengeCode',
212
- :'challenge_status' => :'challengeStatus',
213
- :'customer_card_alias' => :'customerCardAlias',
214
- :'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
215
- :'decoupled_authentication_max_time' => :'decoupledAuthenticationMaxTime',
216
- :'default_card' => :'defaultCard',
217
- :'device_channel' => :'deviceChannel',
218
- :'installment_total_count' => :'installmentTotalCount',
219
- :'merchant_fraud_rate' => :'merchantFraudRate',
220
- :'marketing_opt_in' => :'marketingOptIn',
221
- :'marketing_source' => :'marketingSource',
222
- :'mcc' => :'mcc',
223
- :'merchant_score' => :'merchantScore',
224
- :'message_category' => :'messageCategory',
225
- :'network_score' => :'networkScore',
226
- :'npa_code' => :'npaCode',
227
- :'override_payment_method' => :'overridePaymentMethod',
228
- :'override_country_code' => :'overrideCountryCode',
229
- :'prior_authentication_data' => :'priorAuthenticationData',
230
- :'prior_authentication_method' => :'priorAuthenticationMethod',
231
- :'prior_authentication_reference_id' => :'priorAuthenticationReferenceId',
232
- :'prior_authentication_time' => :'priorAuthenticationTime',
233
- :'product_code' => :'productCode',
234
- :'return_url' => :'returnUrl',
235
- :'requestor_id' => :'requestorId',
236
- :'requestor_initiated_authentication_indicator' => :'requestorInitiatedAuthenticationIndicator',
237
- :'requestor_name' => :'requestorName',
238
- :'reference_id' => :'referenceId',
239
- :'sdk_max_timeout' => :'sdkMaxTimeout',
240
- :'secure_corporate_payment_indicator' => :'secureCorporatePaymentIndicator',
241
- :'transaction_mode' => :'transactionMode',
242
- :'white_list_status' => :'whiteListStatus',
243
- :'effective_authentication_type' => :'effectiveAuthenticationType',
244
- :'signed_pares_status_reason' => :'signedParesStatusReason',
245
- :'signed_pares' => :'signedPares'
246
- }
247
- end
248
-
249
- # Attribute mapping from JSON key to ruby-style variable name.
250
- def self.json_map
251
- {
252
- :'cavv' => :'cavv',
253
- :'transaction_flow_indicator' => :'transaction_flow_indicator',
254
- :'cavv_algorithm' => :'cavv_algorithm',
255
- :'eci_raw' => :'eci_raw',
256
- :'pares_status' => :'pares_status',
257
- :'veres_enrolled' => :'veres_enrolled',
258
- :'xid' => :'xid',
259
- :'ucaf_collection_indicator' => :'ucaf_collection_indicator',
260
- :'ucaf_authentication_data' => :'ucaf_authentication_data',
261
- :'strong_authentication' => :'strong_authentication',
262
- :'directory_server_transaction_id' => :'directory_server_transaction_id',
263
- :'pa_specification_version' => :'pa_specification_version',
264
- :'authentication_type' => :'authentication_type',
265
- :'response_access_token' => :'response_access_token',
266
- :'acs_transaction_id' => :'acs_transaction_id',
267
- :'acs_window_size' => :'acs_window_size',
268
- :'alternate_authentication_data' => :'alternate_authentication_data',
269
- :'alternate_authentication_date' => :'alternate_authentication_date',
270
- :'alternate_authentication_method' => :'alternate_authentication_method',
271
- :'authentication_date' => :'authentication_date',
272
- :'authentication_transaction_id' => :'authentication_transaction_id',
273
- :'challenge_cancel_code' => :'challenge_cancel_code',
274
- :'challenge_code' => :'challenge_code',
275
- :'challenge_status' => :'challenge_status',
276
- :'customer_card_alias' => :'customer_card_alias',
277
- :'decoupled_authentication_indicator' => :'decoupled_authentication_indicator',
278
- :'decoupled_authentication_max_time' => :'decoupled_authentication_max_time',
279
- :'default_card' => :'default_card',
280
- :'device_channel' => :'device_channel',
281
- :'installment_total_count' => :'installment_total_count',
282
- :'merchant_fraud_rate' => :'merchant_fraud_rate',
283
- :'marketing_opt_in' => :'marketing_opt_in',
284
- :'marketing_source' => :'marketing_source',
285
- :'mcc' => :'mcc',
286
- :'merchant_score' => :'merchant_score',
287
- :'message_category' => :'message_category',
288
- :'network_score' => :'network_score',
289
- :'npa_code' => :'npa_code',
290
- :'override_payment_method' => :'override_payment_method',
291
- :'override_country_code' => :'override_country_code',
292
- :'prior_authentication_data' => :'prior_authentication_data',
293
- :'prior_authentication_method' => :'prior_authentication_method',
294
- :'prior_authentication_reference_id' => :'prior_authentication_reference_id',
295
- :'prior_authentication_time' => :'prior_authentication_time',
296
- :'product_code' => :'product_code',
297
- :'return_url' => :'return_url',
298
- :'requestor_id' => :'requestor_id',
299
- :'requestor_initiated_authentication_indicator' => :'requestor_initiated_authentication_indicator',
300
- :'requestor_name' => :'requestor_name',
301
- :'reference_id' => :'reference_id',
302
- :'sdk_max_timeout' => :'sdk_max_timeout',
303
- :'secure_corporate_payment_indicator' => :'secure_corporate_payment_indicator',
304
- :'transaction_mode' => :'transaction_mode',
305
- :'white_list_status' => :'white_list_status',
306
- :'effective_authentication_type' => :'effective_authentication_type',
307
- :'signed_pares_status_reason' => :'signed_pares_status_reason',
308
- :'signed_pares' => :'signed_pares'
309
- }
310
- end
311
-
312
- # Attribute type mapping.
313
- def self.swagger_types
314
- {
315
- :'cavv' => :'String',
316
- :'transaction_flow_indicator' => :'String',
317
- :'cavv_algorithm' => :'String',
318
- :'eci_raw' => :'String',
319
- :'pares_status' => :'String',
320
- :'veres_enrolled' => :'String',
321
- :'xid' => :'String',
322
- :'ucaf_collection_indicator' => :'String',
323
- :'ucaf_authentication_data' => :'String',
324
- :'strong_authentication' => :'Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication',
325
- :'directory_server_transaction_id' => :'String',
326
- :'pa_specification_version' => :'String',
327
- :'authentication_type' => :'String',
328
- :'response_access_token' => :'String',
329
- :'acs_transaction_id' => :'String',
330
- :'acs_window_size' => :'String',
331
- :'alternate_authentication_data' => :'String',
332
- :'alternate_authentication_date' => :'String',
333
- :'alternate_authentication_method' => :'String',
334
- :'authentication_date' => :'String',
335
- :'authentication_transaction_id' => :'String',
336
- :'challenge_cancel_code' => :'String',
337
- :'challenge_code' => :'String',
338
- :'challenge_status' => :'String',
339
- :'customer_card_alias' => :'String',
340
- :'decoupled_authentication_indicator' => :'String',
341
- :'decoupled_authentication_max_time' => :'String',
342
- :'default_card' => :'BOOLEAN',
343
- :'device_channel' => :'String',
344
- :'installment_total_count' => :'Integer',
345
- :'merchant_fraud_rate' => :'String',
346
- :'marketing_opt_in' => :'BOOLEAN',
347
- :'marketing_source' => :'String',
348
- :'mcc' => :'String',
349
- :'merchant_score' => :'Integer',
350
- :'message_category' => :'String',
351
- :'network_score' => :'String',
352
- :'npa_code' => :'String',
353
- :'override_payment_method' => :'String',
354
- :'override_country_code' => :'String',
355
- :'prior_authentication_data' => :'String',
356
- :'prior_authentication_method' => :'String',
357
- :'prior_authentication_reference_id' => :'String',
358
- :'prior_authentication_time' => :'String',
359
- :'product_code' => :'String',
360
- :'return_url' => :'String',
361
- :'requestor_id' => :'String',
362
- :'requestor_initiated_authentication_indicator' => :'String',
363
- :'requestor_name' => :'String',
364
- :'reference_id' => :'String',
365
- :'sdk_max_timeout' => :'String',
366
- :'secure_corporate_payment_indicator' => :'String',
367
- :'transaction_mode' => :'String',
368
- :'white_list_status' => :'String',
369
- :'effective_authentication_type' => :'String',
370
- :'signed_pares_status_reason' => :'String',
371
- :'signed_pares' => :'String'
372
- }
373
- end
374
-
375
- # Initializes the object
376
- # @param [Hash] attributes Model attributes in the form of hash
377
- def initialize(attributes = {})
378
- return unless attributes.is_a?(Hash)
379
-
380
- # convert string to symbol for hash key
381
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
382
-
383
- if attributes.has_key?(:'cavv')
384
- self.cavv = attributes[:'cavv']
385
- end
386
-
387
- if attributes.has_key?(:'transactionFlowIndicator')
388
- self.transaction_flow_indicator = attributes[:'transactionFlowIndicator']
389
- end
390
-
391
- if attributes.has_key?(:'cavvAlgorithm')
392
- self.cavv_algorithm = attributes[:'cavvAlgorithm']
393
- end
394
-
395
- if attributes.has_key?(:'eciRaw')
396
- self.eci_raw = attributes[:'eciRaw']
397
- end
398
-
399
- if attributes.has_key?(:'paresStatus')
400
- self.pares_status = attributes[:'paresStatus']
401
- end
402
-
403
- if attributes.has_key?(:'veresEnrolled')
404
- self.veres_enrolled = attributes[:'veresEnrolled']
405
- end
406
-
407
- if attributes.has_key?(:'xid')
408
- self.xid = attributes[:'xid']
409
- end
410
-
411
- if attributes.has_key?(:'ucafCollectionIndicator')
412
- self.ucaf_collection_indicator = attributes[:'ucafCollectionIndicator']
413
- end
414
-
415
- if attributes.has_key?(:'ucafAuthenticationData')
416
- self.ucaf_authentication_data = attributes[:'ucafAuthenticationData']
417
- end
418
-
419
- if attributes.has_key?(:'strongAuthentication')
420
- self.strong_authentication = attributes[:'strongAuthentication']
421
- end
422
-
423
- if attributes.has_key?(:'directoryServerTransactionId')
424
- self.directory_server_transaction_id = attributes[:'directoryServerTransactionId']
425
- end
426
-
427
- if attributes.has_key?(:'paSpecificationVersion')
428
- self.pa_specification_version = attributes[:'paSpecificationVersion']
429
- end
430
-
431
- if attributes.has_key?(:'authenticationType')
432
- self.authentication_type = attributes[:'authenticationType']
433
- end
434
-
435
- if attributes.has_key?(:'responseAccessToken')
436
- self.response_access_token = attributes[:'responseAccessToken']
437
- end
438
-
439
- if attributes.has_key?(:'acsTransactionId')
440
- self.acs_transaction_id = attributes[:'acsTransactionId']
441
- end
442
-
443
- if attributes.has_key?(:'acsWindowSize')
444
- self.acs_window_size = attributes[:'acsWindowSize']
445
- end
446
-
447
- if attributes.has_key?(:'alternateAuthenticationData')
448
- self.alternate_authentication_data = attributes[:'alternateAuthenticationData']
449
- end
450
-
451
- if attributes.has_key?(:'alternateAuthenticationDate')
452
- self.alternate_authentication_date = attributes[:'alternateAuthenticationDate']
453
- end
454
-
455
- if attributes.has_key?(:'alternateAuthenticationMethod')
456
- self.alternate_authentication_method = attributes[:'alternateAuthenticationMethod']
457
- end
458
-
459
- if attributes.has_key?(:'authenticationDate')
460
- self.authentication_date = attributes[:'authenticationDate']
461
- end
462
-
463
- if attributes.has_key?(:'authenticationTransactionId')
464
- self.authentication_transaction_id = attributes[:'authenticationTransactionId']
465
- end
466
-
467
- if attributes.has_key?(:'challengeCancelCode')
468
- self.challenge_cancel_code = attributes[:'challengeCancelCode']
469
- end
470
-
471
- if attributes.has_key?(:'challengeCode')
472
- self.challenge_code = attributes[:'challengeCode']
473
- end
474
-
475
- if attributes.has_key?(:'challengeStatus')
476
- self.challenge_status = attributes[:'challengeStatus']
477
- end
478
-
479
- if attributes.has_key?(:'customerCardAlias')
480
- self.customer_card_alias = attributes[:'customerCardAlias']
481
- end
482
-
483
- if attributes.has_key?(:'decoupledAuthenticationIndicator')
484
- self.decoupled_authentication_indicator = attributes[:'decoupledAuthenticationIndicator']
485
- end
486
-
487
- if attributes.has_key?(:'decoupledAuthenticationMaxTime')
488
- self.decoupled_authentication_max_time = attributes[:'decoupledAuthenticationMaxTime']
489
- end
490
-
491
- if attributes.has_key?(:'defaultCard')
492
- self.default_card = attributes[:'defaultCard']
493
- end
494
-
495
- if attributes.has_key?(:'deviceChannel')
496
- self.device_channel = attributes[:'deviceChannel']
497
- end
498
-
499
- if attributes.has_key?(:'installmentTotalCount')
500
- self.installment_total_count = attributes[:'installmentTotalCount']
501
- end
502
-
503
- if attributes.has_key?(:'merchantFraudRate')
504
- self.merchant_fraud_rate = attributes[:'merchantFraudRate']
505
- end
506
-
507
- if attributes.has_key?(:'marketingOptIn')
508
- self.marketing_opt_in = attributes[:'marketingOptIn']
509
- end
510
-
511
- if attributes.has_key?(:'marketingSource')
512
- self.marketing_source = attributes[:'marketingSource']
513
- end
514
-
515
- if attributes.has_key?(:'mcc')
516
- self.mcc = attributes[:'mcc']
517
- end
518
-
519
- if attributes.has_key?(:'merchantScore')
520
- self.merchant_score = attributes[:'merchantScore']
521
- end
522
-
523
- if attributes.has_key?(:'messageCategory')
524
- self.message_category = attributes[:'messageCategory']
525
- end
526
-
527
- if attributes.has_key?(:'networkScore')
528
- self.network_score = attributes[:'networkScore']
529
- end
530
-
531
- if attributes.has_key?(:'npaCode')
532
- self.npa_code = attributes[:'npaCode']
533
- end
534
-
535
- if attributes.has_key?(:'overridePaymentMethod')
536
- self.override_payment_method = attributes[:'overridePaymentMethod']
537
- end
538
-
539
- if attributes.has_key?(:'overrideCountryCode')
540
- self.override_country_code = attributes[:'overrideCountryCode']
541
- end
542
-
543
- if attributes.has_key?(:'priorAuthenticationData')
544
- self.prior_authentication_data = attributes[:'priorAuthenticationData']
545
- end
546
-
547
- if attributes.has_key?(:'priorAuthenticationMethod')
548
- self.prior_authentication_method = attributes[:'priorAuthenticationMethod']
549
- end
550
-
551
- if attributes.has_key?(:'priorAuthenticationReferenceId')
552
- self.prior_authentication_reference_id = attributes[:'priorAuthenticationReferenceId']
553
- end
554
-
555
- if attributes.has_key?(:'priorAuthenticationTime')
556
- self.prior_authentication_time = attributes[:'priorAuthenticationTime']
557
- end
558
-
559
- if attributes.has_key?(:'productCode')
560
- self.product_code = attributes[:'productCode']
561
- end
562
-
563
- if attributes.has_key?(:'returnUrl')
564
- self.return_url = attributes[:'returnUrl']
565
- end
566
-
567
- if attributes.has_key?(:'requestorId')
568
- self.requestor_id = attributes[:'requestorId']
569
- end
570
-
571
- if attributes.has_key?(:'requestorInitiatedAuthenticationIndicator')
572
- self.requestor_initiated_authentication_indicator = attributes[:'requestorInitiatedAuthenticationIndicator']
573
- end
574
-
575
- if attributes.has_key?(:'requestorName')
576
- self.requestor_name = attributes[:'requestorName']
577
- end
578
-
579
- if attributes.has_key?(:'referenceId')
580
- self.reference_id = attributes[:'referenceId']
581
- end
582
-
583
- if attributes.has_key?(:'sdkMaxTimeout')
584
- self.sdk_max_timeout = attributes[:'sdkMaxTimeout']
585
- end
586
-
587
- if attributes.has_key?(:'secureCorporatePaymentIndicator')
588
- self.secure_corporate_payment_indicator = attributes[:'secureCorporatePaymentIndicator']
589
- end
590
-
591
- if attributes.has_key?(:'transactionMode')
592
- self.transaction_mode = attributes[:'transactionMode']
593
- end
594
-
595
- if attributes.has_key?(:'whiteListStatus')
596
- self.white_list_status = attributes[:'whiteListStatus']
597
- end
598
-
599
- if attributes.has_key?(:'effectiveAuthenticationType')
600
- self.effective_authentication_type = attributes[:'effectiveAuthenticationType']
601
- end
602
-
603
- if attributes.has_key?(:'signedParesStatusReason')
604
- self.signed_pares_status_reason = attributes[:'signedParesStatusReason']
605
- end
606
-
607
- if attributes.has_key?(:'signedPares')
608
- self.signed_pares = attributes[:'signedPares']
609
- end
610
- end
611
-
612
- # Show invalid properties with the reasons. Usually used together with valid?
613
- # @return Array for valid properties with the reasons
614
- def list_invalid_properties
615
- invalid_properties = Array.new
616
- invalid_properties
617
- end
618
-
619
- # Check to see if the all the properties in the model are valid
620
- # @return true if the model is valid
621
- def valid?
622
- true
623
- end
624
-
625
- # Custom attribute writer method with validation
626
- # @param [Object] cavv Value to be assigned
627
- def cavv=(cavv)
628
- @cavv = cavv
629
- end
630
-
631
- # Custom attribute writer method with validation
632
- # @param [Object] transaction_flow_indicator Value to be assigned
633
- def transaction_flow_indicator=(transaction_flow_indicator)
634
- @transaction_flow_indicator = transaction_flow_indicator
635
- end
636
-
637
- # Custom attribute writer method with validation
638
- # @param [Object] cavv_algorithm Value to be assigned
639
- def cavv_algorithm=(cavv_algorithm)
640
- @cavv_algorithm = cavv_algorithm
641
- end
642
-
643
- # Custom attribute writer method with validation
644
- # @param [Object] eci_raw Value to be assigned
645
- def eci_raw=(eci_raw)
646
- @eci_raw = eci_raw
647
- end
648
-
649
- # Custom attribute writer method with validation
650
- # @param [Object] pares_status Value to be assigned
651
- def pares_status=(pares_status)
652
- @pares_status = pares_status
653
- end
654
-
655
- # Custom attribute writer method with validation
656
- # @param [Object] veres_enrolled Value to be assigned
657
- def veres_enrolled=(veres_enrolled)
658
- @veres_enrolled = veres_enrolled
659
- end
660
-
661
- # Custom attribute writer method with validation
662
- # @param [Object] xid Value to be assigned
663
- def xid=(xid)
664
- @xid = xid
665
- end
666
-
667
- # Custom attribute writer method with validation
668
- # @param [Object] ucaf_collection_indicator Value to be assigned
669
- def ucaf_collection_indicator=(ucaf_collection_indicator)
670
- @ucaf_collection_indicator = ucaf_collection_indicator
671
- end
672
-
673
- # Custom attribute writer method with validation
674
- # @param [Object] ucaf_authentication_data Value to be assigned
675
- def ucaf_authentication_data=(ucaf_authentication_data)
676
- @ucaf_authentication_data = ucaf_authentication_data
677
- end
678
-
679
- # Custom attribute writer method with validation
680
- # @param [Object] directory_server_transaction_id Value to be assigned
681
- def directory_server_transaction_id=(directory_server_transaction_id)
682
- @directory_server_transaction_id = directory_server_transaction_id
683
- end
684
-
685
- # Custom attribute writer method with validation
686
- # @param [Object] pa_specification_version Value to be assigned
687
- def pa_specification_version=(pa_specification_version)
688
- @pa_specification_version = pa_specification_version
689
- end
690
-
691
- # Custom attribute writer method with validation
692
- # @param [Object] authentication_type Value to be assigned
693
- def authentication_type=(authentication_type)
694
- @authentication_type = authentication_type
695
- end
696
-
697
- # Custom attribute writer method with validation
698
- # @param [Object] acs_transaction_id Value to be assigned
699
- def acs_transaction_id=(acs_transaction_id)
700
- @acs_transaction_id = acs_transaction_id
701
- end
702
-
703
- # Custom attribute writer method with validation
704
- # @param [Object] acs_window_size Value to be assigned
705
- def acs_window_size=(acs_window_size)
706
- @acs_window_size = acs_window_size
707
- end
708
-
709
- # Custom attribute writer method with validation
710
- # @param [Object] alternate_authentication_data Value to be assigned
711
- def alternate_authentication_data=(alternate_authentication_data)
712
- @alternate_authentication_data = alternate_authentication_data
713
- end
714
-
715
- # Custom attribute writer method with validation
716
- # @param [Object] alternate_authentication_date Value to be assigned
717
- def alternate_authentication_date=(alternate_authentication_date)
718
- @alternate_authentication_date = alternate_authentication_date
719
- end
720
-
721
- # Custom attribute writer method with validation
722
- # @param [Object] authentication_date Value to be assigned
723
- def authentication_date=(authentication_date)
724
- @authentication_date = authentication_date
725
- end
726
-
727
- # Custom attribute writer method with validation
728
- # @param [Object] authentication_transaction_id Value to be assigned
729
- def authentication_transaction_id=(authentication_transaction_id)
730
- @authentication_transaction_id = authentication_transaction_id
731
- end
732
-
733
- # Custom attribute writer method with validation
734
- # @param [Object] challenge_cancel_code Value to be assigned
735
- def challenge_cancel_code=(challenge_cancel_code)
736
- @challenge_cancel_code = challenge_cancel_code
737
- end
738
-
739
- # Custom attribute writer method with validation
740
- # @param [Object] challenge_status Value to be assigned
741
- def challenge_status=(challenge_status)
742
- @challenge_status = challenge_status
743
- end
744
-
745
- # Custom attribute writer method with validation
746
- # @param [Object] customer_card_alias Value to be assigned
747
- def customer_card_alias=(customer_card_alias)
748
- @customer_card_alias = customer_card_alias
749
- end
750
-
751
- # Custom attribute writer method with validation
752
- # @param [Object] decoupled_authentication_indicator Value to be assigned
753
- def decoupled_authentication_indicator=(decoupled_authentication_indicator)
754
- @decoupled_authentication_indicator = decoupled_authentication_indicator
755
- end
756
-
757
- # Custom attribute writer method with validation
758
- # @param [Object] decoupled_authentication_max_time Value to be assigned
759
- def decoupled_authentication_max_time=(decoupled_authentication_max_time)
760
- @decoupled_authentication_max_time = decoupled_authentication_max_time
761
- end
762
-
763
- # Custom attribute writer method with validation
764
- # @param [Object] device_channel Value to be assigned
765
- def device_channel=(device_channel)
766
- @device_channel = device_channel
767
- end
768
-
769
- # Custom attribute writer method with validation
770
- # @param [Object] merchant_fraud_rate Value to be assigned
771
- def merchant_fraud_rate=(merchant_fraud_rate)
772
- @merchant_fraud_rate = merchant_fraud_rate
773
- end
774
-
775
- # Custom attribute writer method with validation
776
- # @param [Object] marketing_source Value to be assigned
777
- def marketing_source=(marketing_source)
778
- @marketing_source = marketing_source
779
- end
780
-
781
- # Custom attribute writer method with validation
782
- # @param [Object] mcc Value to be assigned
783
- def mcc=(mcc)
784
- @mcc = mcc
785
- end
786
-
787
- # Custom attribute writer method with validation
788
- # @param [Object] network_score Value to be assigned
789
- def network_score=(network_score)
790
- @network_score = network_score
791
- end
792
-
793
- # Custom attribute writer method with validation
794
- # @param [Object] npa_code Value to be assigned
795
- def npa_code=(npa_code)
796
- @npa_code = npa_code
797
- end
798
-
799
- # Custom attribute writer method with validation
800
- # @param [Object] override_country_code Value to be assigned
801
- def override_country_code=(override_country_code)
802
- @override_country_code = override_country_code
803
- end
804
-
805
- # Custom attribute writer method with validation
806
- # @param [Object] prior_authentication_data Value to be assigned
807
- def prior_authentication_data=(prior_authentication_data)
808
- @prior_authentication_data = prior_authentication_data
809
- end
810
-
811
- # Custom attribute writer method with validation
812
- # @param [Object] prior_authentication_method Value to be assigned
813
- def prior_authentication_method=(prior_authentication_method)
814
- @prior_authentication_method = prior_authentication_method
815
- end
816
-
817
- # Custom attribute writer method with validation
818
- # @param [Object] prior_authentication_reference_id Value to be assigned
819
- def prior_authentication_reference_id=(prior_authentication_reference_id)
820
- @prior_authentication_reference_id = prior_authentication_reference_id
821
- end
822
-
823
- # Custom attribute writer method with validation
824
- # @param [Object] prior_authentication_time Value to be assigned
825
- def prior_authentication_time=(prior_authentication_time)
826
- @prior_authentication_time = prior_authentication_time
827
- end
828
-
829
- # Custom attribute writer method with validation
830
- # @param [Object] product_code Value to be assigned
831
- def product_code=(product_code)
832
- @product_code = product_code
833
- end
834
-
835
- # Custom attribute writer method with validation
836
- # @param [Object] return_url Value to be assigned
837
- def return_url=(return_url)
838
- @return_url = return_url
839
- end
840
-
841
- # Custom attribute writer method with validation
842
- # @param [Object] requestor_id Value to be assigned
843
- def requestor_id=(requestor_id)
844
- @requestor_id = requestor_id
845
- end
846
-
847
- # Custom attribute writer method with validation
848
- # @param [Object] requestor_initiated_authentication_indicator Value to be assigned
849
- def requestor_initiated_authentication_indicator=(requestor_initiated_authentication_indicator)
850
- @requestor_initiated_authentication_indicator = requestor_initiated_authentication_indicator
851
- end
852
-
853
- # Custom attribute writer method with validation
854
- # @param [Object] requestor_name Value to be assigned
855
- def requestor_name=(requestor_name)
856
- @requestor_name = requestor_name
857
- end
858
-
859
- # Custom attribute writer method with validation
860
- # @param [Object] reference_id Value to be assigned
861
- def reference_id=(reference_id)
862
- @reference_id = reference_id
863
- end
864
-
865
- # Custom attribute writer method with validation
866
- # @param [Object] sdk_max_timeout Value to be assigned
867
- def sdk_max_timeout=(sdk_max_timeout)
868
- @sdk_max_timeout = sdk_max_timeout
869
- end
870
-
871
- # Custom attribute writer method with validation
872
- # @param [Object] secure_corporate_payment_indicator Value to be assigned
873
- def secure_corporate_payment_indicator=(secure_corporate_payment_indicator)
874
- @secure_corporate_payment_indicator = secure_corporate_payment_indicator
875
- end
876
-
877
- # Custom attribute writer method with validation
878
- # @param [Object] white_list_status Value to be assigned
879
- def white_list_status=(white_list_status)
880
- @white_list_status = white_list_status
881
- end
882
-
883
- # Custom attribute writer method with validation
884
- # @param [Object] effective_authentication_type Value to be assigned
885
- def effective_authentication_type=(effective_authentication_type)
886
- @effective_authentication_type = effective_authentication_type
887
- end
888
-
889
- # Custom attribute writer method with validation
890
- # @param [Object] signed_pares_status_reason Value to be assigned
891
- def signed_pares_status_reason=(signed_pares_status_reason)
892
- @signed_pares_status_reason = signed_pares_status_reason
893
- end
894
-
895
- # Checks equality by comparing each attribute.
896
- # @param [Object] Object to be compared
897
- def ==(o)
898
- return true if self.equal?(o)
899
- self.class == o.class &&
900
- cavv == o.cavv &&
901
- transaction_flow_indicator == o.transaction_flow_indicator &&
902
- cavv_algorithm == o.cavv_algorithm &&
903
- eci_raw == o.eci_raw &&
904
- pares_status == o.pares_status &&
905
- veres_enrolled == o.veres_enrolled &&
906
- xid == o.xid &&
907
- ucaf_collection_indicator == o.ucaf_collection_indicator &&
908
- ucaf_authentication_data == o.ucaf_authentication_data &&
909
- strong_authentication == o.strong_authentication &&
910
- directory_server_transaction_id == o.directory_server_transaction_id &&
911
- pa_specification_version == o.pa_specification_version &&
912
- authentication_type == o.authentication_type &&
913
- response_access_token == o.response_access_token &&
914
- acs_transaction_id == o.acs_transaction_id &&
915
- acs_window_size == o.acs_window_size &&
916
- alternate_authentication_data == o.alternate_authentication_data &&
917
- alternate_authentication_date == o.alternate_authentication_date &&
918
- alternate_authentication_method == o.alternate_authentication_method &&
919
- authentication_date == o.authentication_date &&
920
- authentication_transaction_id == o.authentication_transaction_id &&
921
- challenge_cancel_code == o.challenge_cancel_code &&
922
- challenge_code == o.challenge_code &&
923
- challenge_status == o.challenge_status &&
924
- customer_card_alias == o.customer_card_alias &&
925
- decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
926
- decoupled_authentication_max_time == o.decoupled_authentication_max_time &&
927
- default_card == o.default_card &&
928
- device_channel == o.device_channel &&
929
- installment_total_count == o.installment_total_count &&
930
- merchant_fraud_rate == o.merchant_fraud_rate &&
931
- marketing_opt_in == o.marketing_opt_in &&
932
- marketing_source == o.marketing_source &&
933
- mcc == o.mcc &&
934
- merchant_score == o.merchant_score &&
935
- message_category == o.message_category &&
936
- network_score == o.network_score &&
937
- npa_code == o.npa_code &&
938
- override_payment_method == o.override_payment_method &&
939
- override_country_code == o.override_country_code &&
940
- prior_authentication_data == o.prior_authentication_data &&
941
- prior_authentication_method == o.prior_authentication_method &&
942
- prior_authentication_reference_id == o.prior_authentication_reference_id &&
943
- prior_authentication_time == o.prior_authentication_time &&
944
- product_code == o.product_code &&
945
- return_url == o.return_url &&
946
- requestor_id == o.requestor_id &&
947
- requestor_initiated_authentication_indicator == o.requestor_initiated_authentication_indicator &&
948
- requestor_name == o.requestor_name &&
949
- reference_id == o.reference_id &&
950
- sdk_max_timeout == o.sdk_max_timeout &&
951
- secure_corporate_payment_indicator == o.secure_corporate_payment_indicator &&
952
- transaction_mode == o.transaction_mode &&
953
- white_list_status == o.white_list_status &&
954
- effective_authentication_type == o.effective_authentication_type &&
955
- signed_pares_status_reason == o.signed_pares_status_reason &&
956
- signed_pares == o.signed_pares
957
- end
958
-
959
- # @see the `==` method
960
- # @param [Object] Object to be compared
961
- def eql?(o)
962
- self == o
963
- end
964
-
965
- # Calculates hash code according to all attributes.
966
- # @return [Fixnum] Hash code
967
- def hash
968
- [cavv, transaction_flow_indicator, cavv_algorithm, eci_raw, pares_status, veres_enrolled, xid, ucaf_collection_indicator, ucaf_authentication_data, strong_authentication, directory_server_transaction_id, pa_specification_version, authentication_type, response_access_token, acs_transaction_id, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, network_score, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, return_url, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status, effective_authentication_type, signed_pares_status_reason, signed_pares].hash
969
- end
970
-
971
- # Builds the object from hash
972
- # @param [Hash] attributes Model attributes in the form of hash
973
- # @return [Object] Returns the model itself
974
- def build_from_hash(attributes)
975
- return nil unless attributes.is_a?(Hash)
976
- self.class.swagger_types.each_pair do |key, type|
977
- if type =~ /\AArray<(.*)>/i
978
- # check to ensure the input is an array given that the the attribute
979
- # is documented as an array but the input is not
980
- if attributes[self.class.attribute_map[key]].is_a?(Array)
981
- self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
982
- end
983
- elsif !attributes[self.class.attribute_map[key]].nil?
984
- self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
985
- end # or else data not found in attributes(hash), not an issue as the data can be optional
986
- end
987
-
988
- self
989
- end
990
-
991
- # Deserializes the data based on type
992
- # @param string type Data type
993
- # @param string value Value to be deserialized
994
- # @return [Object] Deserialized data
995
- def _deserialize(type, value)
996
- case type.to_sym
997
- when :DateTime
998
- DateTime.parse(value)
999
- when :Date
1000
- Date.parse(value)
1001
- when :String
1002
- value.to_s
1003
- when :Integer
1004
- value.to_i
1005
- when :Float
1006
- value.to_f
1007
- when :BOOLEAN
1008
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1009
- true
1010
- else
1011
- false
1012
- end
1013
- when :Object
1014
- # generic object (usually a Hash), return directly
1015
- value
1016
- when /\AArray<(?<inner_type>.+)>\z/
1017
- inner_type = Regexp.last_match[:inner_type]
1018
- value.map { |v| _deserialize(inner_type, v) }
1019
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1020
- k_type = Regexp.last_match[:k_type]
1021
- v_type = Regexp.last_match[:v_type]
1022
- {}.tap do |hash|
1023
- value.each do |k, v|
1024
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1025
- end
1026
- end
1027
- else # model
1028
- temp_model = CyberSource.const_get(type).new
1029
- temp_model.build_from_hash(value)
1030
- end
1031
- end
1032
-
1033
- # Returns the string representation of the object
1034
- # @return [String] String presentation of the object
1035
- def to_s
1036
- to_hash.to_s
1037
- end
1038
-
1039
- # to_body is an alias to to_hash (backward compatibility)
1040
- # @return [Hash] Returns the object in the form of hash
1041
- def to_body
1042
- to_hash
1043
- end
1044
-
1045
- # Returns the object in the form of hash
1046
- # @return [Hash] Returns the object in the form of hash
1047
- def to_hash
1048
- hash = {}
1049
- self.class.attribute_map.each_pair do |attr, param|
1050
- value = self.send(attr)
1051
- next if value.nil?
1052
- hash[param] = _to_hash(value)
1053
- end
1054
- hash
1055
- end
1056
-
1057
- # Outputs non-array value in the form of hash
1058
- # For object, use to_hash. Otherwise, just return the value
1059
- # @param [Object] value Any valid value
1060
- # @return [Hash] Returns the value in the form of hash
1061
- def _to_hash(value)
1062
- if value.is_a?(Array)
1063
- value.compact.map { |v| _to_hash(v) }
1064
- elsif value.is_a?(Hash)
1065
- {}.tap do |hash|
1066
- value.each { |k, v| hash[k] = _to_hash(v) }
1067
- end
1068
- elsif value.respond_to? :to_hash
1069
- value.to_hash
1070
- else
1071
- value
1072
- end
1073
- end
1074
- end
1075
- 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 Ptsv2paymentsConsumerAuthenticationInformation
16
+ # Cardholder authentication verification value (CAVV).
17
+ attr_accessor :cavv
18
+
19
+ # This field details out the type of transaction. Below are the possible values. 08:GC- Guest Checkout.
20
+ attr_accessor :transaction_flow_indicator
21
+
22
+ # Algorithm used to generate the CAVV for Visa Secure or the UCAF authentication data for Mastercard Identity Check.
23
+ attr_accessor :cavv_algorithm
24
+
25
+ # Raw electronic commerce indicator (ECI).
26
+ attr_accessor :eci_raw
27
+
28
+ # Payer authentication response status.
29
+ attr_accessor :pares_status
30
+
31
+ # Verification response enrollment status.
32
+ attr_accessor :veres_enrolled
33
+
34
+ # Transaction identifier.
35
+ attr_accessor :xid
36
+
37
+ # Universal cardholder authentication field (UCAF) collection indicator. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR7 - Position: 5 - Field: Mastercard Electronic Commerce Indicators—UCAF Collection Indicator
38
+ attr_accessor :ucaf_collection_indicator
39
+
40
+ # Universal cardholder authentication field (UCAF) data.
41
+ attr_accessor :ucaf_authentication_data
42
+
43
+ attr_accessor :strong_authentication
44
+
45
+ # 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
46
+ attr_accessor :directory_server_transaction_id
47
+
48
+ # This field contains 3DS version that was used for Secured Consumer Authentication (SCA). The value for this field should be in the format major.minor.patch version. Valid Values are: - `2.1.0` (EMV 3D Secure Version 2.1) - `2.2.0` (EMV 3D Secure Version 2.2) - `2.3.0` (EMV 3D Secure Version 2.3) - `2.4.0` (EMV 3D Secure Version 2.4) - `2.5.0` (EMV 3D Secure Version 2.5) - `2.6.0` (EMV 3D Secure Version 2.6) - `2.7.0` (EMV 3D Secure Version 2.7) - `2.8.0` (EMV 3D Secure Version 2.8) - `2.9.0` (EMV 3D Secure Version 2.9) For Visa Platform Connect: The value for this field corresponds to the following data in the TC 33 capture file3: Record: CP01 TCR7, Position: 113 , Field: MC AVV Verification—Program Protocol It will contain one of the following values: - `1` (3D Secure Version 1.x (3DS 1.0)) - `2` (EMV 3-D Secure (3DS 2.x))
49
+ attr_accessor :pa_specification_version
50
+
51
+ # Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled 20 - OTP hosted at merchant end. (Rupay S2S flow) **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
52
+ attr_accessor :authentication_type
53
+
54
+ # JWT returned by the 3D Secure provider when the authentication is complete. Required for Hybrid integration if you use the Cybersource-generated access token. Note: Max. length of this field is 2048 characters.
55
+ attr_accessor :response_access_token
56
+
57
+ # Unique transaction identifier assigned by the ACS to identify a single transaction. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC.
58
+ attr_accessor :acs_transaction_id
59
+
60
+ # An override field that a merchant can pass in to set the challenge window size to display to the end cardholder. The ACS (Active Control Server) will reply with content that is formatted appropriately to this window size to allow for the best user experience. The sizes are width x height in pixels of the window displayed in the cardholder browser window. 01 - 250x400 02 - 390x400 03 - 500x600 04 - 600x400 05 - Full page
61
+ attr_accessor :acs_window_size
62
+
63
+ # Data that documents and supports a specific authentication process.
64
+ attr_accessor :alternate_authentication_data
65
+
66
+ # Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM
67
+ attr_accessor :alternate_authentication_date
68
+
69
+ # Mechanism used by the cardholder to authenticate to the 3D Secure requestor. Possible values: - `01`: No authentication occurred - `02`: Login using merchant system credentials - `03`: Login using Federated ID - `04`: Login using issuer credentials - `05`: Login using third-party authenticator - `06`: Login using FIDO Authenticator
70
+ attr_accessor :alternate_authentication_method
71
+
72
+ # The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS
73
+ attr_accessor :authentication_date
74
+
75
+ # Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages.For Rupay,this is passed only in Re-Send OTP usecase. **Note**: Required for Standard integration, Rupay Seamless server to server integration for enroll service. Required for Hybrid integration for validate service.
76
+ attr_accessor :authentication_transaction_id
77
+
78
+ # 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
79
+ attr_accessor :challenge_cancel_code
80
+
81
+ # Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`.
82
+ attr_accessor :challenge_code
83
+
84
+ # The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used.
85
+ attr_accessor :challenge_status
86
+
87
+ # An alias that uniquely identifies the customer's account and credit card on file. Note This field is required if Tokenization is enabled in the merchant profile settings.
88
+ attr_accessor :customer_card_alias
89
+
90
+ # 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
91
+ attr_accessor :decoupled_authentication_indicator
92
+
93
+ # Indicates the maximum amount of time that the 3DS Requestor will wait for an ACS (Active control server) to provide the results of a Decoupled Authentication transaction (in minutes). Possible Values: Numeric values between 1 and 10080 accepted.
94
+ attr_accessor :decoupled_authentication_max_time
95
+
96
+ # Indicates that the card being used is the one designated as the primary payment card for purchase. Recommended for Discover ProtectBuy.
97
+ attr_accessor :default_card
98
+
99
+ # Determines the channel that the transaction came through. Possible Values: SDK/Browser/3RI. 3RI - 3DS request initiated.
100
+ attr_accessor :device_channel
101
+
102
+ # An integer value greater than 1 indicating the max number of permitted authorizations for installment payments. **Note** This is required if the merchant and cardholder have agreed to installment payments.
103
+ attr_accessor :installment_total_count
104
+
105
+ # Calculated by merchants as per PSD2** RTS** (EEA** card fraud divided by all EEA card volumes). Possible Values: 1 = Represents fraud rate <=1 2 = Represents fraud rate >1 and <=6 3 = Represents fraud rate >6 and <=13 4 = Represents fraud rate >13 and <=25 5 = Represents fraud rate >25 EEA** = European Economic Area RTS** = Regulatory Technical Standards PSD2** = Payment Services Directive
106
+ attr_accessor :merchant_fraud_rate
107
+
108
+ # Indicates whether the customer has opted in for marketing offers. Recommended for Discover ProtectBuy.
109
+ attr_accessor :marketing_opt_in
110
+
111
+ # Indicates origin of the marketing offer. Recommended for Discover ProtectBuy.
112
+ attr_accessor :marketing_source
113
+
114
+ # Merchant category code. **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
115
+ attr_accessor :mcc
116
+
117
+ # Risk Score provided by merchants. This is specific for CB transactions.
118
+ attr_accessor :merchant_score
119
+
120
+ # Category of the message for a specific use case. Possible values: - `01`: PA- payment authentication - `02`: NPA- non-payment authentication - `03-79`: Reserved for EMVCo future use (values invalid until defined by EMVCo) - `80-99`: Reserved for DS use
121
+ attr_accessor :message_category
122
+
123
+ # The global score calculated by the CB scoring platform and returned to merchants. Possible values: - '00' - '99' When you request the payer authentication and authorization services separately, get the value for this field from the pa_network_score reply field. This field is supported only for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC.
124
+ attr_accessor :network_score
125
+
126
+ # Non-Payer Authentication Indicator. Possible values: - `01`: Add card - `02`: Maintain card information - `03`: Cardholder verification for EMV token - `04-80` Reserved for EMVCo - `80-90` Reserved DS
127
+ attr_accessor :npa_code
128
+
129
+ # Specifies the Brazilian payment account type used for the transaction. This field overrides other payment types that might be specified in the request. Use one of the following values for this field: - `NA`: Not applicable. Do not override other payment types that are specified in the request. - `CR`: Credit card. - `DB`: Debit card. - `VSAVR`: Visa Vale Refeicao - `VSAVA`: Visa Vale Alimentacao **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
130
+ attr_accessor :override_payment_method
131
+
132
+ # Two-character [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf)..
133
+ attr_accessor :override_country_code
134
+
135
+ # This field carry data that the ACS can use to verify the authentication process.
136
+ attr_accessor :prior_authentication_data
137
+
138
+ # Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. 01 - Frictionless authentication occurred by ACS 02 - Cardholder challenge occurred by ACS 03 - AVS verified 04 - Other issuer methods 05-79 - Reserved for EMVCo future use (values invalid until defined by EMVCo) 80-99 - Reserved for DS use
139
+ attr_accessor :prior_authentication_method
140
+
141
+ # This data element contains a ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder
142
+ attr_accessor :prior_authentication_reference_id
143
+
144
+ # Date and time in UTC of the prior cardholder authentication. Format – YYYYMMDDHHMM
145
+ attr_accessor :prior_authentication_time
146
+
147
+ # Specifies the product code, which designates the type of transaction. Specify one of the following values for this field: - AIR: Airline purchase Important Required for American Express SafeKey (U.S.). - `ACC`: Accommodation Rental - `ACF`: Account funding - `CHA`: Check acceptance - `DIG`: Digital Goods - `DSP`: Cash Dispensing - `GAS`: Fuel - `GEN`: General Retail - `LUX`: Luxury Retail - `PAL`: Prepaid activation and load - `PHY`: Goods or services purchase - `QCT`: Quasi-cash transaction - `REN`: Car Rental - `RES`: Restaurant - `SVC`: Services - `TBD`: Other - `TRA`: Travel **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
148
+ attr_accessor :product_code
149
+
150
+ # The URL of the merchant's return page. CyberSource adds this return URL to the step-up JWT and returns it in the response of the Payer Authentication enrollment call. The merchant's return URL page serves as a listening URL. Once the bank session completes, the merchant receives a POST to their URL. This response contains the completed bank session's transactionId. The merchant's return page should capture the transaction ID and send it in the Payer Authentication validation call.
151
+ attr_accessor :return_url
152
+
153
+ # Cardinal's directory server assigned 3DS Requestor ID value
154
+ attr_accessor :requestor_id
155
+
156
+ # Indicates the type of 3RI request. Possible Values: 01 - Recurring transaction 02 - Installment transaction 03 - Add card 04 - Maintain card 05 - Account verification 06 - Split/delayed shipment 07 - Top-up 08 - Mail Order 09 - Telephone Order 10 - Whitelist status check 11 - Other payment
157
+ attr_accessor :requestor_initiated_authentication_indicator
158
+
159
+ # Cardinal's directory server assigned 3DS Requestor Name value
160
+ attr_accessor :requestor_name
161
+
162
+ # Reference ID that corresponds to the device fingerprinting data that was collected previously. Note Required for Hybrid integration.
163
+ attr_accessor :reference_id
164
+
165
+ # This field indicates the maximum amount of time for all 3DS 2.0 messages to be communicated between all components (in minutes). Possible Values: Greater than or equal to 05 (05 is the minimum timeout to set) Cardinal Default is set to 15 NOTE: This field is a required 3DS 2.0 field and Cardinal sends in a default of 15 if nothing is passed
166
+ attr_accessor :sdk_max_timeout
167
+
168
+ # Indicates dedicated payment processes and procedures were used, potential secure corporate payment exemption applies. Possible Values : 0/1
169
+ attr_accessor :secure_corporate_payment_indicator
170
+
171
+ # Transaction mode identifier. Identifies the channel from which the transaction originates. Possible values: - `M`: MOTO (Mail Order Telephone Order) - `R`: Retail - `S`: eCommerce - `P`: Mobile Device - `T`: Tablet
172
+ attr_accessor :transaction_mode
173
+
174
+ # 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
175
+ attr_accessor :white_list_status
176
+
177
+ # 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).
178
+ attr_accessor :effective_authentication_type
179
+
180
+ # Provides additional information as to why the PAResStatus has a specific value.
181
+ attr_accessor :signed_pares_status_reason
182
+
183
+ # Payer authentication result (PARes) message returned by the card-issuing bank. If you need to show proof of enrollment checking, you may need to decrypt and parse the string for the information required by the payment card company. For more information, see \"Storing Payer Authentication Data,\" page 160. Important The value is in base64. You must remove all carriage returns and line feeds before adding the PARes to the request.
184
+ attr_accessor :signed_pares
185
+
186
+ # Attribute mapping from ruby-style variable name to JSON key.
187
+ def self.attribute_map
188
+ {
189
+ :'cavv' => :'cavv',
190
+ :'transaction_flow_indicator' => :'transactionFlowIndicator',
191
+ :'cavv_algorithm' => :'cavvAlgorithm',
192
+ :'eci_raw' => :'eciRaw',
193
+ :'pares_status' => :'paresStatus',
194
+ :'veres_enrolled' => :'veresEnrolled',
195
+ :'xid' => :'xid',
196
+ :'ucaf_collection_indicator' => :'ucafCollectionIndicator',
197
+ :'ucaf_authentication_data' => :'ucafAuthenticationData',
198
+ :'strong_authentication' => :'strongAuthentication',
199
+ :'directory_server_transaction_id' => :'directoryServerTransactionId',
200
+ :'pa_specification_version' => :'paSpecificationVersion',
201
+ :'authentication_type' => :'authenticationType',
202
+ :'response_access_token' => :'responseAccessToken',
203
+ :'acs_transaction_id' => :'acsTransactionId',
204
+ :'acs_window_size' => :'acsWindowSize',
205
+ :'alternate_authentication_data' => :'alternateAuthenticationData',
206
+ :'alternate_authentication_date' => :'alternateAuthenticationDate',
207
+ :'alternate_authentication_method' => :'alternateAuthenticationMethod',
208
+ :'authentication_date' => :'authenticationDate',
209
+ :'authentication_transaction_id' => :'authenticationTransactionId',
210
+ :'challenge_cancel_code' => :'challengeCancelCode',
211
+ :'challenge_code' => :'challengeCode',
212
+ :'challenge_status' => :'challengeStatus',
213
+ :'customer_card_alias' => :'customerCardAlias',
214
+ :'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
215
+ :'decoupled_authentication_max_time' => :'decoupledAuthenticationMaxTime',
216
+ :'default_card' => :'defaultCard',
217
+ :'device_channel' => :'deviceChannel',
218
+ :'installment_total_count' => :'installmentTotalCount',
219
+ :'merchant_fraud_rate' => :'merchantFraudRate',
220
+ :'marketing_opt_in' => :'marketingOptIn',
221
+ :'marketing_source' => :'marketingSource',
222
+ :'mcc' => :'mcc',
223
+ :'merchant_score' => :'merchantScore',
224
+ :'message_category' => :'messageCategory',
225
+ :'network_score' => :'networkScore',
226
+ :'npa_code' => :'npaCode',
227
+ :'override_payment_method' => :'overridePaymentMethod',
228
+ :'override_country_code' => :'overrideCountryCode',
229
+ :'prior_authentication_data' => :'priorAuthenticationData',
230
+ :'prior_authentication_method' => :'priorAuthenticationMethod',
231
+ :'prior_authentication_reference_id' => :'priorAuthenticationReferenceId',
232
+ :'prior_authentication_time' => :'priorAuthenticationTime',
233
+ :'product_code' => :'productCode',
234
+ :'return_url' => :'returnUrl',
235
+ :'requestor_id' => :'requestorId',
236
+ :'requestor_initiated_authentication_indicator' => :'requestorInitiatedAuthenticationIndicator',
237
+ :'requestor_name' => :'requestorName',
238
+ :'reference_id' => :'referenceId',
239
+ :'sdk_max_timeout' => :'sdkMaxTimeout',
240
+ :'secure_corporate_payment_indicator' => :'secureCorporatePaymentIndicator',
241
+ :'transaction_mode' => :'transactionMode',
242
+ :'white_list_status' => :'whiteListStatus',
243
+ :'effective_authentication_type' => :'effectiveAuthenticationType',
244
+ :'signed_pares_status_reason' => :'signedParesStatusReason',
245
+ :'signed_pares' => :'signedPares'
246
+ }
247
+ end
248
+
249
+ # Attribute mapping from JSON key to ruby-style variable name.
250
+ def self.json_map
251
+ {
252
+ :'cavv' => :'cavv',
253
+ :'transaction_flow_indicator' => :'transaction_flow_indicator',
254
+ :'cavv_algorithm' => :'cavv_algorithm',
255
+ :'eci_raw' => :'eci_raw',
256
+ :'pares_status' => :'pares_status',
257
+ :'veres_enrolled' => :'veres_enrolled',
258
+ :'xid' => :'xid',
259
+ :'ucaf_collection_indicator' => :'ucaf_collection_indicator',
260
+ :'ucaf_authentication_data' => :'ucaf_authentication_data',
261
+ :'strong_authentication' => :'strong_authentication',
262
+ :'directory_server_transaction_id' => :'directory_server_transaction_id',
263
+ :'pa_specification_version' => :'pa_specification_version',
264
+ :'authentication_type' => :'authentication_type',
265
+ :'response_access_token' => :'response_access_token',
266
+ :'acs_transaction_id' => :'acs_transaction_id',
267
+ :'acs_window_size' => :'acs_window_size',
268
+ :'alternate_authentication_data' => :'alternate_authentication_data',
269
+ :'alternate_authentication_date' => :'alternate_authentication_date',
270
+ :'alternate_authentication_method' => :'alternate_authentication_method',
271
+ :'authentication_date' => :'authentication_date',
272
+ :'authentication_transaction_id' => :'authentication_transaction_id',
273
+ :'challenge_cancel_code' => :'challenge_cancel_code',
274
+ :'challenge_code' => :'challenge_code',
275
+ :'challenge_status' => :'challenge_status',
276
+ :'customer_card_alias' => :'customer_card_alias',
277
+ :'decoupled_authentication_indicator' => :'decoupled_authentication_indicator',
278
+ :'decoupled_authentication_max_time' => :'decoupled_authentication_max_time',
279
+ :'default_card' => :'default_card',
280
+ :'device_channel' => :'device_channel',
281
+ :'installment_total_count' => :'installment_total_count',
282
+ :'merchant_fraud_rate' => :'merchant_fraud_rate',
283
+ :'marketing_opt_in' => :'marketing_opt_in',
284
+ :'marketing_source' => :'marketing_source',
285
+ :'mcc' => :'mcc',
286
+ :'merchant_score' => :'merchant_score',
287
+ :'message_category' => :'message_category',
288
+ :'network_score' => :'network_score',
289
+ :'npa_code' => :'npa_code',
290
+ :'override_payment_method' => :'override_payment_method',
291
+ :'override_country_code' => :'override_country_code',
292
+ :'prior_authentication_data' => :'prior_authentication_data',
293
+ :'prior_authentication_method' => :'prior_authentication_method',
294
+ :'prior_authentication_reference_id' => :'prior_authentication_reference_id',
295
+ :'prior_authentication_time' => :'prior_authentication_time',
296
+ :'product_code' => :'product_code',
297
+ :'return_url' => :'return_url',
298
+ :'requestor_id' => :'requestor_id',
299
+ :'requestor_initiated_authentication_indicator' => :'requestor_initiated_authentication_indicator',
300
+ :'requestor_name' => :'requestor_name',
301
+ :'reference_id' => :'reference_id',
302
+ :'sdk_max_timeout' => :'sdk_max_timeout',
303
+ :'secure_corporate_payment_indicator' => :'secure_corporate_payment_indicator',
304
+ :'transaction_mode' => :'transaction_mode',
305
+ :'white_list_status' => :'white_list_status',
306
+ :'effective_authentication_type' => :'effective_authentication_type',
307
+ :'signed_pares_status_reason' => :'signed_pares_status_reason',
308
+ :'signed_pares' => :'signed_pares'
309
+ }
310
+ end
311
+
312
+ # Attribute type mapping.
313
+ def self.swagger_types
314
+ {
315
+ :'cavv' => :'String',
316
+ :'transaction_flow_indicator' => :'String',
317
+ :'cavv_algorithm' => :'String',
318
+ :'eci_raw' => :'String',
319
+ :'pares_status' => :'String',
320
+ :'veres_enrolled' => :'String',
321
+ :'xid' => :'String',
322
+ :'ucaf_collection_indicator' => :'String',
323
+ :'ucaf_authentication_data' => :'String',
324
+ :'strong_authentication' => :'Ptsv2paymentsConsumerAuthenticationInformationStrongAuthentication',
325
+ :'directory_server_transaction_id' => :'String',
326
+ :'pa_specification_version' => :'String',
327
+ :'authentication_type' => :'String',
328
+ :'response_access_token' => :'String',
329
+ :'acs_transaction_id' => :'String',
330
+ :'acs_window_size' => :'String',
331
+ :'alternate_authentication_data' => :'String',
332
+ :'alternate_authentication_date' => :'String',
333
+ :'alternate_authentication_method' => :'String',
334
+ :'authentication_date' => :'String',
335
+ :'authentication_transaction_id' => :'String',
336
+ :'challenge_cancel_code' => :'String',
337
+ :'challenge_code' => :'String',
338
+ :'challenge_status' => :'String',
339
+ :'customer_card_alias' => :'String',
340
+ :'decoupled_authentication_indicator' => :'String',
341
+ :'decoupled_authentication_max_time' => :'String',
342
+ :'default_card' => :'BOOLEAN',
343
+ :'device_channel' => :'String',
344
+ :'installment_total_count' => :'Integer',
345
+ :'merchant_fraud_rate' => :'String',
346
+ :'marketing_opt_in' => :'BOOLEAN',
347
+ :'marketing_source' => :'String',
348
+ :'mcc' => :'String',
349
+ :'merchant_score' => :'Integer',
350
+ :'message_category' => :'String',
351
+ :'network_score' => :'String',
352
+ :'npa_code' => :'String',
353
+ :'override_payment_method' => :'String',
354
+ :'override_country_code' => :'String',
355
+ :'prior_authentication_data' => :'String',
356
+ :'prior_authentication_method' => :'String',
357
+ :'prior_authentication_reference_id' => :'String',
358
+ :'prior_authentication_time' => :'String',
359
+ :'product_code' => :'String',
360
+ :'return_url' => :'String',
361
+ :'requestor_id' => :'String',
362
+ :'requestor_initiated_authentication_indicator' => :'String',
363
+ :'requestor_name' => :'String',
364
+ :'reference_id' => :'String',
365
+ :'sdk_max_timeout' => :'String',
366
+ :'secure_corporate_payment_indicator' => :'String',
367
+ :'transaction_mode' => :'String',
368
+ :'white_list_status' => :'String',
369
+ :'effective_authentication_type' => :'String',
370
+ :'signed_pares_status_reason' => :'String',
371
+ :'signed_pares' => :'String'
372
+ }
373
+ end
374
+
375
+ # Initializes the object
376
+ # @param [Hash] attributes Model attributes in the form of hash
377
+ def initialize(attributes = {})
378
+ return unless attributes.is_a?(Hash)
379
+
380
+ # convert string to symbol for hash key
381
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
382
+
383
+ if attributes.has_key?(:'cavv')
384
+ self.cavv = attributes[:'cavv']
385
+ end
386
+
387
+ if attributes.has_key?(:'transactionFlowIndicator')
388
+ self.transaction_flow_indicator = attributes[:'transactionFlowIndicator']
389
+ end
390
+
391
+ if attributes.has_key?(:'cavvAlgorithm')
392
+ self.cavv_algorithm = attributes[:'cavvAlgorithm']
393
+ end
394
+
395
+ if attributes.has_key?(:'eciRaw')
396
+ self.eci_raw = attributes[:'eciRaw']
397
+ end
398
+
399
+ if attributes.has_key?(:'paresStatus')
400
+ self.pares_status = attributes[:'paresStatus']
401
+ end
402
+
403
+ if attributes.has_key?(:'veresEnrolled')
404
+ self.veres_enrolled = attributes[:'veresEnrolled']
405
+ end
406
+
407
+ if attributes.has_key?(:'xid')
408
+ self.xid = attributes[:'xid']
409
+ end
410
+
411
+ if attributes.has_key?(:'ucafCollectionIndicator')
412
+ self.ucaf_collection_indicator = attributes[:'ucafCollectionIndicator']
413
+ end
414
+
415
+ if attributes.has_key?(:'ucafAuthenticationData')
416
+ self.ucaf_authentication_data = attributes[:'ucafAuthenticationData']
417
+ end
418
+
419
+ if attributes.has_key?(:'strongAuthentication')
420
+ self.strong_authentication = attributes[:'strongAuthentication']
421
+ end
422
+
423
+ if attributes.has_key?(:'directoryServerTransactionId')
424
+ self.directory_server_transaction_id = attributes[:'directoryServerTransactionId']
425
+ end
426
+
427
+ if attributes.has_key?(:'paSpecificationVersion')
428
+ self.pa_specification_version = attributes[:'paSpecificationVersion']
429
+ end
430
+
431
+ if attributes.has_key?(:'authenticationType')
432
+ self.authentication_type = attributes[:'authenticationType']
433
+ end
434
+
435
+ if attributes.has_key?(:'responseAccessToken')
436
+ self.response_access_token = attributes[:'responseAccessToken']
437
+ end
438
+
439
+ if attributes.has_key?(:'acsTransactionId')
440
+ self.acs_transaction_id = attributes[:'acsTransactionId']
441
+ end
442
+
443
+ if attributes.has_key?(:'acsWindowSize')
444
+ self.acs_window_size = attributes[:'acsWindowSize']
445
+ end
446
+
447
+ if attributes.has_key?(:'alternateAuthenticationData')
448
+ self.alternate_authentication_data = attributes[:'alternateAuthenticationData']
449
+ end
450
+
451
+ if attributes.has_key?(:'alternateAuthenticationDate')
452
+ self.alternate_authentication_date = attributes[:'alternateAuthenticationDate']
453
+ end
454
+
455
+ if attributes.has_key?(:'alternateAuthenticationMethod')
456
+ self.alternate_authentication_method = attributes[:'alternateAuthenticationMethod']
457
+ end
458
+
459
+ if attributes.has_key?(:'authenticationDate')
460
+ self.authentication_date = attributes[:'authenticationDate']
461
+ end
462
+
463
+ if attributes.has_key?(:'authenticationTransactionId')
464
+ self.authentication_transaction_id = attributes[:'authenticationTransactionId']
465
+ end
466
+
467
+ if attributes.has_key?(:'challengeCancelCode')
468
+ self.challenge_cancel_code = attributes[:'challengeCancelCode']
469
+ end
470
+
471
+ if attributes.has_key?(:'challengeCode')
472
+ self.challenge_code = attributes[:'challengeCode']
473
+ end
474
+
475
+ if attributes.has_key?(:'challengeStatus')
476
+ self.challenge_status = attributes[:'challengeStatus']
477
+ end
478
+
479
+ if attributes.has_key?(:'customerCardAlias')
480
+ self.customer_card_alias = attributes[:'customerCardAlias']
481
+ end
482
+
483
+ if attributes.has_key?(:'decoupledAuthenticationIndicator')
484
+ self.decoupled_authentication_indicator = attributes[:'decoupledAuthenticationIndicator']
485
+ end
486
+
487
+ if attributes.has_key?(:'decoupledAuthenticationMaxTime')
488
+ self.decoupled_authentication_max_time = attributes[:'decoupledAuthenticationMaxTime']
489
+ end
490
+
491
+ if attributes.has_key?(:'defaultCard')
492
+ self.default_card = attributes[:'defaultCard']
493
+ end
494
+
495
+ if attributes.has_key?(:'deviceChannel')
496
+ self.device_channel = attributes[:'deviceChannel']
497
+ end
498
+
499
+ if attributes.has_key?(:'installmentTotalCount')
500
+ self.installment_total_count = attributes[:'installmentTotalCount']
501
+ end
502
+
503
+ if attributes.has_key?(:'merchantFraudRate')
504
+ self.merchant_fraud_rate = attributes[:'merchantFraudRate']
505
+ end
506
+
507
+ if attributes.has_key?(:'marketingOptIn')
508
+ self.marketing_opt_in = attributes[:'marketingOptIn']
509
+ end
510
+
511
+ if attributes.has_key?(:'marketingSource')
512
+ self.marketing_source = attributes[:'marketingSource']
513
+ end
514
+
515
+ if attributes.has_key?(:'mcc')
516
+ self.mcc = attributes[:'mcc']
517
+ end
518
+
519
+ if attributes.has_key?(:'merchantScore')
520
+ self.merchant_score = attributes[:'merchantScore']
521
+ end
522
+
523
+ if attributes.has_key?(:'messageCategory')
524
+ self.message_category = attributes[:'messageCategory']
525
+ end
526
+
527
+ if attributes.has_key?(:'networkScore')
528
+ self.network_score = attributes[:'networkScore']
529
+ end
530
+
531
+ if attributes.has_key?(:'npaCode')
532
+ self.npa_code = attributes[:'npaCode']
533
+ end
534
+
535
+ if attributes.has_key?(:'overridePaymentMethod')
536
+ self.override_payment_method = attributes[:'overridePaymentMethod']
537
+ end
538
+
539
+ if attributes.has_key?(:'overrideCountryCode')
540
+ self.override_country_code = attributes[:'overrideCountryCode']
541
+ end
542
+
543
+ if attributes.has_key?(:'priorAuthenticationData')
544
+ self.prior_authentication_data = attributes[:'priorAuthenticationData']
545
+ end
546
+
547
+ if attributes.has_key?(:'priorAuthenticationMethod')
548
+ self.prior_authentication_method = attributes[:'priorAuthenticationMethod']
549
+ end
550
+
551
+ if attributes.has_key?(:'priorAuthenticationReferenceId')
552
+ self.prior_authentication_reference_id = attributes[:'priorAuthenticationReferenceId']
553
+ end
554
+
555
+ if attributes.has_key?(:'priorAuthenticationTime')
556
+ self.prior_authentication_time = attributes[:'priorAuthenticationTime']
557
+ end
558
+
559
+ if attributes.has_key?(:'productCode')
560
+ self.product_code = attributes[:'productCode']
561
+ end
562
+
563
+ if attributes.has_key?(:'returnUrl')
564
+ self.return_url = attributes[:'returnUrl']
565
+ end
566
+
567
+ if attributes.has_key?(:'requestorId')
568
+ self.requestor_id = attributes[:'requestorId']
569
+ end
570
+
571
+ if attributes.has_key?(:'requestorInitiatedAuthenticationIndicator')
572
+ self.requestor_initiated_authentication_indicator = attributes[:'requestorInitiatedAuthenticationIndicator']
573
+ end
574
+
575
+ if attributes.has_key?(:'requestorName')
576
+ self.requestor_name = attributes[:'requestorName']
577
+ end
578
+
579
+ if attributes.has_key?(:'referenceId')
580
+ self.reference_id = attributes[:'referenceId']
581
+ end
582
+
583
+ if attributes.has_key?(:'sdkMaxTimeout')
584
+ self.sdk_max_timeout = attributes[:'sdkMaxTimeout']
585
+ end
586
+
587
+ if attributes.has_key?(:'secureCorporatePaymentIndicator')
588
+ self.secure_corporate_payment_indicator = attributes[:'secureCorporatePaymentIndicator']
589
+ end
590
+
591
+ if attributes.has_key?(:'transactionMode')
592
+ self.transaction_mode = attributes[:'transactionMode']
593
+ end
594
+
595
+ if attributes.has_key?(:'whiteListStatus')
596
+ self.white_list_status = attributes[:'whiteListStatus']
597
+ end
598
+
599
+ if attributes.has_key?(:'effectiveAuthenticationType')
600
+ self.effective_authentication_type = attributes[:'effectiveAuthenticationType']
601
+ end
602
+
603
+ if attributes.has_key?(:'signedParesStatusReason')
604
+ self.signed_pares_status_reason = attributes[:'signedParesStatusReason']
605
+ end
606
+
607
+ if attributes.has_key?(:'signedPares')
608
+ self.signed_pares = attributes[:'signedPares']
609
+ end
610
+ end
611
+
612
+ # Show invalid properties with the reasons. Usually used together with valid?
613
+ # @return Array for valid properties with the reasons
614
+ def list_invalid_properties
615
+ invalid_properties = Array.new
616
+ invalid_properties
617
+ end
618
+
619
+ # Check to see if the all the properties in the model are valid
620
+ # @return true if the model is valid
621
+ def valid?
622
+ true
623
+ end
624
+
625
+ # Custom attribute writer method with validation
626
+ # @param [Object] cavv Value to be assigned
627
+ def cavv=(cavv)
628
+ @cavv = cavv
629
+ end
630
+
631
+ # Custom attribute writer method with validation
632
+ # @param [Object] transaction_flow_indicator Value to be assigned
633
+ def transaction_flow_indicator=(transaction_flow_indicator)
634
+ @transaction_flow_indicator = transaction_flow_indicator
635
+ end
636
+
637
+ # Custom attribute writer method with validation
638
+ # @param [Object] cavv_algorithm Value to be assigned
639
+ def cavv_algorithm=(cavv_algorithm)
640
+ @cavv_algorithm = cavv_algorithm
641
+ end
642
+
643
+ # Custom attribute writer method with validation
644
+ # @param [Object] eci_raw Value to be assigned
645
+ def eci_raw=(eci_raw)
646
+ @eci_raw = eci_raw
647
+ end
648
+
649
+ # Custom attribute writer method with validation
650
+ # @param [Object] pares_status Value to be assigned
651
+ def pares_status=(pares_status)
652
+ @pares_status = pares_status
653
+ end
654
+
655
+ # Custom attribute writer method with validation
656
+ # @param [Object] veres_enrolled Value to be assigned
657
+ def veres_enrolled=(veres_enrolled)
658
+ @veres_enrolled = veres_enrolled
659
+ end
660
+
661
+ # Custom attribute writer method with validation
662
+ # @param [Object] xid Value to be assigned
663
+ def xid=(xid)
664
+ @xid = xid
665
+ end
666
+
667
+ # Custom attribute writer method with validation
668
+ # @param [Object] ucaf_collection_indicator Value to be assigned
669
+ def ucaf_collection_indicator=(ucaf_collection_indicator)
670
+ @ucaf_collection_indicator = ucaf_collection_indicator
671
+ end
672
+
673
+ # Custom attribute writer method with validation
674
+ # @param [Object] ucaf_authentication_data Value to be assigned
675
+ def ucaf_authentication_data=(ucaf_authentication_data)
676
+ @ucaf_authentication_data = ucaf_authentication_data
677
+ end
678
+
679
+ # Custom attribute writer method with validation
680
+ # @param [Object] directory_server_transaction_id Value to be assigned
681
+ def directory_server_transaction_id=(directory_server_transaction_id)
682
+ @directory_server_transaction_id = directory_server_transaction_id
683
+ end
684
+
685
+ # Custom attribute writer method with validation
686
+ # @param [Object] pa_specification_version Value to be assigned
687
+ def pa_specification_version=(pa_specification_version)
688
+ @pa_specification_version = pa_specification_version
689
+ end
690
+
691
+ # Custom attribute writer method with validation
692
+ # @param [Object] authentication_type Value to be assigned
693
+ def authentication_type=(authentication_type)
694
+ @authentication_type = authentication_type
695
+ end
696
+
697
+ # Custom attribute writer method with validation
698
+ # @param [Object] acs_transaction_id Value to be assigned
699
+ def acs_transaction_id=(acs_transaction_id)
700
+ @acs_transaction_id = acs_transaction_id
701
+ end
702
+
703
+ # Custom attribute writer method with validation
704
+ # @param [Object] acs_window_size Value to be assigned
705
+ def acs_window_size=(acs_window_size)
706
+ @acs_window_size = acs_window_size
707
+ end
708
+
709
+ # Custom attribute writer method with validation
710
+ # @param [Object] alternate_authentication_data Value to be assigned
711
+ def alternate_authentication_data=(alternate_authentication_data)
712
+ @alternate_authentication_data = alternate_authentication_data
713
+ end
714
+
715
+ # Custom attribute writer method with validation
716
+ # @param [Object] alternate_authentication_date Value to be assigned
717
+ def alternate_authentication_date=(alternate_authentication_date)
718
+ @alternate_authentication_date = alternate_authentication_date
719
+ end
720
+
721
+ # Custom attribute writer method with validation
722
+ # @param [Object] authentication_date Value to be assigned
723
+ def authentication_date=(authentication_date)
724
+ @authentication_date = authentication_date
725
+ end
726
+
727
+ # Custom attribute writer method with validation
728
+ # @param [Object] authentication_transaction_id Value to be assigned
729
+ def authentication_transaction_id=(authentication_transaction_id)
730
+ @authentication_transaction_id = authentication_transaction_id
731
+ end
732
+
733
+ # Custom attribute writer method with validation
734
+ # @param [Object] challenge_cancel_code Value to be assigned
735
+ def challenge_cancel_code=(challenge_cancel_code)
736
+ @challenge_cancel_code = challenge_cancel_code
737
+ end
738
+
739
+ # Custom attribute writer method with validation
740
+ # @param [Object] challenge_status Value to be assigned
741
+ def challenge_status=(challenge_status)
742
+ @challenge_status = challenge_status
743
+ end
744
+
745
+ # Custom attribute writer method with validation
746
+ # @param [Object] customer_card_alias Value to be assigned
747
+ def customer_card_alias=(customer_card_alias)
748
+ @customer_card_alias = customer_card_alias
749
+ end
750
+
751
+ # Custom attribute writer method with validation
752
+ # @param [Object] decoupled_authentication_indicator Value to be assigned
753
+ def decoupled_authentication_indicator=(decoupled_authentication_indicator)
754
+ @decoupled_authentication_indicator = decoupled_authentication_indicator
755
+ end
756
+
757
+ # Custom attribute writer method with validation
758
+ # @param [Object] decoupled_authentication_max_time Value to be assigned
759
+ def decoupled_authentication_max_time=(decoupled_authentication_max_time)
760
+ @decoupled_authentication_max_time = decoupled_authentication_max_time
761
+ end
762
+
763
+ # Custom attribute writer method with validation
764
+ # @param [Object] device_channel Value to be assigned
765
+ def device_channel=(device_channel)
766
+ @device_channel = device_channel
767
+ end
768
+
769
+ # Custom attribute writer method with validation
770
+ # @param [Object] merchant_fraud_rate Value to be assigned
771
+ def merchant_fraud_rate=(merchant_fraud_rate)
772
+ @merchant_fraud_rate = merchant_fraud_rate
773
+ end
774
+
775
+ # Custom attribute writer method with validation
776
+ # @param [Object] marketing_source Value to be assigned
777
+ def marketing_source=(marketing_source)
778
+ @marketing_source = marketing_source
779
+ end
780
+
781
+ # Custom attribute writer method with validation
782
+ # @param [Object] mcc Value to be assigned
783
+ def mcc=(mcc)
784
+ @mcc = mcc
785
+ end
786
+
787
+ # Custom attribute writer method with validation
788
+ # @param [Object] network_score Value to be assigned
789
+ def network_score=(network_score)
790
+ @network_score = network_score
791
+ end
792
+
793
+ # Custom attribute writer method with validation
794
+ # @param [Object] npa_code Value to be assigned
795
+ def npa_code=(npa_code)
796
+ @npa_code = npa_code
797
+ end
798
+
799
+ # Custom attribute writer method with validation
800
+ # @param [Object] override_country_code Value to be assigned
801
+ def override_country_code=(override_country_code)
802
+ @override_country_code = override_country_code
803
+ end
804
+
805
+ # Custom attribute writer method with validation
806
+ # @param [Object] prior_authentication_data Value to be assigned
807
+ def prior_authentication_data=(prior_authentication_data)
808
+ @prior_authentication_data = prior_authentication_data
809
+ end
810
+
811
+ # Custom attribute writer method with validation
812
+ # @param [Object] prior_authentication_method Value to be assigned
813
+ def prior_authentication_method=(prior_authentication_method)
814
+ @prior_authentication_method = prior_authentication_method
815
+ end
816
+
817
+ # Custom attribute writer method with validation
818
+ # @param [Object] prior_authentication_reference_id Value to be assigned
819
+ def prior_authentication_reference_id=(prior_authentication_reference_id)
820
+ @prior_authentication_reference_id = prior_authentication_reference_id
821
+ end
822
+
823
+ # Custom attribute writer method with validation
824
+ # @param [Object] prior_authentication_time Value to be assigned
825
+ def prior_authentication_time=(prior_authentication_time)
826
+ @prior_authentication_time = prior_authentication_time
827
+ end
828
+
829
+ # Custom attribute writer method with validation
830
+ # @param [Object] product_code Value to be assigned
831
+ def product_code=(product_code)
832
+ @product_code = product_code
833
+ end
834
+
835
+ # Custom attribute writer method with validation
836
+ # @param [Object] return_url Value to be assigned
837
+ def return_url=(return_url)
838
+ @return_url = return_url
839
+ end
840
+
841
+ # Custom attribute writer method with validation
842
+ # @param [Object] requestor_id Value to be assigned
843
+ def requestor_id=(requestor_id)
844
+ @requestor_id = requestor_id
845
+ end
846
+
847
+ # Custom attribute writer method with validation
848
+ # @param [Object] requestor_initiated_authentication_indicator Value to be assigned
849
+ def requestor_initiated_authentication_indicator=(requestor_initiated_authentication_indicator)
850
+ @requestor_initiated_authentication_indicator = requestor_initiated_authentication_indicator
851
+ end
852
+
853
+ # Custom attribute writer method with validation
854
+ # @param [Object] requestor_name Value to be assigned
855
+ def requestor_name=(requestor_name)
856
+ @requestor_name = requestor_name
857
+ end
858
+
859
+ # Custom attribute writer method with validation
860
+ # @param [Object] reference_id Value to be assigned
861
+ def reference_id=(reference_id)
862
+ @reference_id = reference_id
863
+ end
864
+
865
+ # Custom attribute writer method with validation
866
+ # @param [Object] sdk_max_timeout Value to be assigned
867
+ def sdk_max_timeout=(sdk_max_timeout)
868
+ @sdk_max_timeout = sdk_max_timeout
869
+ end
870
+
871
+ # Custom attribute writer method with validation
872
+ # @param [Object] secure_corporate_payment_indicator Value to be assigned
873
+ def secure_corporate_payment_indicator=(secure_corporate_payment_indicator)
874
+ @secure_corporate_payment_indicator = secure_corporate_payment_indicator
875
+ end
876
+
877
+ # Custom attribute writer method with validation
878
+ # @param [Object] white_list_status Value to be assigned
879
+ def white_list_status=(white_list_status)
880
+ @white_list_status = white_list_status
881
+ end
882
+
883
+ # Custom attribute writer method with validation
884
+ # @param [Object] effective_authentication_type Value to be assigned
885
+ def effective_authentication_type=(effective_authentication_type)
886
+ @effective_authentication_type = effective_authentication_type
887
+ end
888
+
889
+ # Custom attribute writer method with validation
890
+ # @param [Object] signed_pares_status_reason Value to be assigned
891
+ def signed_pares_status_reason=(signed_pares_status_reason)
892
+ @signed_pares_status_reason = signed_pares_status_reason
893
+ end
894
+
895
+ # Checks equality by comparing each attribute.
896
+ # @param [Object] Object to be compared
897
+ def ==(o)
898
+ return true if self.equal?(o)
899
+ self.class == o.class &&
900
+ cavv == o.cavv &&
901
+ transaction_flow_indicator == o.transaction_flow_indicator &&
902
+ cavv_algorithm == o.cavv_algorithm &&
903
+ eci_raw == o.eci_raw &&
904
+ pares_status == o.pares_status &&
905
+ veres_enrolled == o.veres_enrolled &&
906
+ xid == o.xid &&
907
+ ucaf_collection_indicator == o.ucaf_collection_indicator &&
908
+ ucaf_authentication_data == o.ucaf_authentication_data &&
909
+ strong_authentication == o.strong_authentication &&
910
+ directory_server_transaction_id == o.directory_server_transaction_id &&
911
+ pa_specification_version == o.pa_specification_version &&
912
+ authentication_type == o.authentication_type &&
913
+ response_access_token == o.response_access_token &&
914
+ acs_transaction_id == o.acs_transaction_id &&
915
+ acs_window_size == o.acs_window_size &&
916
+ alternate_authentication_data == o.alternate_authentication_data &&
917
+ alternate_authentication_date == o.alternate_authentication_date &&
918
+ alternate_authentication_method == o.alternate_authentication_method &&
919
+ authentication_date == o.authentication_date &&
920
+ authentication_transaction_id == o.authentication_transaction_id &&
921
+ challenge_cancel_code == o.challenge_cancel_code &&
922
+ challenge_code == o.challenge_code &&
923
+ challenge_status == o.challenge_status &&
924
+ customer_card_alias == o.customer_card_alias &&
925
+ decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
926
+ decoupled_authentication_max_time == o.decoupled_authentication_max_time &&
927
+ default_card == o.default_card &&
928
+ device_channel == o.device_channel &&
929
+ installment_total_count == o.installment_total_count &&
930
+ merchant_fraud_rate == o.merchant_fraud_rate &&
931
+ marketing_opt_in == o.marketing_opt_in &&
932
+ marketing_source == o.marketing_source &&
933
+ mcc == o.mcc &&
934
+ merchant_score == o.merchant_score &&
935
+ message_category == o.message_category &&
936
+ network_score == o.network_score &&
937
+ npa_code == o.npa_code &&
938
+ override_payment_method == o.override_payment_method &&
939
+ override_country_code == o.override_country_code &&
940
+ prior_authentication_data == o.prior_authentication_data &&
941
+ prior_authentication_method == o.prior_authentication_method &&
942
+ prior_authentication_reference_id == o.prior_authentication_reference_id &&
943
+ prior_authentication_time == o.prior_authentication_time &&
944
+ product_code == o.product_code &&
945
+ return_url == o.return_url &&
946
+ requestor_id == o.requestor_id &&
947
+ requestor_initiated_authentication_indicator == o.requestor_initiated_authentication_indicator &&
948
+ requestor_name == o.requestor_name &&
949
+ reference_id == o.reference_id &&
950
+ sdk_max_timeout == o.sdk_max_timeout &&
951
+ secure_corporate_payment_indicator == o.secure_corporate_payment_indicator &&
952
+ transaction_mode == o.transaction_mode &&
953
+ white_list_status == o.white_list_status &&
954
+ effective_authentication_type == o.effective_authentication_type &&
955
+ signed_pares_status_reason == o.signed_pares_status_reason &&
956
+ signed_pares == o.signed_pares
957
+ end
958
+
959
+ # @see the `==` method
960
+ # @param [Object] Object to be compared
961
+ def eql?(o)
962
+ self == o
963
+ end
964
+
965
+ # Calculates hash code according to all attributes.
966
+ # @return [Fixnum] Hash code
967
+ def hash
968
+ [cavv, transaction_flow_indicator, cavv_algorithm, eci_raw, pares_status, veres_enrolled, xid, ucaf_collection_indicator, ucaf_authentication_data, strong_authentication, directory_server_transaction_id, pa_specification_version, authentication_type, response_access_token, acs_transaction_id, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, network_score, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, return_url, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status, effective_authentication_type, signed_pares_status_reason, signed_pares].hash
969
+ end
970
+
971
+ # Builds the object from hash
972
+ # @param [Hash] attributes Model attributes in the form of hash
973
+ # @return [Object] Returns the model itself
974
+ def build_from_hash(attributes)
975
+ return nil unless attributes.is_a?(Hash)
976
+ self.class.swagger_types.each_pair do |key, type|
977
+ if type =~ /\AArray<(.*)>/i
978
+ # check to ensure the input is an array given that the the attribute
979
+ # is documented as an array but the input is not
980
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
981
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
982
+ end
983
+ elsif !attributes[self.class.attribute_map[key]].nil?
984
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
985
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
986
+ end
987
+
988
+ self
989
+ end
990
+
991
+ # Deserializes the data based on type
992
+ # @param string type Data type
993
+ # @param string value Value to be deserialized
994
+ # @return [Object] Deserialized data
995
+ def _deserialize(type, value)
996
+ case type.to_sym
997
+ when :DateTime
998
+ DateTime.parse(value)
999
+ when :Date
1000
+ Date.parse(value)
1001
+ when :String
1002
+ value.to_s
1003
+ when :Integer
1004
+ value.to_i
1005
+ when :Float
1006
+ value.to_f
1007
+ when :BOOLEAN
1008
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1009
+ true
1010
+ else
1011
+ false
1012
+ end
1013
+ when :Object
1014
+ # generic object (usually a Hash), return directly
1015
+ value
1016
+ when /\AArray<(?<inner_type>.+)>\z/
1017
+ inner_type = Regexp.last_match[:inner_type]
1018
+ value.map { |v| _deserialize(inner_type, v) }
1019
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1020
+ k_type = Regexp.last_match[:k_type]
1021
+ v_type = Regexp.last_match[:v_type]
1022
+ {}.tap do |hash|
1023
+ value.each do |k, v|
1024
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1025
+ end
1026
+ end
1027
+ else # model
1028
+ temp_model = CyberSource.const_get(type).new
1029
+ temp_model.build_from_hash(value)
1030
+ end
1031
+ end
1032
+
1033
+ # Returns the string representation of the object
1034
+ # @return [String] String presentation of the object
1035
+ def to_s
1036
+ to_hash.to_s
1037
+ end
1038
+
1039
+ # to_body is an alias to to_hash (backward compatibility)
1040
+ # @return [Hash] Returns the object in the form of hash
1041
+ def to_body
1042
+ to_hash
1043
+ end
1044
+
1045
+ # Returns the object in the form of hash
1046
+ # @return [Hash] Returns the object in the form of hash
1047
+ def to_hash
1048
+ hash = {}
1049
+ self.class.attribute_map.each_pair do |attr, param|
1050
+ value = self.send(attr)
1051
+ next if value.nil?
1052
+ hash[param] = _to_hash(value)
1053
+ end
1054
+ hash
1055
+ end
1056
+
1057
+ # Outputs non-array value in the form of hash
1058
+ # For object, use to_hash. Otherwise, just return the value
1059
+ # @param [Object] value Any valid value
1060
+ # @return [Hash] Returns the value in the form of hash
1061
+ def _to_hash(value)
1062
+ if value.is_a?(Array)
1063
+ value.compact.map { |v| _to_hash(v) }
1064
+ elsif value.is_a?(Hash)
1065
+ {}.tap do |hash|
1066
+ value.each { |k, v| hash[k] = _to_hash(v) }
1067
+ end
1068
+ elsif value.respond_to? :to_hash
1069
+ value.to_hash
1070
+ else
1071
+ value
1072
+ end
1073
+ end
1074
+ end
1075
+ end