cybersource_rest_client 0.0.57 → 0.0.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/core/Authorization.rb +1 -1
  3. data/lib/cybersource_rest_client/api/batches_api.rb +8 -0
  4. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +9 -9
  5. data/lib/cybersource_rest_client/api/token_api.rb +12 -8
  6. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations.rb → card_processing_config.rb} +3 -3
  7. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common.rb → card_processing_config_common.rb} +3 -3
  8. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_acquirer.rb → card_processing_config_common_acquirer.rb} +1 -1
  9. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_currencies.rb → card_processing_config_common_currencies.rb} +1 -1
  10. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_currencies_1.rb → card_processing_config_common_currencies_1.rb} +1 -1
  11. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_common_merchant_descriptor_info.rb → card_processing_config_common_merchant_descriptor_information.rb} +1 -1
  12. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_payment_types.rb → card_processing_config_common_payment_types.rb} +2 -2
  13. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_processors.rb → card_processing_config_common_processors.rb} +4 -4
  14. data/lib/cybersource_rest_client/models/{payments_products_virtual_terminal_configuration_information_configurations.rb → card_processing_config_features.rb} +3 -3
  15. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_not_present.rb → card_processing_config_features_card_not_present.rb} +3 -3
  16. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_not_present_installment.rb → card_processing_config_features_card_not_present_installment.rb} +1 -1
  17. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_not_present_payouts.rb → card_processing_config_features_card_not_present_payouts.rb} +2 -2
  18. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb → card_processing_config_features_card_not_present_payouts_currencies.rb} +1 -1
  19. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_not_present_processors.rb → card_processing_config_features_card_not_present_processors.rb} +2 -2
  20. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_features_card_present.rb → card_processing_config_features_card_present.rb} +2 -2
  21. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_present_processors.rb → card_processing_config_features_card_present_processors.rb} +1 -1
  22. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
  23. data/lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb +1 -1
  24. data/lib/cybersource_rest_client/models/create_credit_request.rb +21 -1
  25. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations.rb → dm_config.rb} +5 -5
  26. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_organization.rb → dm_config_organization.rb} +1 -1
  27. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_portfolio_controls.rb → dm_config_portfolio_controls.rb} +1 -1
  28. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_processing_options.rb → dm_config_processing_options.rb} +1 -1
  29. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_thirdparty.rb → dm_config_thirdparty.rb} +2 -2
  30. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_thirdparty_provider.rb → dm_config_thirdparty_provider.rb} +8 -8
  31. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_signifyd.rb → dm_config_thirdparty_provider_accurint.rb} +2 -2
  32. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_accurint_creds.rb → dm_config_thirdparty_provider_accurint_credentials.rb} +1 -1
  33. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_thirdparty_provider_ekata.rb → dm_config_thirdparty_provider_credilink.rb} +2 -2
  34. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_credilink_creds.rb → dm_config_thirdparty_provider_credilink_credentials.rb} +1 -1
  35. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_emailage.rb → dm_config_thirdparty_provider_ekata.rb} +2 -2
  36. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_ekata_creds.rb → dm_config_thirdparty_provider_ekata_credentials.rb} +1 -1
  37. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_credilink.rb → dm_config_thirdparty_provider_emailage.rb} +2 -2
  38. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_perseuss.rb → dm_config_thirdparty_provider_perseuss.rb} +2 -2
  39. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_accurint.rb → dm_config_thirdparty_provider_signifyd.rb} +2 -2
  40. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_signifyd_creds.rb → dm_config_thirdparty_provider_signifyd_credentials.rb} +1 -1
  41. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_targus.rb → dm_config_thirdparty_provider_targus.rb} +2 -2
  42. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_targus_creds.rb → dm_config_thirdparty_provider_targus_credentials.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations.rb → e_check_config.rb} +4 -4
  44. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_common.rb → e_check_config_common.rb} +3 -3
  45. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_common_internal_only.rb → e_check_config_common_internal_only.rb} +2 -2
  46. data/lib/cybersource_rest_client/models/{payments_products_e_check_config_common_internal_only_processors.rb → e_check_config_common_internal_only_processors.rb} +1 -1
  47. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_common_processors.rb → e_check_config_common_processors.rb} +1 -1
  48. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_features.rb → e_check_config_features.rb} +2 -2
  49. data/lib/cybersource_rest_client/models/{payment_products_e_check_config_account_validation_service.rb → e_check_config_features_account_validation_service.rb} +3 -3
  50. data/lib/cybersource_rest_client/models/{payment_products_e_check_config_account_validation_service_internal_only.rb → e_check_config_features_account_validation_service_internal_only.rb} +1 -1
  51. data/lib/cybersource_rest_client/models/{payment_products_e_check_config_account_validation_service_processors.rb → e_check_config_features_account_validation_service_processors.rb} +1 -1
  52. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_underwriting.rb → e_check_config_underwriting.rb} +1 -1
  53. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments.rb +15 -5
  54. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get404_response.rb +1 -1
  55. data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +242 -0
  56. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +1 -1
  57. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +8 -8
  58. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +1 -1
  59. data/lib/cybersource_rest_client/models/{payments_products_payer_authentication_configuration_information_configurations.rb → payer_auth_config.rb} +2 -2
  60. data/lib/cybersource_rest_client/models/{payments_products_payer_authentication_configuration_information_configurations_card_types.rb → payer_auth_config_card_types.rb} +9 -9
  61. data/lib/cybersource_rest_client/models/{payments_products_payer_authentication_configuration_information_configurations_card_types_cb.rb → payer_auth_config_card_types_cb.rb} +2 -2
  62. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_config_card_types_j_cbj_secure.rb → payer_auth_config_card_types_j_cbj_secure.rb} +2 -2
  63. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_config_card_types_verified.rb → payer_auth_config_card_types_verified_by_visa.rb} +2 -2
  64. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_config_card_types_verified_currencies.rb → payer_auth_config_card_types_verified_by_visa_currencies.rb} +1 -1
  65. data/lib/cybersource_rest_client/models/payments_products.rb +15 -5
  66. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information.rb +1 -1
  67. data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information.rb +1 -1
  68. data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information.rb +1 -1
  69. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information.rb +1 -1
  70. data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information.rb +1 -1
  71. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_consumer_authentication_information_issuer_information.rb → payments_strong_auth_issuer_information.rb} +1 -1
  72. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +1 -1
  73. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +8 -8
  74. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +8 -8
  75. data/lib/cybersource_rest_client/models/post_payment_credentials_request.rb +191 -0
  76. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +1 -1
  77. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +1 -1
  78. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +16 -5
  79. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +1 -1
  80. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_capture.rb +1 -1
  81. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +1 -1
  82. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +22 -5
  83. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +1 -1
  84. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +1 -1
  85. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +15 -5
  86. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +15 -5
  87. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_refund_options.rb +191 -0
  88. data/lib/cybersource_rest_client/models/ptsv2credits_recipient_information.rb +214 -0
  89. data/lib/cybersource_rest_client/models/{riskv1authenticationresults_order_information_line_items.rb → ptsv2credits_sender_information.rb} +78 -43
  90. data/lib/cybersource_rest_client/models/ptsv2credits_sender_information_account.rb +214 -0
  91. data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +22 -5
  92. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +12 -1
  93. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information.rb +35 -5
  94. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information.rb +1 -1
  95. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb +5 -17
  96. data/lib/cybersource_rest_client/models/riskv1decisions_acquirer_information.rb +248 -0
  97. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations.rb → sa_config.rb} +7 -7
  98. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_checkout.rb → sa_config_checkout.rb} +1 -1
  99. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_contact_information.rb → sa_config_contact_information.rb} +1 -1
  100. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_notifications.rb → sa_config_notifications.rb} +3 -3
  101. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_config_notifications_customer_notifications.rb → sa_config_notifications_customer_notifications.rb} +1 -1
  102. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_config_notifications_merchant_notifications.rb → sa_config_notifications_merchant_notifications.rb} +1 -1
  103. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_payment_methods.rb → sa_config_payment_methods.rb} +1 -1
  104. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_payment_types.rb → sa_config_payment_types.rb} +2 -2
  105. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_config_payment_types_card_types.rb → sa_config_payment_types_card_types.rb} +5 -5
  106. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_config_payment_types_card_types_discover.rb → sa_config_payment_types_card_types_discover.rb} +1 -1
  107. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_service.rb → sa_config_service.rb} +1 -1
  108. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_authorization_options.rb → tms_authorization_options.rb} +2 -2
  109. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_authorization_options_initiator.rb → tms_authorization_options_initiator.rb} +2 -2
  110. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_merchant_initiated_transaction.rb → tms_authorization_options_initiator_merchant_initiated_transaction.rb} +1 -1
  111. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier.rb → tms_embedded_instrument_identifier.rb} +9 -9
  112. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links.rb → tms_embedded_instrument_identifier__links.rb} +3 -3
  113. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_payment_instruments.rb → tms_embedded_instrument_identifier__links_payment_instruments.rb} +1 -1
  114. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links_self.rb → tms_embedded_instrument_identifier__links_self.rb} +1 -1
  115. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb → tms_embedded_instrument_identifier_bank_account.rb} +1 -1
  116. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb → tms_embedded_instrument_identifier_bill_to.rb} +1 -1
  117. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb → tms_embedded_instrument_identifier_card.rb} +1 -1
  118. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb → tms_embedded_instrument_identifier_issuer.rb} +1 -1
  119. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_metadata.rb → tms_embedded_instrument_identifier_metadata.rb} +1 -1
  120. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_processing_information.rb → tms_embedded_instrument_identifier_processing_information.rb} +2 -2
  121. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_tokenized_card.rb → tms_embedded_instrument_identifier_tokenized_card.rb} +26 -4
  122. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_tokenized_card_card.rb → tms_embedded_instrument_identifier_tokenized_card_card.rb} +1 -1
  123. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_processing_information.rb → tms_payment_instrument_processing_info.rb} +2 -2
  124. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb → tms_payment_instrument_processing_info_bank_transfer_options.rb} +1 -1
  125. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +1 -1
  126. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded.rb +1 -1
  127. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +21 -1
  128. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +28 -1
  129. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +40 -1
  130. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +1 -1
  131. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_capture_options.rb +214 -0
  132. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_recurring_payment_information.rb +197 -0
  133. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_unscheduled_payment_information.rb +191 -0
  134. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_features.rb → vt_config.rb} +3 -3
  135. data/lib/cybersource_rest_client/models/{payments_products_virtual_terminal_configuration_information_configurations_card_not_present.rb → vt_config_card_not_present.rb} +3 -3
  136. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb → vt_config_card_not_present_global_payment_information.rb} +4 -4
  137. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb → vt_config_card_not_present_global_payment_information_basic_information.rb} +1 -1
  138. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb → vt_config_card_not_present_global_payment_information_merchant_defined_data_fields.rb} +1 -1
  139. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_payment_info.rb → vt_config_card_not_present_global_payment_information_payment_information.rb} +1 -1
  140. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_receipt_info.rb → vt_config_card_not_present_receipt_information.rb} +4 -4
  141. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb → vt_config_card_not_present_receipt_information_email_receipt.rb} +1 -1
  142. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb → vt_config_card_not_present_receipt_information_header.rb} +1 -1
  143. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb → vt_config_card_not_present_receipt_information_order_information.rb} +1 -1
  144. data/lib/cybersource_rest_client.rb +99 -90
  145. metadata +127 -118
