cybersource_rest_client 0.0.64 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/batches_api.rb +9 -9
  3. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
  4. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +3 -3
  5. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +6 -6
  6. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  7. data/lib/cybersource_rest_client/models/bin_lookupv400_response.rb +224 -224
  8. data/lib/cybersource_rest_client/models/binv1binlookup_client_reference_information.rb +222 -222
  9. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information.rb +219 -219
  10. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information_card.rb +196 -196
  11. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information.rb +200 -200
  12. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information_payout_options.rb +213 -213
  13. data/lib/cybersource_rest_client/models/binv1binlookup_token_information.rb +207 -207
  14. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +321 -321
  15. data/lib/cybersource_rest_client/models/create_bin_lookup_request.rb +219 -219
  16. data/lib/cybersource_rest_client/models/create_payment_request.rb +462 -452
  17. data/lib/cybersource_rest_client/models/inline_response_200_1.rb +253 -247
  18. data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information.rb → inline_response_200_1_integration_information.rb} +204 -204
  19. data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information_tenant_configurations.rb → inline_response_200_1_integration_information_tenant_configurations.rb} +296 -296
  20. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +25 -65
  21. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +335 -213
  22. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +251 -335
  23. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded.rb → inline_response_200_5__embedded.rb} +191 -191
  24. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded__links.rb → inline_response_200_5__embedded__links.rb} +191 -191
  25. data/lib/cybersource_rest_client/models/{inline_response_200_7__links_report.rb → inline_response_200_5__embedded__links_reports.rb} +190 -189
  26. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded_batches.rb → inline_response_200_5__embedded_batches.rb} +295 -295
  27. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded_totals.rb → inline_response_200_5__embedded_totals.rb} +229 -229
  28. data/lib/cybersource_rest_client/models/inline_response_200_5__links.rb +200 -0
  29. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +290 -251
  30. data/lib/cybersource_rest_client/models/inline_response_200_6__links.rb +201 -200
  31. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded__links_reports.rb → inline_response_200_6__links_report.rb} +189 -190
  32. data/lib/cybersource_rest_client/models/{inline_response_200_7_billing.rb → inline_response_200_6_billing.rb} +219 -219
  33. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +292 -290
  34. data/lib/cybersource_rest_client/models/{inline_response_200_8_records.rb → inline_response_200_7_records.rb} +209 -209
  35. data/lib/cybersource_rest_client/models/{inline_response_200_8_response_record.rb → inline_response_200_7_response_record.rb} +307 -307
  36. data/lib/cybersource_rest_client/models/{inline_response_200_8_response_record_additional_updates.rb → inline_response_200_7_response_record_additional_updates.rb} +242 -242
  37. data/lib/cybersource_rest_client/models/{inline_response_200_8_source_record.rb → inline_response_200_7_source_record.rb} +295 -295
  38. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +248 -248
  39. data/lib/cybersource_rest_client/models/inline_response_201_1_issuer_information.rb +264 -264
  40. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information.rb +209 -209
  41. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card.rb +277 -277
  42. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card_brands.rb +213 -213
  43. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_features.rb +320 -320
  44. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_network.rb +190 -190
  45. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information.rb +216 -216
  46. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds.rb +213 -213
  47. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds.rb +417 -417
  48. data/lib/cybersource_rest_client/models/inline_response_201_2.rb +315 -315
  49. data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information.rb +192 -192
  50. data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information_tenant_configurations.rb +286 -286
  51. data/lib/cybersource_rest_client/models/inline_response_201_2_organization_information.rb +217 -217
  52. data/lib/cybersource_rest_client/models/inline_response_201_2_product_information_setups.rb +214 -214
  53. data/lib/cybersource_rest_client/models/inline_response_201_2_registration_information.rb +256 -256
  54. data/lib/cybersource_rest_client/models/inline_response_201_2_setups.rb +219 -219
  55. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_commerce_solutions.rb +209 -209
  56. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments.rb +15 -5
  57. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing.rb +199 -199
  58. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_configuration_status.rb +299 -299
  59. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_subscription_status.rb +278 -278
  60. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_digital_payments.rb +189 -189
  61. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_risk.rb +199 -199
  62. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_value_added_services.rb +199 -199
  63. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +222 -222
  64. data/lib/cybersource_rest_client/models/inline_response_201_3_key_information.rb +300 -300
  65. data/lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information.rb +202 -202
  66. data/lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information_details.rb +201 -201
  67. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +347 -347
  68. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +222 -222
  69. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +269 -234
  70. data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_5_details.rb} +201 -201
  71. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +275 -235
  72. data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_6_details.rb} +199 -199
  73. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +269 -269
  74. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +269 -269
  75. data/lib/cybersource_rest_client/models/inline_response_500_2.rb +257 -223
  76. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +225 -225
  77. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +225 -225
  78. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +333 -333
  79. data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +241 -241
  80. data/lib/cybersource_rest_client/models/payer_auth_config_card_types_verified_by_visa_currencies.rb +244 -243
  81. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +219 -219
  82. data/lib/cybersource_rest_client/models/payments_products.rb +369 -359
  83. data/lib/cybersource_rest_client/models/{kms_v2_keys_asym_get200_response.rb → payments_products_service_fee.rb} +199 -200
  84. data/lib/cybersource_rest_client/models/{inline_response_200_7__links.rb → payments_products_service_fee_configuration_information.rb} +189 -201
  85. data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → payments_products_service_fee_configuration_information_configurations.rb} +266 -292
  86. data/lib/cybersource_rest_client/models/{kms_v2_keys_sym_deletes_post200_response_key_information.rb → payments_products_service_fee_configuration_information_configurations_merchant_information.rb} +239 -234
  87. data/lib/cybersource_rest_client/models/{inline_response_400_8.rb → payments_products_service_fee_configuration_information_configurations_payment_information.rb} +280 -275
  88. data/lib/cybersource_rest_client/models/payments_products_service_fee_configuration_information_configurations_products.rb +190 -0
  89. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +284 -284
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +249 -249
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +765 -765
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_consumer_authentication.rb +212 -212
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +264 -264
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb +199 -199
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_orchestration.rb +192 -192
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +230 -230
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +223 -223
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +217 -217
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +18 -1
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +230 -230
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +196 -196
  106. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +232 -232
  107. data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +247 -247
  108. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +326 -326
  109. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +285 -285
  110. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +241 -241
  111. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
  112. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +196 -196
  113. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +453 -453
  114. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_line_items.rb +361 -361
  115. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_ship_to.rb +485 -485
  116. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +366 -366
  117. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1075 -1075
  118. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +416 -416
  119. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +196 -196
  120. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +464 -464
  121. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +405 -405
  122. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +641 -641
  123. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_order.rb +332 -332
  124. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +286 -286
  125. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +444 -444
  126. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +699 -699
  127. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +496 -496
  128. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +346 -346
  129. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_account_reference.rb +196 -196
  130. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
  131. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +633 -633
  132. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +704 -704
  133. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +467 -456
  134. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +213 -213
  135. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +205 -205
  136. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +72 -4
  137. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +298 -0
  138. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +332 -332
  139. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
  140. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +267 -267
  141. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +287 -287
  142. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +206 -206
  143. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +362 -362
  144. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +257 -257
  145. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +502 -502
  146. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +299 -299
  147. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +342 -342
  148. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +192 -192
  149. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +213 -213
  150. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +287 -287
  151. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +234 -234
  152. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +286 -286
  153. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +301 -301
  154. data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +190 -190
  155. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +269 -280
  156. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +80 -1
  157. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +279 -290
  158. data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response_1.rb +235 -235
  159. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +840 -840
  160. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +290 -290
  161. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +312 -337
  162. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +241 -258
  163. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
  164. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +434 -366
  165. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +497 -497
  166. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +219 -219
  167. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
  168. data/lib/cybersource_rest_client/models/{kmsv2keyssym_client_reference_information.rb → riskv1authenticationsetups_client_reference_information.rb} +240 -217
  169. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
  170. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +213 -213
  171. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +812 -820
  172. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +223 -223
  173. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +416 -416
  174. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
  175. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +314 -314
  176. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +196 -196
  177. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +207 -207
  178. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +200 -200
  179. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +196 -196
  180. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +236 -236
  181. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +292 -292
  182. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +349 -349
  183. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +222 -222
  184. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +383 -383
  185. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +241 -241
  186. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +231 -231
  187. data/lib/cybersource_rest_client/models/validate_request.rb +249 -249
  188. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +196 -196
  189. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +403 -403
  190. data/lib/cybersource_rest_client/utilities/tracking/sdk_tracker.rb +0 -5
  191. data/lib/cybersource_rest_client.rb +24 -57
  192. metadata +26 -59
  193. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +0 -307
  194. data/lib/cybersource_rest_client/api/key_management_api.rb +0 -120
  195. data/lib/cybersource_rest_client/api/key_management_password_api.rb +0 -98
  196. data/lib/cybersource_rest_client/api/key_management_pgp_api.rb +0 -98
  197. data/lib/cybersource_rest_client/api/key_management_scmp_api.rb +0 -98
  198. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +0 -308
  199. data/lib/cybersource_rest_client/models/create_p12_keys_request.rb +0 -201
  200. data/lib/cybersource_rest_client/models/create_shared_secret_keys_request.rb +0 -201
  201. data/lib/cybersource_rest_client/models/create_shared_secret_keys_verifi_request.rb +0 -201
  202. data/lib/cybersource_rest_client/models/delete_bulk_p12_keys_request.rb +0 -201
  203. data/lib/cybersource_rest_client/models/delete_bulk_symmetric_keys_request.rb +0 -201
  204. data/lib/cybersource_rest_client/models/inline_response_200_1_keys.rb +0 -323
  205. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +0 -269
  206. data/lib/cybersource_rest_client/models/inline_response_500_3.rb +0 -257
  207. data/lib/cybersource_rest_client/models/inline_response_502_1.rb +0 -234
  208. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response.rb +0 -212
  209. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +0 -245
  210. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +0 -267
  211. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response.rb +0 -235
  212. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_certificate_information.rb +0 -223
  213. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +0 -278
  214. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response.rb +0 -223
  215. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response.rb +0 -211
  216. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response_key_information.rb +0 -245
  217. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response.rb +0 -223
  218. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_error_information.rb +0 -202
  219. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +0 -284
  220. data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +0 -223
  221. data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +0 -207
  222. data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +0 -223
  223. data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +0 -254
  224. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +0 -290
  225. data/lib/cybersource_rest_client/models/update_asym_keys_request.rb +0 -211
  226. data/lib/cybersource_rest_client/models/update_password_keys_request.rb +0 -211
  227. data/lib/cybersource_rest_client/models/update_pgp_keys_request.rb +0 -211
  228. data/lib/cybersource_rest_client/models/update_pgp_keys_request_1.rb +0 -234
@@ -1,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).
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
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