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,840 +1,840 @@
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 RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation
16
- # JSON Web Token (JWT) used to authenticate the consumer with the authentication provider, such as, CardinalCommerce or Rupay. Note - Max Length of this field is 2048 characters.
17
- attr_accessor :access_token
18
-
19
- # Identifies the UI Type the ACS will use to complete the challenge. **NOTE**: Only available for App transactions using the Cardinal Mobile SDK.
20
- attr_accessor :acs_rendering_type
21
-
22
- # Unique transaction identifier assigned by the ACS to identify a single transaction.
23
- attr_accessor :acs_transaction_id
24
-
25
- # URL for the card-issuing bank's authentication form that you receive when the card is enrolled. The value can be very large.
26
- attr_accessor :acs_url
27
-
28
- # Indicates what displays to the customer during the authentication process. This field can contain one of these values: - `ADS`: (Card not enrolled) customer prompted to activate the card during the checkout process. - `ATTEMPTS`: (Attempts processing) Processing briefly displays before the checkout process is completed. - `ENROLLED`: (Card enrolled) the card issuer's authentication window displays. - `UNKNOWN`: Card enrollment status cannot be determined. - `NOREDIRECT`: (Card not enrolled, authentication unavailable, or error occurred) nothing displays to the customer. The following values can be returned if you are using rules-based payer authentication. - `RIBA`: The card-issuing bank supports risk-based authentication, but whether the cardholder is likely to be challenged cannot be determined. - `RIBA_PASS`: The card-issuing bank supports risk-based authentication and it is likely that the cardholder will not be challenged to provide credentials, also known as _silent authentication_.
29
- attr_accessor :authentication_path
30
-
31
- # The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
32
- attr_accessor :authorization_payload
33
-
34
- # 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.
35
- attr_accessor :authentication_type
36
-
37
- # Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.
38
- attr_accessor :authentication_transaction_id
39
-
40
- # Payer authentication transaction identifier passed to link the validation and authorization calls.
41
- attr_accessor :authentication_transaction_context_id
42
-
43
- # Describes validity of OTP in minutes for incoming transaction. .
44
- attr_accessor :validity_period
45
-
46
- # Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example, \"Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.\". The Issuing Bank can optionally support this value.
47
- attr_accessor :cardholder_message
48
-
49
- # Unique identifier generated by the card-issuing bank for Visa, American Express, JCB, Diners Club, and Discover transactions after the customer is authenticated. The value is in base64. When you request the card authorization service, CyberSource automatically converts the value, not the field name, to the format required by your payment processor.
50
- attr_accessor :cavv
51
-
52
- # Field that is returned only when the CAVV is generated, which occurs when paresStatus contains the values Y (successful authentication) or A (attempted authentication). If you use the ATOS processor, send the value of this field in the `cavv_algorithm` request field of the authorization service. This field contains one of these values: - `2`: Visa, American Express, JCB, Diners Club, and Discover - `3`: Mastercard
53
- attr_accessor :cavv_algorithm
54
-
55
- # An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK
56
- attr_accessor :challenge_cancel_code
57
-
58
- # Indicates whether a challenge is required in order to complete authentication. **Note** Regional mandates might determine that a challenge is required. Possible values: - `Y`: Challenge required - `N`: Challenge not required **Note** Used by the Hybrid integration.
59
- attr_accessor :challenge_required
60
-
61
- # 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
62
- attr_accessor :decoupled_authentication_indicator
63
-
64
- # The directory server error code indicating a problem with this transaction. Note - Max Length of this field is typically 3 characters.
65
- attr_accessor :directory_server_error_code
66
-
67
- # Directory server text and additional detail about the error for this transaction.
68
- attr_accessor :directory_server_error_description
69
-
70
- # Commerce indicator for cards not enrolled. This field contains one of these values: - `internet`: Card not enrolled, or card type not supported by payer authentication. No liability shift. - `js_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `js_failure`: J/Secure directory service is not available. No liability shift. - `spa`: Mastercard card not enrolled in the SecureCode program. No liability shift. - `vbv_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `vbv_failure`: For payment processor Barclays, Streamline, AIBMS, or FDC Germany, you receive this result if Visa's directory service is not available. No liability shift.
71
- attr_accessor :ecommerce_indicator
72
-
73
- # Note This field applies only to non-U.S-issued cards. For enroll, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions when the card is not enrolled. For more information, see \"Interpreting the Reply,\" page 22. If you are not using the CyberSource payment services, you must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values: - `06`: The card can be enrolled. Liability shift. - `07`: The card cannot be enrolled. No liability shift. For validate, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions. The field is absent when authentication fails. You must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values: - `05`: Successful authentication - `06`: Authentication attempted - `07`: Failed authentication (No response from the merchant because of a problem.)
74
- attr_accessor :eci
75
-
76
- # ECI value that can be returned for Visa, Mastercard, American Express, JCB, Diners Club, and Discover. The field is absent when authentication fails. If your payment processor is Streamline, you must pass the value of this field instead of the value of `eci` or `ucafCollectionIndicator`. This field can contain one of these values: - `01`: Authentication attempted (Mastercard) - `02`: Successful authentication (Mastercard) - `05`: Successful authentication (Visa, American Express, JCB, Diners Club, and Discover) - `06`: Authentication attempted (Visa, American Express, JCB, Diners Club, and Discover)
77
- attr_accessor :eci_raw
78
-
79
- # 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).
80
- attr_accessor :effective_authentication_type
81
-
82
- # Payer authentication exemption indicator for Carte Bancaire exemptions. This is used with unbundled authentication and authorizations calls, for example: \"low fraud merchant program\". The value returned in this field should be passed in the authorization request under the field - `consumerAuthenticationInformation.strongAuthentication.issuerInformation.exemptionDataRaw`.
83
- attr_accessor :exemption_data_raw
84
-
85
- attr_accessor :ivr
86
-
87
- # The global score calculated by the CB scoring platform and returned to merchants.
88
- attr_accessor :network_score
89
-
90
- # Payer authentication request (PAReq) message that you need to forward to the ACS. The value can be very large. The value is in base64.
91
- attr_accessor :pareq
92
-
93
- # Raw result of the authentication check. If you are configured for Asia, Middle East, and Africa Gateway Processing, you need to send the value of this field in your authorization request. This field can contain one of these values: - `A`: Proof of authentication attempt was generated. - `N`: Customer failed or canceled authentication. Transaction denied. - `U`: Authentication not completed regardless of the reason. - `Y`: Customer was successfully authenticated.
94
- attr_accessor :pares_status
95
-
96
- # Date and time of the enrollment check combined with the VEReq and VERes elements. If you ever need to show proof of enrollment checking, you may need to parse the string for the information required by the payment card company. The value can be very large. For cards issued in the U.S. or Canada, Visa may require this data for specific merchant category codes.For cards not issued in the U.S. or Canada, your bank may require this data as proof of enrollment checking for any payer authentication transaction that you re-present because of a chargeback.
97
- attr_accessor :proof_xml
98
-
99
- # Encrypted version of the card number used in the payer authentication request message.
100
- attr_accessor :proxy_pan
101
-
102
- # SDK unique transaction identifier that is generated on each new transaction.
103
- attr_accessor :sdk_transaction_id
104
-
105
- # Provides additional information as to why the PAResStatus has a specific value.
106
- attr_accessor :signed_pares_status_reason
107
-
108
- # This field contains the 3D Secure version that was used to process the transaction. For example: 2.2.0
109
- attr_accessor :specification_version
110
-
111
- # The fully qualified URL that the merchant uses to post a form to the cardholder in order to complete the Consumer Authentication transaction for the Cardinal Cruise API integration.
112
- attr_accessor :step_up_url
113
-
114
- # Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
115
- attr_accessor :three_ds_server_transaction_id
116
-
117
- # AAV is a unique identifier generated by the card-issuing bank for Mastercard Identity Check transactions after the customer is authenticated. The value is in base64. Include the data in the card authorization request.
118
- attr_accessor :ucaf_authentication_data
119
-
120
- # For enroll, Returned only for Mastercard transactions. Indicates that authentication is not required because the customer is not enrolled. Add the value of this field to the authorization field ucaf_collection_indicator. This field can contain these values: 0, 1. For validate, Numeric electronic commerce indicator (ECI) returned only for Mastercard Identity Check transactions. The field is absent when authentication fails. You must send this value to your payment processor in the request for card authorization. This field contain one of these values: - `0`: Authentication data not collected, and customer authentication was not completed. - `1`: Authentication data not collected because customer authentication was not completed. - `2`: Authentication data collected because customer completed authentication.
121
- attr_accessor :ucaf_collection_indicator
122
-
123
- # Result of the enrollment check. This field can contain one of these values: - `Y`: Card enrolled or can be enrolled; you must authenticate. Liability shift. - `N`: Card not enrolled; proceed with authorization. Liability shift. - `U`: Unable to authenticate regardless of the reason. No liability shift. **Note** This field only applies to the Asia, Middle East, and Africa Gateway. If you are configured for this processor, you must send the value of this field in your authorization request. The following value can be returned if you are using rules-based Payer Authentication: - `B`: Indicates that authentication was bypassed.
124
- attr_accessor :veres_enrolled
125
-
126
- # This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS
127
- attr_accessor :white_list_status_source
128
-
129
- # Transaction identifier generated by CyberSource for successful enrollment or validation checks. Use this value, which is in base64, to match an outgoing PAReq with an incoming PARes. CyberSource forwards the XID with the card authorization service to these payment processors in these cases: - Barclays - Streamline (when the **ecommerceIndicator**`=spa`)
130
- attr_accessor :xid
131
-
132
- # 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
133
- attr_accessor :directory_server_transaction_id
134
-
135
- # Directory Server assigned ACS identifier.
136
- attr_accessor :acs_operator_id
137
-
138
- # Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval.
139
- attr_accessor :acs_reference_number
140
-
141
- # Decision on the Risk Assessment from Mastercard.
142
- attr_accessor :idci_decision
143
-
144
- # ReasonCode from Mastercard
145
- attr_accessor :idci_reason_code1
146
-
147
- # ReasonCode from Mastercard
148
- attr_accessor :idci_reason_code2
149
-
150
- # Risk Assessment from Mastercard
151
- attr_accessor :idci_score
152
-
153
- # Attribute mapping from ruby-style variable name to JSON key.
154
- def self.attribute_map
155
- {
156
- :'access_token' => :'accessToken',
157
- :'acs_rendering_type' => :'acsRenderingType',
158
- :'acs_transaction_id' => :'acsTransactionId',
159
- :'acs_url' => :'acsUrl',
160
- :'authentication_path' => :'authenticationPath',
161
- :'authorization_payload' => :'authorizationPayload',
162
- :'authentication_type' => :'authenticationType',
163
- :'authentication_transaction_id' => :'authenticationTransactionId',
164
- :'authentication_transaction_context_id' => :'authenticationTransactionContextId',
165
- :'validity_period' => :'validityPeriod',
166
- :'cardholder_message' => :'cardholderMessage',
167
- :'cavv' => :'cavv',
168
- :'cavv_algorithm' => :'cavvAlgorithm',
169
- :'challenge_cancel_code' => :'challengeCancelCode',
170
- :'challenge_required' => :'challengeRequired',
171
- :'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
172
- :'directory_server_error_code' => :'directoryServerErrorCode',
173
- :'directory_server_error_description' => :'directoryServerErrorDescription',
174
- :'ecommerce_indicator' => :'ecommerceIndicator',
175
- :'eci' => :'eci',
176
- :'eci_raw' => :'eciRaw',
177
- :'effective_authentication_type' => :'effectiveAuthenticationType',
178
- :'exemption_data_raw' => :'exemptionDataRaw',
179
- :'ivr' => :'ivr',
180
- :'network_score' => :'networkScore',
181
- :'pareq' => :'pareq',
182
- :'pares_status' => :'paresStatus',
183
- :'proof_xml' => :'proofXml',
184
- :'proxy_pan' => :'proxyPan',
185
- :'sdk_transaction_id' => :'sdkTransactionId',
186
- :'signed_pares_status_reason' => :'signedParesStatusReason',
187
- :'specification_version' => :'specificationVersion',
188
- :'step_up_url' => :'stepUpUrl',
189
- :'three_ds_server_transaction_id' => :'threeDSServerTransactionId',
190
- :'ucaf_authentication_data' => :'ucafAuthenticationData',
191
- :'ucaf_collection_indicator' => :'ucafCollectionIndicator',
192
- :'veres_enrolled' => :'veresEnrolled',
193
- :'white_list_status_source' => :'whiteListStatusSource',
194
- :'xid' => :'xid',
195
- :'directory_server_transaction_id' => :'directoryServerTransactionId',
196
- :'acs_operator_id' => :'acsOperatorID',
197
- :'acs_reference_number' => :'acsReferenceNumber',
198
- :'idci_decision' => :'idciDecision',
199
- :'idci_reason_code1' => :'idciReasonCode1',
200
- :'idci_reason_code2' => :'idciReasonCode2',
201
- :'idci_score' => :'idciScore'
202
- }
203
- end
204
-
205
- # Attribute mapping from JSON key to ruby-style variable name.
206
- def self.json_map
207
- {
208
- :'access_token' => :'access_token',
209
- :'acs_rendering_type' => :'acs_rendering_type',
210
- :'acs_transaction_id' => :'acs_transaction_id',
211
- :'acs_url' => :'acs_url',
212
- :'authentication_path' => :'authentication_path',
213
- :'authorization_payload' => :'authorization_payload',
214
- :'authentication_type' => :'authentication_type',
215
- :'authentication_transaction_id' => :'authentication_transaction_id',
216
- :'authentication_transaction_context_id' => :'authentication_transaction_context_id',
217
- :'validity_period' => :'validity_period',
218
- :'cardholder_message' => :'cardholder_message',
219
- :'cavv' => :'cavv',
220
- :'cavv_algorithm' => :'cavv_algorithm',
221
- :'challenge_cancel_code' => :'challenge_cancel_code',
222
- :'challenge_required' => :'challenge_required',
223
- :'decoupled_authentication_indicator' => :'decoupled_authentication_indicator',
224
- :'directory_server_error_code' => :'directory_server_error_code',
225
- :'directory_server_error_description' => :'directory_server_error_description',
226
- :'ecommerce_indicator' => :'ecommerce_indicator',
227
- :'eci' => :'eci',
228
- :'eci_raw' => :'eci_raw',
229
- :'effective_authentication_type' => :'effective_authentication_type',
230
- :'exemption_data_raw' => :'exemption_data_raw',
231
- :'ivr' => :'ivr',
232
- :'network_score' => :'network_score',
233
- :'pareq' => :'pareq',
234
- :'pares_status' => :'pares_status',
235
- :'proof_xml' => :'proof_xml',
236
- :'proxy_pan' => :'proxy_pan',
237
- :'sdk_transaction_id' => :'sdk_transaction_id',
238
- :'signed_pares_status_reason' => :'signed_pares_status_reason',
239
- :'specification_version' => :'specification_version',
240
- :'step_up_url' => :'step_up_url',
241
- :'three_ds_server_transaction_id' => :'three_ds_server_transaction_id',
242
- :'ucaf_authentication_data' => :'ucaf_authentication_data',
243
- :'ucaf_collection_indicator' => :'ucaf_collection_indicator',
244
- :'veres_enrolled' => :'veres_enrolled',
245
- :'white_list_status_source' => :'white_list_status_source',
246
- :'xid' => :'xid',
247
- :'directory_server_transaction_id' => :'directory_server_transaction_id',
248
- :'acs_operator_id' => :'acs_operator_id',
249
- :'acs_reference_number' => :'acs_reference_number',
250
- :'idci_decision' => :'idci_decision',
251
- :'idci_reason_code1' => :'idci_reason_code1',
252
- :'idci_reason_code2' => :'idci_reason_code2',
253
- :'idci_score' => :'idci_score'
254
- }
255
- end
256
-
257
- # Attribute type mapping.
258
- def self.swagger_types
259
- {
260
- :'access_token' => :'String',
261
- :'acs_rendering_type' => :'String',
262
- :'acs_transaction_id' => :'String',
263
- :'acs_url' => :'String',
264
- :'authentication_path' => :'String',
265
- :'authorization_payload' => :'String',
266
- :'authentication_type' => :'String',
267
- :'authentication_transaction_id' => :'String',
268
- :'authentication_transaction_context_id' => :'String',
269
- :'validity_period' => :'Integer',
270
- :'cardholder_message' => :'String',
271
- :'cavv' => :'String',
272
- :'cavv_algorithm' => :'String',
273
- :'challenge_cancel_code' => :'String',
274
- :'challenge_required' => :'String',
275
- :'decoupled_authentication_indicator' => :'String',
276
- :'directory_server_error_code' => :'String',
277
- :'directory_server_error_description' => :'String',
278
- :'ecommerce_indicator' => :'String',
279
- :'eci' => :'String',
280
- :'eci_raw' => :'String',
281
- :'effective_authentication_type' => :'String',
282
- :'exemption_data_raw' => :'String',
283
- :'ivr' => :'PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr',
284
- :'network_score' => :'String',
285
- :'pareq' => :'String',
286
- :'pares_status' => :'String',
287
- :'proof_xml' => :'String',
288
- :'proxy_pan' => :'String',
289
- :'sdk_transaction_id' => :'String',
290
- :'signed_pares_status_reason' => :'String',
291
- :'specification_version' => :'String',
292
- :'step_up_url' => :'String',
293
- :'three_ds_server_transaction_id' => :'String',
294
- :'ucaf_authentication_data' => :'String',
295
- :'ucaf_collection_indicator' => :'String',
296
- :'veres_enrolled' => :'String',
297
- :'white_list_status_source' => :'String',
298
- :'xid' => :'String',
299
- :'directory_server_transaction_id' => :'String',
300
- :'acs_operator_id' => :'String',
301
- :'acs_reference_number' => :'String',
302
- :'idci_decision' => :'String',
303
- :'idci_reason_code1' => :'String',
304
- :'idci_reason_code2' => :'String',
305
- :'idci_score' => :'Integer'
306
- }
307
- end
308
-
309
- # Initializes the object
310
- # @param [Hash] attributes Model attributes in the form of hash
311
- def initialize(attributes = {})
312
- return unless attributes.is_a?(Hash)
313
-
314
- # convert string to symbol for hash key
315
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
316
-
317
- if attributes.has_key?(:'accessToken')
318
- self.access_token = attributes[:'accessToken']
319
- end
320
-
321
- if attributes.has_key?(:'acsRenderingType')
322
- self.acs_rendering_type = attributes[:'acsRenderingType']
323
- end
324
-
325
- if attributes.has_key?(:'acsTransactionId')
326
- self.acs_transaction_id = attributes[:'acsTransactionId']
327
- end
328
-
329
- if attributes.has_key?(:'acsUrl')
330
- self.acs_url = attributes[:'acsUrl']
331
- end
332
-
333
- if attributes.has_key?(:'authenticationPath')
334
- self.authentication_path = attributes[:'authenticationPath']
335
- end
336
-
337
- if attributes.has_key?(:'authorizationPayload')
338
- self.authorization_payload = attributes[:'authorizationPayload']
339
- end
340
-
341
- if attributes.has_key?(:'authenticationType')
342
- self.authentication_type = attributes[:'authenticationType']
343
- end
344
-
345
- if attributes.has_key?(:'authenticationTransactionId')
346
- self.authentication_transaction_id = attributes[:'authenticationTransactionId']
347
- end
348
-
349
- if attributes.has_key?(:'authenticationTransactionContextId')
350
- self.authentication_transaction_context_id = attributes[:'authenticationTransactionContextId']
351
- end
352
-
353
- if attributes.has_key?(:'validityPeriod')
354
- self.validity_period = attributes[:'validityPeriod']
355
- end
356
-
357
- if attributes.has_key?(:'cardholderMessage')
358
- self.cardholder_message = attributes[:'cardholderMessage']
359
- end
360
-
361
- if attributes.has_key?(:'cavv')
362
- self.cavv = attributes[:'cavv']
363
- end
364
-
365
- if attributes.has_key?(:'cavvAlgorithm')
366
- self.cavv_algorithm = attributes[:'cavvAlgorithm']
367
- end
368
-
369
- if attributes.has_key?(:'challengeCancelCode')
370
- self.challenge_cancel_code = attributes[:'challengeCancelCode']
371
- end
372
-
373
- if attributes.has_key?(:'challengeRequired')
374
- self.challenge_required = attributes[:'challengeRequired']
375
- end
376
-
377
- if attributes.has_key?(:'decoupledAuthenticationIndicator')
378
- self.decoupled_authentication_indicator = attributes[:'decoupledAuthenticationIndicator']
379
- end
380
-
381
- if attributes.has_key?(:'directoryServerErrorCode')
382
- self.directory_server_error_code = attributes[:'directoryServerErrorCode']
383
- end
384
-
385
- if attributes.has_key?(:'directoryServerErrorDescription')
386
- self.directory_server_error_description = attributes[:'directoryServerErrorDescription']
387
- end
388
-
389
- if attributes.has_key?(:'ecommerceIndicator')
390
- self.ecommerce_indicator = attributes[:'ecommerceIndicator']
391
- end
392
-
393
- if attributes.has_key?(:'eci')
394
- self.eci = attributes[:'eci']
395
- end
396
-
397
- if attributes.has_key?(:'eciRaw')
398
- self.eci_raw = attributes[:'eciRaw']
399
- end
400
-
401
- if attributes.has_key?(:'effectiveAuthenticationType')
402
- self.effective_authentication_type = attributes[:'effectiveAuthenticationType']
403
- end
404
-
405
- if attributes.has_key?(:'exemptionDataRaw')
406
- self.exemption_data_raw = attributes[:'exemptionDataRaw']
407
- end
408
-
409
- if attributes.has_key?(:'ivr')
410
- self.ivr = attributes[:'ivr']
411
- end
412
-
413
- if attributes.has_key?(:'networkScore')
414
- self.network_score = attributes[:'networkScore']
415
- end
416
-
417
- if attributes.has_key?(:'pareq')
418
- self.pareq = attributes[:'pareq']
419
- end
420
-
421
- if attributes.has_key?(:'paresStatus')
422
- self.pares_status = attributes[:'paresStatus']
423
- end
424
-
425
- if attributes.has_key?(:'proofXml')
426
- self.proof_xml = attributes[:'proofXml']
427
- end
428
-
429
- if attributes.has_key?(:'proxyPan')
430
- self.proxy_pan = attributes[:'proxyPan']
431
- end
432
-
433
- if attributes.has_key?(:'sdkTransactionId')
434
- self.sdk_transaction_id = attributes[:'sdkTransactionId']
435
- end
436
-
437
- if attributes.has_key?(:'signedParesStatusReason')
438
- self.signed_pares_status_reason = attributes[:'signedParesStatusReason']
439
- end
440
-
441
- if attributes.has_key?(:'specificationVersion')
442
- self.specification_version = attributes[:'specificationVersion']
443
- end
444
-
445
- if attributes.has_key?(:'stepUpUrl')
446
- self.step_up_url = attributes[:'stepUpUrl']
447
- end
448
-
449
- if attributes.has_key?(:'threeDSServerTransactionId')
450
- self.three_ds_server_transaction_id = attributes[:'threeDSServerTransactionId']
451
- end
452
-
453
- if attributes.has_key?(:'ucafAuthenticationData')
454
- self.ucaf_authentication_data = attributes[:'ucafAuthenticationData']
455
- end
456
-
457
- if attributes.has_key?(:'ucafCollectionIndicator')
458
- self.ucaf_collection_indicator = attributes[:'ucafCollectionIndicator']
459
- end
460
-
461
- if attributes.has_key?(:'veresEnrolled')
462
- self.veres_enrolled = attributes[:'veresEnrolled']
463
- end
464
-
465
- if attributes.has_key?(:'whiteListStatusSource')
466
- self.white_list_status_source = attributes[:'whiteListStatusSource']
467
- end
468
-
469
- if attributes.has_key?(:'xid')
470
- self.xid = attributes[:'xid']
471
- end
472
-
473
- if attributes.has_key?(:'directoryServerTransactionId')
474
- self.directory_server_transaction_id = attributes[:'directoryServerTransactionId']
475
- end
476
-
477
- if attributes.has_key?(:'acsOperatorID')
478
- self.acs_operator_id = attributes[:'acsOperatorID']
479
- end
480
-
481
- if attributes.has_key?(:'acsReferenceNumber')
482
- self.acs_reference_number = attributes[:'acsReferenceNumber']
483
- end
484
-
485
- if attributes.has_key?(:'idciDecision')
486
- self.idci_decision = attributes[:'idciDecision']
487
- end
488
-
489
- if attributes.has_key?(:'idciReasonCode1')
490
- self.idci_reason_code1 = attributes[:'idciReasonCode1']
491
- end
492
-
493
- if attributes.has_key?(:'idciReasonCode2')
494
- self.idci_reason_code2 = attributes[:'idciReasonCode2']
495
- end
496
-
497
- if attributes.has_key?(:'idciScore')
498
- self.idci_score = attributes[:'idciScore']
499
- end
500
- end
501
-
502
- # Show invalid properties with the reasons. Usually used together with valid?
503
- # @return Array for valid properties with the reasons
504
- def list_invalid_properties
505
- invalid_properties = Array.new
506
- invalid_properties
507
- end
508
-
509
- # Check to see if the all the properties in the model are valid
510
- # @return true if the model is valid
511
- def valid?
512
- true
513
- end
514
-
515
- # Custom attribute writer method with validation
516
- # @param [Object] acs_transaction_id Value to be assigned
517
- def acs_transaction_id=(acs_transaction_id)
518
- @acs_transaction_id = acs_transaction_id
519
- end
520
-
521
- # Custom attribute writer method with validation
522
- # @param [Object] acs_url Value to be assigned
523
- def acs_url=(acs_url)
524
- @acs_url = acs_url
525
- end
526
-
527
- # Custom attribute writer method with validation
528
- # @param [Object] authentication_type Value to be assigned
529
- def authentication_type=(authentication_type)
530
- @authentication_type = authentication_type
531
- end
532
-
533
- # Custom attribute writer method with validation
534
- # @param [Object] authentication_transaction_id Value to be assigned
535
- def authentication_transaction_id=(authentication_transaction_id)
536
- @authentication_transaction_id = authentication_transaction_id
537
- end
538
-
539
- # Custom attribute writer method with validation
540
- # @param [Object] authentication_transaction_context_id Value to be assigned
541
- def authentication_transaction_context_id=(authentication_transaction_context_id)
542
- @authentication_transaction_context_id = authentication_transaction_context_id
543
- end
544
-
545
- # Custom attribute writer method with validation
546
- # @param [Object] cardholder_message Value to be assigned
547
- def cardholder_message=(cardholder_message)
548
- @cardholder_message = cardholder_message
549
- end
550
-
551
- # Custom attribute writer method with validation
552
- # @param [Object] cavv Value to be assigned
553
- def cavv=(cavv)
554
- @cavv = cavv
555
- end
556
-
557
- # Custom attribute writer method with validation
558
- # @param [Object] cavv_algorithm Value to be assigned
559
- def cavv_algorithm=(cavv_algorithm)
560
- @cavv_algorithm = cavv_algorithm
561
- end
562
-
563
- # Custom attribute writer method with validation
564
- # @param [Object] challenge_cancel_code Value to be assigned
565
- def challenge_cancel_code=(challenge_cancel_code)
566
- @challenge_cancel_code = challenge_cancel_code
567
- end
568
-
569
- # Custom attribute writer method with validation
570
- # @param [Object] challenge_required Value to be assigned
571
- def challenge_required=(challenge_required)
572
- @challenge_required = challenge_required
573
- end
574
-
575
- # Custom attribute writer method with validation
576
- # @param [Object] decoupled_authentication_indicator Value to be assigned
577
- def decoupled_authentication_indicator=(decoupled_authentication_indicator)
578
- @decoupled_authentication_indicator = decoupled_authentication_indicator
579
- end
580
-
581
- # Custom attribute writer method with validation
582
- # @param [Object] directory_server_error_description Value to be assigned
583
- def directory_server_error_description=(directory_server_error_description)
584
- @directory_server_error_description = directory_server_error_description
585
- end
586
-
587
- # Custom attribute writer method with validation
588
- # @param [Object] ecommerce_indicator Value to be assigned
589
- def ecommerce_indicator=(ecommerce_indicator)
590
- @ecommerce_indicator = ecommerce_indicator
591
- end
592
-
593
- # Custom attribute writer method with validation
594
- # @param [Object] effective_authentication_type Value to be assigned
595
- def effective_authentication_type=(effective_authentication_type)
596
- @effective_authentication_type = effective_authentication_type
597
- end
598
-
599
- # Custom attribute writer method with validation
600
- # @param [Object] exemption_data_raw Value to be assigned
601
- def exemption_data_raw=(exemption_data_raw)
602
- @exemption_data_raw = exemption_data_raw
603
- end
604
-
605
- # Custom attribute writer method with validation
606
- # @param [Object] network_score Value to be assigned
607
- def network_score=(network_score)
608
- @network_score = network_score
609
- end
610
-
611
- # Custom attribute writer method with validation
612
- # @param [Object] sdk_transaction_id Value to be assigned
613
- def sdk_transaction_id=(sdk_transaction_id)
614
- @sdk_transaction_id = sdk_transaction_id
615
- end
616
-
617
- # Custom attribute writer method with validation
618
- # @param [Object] signed_pares_status_reason Value to be assigned
619
- def signed_pares_status_reason=(signed_pares_status_reason)
620
- @signed_pares_status_reason = signed_pares_status_reason
621
- end
622
-
623
- # Custom attribute writer method with validation
624
- # @param [Object] step_up_url Value to be assigned
625
- def step_up_url=(step_up_url)
626
- @step_up_url = step_up_url
627
- end
628
-
629
- # Custom attribute writer method with validation
630
- # @param [Object] three_ds_server_transaction_id Value to be assigned
631
- def three_ds_server_transaction_id=(three_ds_server_transaction_id)
632
- @three_ds_server_transaction_id = three_ds_server_transaction_id
633
- end
634
-
635
- # Custom attribute writer method with validation
636
- # @param [Object] white_list_status_source Value to be assigned
637
- def white_list_status_source=(white_list_status_source)
638
- @white_list_status_source = white_list_status_source
639
- end
640
-
641
- # Custom attribute writer method with validation
642
- # @param [Object] directory_server_transaction_id Value to be assigned
643
- def directory_server_transaction_id=(directory_server_transaction_id)
644
- @directory_server_transaction_id = directory_server_transaction_id
645
- end
646
-
647
- # Custom attribute writer method with validation
648
- # @param [Object] acs_reference_number Value to be assigned
649
- def acs_reference_number=(acs_reference_number)
650
- @acs_reference_number = acs_reference_number
651
- end
652
-
653
- # Custom attribute writer method with validation
654
- # @param [Object] idci_decision Value to be assigned
655
- def idci_decision=(idci_decision)
656
- @idci_decision = idci_decision
657
- end
658
-
659
- # Custom attribute writer method with validation
660
- # @param [Object] idci_reason_code1 Value to be assigned
661
- def idci_reason_code1=(idci_reason_code1)
662
- @idci_reason_code1 = idci_reason_code1
663
- end
664
-
665
- # Custom attribute writer method with validation
666
- # @param [Object] idci_reason_code2 Value to be assigned
667
- def idci_reason_code2=(idci_reason_code2)
668
- @idci_reason_code2 = idci_reason_code2
669
- end
670
-
671
- # Checks equality by comparing each attribute.
672
- # @param [Object] Object to be compared
673
- def ==(o)
674
- return true if self.equal?(o)
675
- self.class == o.class &&
676
- access_token == o.access_token &&
677
- acs_rendering_type == o.acs_rendering_type &&
678
- acs_transaction_id == o.acs_transaction_id &&
679
- acs_url == o.acs_url &&
680
- authentication_path == o.authentication_path &&
681
- authorization_payload == o.authorization_payload &&
682
- authentication_type == o.authentication_type &&
683
- authentication_transaction_id == o.authentication_transaction_id &&
684
- authentication_transaction_context_id == o.authentication_transaction_context_id &&
685
- validity_period == o.validity_period &&
686
- cardholder_message == o.cardholder_message &&
687
- cavv == o.cavv &&
688
- cavv_algorithm == o.cavv_algorithm &&
689
- challenge_cancel_code == o.challenge_cancel_code &&
690
- challenge_required == o.challenge_required &&
691
- decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
692
- directory_server_error_code == o.directory_server_error_code &&
693
- directory_server_error_description == o.directory_server_error_description &&
694
- ecommerce_indicator == o.ecommerce_indicator &&
695
- eci == o.eci &&
696
- eci_raw == o.eci_raw &&
697
- effective_authentication_type == o.effective_authentication_type &&
698
- exemption_data_raw == o.exemption_data_raw &&
699
- ivr == o.ivr &&
700
- network_score == o.network_score &&
701
- pareq == o.pareq &&
702
- pares_status == o.pares_status &&
703
- proof_xml == o.proof_xml &&
704
- proxy_pan == o.proxy_pan &&
705
- sdk_transaction_id == o.sdk_transaction_id &&
706
- signed_pares_status_reason == o.signed_pares_status_reason &&
707
- specification_version == o.specification_version &&
708
- step_up_url == o.step_up_url &&
709
- three_ds_server_transaction_id == o.three_ds_server_transaction_id &&
710
- ucaf_authentication_data == o.ucaf_authentication_data &&
711
- ucaf_collection_indicator == o.ucaf_collection_indicator &&
712
- veres_enrolled == o.veres_enrolled &&
713
- white_list_status_source == o.white_list_status_source &&
714
- xid == o.xid &&
715
- directory_server_transaction_id == o.directory_server_transaction_id &&
716
- acs_operator_id == o.acs_operator_id &&
717
- acs_reference_number == o.acs_reference_number &&
718
- idci_decision == o.idci_decision &&
719
- idci_reason_code1 == o.idci_reason_code1 &&
720
- idci_reason_code2 == o.idci_reason_code2 &&
721
- idci_score == o.idci_score
722
- end
723
-
724
- # @see the `==` method
725
- # @param [Object] Object to be compared
726
- def eql?(o)
727
- self == o
728
- end
729
-
730
- # Calculates hash code according to all attributes.
731
- # @return [Fixnum] Hash code
732
- def hash
733
- [access_token, acs_rendering_type, acs_transaction_id, acs_url, authentication_path, authorization_payload, authentication_type, authentication_transaction_id, authentication_transaction_context_id, validity_period, cardholder_message, cavv, cavv_algorithm, challenge_cancel_code, challenge_required, decoupled_authentication_indicator, directory_server_error_code, directory_server_error_description, ecommerce_indicator, eci, eci_raw, effective_authentication_type, exemption_data_raw, ivr, network_score, pareq, pares_status, proof_xml, proxy_pan, sdk_transaction_id, signed_pares_status_reason, specification_version, step_up_url, three_ds_server_transaction_id, ucaf_authentication_data, ucaf_collection_indicator, veres_enrolled, white_list_status_source, xid, directory_server_transaction_id, acs_operator_id, acs_reference_number, idci_decision, idci_reason_code1, idci_reason_code2, idci_score].hash
734
- end
735
-
736
- # Builds the object from hash
737
- # @param [Hash] attributes Model attributes in the form of hash
738
- # @return [Object] Returns the model itself
739
- def build_from_hash(attributes)
740
- return nil unless attributes.is_a?(Hash)
741
- self.class.swagger_types.each_pair do |key, type|
742
- if type =~ /\AArray<(.*)>/i
743
- # check to ensure the input is an array given that the the attribute
744
- # is documented as an array but the input is not
745
- if attributes[self.class.attribute_map[key]].is_a?(Array)
746
- self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
747
- end
748
- elsif !attributes[self.class.attribute_map[key]].nil?
749
- self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
750
- end # or else data not found in attributes(hash), not an issue as the data can be optional
751
- end
752
-
753
- self
754
- end
755
-
756
- # Deserializes the data based on type
757
- # @param string type Data type
758
- # @param string value Value to be deserialized
759
- # @return [Object] Deserialized data
760
- def _deserialize(type, value)
761
- case type.to_sym
762
- when :DateTime
763
- DateTime.parse(value)
764
- when :Date
765
- Date.parse(value)
766
- when :String
767
- value.to_s
768
- when :Integer
769
- value.to_i
770
- when :Float
771
- value.to_f
772
- when :BOOLEAN
773
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
774
- true
775
- else
776
- false
777
- end
778
- when :Object
779
- # generic object (usually a Hash), return directly
780
- value
781
- when /\AArray<(?<inner_type>.+)>\z/
782
- inner_type = Regexp.last_match[:inner_type]
783
- value.map { |v| _deserialize(inner_type, v) }
784
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
785
- k_type = Regexp.last_match[:k_type]
786
- v_type = Regexp.last_match[:v_type]
787
- {}.tap do |hash|
788
- value.each do |k, v|
789
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
790
- end
791
- end
792
- else # model
793
- temp_model = CyberSource.const_get(type).new
794
- temp_model.build_from_hash(value)
795
- end
796
- end
797
-
798
- # Returns the string representation of the object
799
- # @return [String] String presentation of the object
800
- def to_s
801
- to_hash.to_s
802
- end
803
-
804
- # to_body is an alias to to_hash (backward compatibility)
805
- # @return [Hash] Returns the object in the form of hash
806
- def to_body
807
- to_hash
808
- end
809
-
810
- # Returns the object in the form of hash
811
- # @return [Hash] Returns the object in the form of hash
812
- def to_hash
813
- hash = {}
814
- self.class.attribute_map.each_pair do |attr, param|
815
- value = self.send(attr)
816
- next if value.nil?
817
- hash[param] = _to_hash(value)
818
- end
819
- hash
820
- end
821
-
822
- # Outputs non-array value in the form of hash
823
- # For object, use to_hash. Otherwise, just return the value
824
- # @param [Object] value Any valid value
825
- # @return [Hash] Returns the value in the form of hash
826
- def _to_hash(value)
827
- if value.is_a?(Array)
828
- value.compact.map { |v| _to_hash(v) }
829
- elsif value.is_a?(Hash)
830
- {}.tap do |hash|
831
- value.each { |k, v| hash[k] = _to_hash(v) }
832
- end
833
- elsif value.respond_to? :to_hash
834
- value.to_hash
835
- else
836
- value
837
- end
838
- end
839
- end
840
- 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 RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation
16
+ # JSON Web Token (JWT) used to authenticate the consumer with the authentication provider, such as, CardinalCommerce or Rupay. Note - Max Length of this field is 2048 characters.
17
+ attr_accessor :access_token
18
+
19
+ # Identifies the UI Type the ACS will use to complete the challenge. **NOTE**: Only available for App transactions using the Cardinal Mobile SDK.
20
+ attr_accessor :acs_rendering_type
21
+
22
+ # Unique transaction identifier assigned by the ACS to identify a single transaction.
23
+ attr_accessor :acs_transaction_id
24
+
25
+ # URL for the card-issuing bank's authentication form that you receive when the card is enrolled. The value can be very large.
26
+ attr_accessor :acs_url
27
+
28
+ # Indicates what displays to the customer during the authentication process. This field can contain one of these values: - `ADS`: (Card not enrolled) customer prompted to activate the card during the checkout process. - `ATTEMPTS`: (Attempts processing) Processing briefly displays before the checkout process is completed. - `ENROLLED`: (Card enrolled) the card issuer's authentication window displays. - `UNKNOWN`: Card enrollment status cannot be determined. - `NOREDIRECT`: (Card not enrolled, authentication unavailable, or error occurred) nothing displays to the customer. The following values can be returned if you are using rules-based payer authentication. - `RIBA`: The card-issuing bank supports risk-based authentication, but whether the cardholder is likely to be challenged cannot be determined. - `RIBA_PASS`: The card-issuing bank supports risk-based authentication and it is likely that the cardholder will not be challenged to provide credentials, also known as _silent authentication_.
29
+ attr_accessor :authentication_path
30
+
31
+ # The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
32
+ attr_accessor :authorization_payload
33
+
34
+ # 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.
35
+ attr_accessor :authentication_type
36
+
37
+ # Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case.
38
+ attr_accessor :authentication_transaction_id
39
+
40
+ # Payer authentication transaction identifier passed to link the validation and authorization calls.
41
+ attr_accessor :authentication_transaction_context_id
42
+
43
+ # Describes validity of OTP in minutes for incoming transaction. .
44
+ attr_accessor :validity_period
45
+
46
+ # Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example, \"Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.\". The Issuing Bank can optionally support this value.
47
+ attr_accessor :cardholder_message
48
+
49
+ # Unique identifier generated by the card-issuing bank for Visa, American Express, JCB, Diners Club, and Discover transactions after the customer is authenticated. The value is in base64. When you request the card authorization service, CyberSource automatically converts the value, not the field name, to the format required by your payment processor.
50
+ attr_accessor :cavv
51
+
52
+ # Field that is returned only when the CAVV is generated, which occurs when paresStatus contains the values Y (successful authentication) or A (attempted authentication). If you use the ATOS processor, send the value of this field in the `cavv_algorithm` request field of the authorization service. This field contains one of these values: - `2`: Visa, American Express, JCB, Diners Club, and Discover - `3`: Mastercard
53
+ attr_accessor :cavv_algorithm
54
+
55
+ # An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK
56
+ attr_accessor :challenge_cancel_code
57
+
58
+ # Indicates whether a challenge is required in order to complete authentication. **Note** Regional mandates might determine that a challenge is required. Possible values: - `Y`: Challenge required - `N`: Challenge not required **Note** Used by the Hybrid integration.
59
+ attr_accessor :challenge_required
60
+
61
+ # 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
62
+ attr_accessor :decoupled_authentication_indicator
63
+
64
+ # The directory server error code indicating a problem with this transaction. Note - Max Length of this field is typically 3 characters.
65
+ attr_accessor :directory_server_error_code
66
+
67
+ # Directory server text and additional detail about the error for this transaction.
68
+ attr_accessor :directory_server_error_description
69
+
70
+ # Commerce indicator for cards not enrolled. This field contains one of these values: - `internet`: Card not enrolled, or card type not supported by payer authentication. No liability shift. - `js_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `js_failure`: J/Secure directory service is not available. No liability shift. - `spa`: Mastercard card not enrolled in the SecureCode program. No liability shift. - `vbv_attempted`: Card not enrolled, but attempt to authenticate is recorded. Liability shift. - `vbv_failure`: For payment processor Barclays, Streamline, AIBMS, or FDC Germany, you receive this result if Visa's directory service is not available. No liability shift.
71
+ attr_accessor :ecommerce_indicator
72
+
73
+ # Note This field applies only to non-U.S-issued cards. For enroll, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions when the card is not enrolled. For more information, see \"Interpreting the Reply,\" page 22. If you are not using the CyberSource payment services, you must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values: - `06`: The card can be enrolled. Liability shift. - `07`: The card cannot be enrolled. No liability shift. For validate, Numeric electronic commerce indicator (ECI) returned only for Visa, American Express, JCB, Diners Club, and Discover transactions. The field is absent when authentication fails. You must send this value to your payment processor in the subsequent request for card authorization. This field contains one of these values: - `05`: Successful authentication - `06`: Authentication attempted - `07`: Failed authentication (No response from the merchant because of a problem.)
74
+ attr_accessor :eci
75
+
76
+ # ECI value that can be returned for Visa, Mastercard, American Express, JCB, Diners Club, and Discover. The field is absent when authentication fails. If your payment processor is Streamline, you must pass the value of this field instead of the value of `eci` or `ucafCollectionIndicator`. This field can contain one of these values: - `01`: Authentication attempted (Mastercard) - `02`: Successful authentication (Mastercard) - `05`: Successful authentication (Visa, American Express, JCB, Diners Club, and Discover) - `06`: Authentication attempted (Visa, American Express, JCB, Diners Club, and Discover)
77
+ attr_accessor :eci_raw
78
+
79
+ # 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).
80
+ attr_accessor :effective_authentication_type
81
+
82
+ # Payer authentication exemption indicator for Carte Bancaire exemptions. This is used with unbundled authentication and authorizations calls, for example: \"low fraud merchant program\". The value returned in this field should be passed in the authorization request under the field - `consumerAuthenticationInformation.strongAuthentication.issuerInformation.exemptionDataRaw`.
83
+ attr_accessor :exemption_data_raw
84
+
85
+ attr_accessor :ivr
86
+
87
+ # The global score calculated by the CB scoring platform and returned to merchants.
88
+ attr_accessor :network_score
89
+
90
+ # Payer authentication request (PAReq) message that you need to forward to the ACS. The value can be very large. The value is in base64.
91
+ attr_accessor :pareq
92
+
93
+ # Raw result of the authentication check. If you are configured for Asia, Middle East, and Africa Gateway Processing, you need to send the value of this field in your authorization request. This field can contain one of these values: - `A`: Proof of authentication attempt was generated. - `N`: Customer failed or canceled authentication. Transaction denied. - `U`: Authentication not completed regardless of the reason. - `Y`: Customer was successfully authenticated.
94
+ attr_accessor :pares_status
95
+
96
+ # Date and time of the enrollment check combined with the VEReq and VERes elements. If you ever need to show proof of enrollment checking, you may need to parse the string for the information required by the payment card company. The value can be very large. For cards issued in the U.S. or Canada, Visa may require this data for specific merchant category codes.For cards not issued in the U.S. or Canada, your bank may require this data as proof of enrollment checking for any payer authentication transaction that you re-present because of a chargeback.
97
+ attr_accessor :proof_xml
98
+
99
+ # Encrypted version of the card number used in the payer authentication request message.
100
+ attr_accessor :proxy_pan
101
+
102
+ # SDK unique transaction identifier that is generated on each new transaction.
103
+ attr_accessor :sdk_transaction_id
104
+
105
+ # Provides additional information as to why the PAResStatus has a specific value.
106
+ attr_accessor :signed_pares_status_reason
107
+
108
+ # This field contains the 3D Secure version that was used to process the transaction. For example: 2.2.0
109
+ attr_accessor :specification_version
110
+
111
+ # The fully qualified URL that the merchant uses to post a form to the cardholder in order to complete the Consumer Authentication transaction for the Cardinal Cruise API integration.
112
+ attr_accessor :step_up_url
113
+
114
+ # Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
115
+ attr_accessor :three_ds_server_transaction_id
116
+
117
+ # AAV is a unique identifier generated by the card-issuing bank for Mastercard Identity Check transactions after the customer is authenticated. The value is in base64. Include the data in the card authorization request.
118
+ attr_accessor :ucaf_authentication_data
119
+
120
+ # For enroll, Returned only for Mastercard transactions. Indicates that authentication is not required because the customer is not enrolled. Add the value of this field to the authorization field ucaf_collection_indicator. This field can contain these values: 0, 1. For validate, Numeric electronic commerce indicator (ECI) returned only for Mastercard Identity Check transactions. The field is absent when authentication fails. You must send this value to your payment processor in the request for card authorization. This field contain one of these values: - `0`: Authentication data not collected, and customer authentication was not completed. - `1`: Authentication data not collected because customer authentication was not completed. - `2`: Authentication data collected because customer completed authentication.
121
+ attr_accessor :ucaf_collection_indicator
122
+
123
+ # Result of the enrollment check. This field can contain one of these values: - `Y`: Card enrolled or can be enrolled; you must authenticate. Liability shift. - `N`: Card not enrolled; proceed with authorization. Liability shift. - `U`: Unable to authenticate regardless of the reason. No liability shift. **Note** This field only applies to the Asia, Middle East, and Africa Gateway. If you are configured for this processor, you must send the value of this field in your authorization request. The following value can be returned if you are using rules-based Payer Authentication: - `B`: Indicates that authentication was bypassed.
124
+ attr_accessor :veres_enrolled
125
+
126
+ # This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS
127
+ attr_accessor :white_list_status_source
128
+
129
+ # Transaction identifier generated by CyberSource for successful enrollment or validation checks. Use this value, which is in base64, to match an outgoing PAReq with an incoming PARes. CyberSource forwards the XID with the card authorization service to these payment processors in these cases: - Barclays - Streamline (when the **ecommerceIndicator**`=spa`)
130
+ attr_accessor :xid
131
+
132
+ # 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
133
+ attr_accessor :directory_server_transaction_id
134
+
135
+ # Directory Server assigned ACS identifier.
136
+ attr_accessor :acs_operator_id
137
+
138
+ # Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval.
139
+ attr_accessor :acs_reference_number
140
+
141
+ # Decision on the Risk Assessment from Mastercard.
142
+ attr_accessor :idci_decision
143
+
144
+ # ReasonCode from Mastercard
145
+ attr_accessor :idci_reason_code1
146
+
147
+ # ReasonCode from Mastercard
148
+ attr_accessor :idci_reason_code2
149
+
150
+ # Risk Assessment from Mastercard
151
+ attr_accessor :idci_score
152
+
153
+ # Attribute mapping from ruby-style variable name to JSON key.
154
+ def self.attribute_map
155
+ {
156
+ :'access_token' => :'accessToken',
157
+ :'acs_rendering_type' => :'acsRenderingType',
158
+ :'acs_transaction_id' => :'acsTransactionId',
159
+ :'acs_url' => :'acsUrl',
160
+ :'authentication_path' => :'authenticationPath',
161
+ :'authorization_payload' => :'authorizationPayload',
162
+ :'authentication_type' => :'authenticationType',
163
+ :'authentication_transaction_id' => :'authenticationTransactionId',
164
+ :'authentication_transaction_context_id' => :'authenticationTransactionContextId',
165
+ :'validity_period' => :'validityPeriod',
166
+ :'cardholder_message' => :'cardholderMessage',
167
+ :'cavv' => :'cavv',
168
+ :'cavv_algorithm' => :'cavvAlgorithm',
169
+ :'challenge_cancel_code' => :'challengeCancelCode',
170
+ :'challenge_required' => :'challengeRequired',
171
+ :'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
172
+ :'directory_server_error_code' => :'directoryServerErrorCode',
173
+ :'directory_server_error_description' => :'directoryServerErrorDescription',
174
+ :'ecommerce_indicator' => :'ecommerceIndicator',
175
+ :'eci' => :'eci',
176
+ :'eci_raw' => :'eciRaw',
177
+ :'effective_authentication_type' => :'effectiveAuthenticationType',
178
+ :'exemption_data_raw' => :'exemptionDataRaw',
179
+ :'ivr' => :'ivr',
180
+ :'network_score' => :'networkScore',
181
+ :'pareq' => :'pareq',
182
+ :'pares_status' => :'paresStatus',
183
+ :'proof_xml' => :'proofXml',
184
+ :'proxy_pan' => :'proxyPan',
185
+ :'sdk_transaction_id' => :'sdkTransactionId',
186
+ :'signed_pares_status_reason' => :'signedParesStatusReason',
187
+ :'specification_version' => :'specificationVersion',
188
+ :'step_up_url' => :'stepUpUrl',
189
+ :'three_ds_server_transaction_id' => :'threeDSServerTransactionId',
190
+ :'ucaf_authentication_data' => :'ucafAuthenticationData',
191
+ :'ucaf_collection_indicator' => :'ucafCollectionIndicator',
192
+ :'veres_enrolled' => :'veresEnrolled',
193
+ :'white_list_status_source' => :'whiteListStatusSource',
194
+ :'xid' => :'xid',
195
+ :'directory_server_transaction_id' => :'directoryServerTransactionId',
196
+ :'acs_operator_id' => :'acsOperatorID',
197
+ :'acs_reference_number' => :'acsReferenceNumber',
198
+ :'idci_decision' => :'idciDecision',
199
+ :'idci_reason_code1' => :'idciReasonCode1',
200
+ :'idci_reason_code2' => :'idciReasonCode2',
201
+ :'idci_score' => :'idciScore'
202
+ }
203
+ end
204
+
205
+ # Attribute mapping from JSON key to ruby-style variable name.
206
+ def self.json_map
207
+ {
208
+ :'access_token' => :'access_token',
209
+ :'acs_rendering_type' => :'acs_rendering_type',
210
+ :'acs_transaction_id' => :'acs_transaction_id',
211
+ :'acs_url' => :'acs_url',
212
+ :'authentication_path' => :'authentication_path',
213
+ :'authorization_payload' => :'authorization_payload',
214
+ :'authentication_type' => :'authentication_type',
215
+ :'authentication_transaction_id' => :'authentication_transaction_id',
216
+ :'authentication_transaction_context_id' => :'authentication_transaction_context_id',
217
+ :'validity_period' => :'validity_period',
218
+ :'cardholder_message' => :'cardholder_message',
219
+ :'cavv' => :'cavv',
220
+ :'cavv_algorithm' => :'cavv_algorithm',
221
+ :'challenge_cancel_code' => :'challenge_cancel_code',
222
+ :'challenge_required' => :'challenge_required',
223
+ :'decoupled_authentication_indicator' => :'decoupled_authentication_indicator',
224
+ :'directory_server_error_code' => :'directory_server_error_code',
225
+ :'directory_server_error_description' => :'directory_server_error_description',
226
+ :'ecommerce_indicator' => :'ecommerce_indicator',
227
+ :'eci' => :'eci',
228
+ :'eci_raw' => :'eci_raw',
229
+ :'effective_authentication_type' => :'effective_authentication_type',
230
+ :'exemption_data_raw' => :'exemption_data_raw',
231
+ :'ivr' => :'ivr',
232
+ :'network_score' => :'network_score',
233
+ :'pareq' => :'pareq',
234
+ :'pares_status' => :'pares_status',
235
+ :'proof_xml' => :'proof_xml',
236
+ :'proxy_pan' => :'proxy_pan',
237
+ :'sdk_transaction_id' => :'sdk_transaction_id',
238
+ :'signed_pares_status_reason' => :'signed_pares_status_reason',
239
+ :'specification_version' => :'specification_version',
240
+ :'step_up_url' => :'step_up_url',
241
+ :'three_ds_server_transaction_id' => :'three_ds_server_transaction_id',
242
+ :'ucaf_authentication_data' => :'ucaf_authentication_data',
243
+ :'ucaf_collection_indicator' => :'ucaf_collection_indicator',
244
+ :'veres_enrolled' => :'veres_enrolled',
245
+ :'white_list_status_source' => :'white_list_status_source',
246
+ :'xid' => :'xid',
247
+ :'directory_server_transaction_id' => :'directory_server_transaction_id',
248
+ :'acs_operator_id' => :'acs_operator_id',
249
+ :'acs_reference_number' => :'acs_reference_number',
250
+ :'idci_decision' => :'idci_decision',
251
+ :'idci_reason_code1' => :'idci_reason_code1',
252
+ :'idci_reason_code2' => :'idci_reason_code2',
253
+ :'idci_score' => :'idci_score'
254
+ }
255
+ end
256
+
257
+ # Attribute type mapping.
258
+ def self.swagger_types
259
+ {
260
+ :'access_token' => :'String',
261
+ :'acs_rendering_type' => :'String',
262
+ :'acs_transaction_id' => :'String',
263
+ :'acs_url' => :'String',
264
+ :'authentication_path' => :'String',
265
+ :'authorization_payload' => :'String',
266
+ :'authentication_type' => :'String',
267
+ :'authentication_transaction_id' => :'String',
268
+ :'authentication_transaction_context_id' => :'String',
269
+ :'validity_period' => :'Integer',
270
+ :'cardholder_message' => :'String',
271
+ :'cavv' => :'String',
272
+ :'cavv_algorithm' => :'String',
273
+ :'challenge_cancel_code' => :'String',
274
+ :'challenge_required' => :'String',
275
+ :'decoupled_authentication_indicator' => :'String',
276
+ :'directory_server_error_code' => :'String',
277
+ :'directory_server_error_description' => :'String',
278
+ :'ecommerce_indicator' => :'String',
279
+ :'eci' => :'String',
280
+ :'eci_raw' => :'String',
281
+ :'effective_authentication_type' => :'String',
282
+ :'exemption_data_raw' => :'String',
283
+ :'ivr' => :'PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationIvr',
284
+ :'network_score' => :'String',
285
+ :'pareq' => :'String',
286
+ :'pares_status' => :'String',
287
+ :'proof_xml' => :'String',
288
+ :'proxy_pan' => :'String',
289
+ :'sdk_transaction_id' => :'String',
290
+ :'signed_pares_status_reason' => :'String',
291
+ :'specification_version' => :'String',
292
+ :'step_up_url' => :'String',
293
+ :'three_ds_server_transaction_id' => :'String',
294
+ :'ucaf_authentication_data' => :'String',
295
+ :'ucaf_collection_indicator' => :'String',
296
+ :'veres_enrolled' => :'String',
297
+ :'white_list_status_source' => :'String',
298
+ :'xid' => :'String',
299
+ :'directory_server_transaction_id' => :'String',
300
+ :'acs_operator_id' => :'String',
301
+ :'acs_reference_number' => :'String',
302
+ :'idci_decision' => :'String',
303
+ :'idci_reason_code1' => :'String',
304
+ :'idci_reason_code2' => :'String',
305
+ :'idci_score' => :'Integer'
306
+ }
307
+ end
308
+
309
+ # Initializes the object
310
+ # @param [Hash] attributes Model attributes in the form of hash
311
+ def initialize(attributes = {})
312
+ return unless attributes.is_a?(Hash)
313
+
314
+ # convert string to symbol for hash key
315
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
316
+
317
+ if attributes.has_key?(:'accessToken')
318
+ self.access_token = attributes[:'accessToken']
319
+ end
320
+
321
+ if attributes.has_key?(:'acsRenderingType')
322
+ self.acs_rendering_type = attributes[:'acsRenderingType']
323
+ end
324
+
325
+ if attributes.has_key?(:'acsTransactionId')
326
+ self.acs_transaction_id = attributes[:'acsTransactionId']
327
+ end
328
+
329
+ if attributes.has_key?(:'acsUrl')
330
+ self.acs_url = attributes[:'acsUrl']
331
+ end
332
+
333
+ if attributes.has_key?(:'authenticationPath')
334
+ self.authentication_path = attributes[:'authenticationPath']
335
+ end
336
+
337
+ if attributes.has_key?(:'authorizationPayload')
338
+ self.authorization_payload = attributes[:'authorizationPayload']
339
+ end
340
+
341
+ if attributes.has_key?(:'authenticationType')
342
+ self.authentication_type = attributes[:'authenticationType']
343
+ end
344
+
345
+ if attributes.has_key?(:'authenticationTransactionId')
346
+ self.authentication_transaction_id = attributes[:'authenticationTransactionId']
347
+ end
348
+
349
+ if attributes.has_key?(:'authenticationTransactionContextId')
350
+ self.authentication_transaction_context_id = attributes[:'authenticationTransactionContextId']
351
+ end
352
+
353
+ if attributes.has_key?(:'validityPeriod')
354
+ self.validity_period = attributes[:'validityPeriod']
355
+ end
356
+
357
+ if attributes.has_key?(:'cardholderMessage')
358
+ self.cardholder_message = attributes[:'cardholderMessage']
359
+ end
360
+
361
+ if attributes.has_key?(:'cavv')
362
+ self.cavv = attributes[:'cavv']
363
+ end
364
+
365
+ if attributes.has_key?(:'cavvAlgorithm')
366
+ self.cavv_algorithm = attributes[:'cavvAlgorithm']
367
+ end
368
+
369
+ if attributes.has_key?(:'challengeCancelCode')
370
+ self.challenge_cancel_code = attributes[:'challengeCancelCode']
371
+ end
372
+
373
+ if attributes.has_key?(:'challengeRequired')
374
+ self.challenge_required = attributes[:'challengeRequired']
375
+ end
376
+
377
+ if attributes.has_key?(:'decoupledAuthenticationIndicator')
378
+ self.decoupled_authentication_indicator = attributes[:'decoupledAuthenticationIndicator']
379
+ end
380
+
381
+ if attributes.has_key?(:'directoryServerErrorCode')
382
+ self.directory_server_error_code = attributes[:'directoryServerErrorCode']
383
+ end
384
+
385
+ if attributes.has_key?(:'directoryServerErrorDescription')
386
+ self.directory_server_error_description = attributes[:'directoryServerErrorDescription']
387
+ end
388
+
389
+ if attributes.has_key?(:'ecommerceIndicator')
390
+ self.ecommerce_indicator = attributes[:'ecommerceIndicator']
391
+ end
392
+
393
+ if attributes.has_key?(:'eci')
394
+ self.eci = attributes[:'eci']
395
+ end
396
+
397
+ if attributes.has_key?(:'eciRaw')
398
+ self.eci_raw = attributes[:'eciRaw']
399
+ end
400
+
401
+ if attributes.has_key?(:'effectiveAuthenticationType')
402
+ self.effective_authentication_type = attributes[:'effectiveAuthenticationType']
403
+ end
404
+
405
+ if attributes.has_key?(:'exemptionDataRaw')
406
+ self.exemption_data_raw = attributes[:'exemptionDataRaw']
407
+ end
408
+
409
+ if attributes.has_key?(:'ivr')
410
+ self.ivr = attributes[:'ivr']
411
+ end
412
+
413
+ if attributes.has_key?(:'networkScore')
414
+ self.network_score = attributes[:'networkScore']
415
+ end
416
+
417
+ if attributes.has_key?(:'pareq')
418
+ self.pareq = attributes[:'pareq']
419
+ end
420
+
421
+ if attributes.has_key?(:'paresStatus')
422
+ self.pares_status = attributes[:'paresStatus']
423
+ end
424
+
425
+ if attributes.has_key?(:'proofXml')
426
+ self.proof_xml = attributes[:'proofXml']
427
+ end
428
+
429
+ if attributes.has_key?(:'proxyPan')
430
+ self.proxy_pan = attributes[:'proxyPan']
431
+ end
432
+
433
+ if attributes.has_key?(:'sdkTransactionId')
434
+ self.sdk_transaction_id = attributes[:'sdkTransactionId']
435
+ end
436
+
437
+ if attributes.has_key?(:'signedParesStatusReason')
438
+ self.signed_pares_status_reason = attributes[:'signedParesStatusReason']
439
+ end
440
+
441
+ if attributes.has_key?(:'specificationVersion')
442
+ self.specification_version = attributes[:'specificationVersion']
443
+ end
444
+
445
+ if attributes.has_key?(:'stepUpUrl')
446
+ self.step_up_url = attributes[:'stepUpUrl']
447
+ end
448
+
449
+ if attributes.has_key?(:'threeDSServerTransactionId')
450
+ self.three_ds_server_transaction_id = attributes[:'threeDSServerTransactionId']
451
+ end
452
+
453
+ if attributes.has_key?(:'ucafAuthenticationData')
454
+ self.ucaf_authentication_data = attributes[:'ucafAuthenticationData']
455
+ end
456
+
457
+ if attributes.has_key?(:'ucafCollectionIndicator')
458
+ self.ucaf_collection_indicator = attributes[:'ucafCollectionIndicator']
459
+ end
460
+
461
+ if attributes.has_key?(:'veresEnrolled')
462
+ self.veres_enrolled = attributes[:'veresEnrolled']
463
+ end
464
+
465
+ if attributes.has_key?(:'whiteListStatusSource')
466
+ self.white_list_status_source = attributes[:'whiteListStatusSource']
467
+ end
468
+
469
+ if attributes.has_key?(:'xid')
470
+ self.xid = attributes[:'xid']
471
+ end
472
+
473
+ if attributes.has_key?(:'directoryServerTransactionId')
474
+ self.directory_server_transaction_id = attributes[:'directoryServerTransactionId']
475
+ end
476
+
477
+ if attributes.has_key?(:'acsOperatorID')
478
+ self.acs_operator_id = attributes[:'acsOperatorID']
479
+ end
480
+
481
+ if attributes.has_key?(:'acsReferenceNumber')
482
+ self.acs_reference_number = attributes[:'acsReferenceNumber']
483
+ end
484
+
485
+ if attributes.has_key?(:'idciDecision')
486
+ self.idci_decision = attributes[:'idciDecision']
487
+ end
488
+
489
+ if attributes.has_key?(:'idciReasonCode1')
490
+ self.idci_reason_code1 = attributes[:'idciReasonCode1']
491
+ end
492
+
493
+ if attributes.has_key?(:'idciReasonCode2')
494
+ self.idci_reason_code2 = attributes[:'idciReasonCode2']
495
+ end
496
+
497
+ if attributes.has_key?(:'idciScore')
498
+ self.idci_score = attributes[:'idciScore']
499
+ end
500
+ end
501
+
502
+ # Show invalid properties with the reasons. Usually used together with valid?
503
+ # @return Array for valid properties with the reasons
504
+ def list_invalid_properties
505
+ invalid_properties = Array.new
506
+ invalid_properties
507
+ end
508
+
509
+ # Check to see if the all the properties in the model are valid
510
+ # @return true if the model is valid
511
+ def valid?
512
+ true
513
+ end
514
+
515
+ # Custom attribute writer method with validation
516
+ # @param [Object] acs_transaction_id Value to be assigned
517
+ def acs_transaction_id=(acs_transaction_id)
518
+ @acs_transaction_id = acs_transaction_id
519
+ end
520
+
521
+ # Custom attribute writer method with validation
522
+ # @param [Object] acs_url Value to be assigned
523
+ def acs_url=(acs_url)
524
+ @acs_url = acs_url
525
+ end
526
+
527
+ # Custom attribute writer method with validation
528
+ # @param [Object] authentication_type Value to be assigned
529
+ def authentication_type=(authentication_type)
530
+ @authentication_type = authentication_type
531
+ end
532
+
533
+ # Custom attribute writer method with validation
534
+ # @param [Object] authentication_transaction_id Value to be assigned
535
+ def authentication_transaction_id=(authentication_transaction_id)
536
+ @authentication_transaction_id = authentication_transaction_id
537
+ end
538
+
539
+ # Custom attribute writer method with validation
540
+ # @param [Object] authentication_transaction_context_id Value to be assigned
541
+ def authentication_transaction_context_id=(authentication_transaction_context_id)
542
+ @authentication_transaction_context_id = authentication_transaction_context_id
543
+ end
544
+
545
+ # Custom attribute writer method with validation
546
+ # @param [Object] cardholder_message Value to be assigned
547
+ def cardholder_message=(cardholder_message)
548
+ @cardholder_message = cardholder_message
549
+ end
550
+
551
+ # Custom attribute writer method with validation
552
+ # @param [Object] cavv Value to be assigned
553
+ def cavv=(cavv)
554
+ @cavv = cavv
555
+ end
556
+
557
+ # Custom attribute writer method with validation
558
+ # @param [Object] cavv_algorithm Value to be assigned
559
+ def cavv_algorithm=(cavv_algorithm)
560
+ @cavv_algorithm = cavv_algorithm
561
+ end
562
+
563
+ # Custom attribute writer method with validation
564
+ # @param [Object] challenge_cancel_code Value to be assigned
565
+ def challenge_cancel_code=(challenge_cancel_code)
566
+ @challenge_cancel_code = challenge_cancel_code
567
+ end
568
+
569
+ # Custom attribute writer method with validation
570
+ # @param [Object] challenge_required Value to be assigned
571
+ def challenge_required=(challenge_required)
572
+ @challenge_required = challenge_required
573
+ end
574
+
575
+ # Custom attribute writer method with validation
576
+ # @param [Object] decoupled_authentication_indicator Value to be assigned
577
+ def decoupled_authentication_indicator=(decoupled_authentication_indicator)
578
+ @decoupled_authentication_indicator = decoupled_authentication_indicator
579
+ end
580
+
581
+ # Custom attribute writer method with validation
582
+ # @param [Object] directory_server_error_description Value to be assigned
583
+ def directory_server_error_description=(directory_server_error_description)
584
+ @directory_server_error_description = directory_server_error_description
585
+ end
586
+
587
+ # Custom attribute writer method with validation
588
+ # @param [Object] ecommerce_indicator Value to be assigned
589
+ def ecommerce_indicator=(ecommerce_indicator)
590
+ @ecommerce_indicator = ecommerce_indicator
591
+ end
592
+
593
+ # Custom attribute writer method with validation
594
+ # @param [Object] effective_authentication_type Value to be assigned
595
+ def effective_authentication_type=(effective_authentication_type)
596
+ @effective_authentication_type = effective_authentication_type
597
+ end
598
+
599
+ # Custom attribute writer method with validation
600
+ # @param [Object] exemption_data_raw Value to be assigned
601
+ def exemption_data_raw=(exemption_data_raw)
602
+ @exemption_data_raw = exemption_data_raw
603
+ end
604
+
605
+ # Custom attribute writer method with validation
606
+ # @param [Object] network_score Value to be assigned
607
+ def network_score=(network_score)
608
+ @network_score = network_score
609
+ end
610
+
611
+ # Custom attribute writer method with validation
612
+ # @param [Object] sdk_transaction_id Value to be assigned
613
+ def sdk_transaction_id=(sdk_transaction_id)
614
+ @sdk_transaction_id = sdk_transaction_id
615
+ end
616
+
617
+ # Custom attribute writer method with validation
618
+ # @param [Object] signed_pares_status_reason Value to be assigned
619
+ def signed_pares_status_reason=(signed_pares_status_reason)
620
+ @signed_pares_status_reason = signed_pares_status_reason
621
+ end
622
+
623
+ # Custom attribute writer method with validation
624
+ # @param [Object] step_up_url Value to be assigned
625
+ def step_up_url=(step_up_url)
626
+ @step_up_url = step_up_url
627
+ end
628
+
629
+ # Custom attribute writer method with validation
630
+ # @param [Object] three_ds_server_transaction_id Value to be assigned
631
+ def three_ds_server_transaction_id=(three_ds_server_transaction_id)
632
+ @three_ds_server_transaction_id = three_ds_server_transaction_id
633
+ end
634
+
635
+ # Custom attribute writer method with validation
636
+ # @param [Object] white_list_status_source Value to be assigned
637
+ def white_list_status_source=(white_list_status_source)
638
+ @white_list_status_source = white_list_status_source
639
+ end
640
+
641
+ # Custom attribute writer method with validation
642
+ # @param [Object] directory_server_transaction_id Value to be assigned
643
+ def directory_server_transaction_id=(directory_server_transaction_id)
644
+ @directory_server_transaction_id = directory_server_transaction_id
645
+ end
646
+
647
+ # Custom attribute writer method with validation
648
+ # @param [Object] acs_reference_number Value to be assigned
649
+ def acs_reference_number=(acs_reference_number)
650
+ @acs_reference_number = acs_reference_number
651
+ end
652
+
653
+ # Custom attribute writer method with validation
654
+ # @param [Object] idci_decision Value to be assigned
655
+ def idci_decision=(idci_decision)
656
+ @idci_decision = idci_decision
657
+ end
658
+
659
+ # Custom attribute writer method with validation
660
+ # @param [Object] idci_reason_code1 Value to be assigned
661
+ def idci_reason_code1=(idci_reason_code1)
662
+ @idci_reason_code1 = idci_reason_code1
663
+ end
664
+
665
+ # Custom attribute writer method with validation
666
+ # @param [Object] idci_reason_code2 Value to be assigned
667
+ def idci_reason_code2=(idci_reason_code2)
668
+ @idci_reason_code2 = idci_reason_code2
669
+ end
670
+
671
+ # Checks equality by comparing each attribute.
672
+ # @param [Object] Object to be compared
673
+ def ==(o)
674
+ return true if self.equal?(o)
675
+ self.class == o.class &&
676
+ access_token == o.access_token &&
677
+ acs_rendering_type == o.acs_rendering_type &&
678
+ acs_transaction_id == o.acs_transaction_id &&
679
+ acs_url == o.acs_url &&
680
+ authentication_path == o.authentication_path &&
681
+ authorization_payload == o.authorization_payload &&
682
+ authentication_type == o.authentication_type &&
683
+ authentication_transaction_id == o.authentication_transaction_id &&
684
+ authentication_transaction_context_id == o.authentication_transaction_context_id &&
685
+ validity_period == o.validity_period &&
686
+ cardholder_message == o.cardholder_message &&
687
+ cavv == o.cavv &&
688
+ cavv_algorithm == o.cavv_algorithm &&
689
+ challenge_cancel_code == o.challenge_cancel_code &&
690
+ challenge_required == o.challenge_required &&
691
+ decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
692
+ directory_server_error_code == o.directory_server_error_code &&
693
+ directory_server_error_description == o.directory_server_error_description &&
694
+ ecommerce_indicator == o.ecommerce_indicator &&
695
+ eci == o.eci &&
696
+ eci_raw == o.eci_raw &&
697
+ effective_authentication_type == o.effective_authentication_type &&
698
+ exemption_data_raw == o.exemption_data_raw &&
699
+ ivr == o.ivr &&
700
+ network_score == o.network_score &&
701
+ pareq == o.pareq &&
702
+ pares_status == o.pares_status &&
703
+ proof_xml == o.proof_xml &&
704
+ proxy_pan == o.proxy_pan &&
705
+ sdk_transaction_id == o.sdk_transaction_id &&
706
+ signed_pares_status_reason == o.signed_pares_status_reason &&
707
+ specification_version == o.specification_version &&
708
+ step_up_url == o.step_up_url &&
709
+ three_ds_server_transaction_id == o.three_ds_server_transaction_id &&
710
+ ucaf_authentication_data == o.ucaf_authentication_data &&
711
+ ucaf_collection_indicator == o.ucaf_collection_indicator &&
712
+ veres_enrolled == o.veres_enrolled &&
713
+ white_list_status_source == o.white_list_status_source &&
714
+ xid == o.xid &&
715
+ directory_server_transaction_id == o.directory_server_transaction_id &&
716
+ acs_operator_id == o.acs_operator_id &&
717
+ acs_reference_number == o.acs_reference_number &&
718
+ idci_decision == o.idci_decision &&
719
+ idci_reason_code1 == o.idci_reason_code1 &&
720
+ idci_reason_code2 == o.idci_reason_code2 &&
721
+ idci_score == o.idci_score
722
+ end
723
+
724
+ # @see the `==` method
725
+ # @param [Object] Object to be compared
726
+ def eql?(o)
727
+ self == o
728
+ end
729
+
730
+ # Calculates hash code according to all attributes.
731
+ # @return [Fixnum] Hash code
732
+ def hash
733
+ [access_token, acs_rendering_type, acs_transaction_id, acs_url, authentication_path, authorization_payload, authentication_type, authentication_transaction_id, authentication_transaction_context_id, validity_period, cardholder_message, cavv, cavv_algorithm, challenge_cancel_code, challenge_required, decoupled_authentication_indicator, directory_server_error_code, directory_server_error_description, ecommerce_indicator, eci, eci_raw, effective_authentication_type, exemption_data_raw, ivr, network_score, pareq, pares_status, proof_xml, proxy_pan, sdk_transaction_id, signed_pares_status_reason, specification_version, step_up_url, three_ds_server_transaction_id, ucaf_authentication_data, ucaf_collection_indicator, veres_enrolled, white_list_status_source, xid, directory_server_transaction_id, acs_operator_id, acs_reference_number, idci_decision, idci_reason_code1, idci_reason_code2, idci_score].hash
734
+ end
735
+
736
+ # Builds the object from hash
737
+ # @param [Hash] attributes Model attributes in the form of hash
738
+ # @return [Object] Returns the model itself
739
+ def build_from_hash(attributes)
740
+ return nil unless attributes.is_a?(Hash)
741
+ self.class.swagger_types.each_pair do |key, type|
742
+ if type =~ /\AArray<(.*)>/i
743
+ # check to ensure the input is an array given that the the attribute
744
+ # is documented as an array but the input is not
745
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
746
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
747
+ end
748
+ elsif !attributes[self.class.attribute_map[key]].nil?
749
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
750
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
751
+ end
752
+
753
+ self
754
+ end
755
+
756
+ # Deserializes the data based on type
757
+ # @param string type Data type
758
+ # @param string value Value to be deserialized
759
+ # @return [Object] Deserialized data
760
+ def _deserialize(type, value)
761
+ case type.to_sym
762
+ when :DateTime
763
+ DateTime.parse(value)
764
+ when :Date
765
+ Date.parse(value)
766
+ when :String
767
+ value.to_s
768
+ when :Integer
769
+ value.to_i
770
+ when :Float
771
+ value.to_f
772
+ when :BOOLEAN
773
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
774
+ true
775
+ else
776
+ false
777
+ end
778
+ when :Object
779
+ # generic object (usually a Hash), return directly
780
+ value
781
+ when /\AArray<(?<inner_type>.+)>\z/
782
+ inner_type = Regexp.last_match[:inner_type]
783
+ value.map { |v| _deserialize(inner_type, v) }
784
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
785
+ k_type = Regexp.last_match[:k_type]
786
+ v_type = Regexp.last_match[:v_type]
787
+ {}.tap do |hash|
788
+ value.each do |k, v|
789
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
790
+ end
791
+ end
792
+ else # model
793
+ temp_model = CyberSource.const_get(type).new
794
+ temp_model.build_from_hash(value)
795
+ end
796
+ end
797
+
798
+ # Returns the string representation of the object
799
+ # @return [String] String presentation of the object
800
+ def to_s
801
+ to_hash.to_s
802
+ end
803
+
804
+ # to_body is an alias to to_hash (backward compatibility)
805
+ # @return [Hash] Returns the object in the form of hash
806
+ def to_body
807
+ to_hash
808
+ end
809
+
810
+ # Returns the object in the form of hash
811
+ # @return [Hash] Returns the object in the form of hash
812
+ def to_hash
813
+ hash = {}
814
+ self.class.attribute_map.each_pair do |attr, param|
815
+ value = self.send(attr)
816
+ next if value.nil?
817
+ hash[param] = _to_hash(value)
818
+ end
819
+ hash
820
+ end
821
+
822
+ # Outputs non-array value in the form of hash
823
+ # For object, use to_hash. Otherwise, just return the value
824
+ # @param [Object] value Any valid value
825
+ # @return [Hash] Returns the value in the form of hash
826
+ def _to_hash(value)
827
+ if value.is_a?(Array)
828
+ value.compact.map { |v| _to_hash(v) }
829
+ elsif value.is_a?(Hash)
830
+ {}.tap do |hash|
831
+ value.each { |k, v| hash[k] = _to_hash(v) }
832
+ end
833
+ elsif value.respond_to? :to_hash
834
+ value.to_hash
835
+ else
836
+ value
837
+ end
838
+ end
839
+ end
840
+ end