@@ -0,0 +1,242 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class MerchantInitiatedTransactionObject
17
+ # Reason for the merchant-initiated transaction or incremental authorization. Possible values: - `1`: Resubmission - `2`: Delayed charge - `3`: Reauthorization for split shipment - `4`: No show - `5`: Account top up This field is required only for the five kinds of transactions in the preceding list. This field is supported only for merchant-initiated transactions and incremental authorizations. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR0 - Position: 160-163 - Field: Message Reason Code #### All Processors For details, see `subsequent_auth_reason` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
18
+ attr_accessor :reason
19
+
20
+ # Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_ in the reply message for either the original merchant-initiated payment in the series or the previous merchant-initiated payment in the series. If the current payment request includes a token instead of an account number, the following time limits apply for the value of this field: - For a **resubmission**, the transaction ID must be less than 14 days old. - For a **delayed charge** or **reauthorization**, the transaction ID must be less than 30 days old. **NOTE**: The value for this field does not correspond to any data in the TC 33 capture file5. This field is supported only for Visa transactions on CyberSource through VisaNet.
21
+ attr_accessor :previous_transaction_id
22
+
23
+ # Amount of the original authorization. This field is supported only for Apple Pay, Google Pay, and Samsung Pay transactions with Discover on FDC Nashville Global and Chase Paymentech. See \"Recurring Payments,\" and \"Subsequent Authorizations,\" field description in the [Payment Network Tokenization Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/tokenization_SCMP_API/html/wwhelp/wwhimpl/js/html/wwhelp.htm)
24
+ attr_accessor :original_authorized_amount
25
+
26
+ # This field contains the predetermined agrement id with the merchant
27
+ attr_accessor :agreement_id
28
+
29
+ # Attribute mapping from ruby-style variable name to JSON key.
30
+ def self.attribute_map
31
+ {
32
+ :'reason' => :'reason',
33
+ :'previous_transaction_id' => :'previousTransactionId',
34
+ :'original_authorized_amount' => :'originalAuthorizedAmount',
35
+ :'agreement_id' => :'agreementId'
36
+ }
37
+ end
38
+
39
+ # Attribute mapping from JSON key to ruby-style variable name.
40
+ def self.json_map
41
+ {
42
+ :'reason' => :'reason',
43
+ :'previous_transaction_id' => :'previous_transaction_id',
44
+ :'original_authorized_amount' => :'original_authorized_amount',
45
+ :'agreement_id' => :'agreement_id'
46
+ }
47
+ end
48
+
49
+ # Attribute type mapping.
50
+ def self.swagger_types
51
+ {
52
+ :'reason' => :'String',
53
+ :'previous_transaction_id' => :'String',
54
+ :'original_authorized_amount' => :'String',
55
+ :'agreement_id' => :'String'
56
+ }
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
66
+
67
+ if attributes.has_key?(:'reason')
68
+ self.reason = attributes[:'reason']
69
+ end
70
+
71
+ if attributes.has_key?(:'previousTransactionId')
72
+ self.previous_transaction_id = attributes[:'previousTransactionId']
73
+ end
74
+
75
+ if attributes.has_key?(:'originalAuthorizedAmount')
76
+ self.original_authorized_amount = attributes[:'originalAuthorizedAmount']
77
+ end
78
+
79
+ if attributes.has_key?(:'agreementId')
80
+ self.agreement_id = attributes[:'agreementId']
81
+ end
82
+ end
83
+
84
+ # Show invalid properties with the reasons. Usually used together with valid?
85
+ # @return Array for valid properties with the reasons
86
+ def list_invalid_properties
87
+ invalid_properties = Array.new
88
+ invalid_properties
89
+ end
90
+
91
+ # Check to see if the all the properties in the model are valid
92
+ # @return true if the model is valid
93
+ def valid?
94
+ true
95
+ end
96
+
97
+ # Custom attribute writer method with validation
98
+ # @param [Object] reason Value to be assigned
99
+ def reason=(reason)
100
+ @reason = reason
101
+ end
102
+
103
+ # Custom attribute writer method with validation
104
+ # @param [Object] previous_transaction_id Value to be assigned
105
+ def previous_transaction_id=(previous_transaction_id)
106
+ @previous_transaction_id = previous_transaction_id
107
+ end
108
+
109
+ # Custom attribute writer method with validation
110
+ # @param [Object] original_authorized_amount Value to be assigned
111
+ def original_authorized_amount=(original_authorized_amount)
112
+ @original_authorized_amount = original_authorized_amount
113
+ end
114
+
115
+ # Checks equality by comparing each attribute.
116
+ # @param [Object] Object to be compared
117
+ def ==(o)
118
+ return true if self.equal?(o)
119
+ self.class == o.class &&
120
+ reason == o.reason &&
121
+ previous_transaction_id == o.previous_transaction_id &&
122
+ original_authorized_amount == o.original_authorized_amount &&
123
+ agreement_id == o.agreement_id
124
+ end
125
+
126
+ # @see the `==` method
127
+ # @param [Object] Object to be compared
128
+ def eql?(o)
129
+ self == o
130
+ end
131
+
132
+ # Calculates hash code according to all attributes.
133
+ # @return [Fixnum] Hash code
134
+ def hash
135
+ [reason, previous_transaction_id, original_authorized_amount, agreement_id].hash
136
+ end
137
+
138
+ # Builds the object from hash
139
+ # @param [Hash] attributes Model attributes in the form of hash
140
+ # @return [Object] Returns the model itself
141
+ def build_from_hash(attributes)
142
+ return nil unless attributes.is_a?(Hash)
143
+ self.class.swagger_types.each_pair do |key, type|
144
+ if type =~ /\AArray<(.*)>/i
145
+ # check to ensure the input is an array given that the the attribute
146
+ # is documented as an array but the input is not
147
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
148
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
149
+ end
150
+ elsif !attributes[self.class.attribute_map[key]].nil?
151
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
152
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
153
+ end
154
+
155
+ self
156
+ end
157
+
158
+ # Deserializes the data based on type
159
+ # @param string type Data type
160
+ # @param string value Value to be deserialized
161
+ # @return [Object] Deserialized data
162
+ def _deserialize(type, value)
163
+ case type.to_sym
164
+ when :DateTime
165
+ DateTime.parse(value)
166
+ when :Date
167
+ Date.parse(value)
168
+ when :String
169
+ value.to_s
170
+ when :Integer
171
+ value.to_i
172
+ when :Float
173
+ value.to_f
174
+ when :BOOLEAN
175
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
176
+ true
177
+ else
178
+ false
179
+ end
180
+ when :Object
181
+ # generic object (usually a Hash), return directly
182
+ value
183
+ when /\AArray<(?<inner_type>.+)>\z/
184
+ inner_type = Regexp.last_match[:inner_type]
185
+ value.map { |v| _deserialize(inner_type, v) }
186
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
187
+ k_type = Regexp.last_match[:k_type]
188
+ v_type = Regexp.last_match[:v_type]
189
+ {}.tap do |hash|
190
+ value.each do |k, v|
191
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
192
+ end
193
+ end
194
+ else # model
195
+ temp_model = CyberSource.const_get(type).new
196
+ temp_model.build_from_hash(value)
197
+ end
198
+ end
199
+
200
+ # Returns the string representation of the object
201
+ # @return [String] String presentation of the object
202
+ def to_s
203
+ to_hash.to_s
204
+ end
205
+
206
+ # to_body is an alias to to_hash (backward compatibility)
207
+ # @return [Hash] Returns the object in the form of hash
208
+ def to_body
209
+ to_hash
210
+ end
211
+
212
+ # Returns the object in the form of hash
213
+ # @return [Hash] Returns the object in the form of hash
214
+ def to_hash
215
+ hash = {}
216
+ self.class.attribute_map.each_pair do |attr, param|
217
+ value = self.send(attr)
218
+ next if value.nil?
219
+ hash[param] = _to_hash(value)
220
+ end
221
+ hash
222
+ end
223
+
224
+ # Outputs non-array value in the form of hash
225
+ # For object, use to_hash. Otherwise, just return the value
226
+ # @param [Object] value Any valid value
227
+ # @return [Hash] Returns the value in the form of hash
228
+ def _to_hash(value)
229
+ if value.is_a?(Array)
230
+ value.compact.map { |v| _to_hash(v) }
231
+ elsif value.is_a?(Hash)
232
+ {}.tap do |hash|
233
+ value.each { |k, v| hash[k] = _to_hash(v) }
234
+ end
235
+ elsif value.respond_to? :to_hash
236
+ value.to_hash
237
+ else
238
+ value
239
+ end
240
+ end
241
+ end
242
+ end
@@ -104,7 +104,7 @@ module CyberSource
104
104
  :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
105
105
  :'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
106
106
  :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo',
107
- :'processing_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentProcessingInformation',
107
+ :'processing_information' => :'TmsPaymentInstrumentProcessingInfo',
108
108
  :'merchant_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation',
109
109
  :'instrument_identifier' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier',
110
110
  :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata',
@@ -81,18 +81,18 @@ module CyberSource
81
81
  # Attribute type mapping.
82
82
  def self.swagger_types
83
83
  {
84
- :'_links' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinks',
84
+ :'_links' => :'TmsEmbeddedInstrumentIdentifierLinks',
85
85
  :'id' => :'String',
86
86
  :'object' => :'String',
87
87
  :'state' => :'String',
88
88
  :'type' => :'String',
89
- :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierCard',
90
- :'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBankAccount',
91
- :'tokenized_card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierTokenizedCard',
92
- :'issuer' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierIssuer',
93
- :'processing_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformation',
94
- :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBillTo',
95
- :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierMetadata'
89
+ :'card' => :'TmsEmbeddedInstrumentIdentifierCard',
90
+ :'bank_account' => :'TmsEmbeddedInstrumentIdentifierBankAccount',
91
+ :'tokenized_card' => :'TmsEmbeddedInstrumentIdentifierTokenizedCard',
92
+ :'issuer' => :'TmsEmbeddedInstrumentIdentifierIssuer',
93
+ :'processing_information' => :'TmsEmbeddedInstrumentIdentifierProcessingInformation',
94
+ :'bill_to' => :'TmsEmbeddedInstrumentIdentifierBillTo',
95
+ :'metadata' => :'TmsEmbeddedInstrumentIdentifierMetadata'
96
96
  }
97
97
  end
98
98
 
@@ -104,7 +104,7 @@ module CyberSource
104
104
  :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
105
105
  :'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
106
106
  :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo',
107
- :'processing_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentProcessingInformation',
107
+ :'processing_information' => :'TmsPaymentInstrumentProcessingInfo',
108
108
  :'merchant_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation',
109
109
  :'instrument_identifier' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier',
110
110
  :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata',
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsPayerAuthenticationConfigurationInformationConfigurations
16
+ class PayerAuthConfig
17
17
  attr_accessor :card_types
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -33,7 +33,7 @@ module CyberSource
33
33
  # Attribute type mapping.
34
34
  def self.swagger_types
35
35
  {
36
- :'card_types' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes'
36
+ :'card_types' => :'PayerAuthConfigCardTypes'
37
37
  }
38
38
  end
39
39
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypes
16
+ class PayerAuthConfigCardTypes
17
17
  attr_accessor :verified_by_visa
18
18
 
19
19
  attr_accessor :master_card_secure_code
@@ -61,14 +61,14 @@ module CyberSource
61
61
  # Attribute type mapping.
62
62
  def self.swagger_types
63
63
  {
64
- :'verified_by_visa' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa',
65
- :'master_card_secure_code' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa',
66
- :'amex_safe_key' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa',
67
- :'j_cbj_secure' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure',
68
- :'diners_club_international_protect_buy' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa',
69
- :'elo' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa',
70
- :'upi' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa',
71
- :'cb' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB'
64
+ :'verified_by_visa' => :'PayerAuthConfigCardTypesVerifiedByVisa',
65
+ :'master_card_secure_code' => :'PayerAuthConfigCardTypesVerifiedByVisa',
66
+ :'amex_safe_key' => :'PayerAuthConfigCardTypesVerifiedByVisa',
67
+ :'j_cbj_secure' => :'PayerAuthConfigCardTypesJCBJSecure',
68
+ :'diners_club_international_protect_buy' => :'PayerAuthConfigCardTypesVerifiedByVisa',
69
+ :'elo' => :'PayerAuthConfigCardTypesVerifiedByVisa',
70
+ :'upi' => :'PayerAuthConfigCardTypesVerifiedByVisa',
71
+ :'cb' => :'PayerAuthConfigCardTypesCB'
72
72
  }
73
73
  end
74
74
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesCB
16
+ class PayerAuthConfigCardTypesCB
17
17
  # The value is for 3DS2.0 and is a Directory Server assigned 3DS Requestor ID value. If this field is passed in request, it will override Requestor Id value that is configured on the Merchant's profile.
18
18
  attr_accessor :requestor_id
19
19
 
@@ -44,7 +44,7 @@ module CyberSource
44
44
  {
45
45
  :'requestor_id' => :'String',
46
46
  :'enabled' => :'BOOLEAN',
47
- :'currencies' => :'Array<PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies>'
47
+ :'currencies' => :'Array<PayerAuthConfigCardTypesVerifiedByVisaCurrencies>'
48
48
  }
49
49
  end
50
50
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesJCBJSecure
16
+ class PayerAuthConfigCardTypesJCBJSecure
17
17
  # JSecure currency password for Japan Credit Bureau
18
18
  attr_accessor :secure_password_for_jcb
19
19
 
@@ -44,7 +44,7 @@ module CyberSource
44
44
  {
45
45
  :'secure_password_for_jcb' => :'String',
46
46
  :'enabled' => :'BOOLEAN',
47
- :'currencies' => :'Array<PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies>'
47
+ :'currencies' => :'Array<PayerAuthConfigCardTypesVerifiedByVisaCurrencies>'
48
48
  }
49
49
  end
50
50
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisa
16
+ class PayerAuthConfigCardTypesVerifiedByVisa
17
17
  attr_accessor :enabled
18
18
 
19
19
  attr_accessor :currencies
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'enabled' => :'BOOLEAN',
41
- :'currencies' => :'Array<PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies>'
41
+ :'currencies' => :'Array<PayerAuthConfigCardTypesVerifiedByVisaCurrencies>'
42
42
  }
43
43
  end
44
44
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsPayerAuthenticationConfigurationInformationConfigurationsCardTypesVerifiedByVisaCurrencies
16
+ class PayerAuthConfigCardTypesVerifiedByVisaCurrencies
17
17
  attr_accessor :currency_codes
18
18
 
19
19
  # The Acquirer ID value, often referred to as the Acquirer BIN, is specific to an Acquirer. The value is created by Cardinal in their system and the Acquirer may not know that the Acquirer ID is different from their Acquiring BIN. It is most often the Acquiring BIN + \"-1000\" but the trailing character can be different. **Note** We will need to double check with Cardinal before setting up the Portfolio Template in production.
@@ -48,6 +48,8 @@ module CyberSource
48
48
 
49
49
  attr_accessor :unified_checkout
50
50
 
51
+ attr_accessor :receivables_manager
52
+
51
53
  # Attribute mapping from ruby-style variable name to JSON key.
52
54
  def self.attribute_map
53
55
  {
@@ -67,7 +69,8 @@ module CyberSource
67
69
  :'payouts' => :'payouts',
68
70
  :'differential_fee' => :'differentialFee',
69
71
  :'pay_by_link' => :'payByLink',
70
- :'unified_checkout' => :'unifiedCheckout'
72
+ :'unified_checkout' => :'unifiedCheckout',
73
+ :'receivables_manager' => :'receivablesManager'
71
74
  }
72
75
  end
73
76
 
@@ -90,7 +93,8 @@ module CyberSource
90
93
  :'payouts' => :'payouts',
91
94
  :'differential_fee' => :'differential_fee',
92
95
  :'pay_by_link' => :'pay_by_link',
93
- :'unified_checkout' => :'unified_checkout'
96
+ :'unified_checkout' => :'unified_checkout',
97
+ :'receivables_manager' => :'receivables_manager'
94
98
  }
95
99
  end
96
100
 
@@ -113,7 +117,8 @@ module CyberSource
113
117
  :'payouts' => :'PaymentsProductsPayouts',
114
118
  :'differential_fee' => :'PaymentsProductsDifferentialFee',
115
119
  :'pay_by_link' => :'PaymentsProductsTax',
116
- :'unified_checkout' => :'PaymentsProductsTax'
120
+ :'unified_checkout' => :'PaymentsProductsTax',
121
+ :'receivables_manager' => :'PaymentsProductsTax'
117
122
  }
118
123
  end
119
124
 
@@ -192,6 +197,10 @@ module CyberSource
192
197
  if attributes.has_key?(:'unifiedCheckout')
193
198
  self.unified_checkout = attributes[:'unifiedCheckout']
194
199
  end
200
+
201
+ if attributes.has_key?(:'receivablesManager')
202
+ self.receivables_manager = attributes[:'receivablesManager']
203
+ end
195
204
  end
196
205
 
197
206
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -228,7 +237,8 @@ module CyberSource
228
237
  payouts == o.payouts &&
229
238
  differential_fee == o.differential_fee &&
230
239
  pay_by_link == o.pay_by_link &&
231
- unified_checkout == o.unified_checkout
240
+ unified_checkout == o.unified_checkout &&
241
+ receivables_manager == o.receivables_manager
232
242
  end
233
243
 
234
244
  # @see the `==` method
@@ -240,7 +250,7 @@ module CyberSource
240
250
  # Calculates hash code according to all attributes.
241
251
  # @return [Fixnum] Hash code
242
252
  def hash
243
- [card_processing, card_present_connect, cybs_ready_terminal, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, payment_orchestration, payouts, differential_fee, pay_by_link, unified_checkout].hash
253
+ [card_processing, card_present_connect, cybs_ready_terminal, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, payment_orchestration, payouts, differential_fee, pay_by_link, unified_checkout, receivables_manager].hash
244
254
  end
245
255
 
246
256
  # Builds the object from hash
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'template_id' => :'String',
41
- :'configurations' => :'PaymentsProductsCardProcessingConfigurationInformationConfigurations'
41
+ :'configurations' => :'CardProcessingConfig'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'template_id' => :'String',
41
- :'configurations' => :'PaymentsProductsECheckConfigurationInformationConfigurations'
41
+ :'configurations' => :'ECheckConfig'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'template_id' => :'String',
41
- :'configurations' => :'PaymentsProductsPayerAuthenticationConfigurationInformationConfigurations'
41
+ :'configurations' => :'PayerAuthConfig'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'template_id' => :'String',
41
- :'configurations' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurations'
41
+ :'configurations' => :'SAConfig'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'template_id' => :'String',
41
- :'configurations' => :'PaymentsProductsVirtualTerminalConfigurationInformationConfigurations'
41
+ :'configurations' => :'VTConfig'
42
42
  }
43
43
  end
44
44
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PtsV2PaymentsPost201ResponseConsumerAuthenticationInformationStrongAuthenticationIssuerInformation
16
+ class PaymentsStrongAuthIssuerInformation
17
17
  # Possible values: Visa Platform Connect - `8401` Merchant not participating in Visa Trusted Listing Program. - `8402` Issuer not participating in Visa Trusted Listing Program. - `8403` Cardholder has not trusted the merchant (supplied by Visa Net). - `8404` Indeterminate or invalid issuer response. - `8473` Cardholder has not trusted the merchant (issuer-supplied). - `8474` Did not meet the exemption criteria (issuer-supplied). Upto 20 Values may be received in a transaction.
18
18
  attr_accessor :risk_analysis_exemption_result
19
19
 
@@ -104,7 +104,7 @@ module CyberSource
104
104
  :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
105
105
  :'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
106
106
  :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo',
107
- :'processing_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentProcessingInformation',
107
+ :'processing_information' => :'TmsPaymentInstrumentProcessingInfo',
108
108
  :'merchant_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation',
109
109
  :'instrument_identifier' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier',
110
110
  :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata',
@@ -81,18 +81,18 @@ module CyberSource
81
81
  # Attribute type mapping.
82
82
  def self.swagger_types
83
83
  {
84
- :'_links' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinks',
84
+ :'_links' => :'TmsEmbeddedInstrumentIdentifierLinks',
85
85
  :'id' => :'String',
86
86
  :'object' => :'String',
87
87
  :'state' => :'String',
88
88
  :'type' => :'String',
89
- :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierCard',
90
- :'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBankAccount',
91
- :'tokenized_card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierTokenizedCard',
92
- :'issuer' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierIssuer',
93
- :'processing_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformation',
94
- :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBillTo',
95
- :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierMetadata'
89
+ :'card' => :'TmsEmbeddedInstrumentIdentifierCard',
90
+ :'bank_account' => :'TmsEmbeddedInstrumentIdentifierBankAccount',
91
+ :'tokenized_card' => :'TmsEmbeddedInstrumentIdentifierTokenizedCard',
92
+ :'issuer' => :'TmsEmbeddedInstrumentIdentifierIssuer',
93
+ :'processing_information' => :'TmsEmbeddedInstrumentIdentifierProcessingInformation',
94
+ :'bill_to' => :'TmsEmbeddedInstrumentIdentifierBillTo',
95
+ :'metadata' => :'TmsEmbeddedInstrumentIdentifierMetadata'
96
96
  }
97
97
  end
98
98
 
@@ -81,18 +81,18 @@ module CyberSource
81
81
  # Attribute type mapping.
82
82
  def self.swagger_types
83
83
  {
84
- :'_links' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinks',
84
+ :'_links' => :'TmsEmbeddedInstrumentIdentifierLinks',
85
85
  :'id' => :'String',
86
86
  :'object' => :'String',
87
87
  :'state' => :'String',
88
88
  :'type' => :'String',
89
- :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierCard',
90
- :'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBankAccount',
91
- :'tokenized_card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierTokenizedCard',
92
- :'issuer' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierIssuer',
93
- :'processing_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformation',
94
- :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBillTo',
95
- :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierMetadata'
89
+ :'card' => :'TmsEmbeddedInstrumentIdentifierCard',
90
+ :'bank_account' => :'TmsEmbeddedInstrumentIdentifierBankAccount',
91
+ :'tokenized_card' => :'TmsEmbeddedInstrumentIdentifierTokenizedCard',
92
+ :'issuer' => :'TmsEmbeddedInstrumentIdentifierIssuer',
93
+ :'processing_information' => :'TmsEmbeddedInstrumentIdentifierProcessingInformation',
94
+ :'bill_to' => :'TmsEmbeddedInstrumentIdentifierBillTo',
95
+ :'metadata' => :'TmsEmbeddedInstrumentIdentifierMetadata'
96
96
  }
97
97
  end
98
98