cybersource_rest_client 0.0.83 → 0.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +46 -27
  3. data/lib/AuthenticationSDK/core/MerchantConfig.rb +93 -58
  4. data/lib/AuthenticationSDK/logging/sensitive_logging.rb +265 -93
  5. data/lib/AuthenticationSDK/util/AuthJWEUtility.rb +53 -3
  6. data/lib/AuthenticationSDK/util/Cache.rb +20 -12
  7. data/lib/AuthenticationSDK/util/Constants.rb +92 -31
  8. data/lib/AuthenticationSDK/util/MLEUtility.rb +51 -2
  9. data/lib/cybersource_rest_client/api/{instructions_api.rb → agent_capabilities_api.rb} +116 -35
  10. data/lib/cybersource_rest_client/api/batches_api.rb +1 -1
  11. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -6
  12. data/lib/cybersource_rest_client/api/capture_api.rb +2 -2
  13. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +14 -22
  14. data/lib/cybersource_rest_client/api/credentials_api.rb +104 -0
  15. data/lib/cybersource_rest_client/api/credit_api.rb +2 -2
  16. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
  17. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +3 -3
  18. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +2 -2
  19. data/lib/cybersource_rest_client/api/invoices_api.rb +6 -6
  20. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +20 -28
  21. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +2 -2
  22. data/lib/cybersource_rest_client/api/network_tokens_api.rb +654 -0
  23. data/lib/cybersource_rest_client/api/orders_api.rb +4 -4
  24. data/lib/cybersource_rest_client/api/payment_links_api.rb +4 -4
  25. data/lib/cybersource_rest_client/api/payment_tokens_api.rb +2 -2
  26. data/lib/cybersource_rest_client/api/payments_api.rb +21 -21
  27. data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
  28. data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
  29. data/lib/cybersource_rest_client/api/reversal_api.rb +4 -4
  30. data/lib/cybersource_rest_client/api/subscriptions_api.rb +183 -1
  31. data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +1 -1
  32. data/lib/cybersource_rest_client/api/void_api.rb +10 -10
  33. data/lib/cybersource_rest_client/api_client.rb +35 -2
  34. data/lib/cybersource_rest_client/configuration.rb +2 -2
  35. data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations.rb → account_updater_configurations.rb} +4 -4
  36. data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_amex.rb → account_updater_configurations_amex.rb} +1 -1
  37. data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_master_card.rb → account_updater_configurations_master_card.rb} +1 -1
  38. data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_visa.rb → account_updater_configurations_visa.rb} +1 -1
  39. data/lib/cybersource_rest_client/models/account_validations_request.rb +15 -5
  40. data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_information_funding_options.rb → aft_funding_options.rb} +2 -2
  41. data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_information_funding_options_initiator.rb → aft_funding_options_initiator.rb} +2 -2
  42. data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_info_funding_options_initiator_origin_ini_transaction.rb → aft_funding_options_initiator_originator_initiated_transaction.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +3 -3
  44. data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +8 -8
  45. data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +2 -2
  46. data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +5 -5
  47. data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +2 -2
  48. data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +1 -1
  49. data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +5 -5
  50. data/lib/cybersource_rest_client/models/{payments_products_alternative_payment_methods_configuration_information_configurations_processors.rb → alternative_payments_processor_configuration.rb} +1 -1
  51. data/lib/cybersource_rest_client/models/auth_reversal_request.rb +11 -1
  52. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information.rb +32 -6
  53. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank.rb +1 -1
  54. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank_account.rb +1 -1
  55. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_customer.rb +196 -0
  56. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_instrument_identifier.rb +196 -0
  57. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_payment_instrument.rb +196 -0
  58. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_token_information.rb +208 -0
  59. data/lib/cybersource_rest_client/models/bin_lookup403_response.rb +223 -0
  60. data/lib/cybersource_rest_client/models/bin_lookupv400_response.rb +235 -0
  61. data/lib/cybersource_rest_client/models/{card_processing_config_common_acquirer_agreement_acquirer_code.rb → boarding_acquirer_details.rb} +2 -2
  62. data/lib/cybersource_rest_client/models/{card_processing_config_common_acquirer_agreement_acquirer_code_payment_options.rb → boarding_acquirer_details_payment_options.rb} +1 -1
  63. data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information.rb → boarding_business_information.rb} +6 -6
  64. data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_address.rb → boarding_business_information_address.rb} +1 -1
  65. data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_business_contact.rb → boarding_business_information_business_contact.rb} +1 -1
  66. data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_localized_names.rb → boarding_business_information_localized_names.rb} +1 -1
  67. data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations.rb → boarding_payouts_configurations.rb} +2 -2
  68. data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations_common.rb → boarding_payouts_configurations_common.rb} +2 -2
  69. data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations_common_aggregator.rb → boarding_payouts_configurations_common_aggregator.rb} +1 -1
  70. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +1 -1
  71. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +1 -1
  72. data/lib/cybersource_rest_client/models/card_processing_config_common_acquirer_agreement.rb +1 -1
  73. data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +105 -1
  74. data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +15 -5
  75. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information.rb +1 -1
  76. data/lib/cybersource_rest_client/models/create_credit_request.rb +15 -5
  77. data/lib/cybersource_rest_client/models/create_subscription_response.rb +1 -1
  78. data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded_payment_instruments.rb → default_payment_instrument.rb} +9 -9
  79. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__embedded.rb → default_payment_instrument__embedded.rb} +1 -1
  80. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links.rb → default_payment_instrument__links.rb} +2 -2
  81. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links_self.rb → default_payment_instrument__links_self.rb} +1 -1
  82. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bank_account.rb → default_payment_instrument_bank_account.rb} +1 -1
  83. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bill_to.rb → default_payment_instrument_bill_to.rb} +1 -1
  84. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_buyer_information.rb → default_payment_instrument_buyer_information.rb} +2 -2
  85. data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_buyer_info_issued_by.rb → default_payment_instrument_buyer_information_issued_by.rb} +1 -1
  86. data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_buyer_info_personal_identification.rb → default_payment_instrument_buyer_information_personal_identification.rb} +2 -2
  87. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_card.rb → default_payment_instrument_card.rb} +2 -2
  88. data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_card_tokenized_info.rb → default_payment_instrument_card_tokenized_information.rb} +1 -1
  89. data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_instrument_identifier.rb → default_payment_instrument_instrument_identifier.rb} +1 -1
  90. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_metadata.rb → default_payment_instrument_metadata.rb} +1 -1
  91. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address.rb → default_shipping_address.rb} +4 -4
  92. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links.rb → default_shipping_address__links.rb} +3 -3
  93. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_customer.rb → default_shipping_address__links_customer.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_self.rb → default_shipping_address__links_self.rb} +1 -1
  95. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address_metadata.rb → default_shipping_address_metadata.rb} +1 -1
  96. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address_ship_to.rb → default_shipping_address_ship_to.rb} +1 -1
  97. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_watchlist_screening_information_watch_list.rb → export_compliance_watch_list.rb} +2 -2
  98. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_watchlist_screening_information_watch_list_matches.rb → export_compliance_watch_list_matches.rb} +1 -1
  99. data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument_buyer_information.rb → follow_on_transaction_buyer_information.rb} +2 -2
  100. data/lib/cybersource_rest_client/models/generate_unified_checkout_v1_capture_context_request.rb +2 -2
  101. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details_surcharge.rb +22 -5
  102. data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument.rb +2 -2
  103. data/lib/cybersource_rest_client/models/get_subscription_response_1_shipping_address.rb +1 -1
  104. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response.rb +247 -0
  105. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_1.rb +224 -0
  106. data/lib/cybersource_rest_client/models/{pbl_payment_links_post201_response__links.rb → get_subscriptions_payments_response_1__links.rb} +1 -1
  107. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response__links.rb +209 -0
  108. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations_features.rb → get_subscriptions_payments_response_cycles_completed_count.rb} +11 -9
  109. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_subscription_payment.rb +356 -0
  110. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb → icc_amount_detail.rb} +2 -2
  111. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items.rb → icc_line_item.rb} +4 -4
  112. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb → icc_line_item_additional_info.rb} +1 -1
  113. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb → icc_line_item_policies.rb} +1 -1
  114. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb → icc_merchant_descriptor.rb} +1 -1
  115. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb → icc_payment_instrument.rb} +3 -3
  116. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb → icc_payment_instrument_verification_results.rb} +1 -1
  117. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb → icc_shipping_details.rb} +1 -1
  118. data/lib/cybersource_rest_client/models/{agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb → icc_transaction_response_pending_events.rb} +1 -1
  119. data/lib/cybersource_rest_client/models/{acpv1instructions_decline_threshold.rb → iccv1instructions_decline_threshold.rb} +2 -2
  120. data/lib/cybersource_rest_client/models/{acpv1instructions_mandates.rb → iccv1instructions_mandates.rb} +4 -4
  121. data/lib/cybersource_rest_client/models/{acpv1instructions_recurring_payment_information.rb → iccv1instructions_recurring_payment_information.rb} +2 -2
  122. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_confirmation_data.rb → iccv1instructionsinstruction_idconfirmations_confirmation_data.rb} +5 -5
  123. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_merchant_information.rb → iccv1instructionsinstruction_idconfirmations_merchant_information.rb} +1 -1
  124. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_order_information.rb → iccv1instructionsinstruction_idconfirmations_order_information.rb} +5 -5
  125. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_processor_information.rb → iccv1instructionsinstruction_idconfirmations_processor_information.rb} +4 -4
  126. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_attachments.rb → iccv1instructionsinstruction_idcredentials_attachments.rb} +1 -1
  127. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_client_reference_information.rb → iccv1instructionsinstruction_idcredentials_client_reference_information.rb} +1 -1
  128. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb → iccv1instructionsinstruction_idcredentials_mandate_reference_data.rb} +1 -1
  129. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_merchant_information.rb → iccv1instructionsinstruction_idcredentials_merchant_information.rb} +2 -2
  130. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information.rb → iccv1instructionsinstruction_idcredentials_order_information.rb} +4 -4
  131. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_line_items.rb → iccv1instructionsinstruction_idcredentials_order_information_line_items.rb} +2 -2
  132. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb → iccv1instructionsinstruction_idcredentials_order_information_ship_to.rb} +1 -1
  133. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_payment_options.rb → iccv1instructionsinstruction_idcredentials_payment_options.rb} +1 -1
  134. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_transaction_data.rb → iccv1instructionsinstruction_idcredentials_transaction_data.rb} +7 -7
  135. data/lib/cybersource_rest_client/models/iccv1mppcredentials_challenge.rb +369 -0
  136. data/lib/cybersource_rest_client/models/iccv1mppcredentials_challenge_encryption_jwk.rb +336 -0
  137. data/lib/cybersource_rest_client/models/{acpv1tokens_assurance_data.rb → iccv1tokens_assurance_data.rb} +10 -10
  138. data/lib/cybersource_rest_client/models/{acpv1tokens_authenticated_identities.rb → iccv1tokens_authenticated_identities.rb} +2 -2
  139. data/lib/cybersource_rest_client/models/{acpv1tokens_authentication_context.rb → iccv1tokens_authentication_context.rb} +2 -2
  140. data/lib/cybersource_rest_client/models/{acpv1tokens_bill_to.rb → iccv1tokens_bill_to.rb} +2 -2
  141. data/lib/cybersource_rest_client/models/{acpv1tokens_buyer_information.rb → iccv1tokens_buyer_information.rb} +3 -3
  142. data/lib/cybersource_rest_client/models/{acpv1tokens_buyer_information_personal_identification.rb → iccv1tokens_buyer_information_personal_identification.rb} +9 -9
  143. data/lib/cybersource_rest_client/models/{acpv1tokens_consent_data.rb → iccv1tokens_consent_data.rb} +1 -1
  144. data/lib/cybersource_rest_client/models/{acpv1tokens_consumer_identity.rb → iccv1tokens_consumer_identity.rb} +2 -2
  145. data/lib/cybersource_rest_client/models/{acpv1tokens_device_information.rb → iccv1tokens_device_information.rb} +3 -3
  146. data/lib/cybersource_rest_client/models/{acpv1tokens_device_information_device_data.rb → iccv1tokens_device_information_device_data.rb} +1 -1
  147. data/lib/cybersource_rest_client/models/{acpv1tokens_enrollment_reference_data.rb → iccv1tokens_enrollment_reference_data.rb} +2 -2
  148. data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information.rb → iccv1tokens_payment_information.rb} +5 -5
  149. data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_customer.rb → iccv1tokens_payment_information_customer.rb} +1 -1
  150. data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_instrument_identifier.rb → iccv1tokens_payment_information_instrument_identifier.rb} +1 -1
  151. data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_payment_instrument.rb → iccv1tokens_payment_information_payment_instrument.rb} +1 -1
  152. data/lib/cybersource_rest_client/models/inline_response_201_1_tokenized_card.rb +26 -5
  153. data/lib/cybersource_rest_client/models/inline_response_201_4_setups.rb +1 -1
  154. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_commerce_solutions.rb +17 -7
  155. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_risk.rb +16 -6
  156. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_value_added_services.rb +27 -7
  157. data/lib/cybersource_rest_client/models/inline_response_400_10.rb +30 -75
  158. data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_10_details.rb} +1 -1
  159. data/lib/cybersource_rest_client/models/inline_response_400_11.rb +242 -0
  160. data/lib/cybersource_rest_client/models/inline_response_400_12.rb +235 -0
  161. data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_12_details.rb} +3 -3
  162. data/lib/cybersource_rest_client/models/inline_response_400_13.rb +281 -0
  163. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +37 -60
  164. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +6 -6
  165. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +58 -36
  166. data/lib/cybersource_rest_client/models/{inline_response_400_6_fields.rb → inline_response_400_8_fields.rb} +1 -1
  167. data/lib/cybersource_rest_client/models/inline_response_400_9.rb +16 -16
  168. data/lib/cybersource_rest_client/models/inline_response_400_9_details.rb +2 -2
  169. data/lib/cybersource_rest_client/models/inline_response_404_3.rb +1 -1
  170. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
  171. data/lib/cybersource_rest_client/models/inline_response_502.rb +9 -53
  172. data/lib/cybersource_rest_client/models/inline_response_502_1.rb +24 -12
  173. data/lib/cybersource_rest_client/models/inline_response_502_2.rb +19 -47
  174. data/lib/cybersource_rest_client/models/inline_response_502_3.rb +251 -0
  175. data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +73 -5
  176. data/lib/cybersource_rest_client/models/microform_config_features.rb +189 -0
  177. data/lib/cybersource_rest_client/models/microform_config_features_gateway_agnostic.rb +189 -0
  178. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +11 -1
  179. data/lib/cybersource_rest_client/models/mpp_credentials_request.rb +221 -0
  180. data/lib/cybersource_rest_client/models/mpp_credentials_response200.rb +338 -0
  181. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +8 -8
  182. data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
  183. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +3 -3
  184. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +1 -1
  185. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +8 -8
  186. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument.rb → payment_instrument.rb} +9 -9
  187. data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded.rb +1 -1
  188. data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
  189. data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded__embedded.rb → payment_instrument_list__embedded__embedded.rb} +1 -1
  190. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments.rb → payments_configuration_setup.rb} +45 -25
  191. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_alternative_payment_methods.rb → payments_configuration_setup_alternative_payment_methods.rb} +3 -3
  192. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_alternative_payment_methods_configuration_status.rb → payments_configuration_setup_alternative_payment_methods_configuration_status.rb} +1 -1
  193. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing.rb → payments_configuration_setup_card_processing.rb} +3 -3
  194. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing_configuration_status.rb → payments_configuration_setup_card_processing_configuration_status.rb} +1 -1
  195. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing_subscription_status.rb → payments_configuration_setup_card_processing_subscription_status.rb} +1 -1
  196. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_digital_payments.rb → payments_configuration_setup_digital_payments.rb} +2 -2
  197. data/lib/cybersource_rest_client/models/payments_products.rb +25 -5
  198. data/lib/cybersource_rest_client/models/payments_products_alternative_payment_methods_configuration_information_configurations.rb +1 -1
  199. data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations_processors.rb +14 -2
  200. data/lib/cybersource_rest_client/models/payments_products_microform.rb +199 -0
  201. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information.rb +199 -0
  202. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations.rb → payments_products_microform_configuration_information_configurations.rb} +2 -2
  203. data/lib/cybersource_rest_client/models/payments_products_microform_subscription_information.rb +227 -0
  204. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information.rb +1 -1
  205. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_configuration_information.rb +1 -1
  206. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information.rb +1 -1
  207. data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +1 -1
  208. data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +1 -1
  209. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +8 -8
  210. data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
  211. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +3 -3
  212. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +1 -1
  213. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +1 -1
  214. data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +1 -1
  215. data/lib/cybersource_rest_client/models/post_payment_credentials_request.rb +1 -1
  216. data/lib/cybersource_rest_client/models/post_payment_credentials_request_1.rb +1 -1
  217. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +8 -8
  218. data/lib/cybersource_rest_client/models/post_tokenized_card_request.rb +15 -5
  219. data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_authorization_options.rb → processing_info_authorization_options.rb} +2 -2
  220. data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_authorization_options_initiator.rb → processing_info_authorization_options_initiator.rb} +2 -2
  221. data/lib/cybersource_rest_client/models/{ptsv2payments_merchant_initiated_transaction.rb → processing_info_authorization_options_initiator_merchant_initiated_transaction.rb} +4 -4
  222. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_processor_information_seller_protection.rb → processor_information_seller_protection.rb} +1 -1
  223. data/lib/cybersource_rest_client/models/pts_v2_create_billing_agreement_post201_response_agreement_information.rb +80 -1
  224. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +42 -2
  225. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_merchant_information.rb +196 -0
  226. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information.rb → pts_v2_credits_post201_response_payment_account_information.rb} +2 -2
  227. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +15 -5
  228. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information_account_features.rb +196 -0
  229. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_token_information.rb +189 -0
  230. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +1 -1
  231. data/lib/cybersource_rest_client/models/pts_v2_modify_billing_agreement_post201_response_agreement_information.rb +35 -1
  232. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +22 -5
  233. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +1 -1
  234. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_shipping_details.rb +1 -1
  235. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +1 -1
  236. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +106 -5
  237. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +22 -5
  238. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb +15 -5
  239. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_payment_information_tokenized_card.rb → pts_v2_payments_post201_response_payment_account_information_tokenized_card.rb} +1 -1
  240. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
  241. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +18 -1
  242. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +24 -7
  243. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information.rb +15 -5
  244. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_third_party_token.rb +213 -0
  245. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information.rb +1 -1
  246. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +1 -1
  247. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_error_information.rb +1 -1
  248. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +18 -1
  249. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +19 -2
  250. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +1 -1
  251. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +7 -1
  252. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_issuer_information.rb +166 -1
  253. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +45 -5
  254. data/lib/cybersource_rest_client/models/{pull_funds201_response_processor_information_avs.rb → pts_v2_payouts_post201_response_processor_information_avs.rb} +1 -1
  255. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_customer.rb +196 -0
  256. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_electronic_verification_results.rb +281 -0
  257. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_buyer_information.rb +196 -0
  258. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information_amount_details.rb +1 -1
  259. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information.rb +19 -6
  260. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +19 -6
  261. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
  262. data/lib/cybersource_rest_client/models/ptsv2billingagreements_agreement_information.rb +84 -5
  263. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information.rb +12 -2
  264. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_amount_details.rb +230 -0
  265. data/lib/cybersource_rest_client/models/{ptsv2intents_order_information_invoice_details.rb → ptsv2billingagreements_order_information_invoice_details.rb} +1 -1
  266. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank.rb +15 -5
  267. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank_account_alias.rb +207 -0
  268. data/lib/cybersource_rest_client/models/ptsv2billingagreements_processing_information.rb +18 -1
  269. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_agreement_information.rb +56 -5
  270. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_processing_information.rb +18 -1
  271. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +36 -6
  272. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_refund_options.rb +22 -5
  273. data/lib/cybersource_rest_client/models/ptsv2credits_token_information.rb +228 -0
  274. data/lib/cybersource_rest_client/models/ptsv2intents_order_information.rb +1 -1
  275. data/lib/cybersource_rest_client/models/ptsv2intentsid_order_information.rb +1 -1
  276. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +15 -5
  277. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +16 -5
  278. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +28 -1
  279. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_digital_currency.rb +231 -0
  280. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +23 -6
  281. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +32 -5
  282. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +15 -5
  283. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account_alias.rb +207 -0
  284. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_third_party_token.rb +196 -0
  285. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +18 -1
  286. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +74 -8
  287. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_program_indicators.rb +202 -0
  288. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +73 -5
  289. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +16 -5
  290. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +16 -5
  291. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +32 -5
  292. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information.rb +193 -0
  293. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information_authenticated_identities.rb +252 -0
  294. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +15 -5
  295. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +100 -5
  296. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +22 -5
  297. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +19 -2
  298. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processor_information.rb +39 -5
  299. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +15 -5
  300. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_shipping_details.rb +196 -0
  301. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +32 -5
  302. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -1
  303. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_refund_options.rb +22 -5
  304. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_device_information.rb +196 -0
  305. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_payment_information.rb +22 -5
  306. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -1
  307. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +18 -5
  308. data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information.rb +36 -6
  309. data/lib/cybersource_rest_client/models/pull_funds_request.rb +11 -1
  310. data/lib/cybersource_rest_client/models/push_funds201_response.rb +11 -1
  311. data/lib/cybersource_rest_client/models/push_funds201_response_issuer_information.rb +344 -0
  312. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +45 -5
  313. data/lib/cybersource_rest_client/models/push_funds_transfer_payment_information.rb +189 -0
  314. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card.rb → push_funds_transfer_payment_information_card.rb} +4 -4
  315. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_customer.rb → push_funds_transfer_payment_information_card_customer.rb} +1 -1
  316. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_instrument_identifier.rb → push_funds_transfer_payment_information_card_instrument_identifier.rb} +1 -1
  317. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_payment_instrument.rb → push_funds_transfer_payment_information_card_payment_instrument.rb} +1 -1
  318. data/lib/cybersource_rest_client/models/{rbsv1subscriptions_processing_information_authorization_options.rb → rbs_authorization_options.rb} +2 -2
  319. data/lib/cybersource_rest_client/models/{rbsv1subscriptions_processing_information_authorization_options_initiator.rb → rbs_authorization_options_initiator.rb} +1 -1
  320. data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information.rb +1 -1
  321. data/lib/cybersource_rest_client/models/{reporting_v3_report_definitions_name_get200_response_default_settings.rb → report_definition_default_settings.rb} +1 -1
  322. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +1 -1
  323. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +1 -1
  324. data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information.rb → risk_address_verification_information.rb} +3 -3
  325. data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb → risk_address_verification_information_bar_code.rb} +1 -1
  326. data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb → risk_address_verification_information_standard_address.rb} +2 -2
  327. data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address1.rb → risk_address_verification_information_standard_address_address1.rb} +1 -1
  328. data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
  329. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +1 -1
  330. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +39 -5
  331. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +1 -1
  332. data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +1 -1
  333. data/lib/cybersource_rest_client/models/tms_card_art.rb +23 -1
  334. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +1 -1
  335. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bill_to.rb +22 -5
  336. data/lib/cybersource_rest_client/models/{tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb → tms_issuer_life_cycle_event_simulation_metadata.rb} +2 -2
  337. data/lib/cybersource_rest_client/models/{tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb → tms_issuer_life_cycle_event_simulation_metadata_card_art.rb} +2 -2
  338. data/lib/cybersource_rest_client/models/{tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb → tms_issuer_life_cycle_event_simulation_metadata_card_art_combined_asset.rb} +1 -1
  339. data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_point_of_sale_information.rb → tms_point_of_sale_information.rb} +2 -2
  340. data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_point_of_sale_information_emv_tags.rb → tms_point_of_sale_information_emv_tags.rb} +1 -1
  341. data/lib/cybersource_rest_client/models/tms_tokenized_card_delete_request.rb +189 -0
  342. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments__embedded.rb +190 -0
  343. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card.rb +22 -1
  344. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_card.rb +1 -1
  345. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata.rb +16 -5
  346. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer.rb +41 -8
  347. data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_merchant_information_merchant_descriptor.rb → tmsv2_tokenized_card_metadata_issuer_bank_applications.rb} +11 -11
  348. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_capabilities.rb +257 -0
  349. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_verification_results.rb +202 -0
  350. data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +200 -0
  351. data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information.rb +2 -2
  352. data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information_customer__embedded.rb +2 -2
  353. data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_order_information_bill_to.rb → tmsv2tokenizedcards_bill_to.rb} +1 -1
  354. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_iddelete_reason.rb +208 -0
  355. data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_authenticated_identities.rb +19 -8
  356. data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_order_information.rb +1 -1
  357. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +1 -1
  358. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +1 -1
  359. data/lib/cybersource_rest_client/models/uc_configurations.rb +189 -0
  360. data/lib/cybersource_rest_client/models/uc_configurations_features.rb +209 -0
  361. data/lib/cybersource_rest_client/models/uc_configurations_features_click_to_pay.rb +189 -0
  362. data/lib/cybersource_rest_client/models/uc_configurations_features_click_to_pay_enrollment_data.rb +223 -0
  363. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations_features_paze.rb → uc_configurations_features_paze.rb} +2 -2
  364. data/lib/cybersource_rest_client/models/uc_configurations_features_portfolio_accessto_sensitive_data.rb +190 -0
  365. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features.rb → uc_feature_subscription.rb} +22 -22
  366. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_after_pay.rb → uc_feature_subscription_after_pay.rb} +1 -1
  367. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_apple_pay.rb → uc_feature_subscription_apple_pay.rb} +1 -1
  368. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_bancontact.rb → uc_feature_subscription_bancontact.rb} +1 -1
  369. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_click_to_pay.rb → uc_feature_subscription_click_to_pay.rb} +1 -1
  370. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_decision_manager.rb → uc_feature_subscription_decision_manager.rb} +1 -1
  371. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_dragon_pay.rb → uc_feature_subscription_dragon_pay.rb} +1 -1
  372. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_e_check.rb → uc_feature_subscription_e_check.rb} +1 -1
  373. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_google_pay.rb → uc_feature_subscription_google_pay.rb} +1 -1
  374. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_ideal.rb → uc_feature_subscription_ideal.rb} +1 -1
  375. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_konbini.rb → uc_feature_subscription_konbini.rb} +1 -1
  376. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_multibanco.rb → uc_feature_subscription_multibanco.rb} +1 -1
  377. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_my_bank.rb → uc_feature_subscription_my_bank.rb} +1 -1
  378. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_p24.rb → uc_feature_subscription_p24.rb} +1 -1
  379. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_pay_pal.rb → uc_feature_subscription_pay_pal.rb} +1 -1
  380. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_payer_authentication.rb → uc_feature_subscription_payer_authentication.rb} +1 -1
  381. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_paze_for_unified_checkout.rb → uc_feature_subscription_paze_for_unified_checkout.rb} +1 -1
  382. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_info_features_portfolio_accessof_sensi_data.rb → uc_feature_subscription_portfolio_accessof_sensitive_data.rb} +1 -1
  383. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_tink_pay_by_bank.rb → uc_feature_subscription_tink_pay_by_bank.rb} +1 -1
  384. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_token_management.rb → uc_feature_subscription_token_management.rb} +1 -1
  385. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_unified_click_to_pay_sdk.rb → uc_feature_subscription_unified_click_to_pay_sdk.rb} +1 -1
  386. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_venmo.rb → uc_feature_subscription_venmo.rb} +1 -1
  387. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +1 -1
  388. data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +45 -15
  389. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +325 -0
  390. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information_sub_merchant.rb +366 -0
  391. data/lib/cybersource_rest_client/models/ucv1sessions_data_client_reference_information.rb +227 -0
  392. data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +22 -5
  393. data/lib/cybersource_rest_client/models/ucv1sessions_data_installment_information.rb +196 -0
  394. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information.rb +22 -5
  395. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information_merchant_descriptor.rb +18 -1
  396. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information.rb +17 -7
  397. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details.rb +86 -12
  398. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details.rb +242 -0
  399. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details_transaction_advice_addendum.rb +196 -0
  400. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_line_items.rb +702 -0
  401. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_ship_to.rb +388 -0
  402. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_shipping_details.rb +213 -0
  403. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information.rb +38 -1
  404. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options_initiator.rb +1 -1
  405. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_bank_transfer_options.rb +196 -0
  406. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_recurring_options.rb +192 -0
  407. data/lib/cybersource_rest_client/models/ucv1sessions_data_recipient_information.rb +107 -53
  408. data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information.rb +376 -0
  409. data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information_account.rb +213 -0
  410. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations.rb +11 -1
  411. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_googlepay.rb +1 -1
  412. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_paypal.rb +211 -0
  413. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_paypal_tokenized_payment_method.rb +213 -0
  414. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token.rb +1 -1
  415. data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_business_details.rb → underwriting_configuration_business_details.rb} +2 -2
  416. data/lib/cybersource_rest_client/models/underwriting_configuration_business_details_product_services_subscription.rb +1 -1
  417. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information.rb +1 -1
  418. data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_processing_info_mit.rb → unified_checkout_merchant_initiated_transaction.rb} +1 -1
  419. data/lib/cybersource_rest_client/models/update_payments.rb +192 -0
  420. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information.rb +4 -2
  421. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items.rb +2 -2
  422. data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_order_information_line_items_passenger.rb → upv1capturecontexts_data_order_information_passenger.rb} +1 -1
  423. data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_order_information_line_items_tax_details.rb → upv1capturecontexts_data_order_information_tax_details.rb} +1 -1
  424. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.rb +1 -1
  425. data/lib/cybersource_rest_client/models/value_added_services_products.rb +25 -5
  426. data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information.rb → virtual_terminal_global_payment_settings.rb} +4 -4
  427. data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_basic_information.rb → virtual_terminal_global_payment_settings_basic_information.rb} +1 -1
  428. data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_merchant_defined_data_fields.rb → virtual_terminal_global_payment_settings_merchant_defined_data_fields.rb} +1 -1
  429. data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_payment_information.rb → virtual_terminal_global_payment_settings_payment_information.rb} +1 -1
  430. data/lib/cybersource_rest_client/models/vt_config_card_not_present.rb +1 -1
  431. data/lib/cybersource_rest_client.rb +225 -158
  432. metadata +231 -164
  433. data/lib/cybersource_rest_client/api/enrollment_api.rb +0 -104
  434. data/lib/cybersource_rest_client/api/token_api.rb +0 -306
  435. data/lib/cybersource_rest_client/api/tokenized_card_api.rb +0 -371
  436. data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_merchant_information.rb +0 -189
  437. data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +0 -42
@@ -0,0 +1,281 @@
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 PtsV2PayoutsPost201ResponseProcessorInformationElectronicVerificationResults
16
+ # Raw Electronic Verification response code from the processor for the customer's email address. Valid values: - '1': Verified - '2': Failed - '3': Not performed
17
+ attr_accessor :email_raw
18
+
19
+ # Raw electronic verification response code from the processor for the customer's first name. Valid values: - '01': Match - '50': Partial Match - '99': No Match
20
+ attr_accessor :first_name_raw
21
+
22
+ # Raw electronic verification response code from the processor for the customer's last name. Valid values: - '01': Match - '50': Partial Match - '99': No Match
23
+ attr_accessor :last_name_raw
24
+
25
+ # Raw electronic verification response code from the processor for the customer's middle name. Valid values: - '01': Match - '50': Partial Match - '99': No Match
26
+ attr_accessor :middle_name_raw
27
+
28
+ # Raw Electronic Verification response code from the processor for the customer's name. Valid values: - '01': Match - '50': Partial Match - '99': No Match
29
+ attr_accessor :name_raw
30
+
31
+ # Raw Electronic Verification response code from the processor for the customer's phone number. Valid values: - '1': Verified - '2': Failed - '3': Not performed
32
+ attr_accessor :phone_number_raw
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'email_raw' => :'emailRaw',
38
+ :'first_name_raw' => :'firstNameRaw',
39
+ :'last_name_raw' => :'lastNameRaw',
40
+ :'middle_name_raw' => :'middleNameRaw',
41
+ :'name_raw' => :'nameRaw',
42
+ :'phone_number_raw' => :'phoneNumberRaw'
43
+ }
44
+ end
45
+
46
+ # Attribute mapping from JSON key to ruby-style variable name.
47
+ def self.json_map
48
+ {
49
+ :'email_raw' => :'email_raw',
50
+ :'first_name_raw' => :'first_name_raw',
51
+ :'last_name_raw' => :'last_name_raw',
52
+ :'middle_name_raw' => :'middle_name_raw',
53
+ :'name_raw' => :'name_raw',
54
+ :'phone_number_raw' => :'phone_number_raw'
55
+ }
56
+ end
57
+
58
+ # Attribute type mapping.
59
+ def self.swagger_types
60
+ {
61
+ :'email_raw' => :'String',
62
+ :'first_name_raw' => :'String',
63
+ :'last_name_raw' => :'String',
64
+ :'middle_name_raw' => :'String',
65
+ :'name_raw' => :'String',
66
+ :'phone_number_raw' => :'String'
67
+ }
68
+ end
69
+
70
+ # Initializes the object
71
+ # @param [Hash] attributes Model attributes in the form of hash
72
+ def initialize(attributes = {})
73
+ return unless attributes.is_a?(Hash)
74
+
75
+ # convert string to symbol for hash key
76
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
77
+
78
+ if attributes.has_key?(:'emailRaw')
79
+ self.email_raw = attributes[:'emailRaw']
80
+ end
81
+
82
+ if attributes.has_key?(:'firstNameRaw')
83
+ self.first_name_raw = attributes[:'firstNameRaw']
84
+ end
85
+
86
+ if attributes.has_key?(:'lastNameRaw')
87
+ self.last_name_raw = attributes[:'lastNameRaw']
88
+ end
89
+
90
+ if attributes.has_key?(:'middleNameRaw')
91
+ self.middle_name_raw = attributes[:'middleNameRaw']
92
+ end
93
+
94
+ if attributes.has_key?(:'nameRaw')
95
+ self.name_raw = attributes[:'nameRaw']
96
+ end
97
+
98
+ if attributes.has_key?(:'phoneNumberRaw')
99
+ self.phone_number_raw = attributes[:'phoneNumberRaw']
100
+ end
101
+ end
102
+
103
+ # Show invalid properties with the reasons. Usually used together with valid?
104
+ # @return Array for valid properties with the reasons
105
+ def list_invalid_properties
106
+ invalid_properties = Array.new
107
+ invalid_properties
108
+ end
109
+
110
+ # Check to see if the all the properties in the model are valid
111
+ # @return true if the model is valid
112
+ def valid?
113
+ true
114
+ end
115
+
116
+ # Custom attribute writer method with validation
117
+ # @param [Object] email_raw Value to be assigned
118
+ def email_raw=(email_raw)
119
+ @email_raw = email_raw
120
+ end
121
+
122
+ # Custom attribute writer method with validation
123
+ # @param [Object] first_name_raw Value to be assigned
124
+ def first_name_raw=(first_name_raw)
125
+ @first_name_raw = first_name_raw
126
+ end
127
+
128
+ # Custom attribute writer method with validation
129
+ # @param [Object] last_name_raw Value to be assigned
130
+ def last_name_raw=(last_name_raw)
131
+ @last_name_raw = last_name_raw
132
+ end
133
+
134
+ # Custom attribute writer method with validation
135
+ # @param [Object] middle_name_raw Value to be assigned
136
+ def middle_name_raw=(middle_name_raw)
137
+ @middle_name_raw = middle_name_raw
138
+ end
139
+
140
+ # Custom attribute writer method with validation
141
+ # @param [Object] name_raw Value to be assigned
142
+ def name_raw=(name_raw)
143
+ @name_raw = name_raw
144
+ end
145
+
146
+ # Custom attribute writer method with validation
147
+ # @param [Object] phone_number_raw Value to be assigned
148
+ def phone_number_raw=(phone_number_raw)
149
+ @phone_number_raw = phone_number_raw
150
+ end
151
+
152
+ # Checks equality by comparing each attribute.
153
+ # @param [Object] Object to be compared
154
+ def ==(o)
155
+ return true if self.equal?(o)
156
+ self.class == o.class &&
157
+ email_raw == o.email_raw &&
158
+ first_name_raw == o.first_name_raw &&
159
+ last_name_raw == o.last_name_raw &&
160
+ middle_name_raw == o.middle_name_raw &&
161
+ name_raw == o.name_raw &&
162
+ phone_number_raw == o.phone_number_raw
163
+ end
164
+
165
+ # @see the `==` method
166
+ # @param [Object] Object to be compared
167
+ def eql?(o)
168
+ self == o
169
+ end
170
+
171
+ # Calculates hash code according to all attributes.
172
+ # @return [Fixnum] Hash code
173
+ def hash
174
+ [email_raw, first_name_raw, last_name_raw, middle_name_raw, name_raw, phone_number_raw].hash
175
+ end
176
+
177
+ # Builds the object from hash
178
+ # @param [Hash] attributes Model attributes in the form of hash
179
+ # @return [Object] Returns the model itself
180
+ def build_from_hash(attributes)
181
+ return nil unless attributes.is_a?(Hash)
182
+ self.class.swagger_types.each_pair do |key, type|
183
+ if type =~ /\AArray<(.*)>/i
184
+ # check to ensure the input is an array given that the the attribute
185
+ # is documented as an array but the input is not
186
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
187
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
188
+ end
189
+ elsif !attributes[self.class.attribute_map[key]].nil?
190
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
191
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
192
+ end
193
+
194
+ self
195
+ end
196
+
197
+ # Deserializes the data based on type
198
+ # @param string type Data type
199
+ # @param string value Value to be deserialized
200
+ # @return [Object] Deserialized data
201
+ def _deserialize(type, value)
202
+ case type.to_sym
203
+ when :DateTime
204
+ DateTime.parse(value)
205
+ when :Date
206
+ Date.parse(value)
207
+ when :String
208
+ value.to_s
209
+ when :Integer
210
+ value.to_i
211
+ when :Float
212
+ value.to_f
213
+ when :BOOLEAN
214
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
215
+ true
216
+ else
217
+ false
218
+ end
219
+ when :Object
220
+ # generic object (usually a Hash), return directly
221
+ value
222
+ when /\AArray<(?<inner_type>.+)>\z/
223
+ inner_type = Regexp.last_match[:inner_type]
224
+ value.map { |v| _deserialize(inner_type, v) }
225
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
226
+ k_type = Regexp.last_match[:k_type]
227
+ v_type = Regexp.last_match[:v_type]
228
+ {}.tap do |hash|
229
+ value.each do |k, v|
230
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
231
+ end
232
+ end
233
+ else # model
234
+ temp_model = CyberSource.const_get(type).new
235
+ temp_model.build_from_hash(value)
236
+ end
237
+ end
238
+
239
+ # Returns the string representation of the object
240
+ # @return [String] String presentation of the object
241
+ def to_s
242
+ to_hash.to_s
243
+ end
244
+
245
+ # to_body is an alias to to_hash (backward compatibility)
246
+ # @return [Hash] Returns the object in the form of hash
247
+ def to_body
248
+ to_hash
249
+ end
250
+
251
+ # Returns the object in the form of hash
252
+ # @return [Hash] Returns the object in the form of hash
253
+ def to_hash
254
+ hash = {}
255
+ self.class.attribute_map.each_pair do |attr, param|
256
+ value = self.send(attr)
257
+ next if value.nil?
258
+ hash[param] = _to_hash(value)
259
+ end
260
+ hash
261
+ end
262
+
263
+ # Outputs non-array value in the form of hash
264
+ # For object, use to_hash. Otherwise, just return the value
265
+ # @param [Object] value Any valid value
266
+ # @return [Hash] Returns the value in the form of hash
267
+ def _to_hash(value)
268
+ if value.is_a?(Array)
269
+ value.compact.map { |v| _to_hash(v) }
270
+ elsif value.is_a?(Hash)
271
+ {}.tap do |hash|
272
+ value.each { |k, v| hash[k] = _to_hash(v) }
273
+ end
274
+ elsif value.respond_to? :to_hash
275
+ value.to_hash
276
+ else
277
+ value
278
+ end
279
+ end
280
+ end
281
+ end
@@ -0,0 +1,196 @@
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 Ptsv1pullfundstransferBuyerInformation
16
+ # Customer's VAT registration number for the individual sender tax identification. This field flows in ISO field 104, DSID 63 tag 06. Visa is recommending the use of the following business application identifier (BAI) values and merchant category code (MCC) combinations to process domestic bill payments, toll payments, and business-to-business funding transactions as AFTs in Brazil: - BB (Business-to-business) - BP (Non-card bill payment) - FT (Funds transfer) - WT (Wallet transfer) MCC: 4784 #### Mapping - SCMP API Field: purchaser_vat_registration_number - Simple Order API Field: invoiceHeader_purchaserVATRegistrationNumber - CCS: customer.vatRegistrationNumber Optional field.
17
+ attr_accessor :vat_registration_number
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ :'vat_registration_number' => :'vatRegistrationNumber'
23
+ }
24
+ end
25
+
26
+ # Attribute mapping from JSON key to ruby-style variable name.
27
+ def self.json_map
28
+ {
29
+ :'vat_registration_number' => :'vat_registration_number'
30
+ }
31
+ end
32
+
33
+ # Attribute type mapping.
34
+ def self.swagger_types
35
+ {
36
+ :'vat_registration_number' => :'String'
37
+ }
38
+ end
39
+
40
+ # Initializes the object
41
+ # @param [Hash] attributes Model attributes in the form of hash
42
+ def initialize(attributes = {})
43
+ return unless attributes.is_a?(Hash)
44
+
45
+ # convert string to symbol for hash key
46
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
47
+
48
+ if attributes.has_key?(:'vatRegistrationNumber')
49
+ self.vat_registration_number = attributes[:'vatRegistrationNumber']
50
+ end
51
+ end
52
+
53
+ # Show invalid properties with the reasons. Usually used together with valid?
54
+ # @return Array for valid properties with the reasons
55
+ def list_invalid_properties
56
+ invalid_properties = Array.new
57
+ invalid_properties
58
+ end
59
+
60
+ # Check to see if the all the properties in the model are valid
61
+ # @return true if the model is valid
62
+ def valid?
63
+ true
64
+ end
65
+
66
+ # Custom attribute writer method with validation
67
+ # @param [Object] vat_registration_number Value to be assigned
68
+ def vat_registration_number=(vat_registration_number)
69
+ @vat_registration_number = vat_registration_number
70
+ end
71
+
72
+ # Checks equality by comparing each attribute.
73
+ # @param [Object] Object to be compared
74
+ def ==(o)
75
+ return true if self.equal?(o)
76
+ self.class == o.class &&
77
+ vat_registration_number == o.vat_registration_number
78
+ end
79
+
80
+ # @see the `==` method
81
+ # @param [Object] Object to be compared
82
+ def eql?(o)
83
+ self == o
84
+ end
85
+
86
+ # Calculates hash code according to all attributes.
87
+ # @return [Fixnum] Hash code
88
+ def hash
89
+ [vat_registration_number].hash
90
+ end
91
+
92
+ # Builds the object from hash
93
+ # @param [Hash] attributes Model attributes in the form of hash
94
+ # @return [Object] Returns the model itself
95
+ def build_from_hash(attributes)
96
+ return nil unless attributes.is_a?(Hash)
97
+ self.class.swagger_types.each_pair do |key, type|
98
+ if type =~ /\AArray<(.*)>/i
99
+ # check to ensure the input is an array given that the the attribute
100
+ # is documented as an array but the input is not
101
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
102
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
103
+ end
104
+ elsif !attributes[self.class.attribute_map[key]].nil?
105
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
106
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
107
+ end
108
+
109
+ self
110
+ end
111
+
112
+ # Deserializes the data based on type
113
+ # @param string type Data type
114
+ # @param string value Value to be deserialized
115
+ # @return [Object] Deserialized data
116
+ def _deserialize(type, value)
117
+ case type.to_sym
118
+ when :DateTime
119
+ DateTime.parse(value)
120
+ when :Date
121
+ Date.parse(value)
122
+ when :String
123
+ value.to_s
124
+ when :Integer
125
+ value.to_i
126
+ when :Float
127
+ value.to_f
128
+ when :BOOLEAN
129
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
130
+ true
131
+ else
132
+ false
133
+ end
134
+ when :Object
135
+ # generic object (usually a Hash), return directly
136
+ value
137
+ when /\AArray<(?<inner_type>.+)>\z/
138
+ inner_type = Regexp.last_match[:inner_type]
139
+ value.map { |v| _deserialize(inner_type, v) }
140
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
141
+ k_type = Regexp.last_match[:k_type]
142
+ v_type = Regexp.last_match[:v_type]
143
+ {}.tap do |hash|
144
+ value.each do |k, v|
145
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
146
+ end
147
+ end
148
+ else # model
149
+ temp_model = CyberSource.const_get(type).new
150
+ temp_model.build_from_hash(value)
151
+ end
152
+ end
153
+
154
+ # Returns the string representation of the object
155
+ # @return [String] String presentation of the object
156
+ def to_s
157
+ to_hash.to_s
158
+ end
159
+
160
+ # to_body is an alias to to_hash (backward compatibility)
161
+ # @return [Hash] Returns the object in the form of hash
162
+ def to_body
163
+ to_hash
164
+ end
165
+
166
+ # Returns the object in the form of hash
167
+ # @return [Hash] Returns the object in the form of hash
168
+ def to_hash
169
+ hash = {}
170
+ self.class.attribute_map.each_pair do |attr, param|
171
+ value = self.send(attr)
172
+ next if value.nil?
173
+ hash[param] = _to_hash(value)
174
+ end
175
+ hash
176
+ end
177
+
178
+ # Outputs non-array value in the form of hash
179
+ # For object, use to_hash. Otherwise, just return the value
180
+ # @param [Object] value Any valid value
181
+ # @return [Hash] Returns the value in the form of hash
182
+ def _to_hash(value)
183
+ if value.is_a?(Array)
184
+ value.compact.map { |v| _to_hash(v) }
185
+ elsif value.is_a?(Hash)
186
+ {}.tap do |hash|
187
+ value.each { |k, v| hash[k] = _to_hash(v) }
188
+ end
189
+ elsif value.respond_to? :to_hash
190
+ value.to_hash
191
+ else
192
+ value
193
+ end
194
+ end
195
+ end
196
+ end
@@ -13,7 +13,7 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  class Ptsv1pullfundstransferOrderInformationAmountDetails
16
- # The total amount of the funds transfer including all fees. This value cannot be negative. Field must also be greater than zero: minimum value is the smallest amount in any given currency. You can include a decimal point (.), but no other special characters.
16
+ # The total amount of the funds transfer including all fees. This value cannot be negative. You can include a decimal point (.), but no other special characters.
17
17
  attr_accessor :total_amount
18
18
 
19
19
  # Use a 3-character alpha currency code for currency of the sender. ISO standard currencies: [http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) Currency must be supported by the processor.
@@ -31,6 +31,9 @@ module CyberSource
31
31
  # Contains the ISO 639-2 defined language Code
32
32
  attr_accessor :language_code
33
33
 
34
+ # Account verification code will inform what Payment Account Verification should be performed. With this array of codes, a merchant can choose à la carte what verifications to run. This field is optional, and the default is 1 if it is not passed in. This means that a full validation of the fields will be performed. Valid verification codes: - `1` = Full Account Verification (Card Account, CVN, CAVV, TAVV, Address, Name, eMail, Phone, Identity) - `2` = Card Account Verification - `3` = Address Verification - `4` = Card Authentication Method (CAM) (Cryptogram) - `5` = Cardholder Authentication Verification (CAVV) - `6` = Cardholder Identity Verification - `7` = CVV2 Verification - `8` = eMail Verification - `9` = Name Verification - `10` = Phone Verification
35
+ attr_accessor :account_verification_code
36
+
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
35
38
  def self.attribute_map
36
39
  {
@@ -40,7 +43,8 @@ module CyberSource
40
43
  :'business_application_id' => :'businessApplicationId',
41
44
  :'purpose_of_payment' => :'purposeOfPayment',
42
45
  :'payouts_options' => :'payoutsOptions',
43
- :'language_code' => :'languageCode'
46
+ :'language_code' => :'languageCode',
47
+ :'account_verification_code' => :'accountVerificationCode'
44
48
  }
45
49
  end
46
50
 
@@ -53,7 +57,8 @@ module CyberSource
53
57
  :'business_application_id' => :'business_application_id',
54
58
  :'purpose_of_payment' => :'purpose_of_payment',
55
59
  :'payouts_options' => :'payouts_options',
56
- :'language_code' => :'language_code'
60
+ :'language_code' => :'language_code',
61
+ :'account_verification_code' => :'account_verification_code'
57
62
  }
58
63
  end
59
64
 
@@ -61,12 +66,13 @@ module CyberSource
61
66
  def self.swagger_types
62
67
  {
63
68
  :'commerce_indicator' => :'String',
64
- :'funding_options' => :'Ptsv1pullfundstransferProcessingInformationFundingOptions',
69
+ :'funding_options' => :'AftFundingOptions',
65
70
  :'recurring_options' => :'Ptsv1pullfundstransferProcessingInformationRecurringOptions',
66
71
  :'business_application_id' => :'String',
67
72
  :'purpose_of_payment' => :'String',
68
73
  :'payouts_options' => :'Ptsv1pullfundstransferProcessingInformationPayoutsOptions',
69
- :'language_code' => :'String'
74
+ :'language_code' => :'String',
75
+ :'account_verification_code' => :'Array<String>'
70
76
  }
71
77
  end
72
78
 
@@ -105,6 +111,12 @@ module CyberSource
105
111
  if attributes.has_key?(:'languageCode')
106
112
  self.language_code = attributes[:'languageCode']
107
113
  end
114
+
115
+ if attributes.has_key?(:'accountVerificationCode')
116
+ if (value = attributes[:'accountVerificationCode']).is_a?(Array)
117
+ self.account_verification_code = value
118
+ end
119
+ end
108
120
  end
109
121
 
110
122
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -173,7 +185,8 @@ module CyberSource
173
185
  business_application_id == o.business_application_id &&
174
186
  purpose_of_payment == o.purpose_of_payment &&
175
187
  payouts_options == o.payouts_options &&
176
- language_code == o.language_code
188
+ language_code == o.language_code &&
189
+ account_verification_code == o.account_verification_code
177
190
  end
178
191
 
179
192
  # @see the `==` method
@@ -185,7 +198,7 @@ module CyberSource
185
198
  # Calculates hash code according to all attributes.
186
199
  # @return [Fixnum] Hash code
187
200
  def hash
188
- [commerce_indicator, funding_options, recurring_options, business_application_id, purpose_of_payment, payouts_options, language_code].hash
201
+ [commerce_indicator, funding_options, recurring_options, business_application_id, purpose_of_payment, payouts_options, language_code, account_verification_code].hash
189
202
  end
190
203
 
191
204
  # Builds the object from hash
@@ -21,7 +21,7 @@ module CyberSource
21
21
  # Fee Program Indicator. This field identifies the interchange fee program applicable to each financial transaction. Fee program indicator (FPI) values correspond to the fee descriptor and rate for each existing fee program.
22
22
  attr_accessor :fee_program_id
23
23
 
24
- # Merchant payment gateway ID that is assigned by Mastercard and is provided by the acquirer when a registered merchant payment gateway service provider is involved in the transaction.
24
+ # Merchant payment gateway ID that is assigned by Mastercard and is provided by the acquirer when a registered merchant payment gateway service provider is involved in the transaction. This field is supported for Visa Platform Connect, Chase Paymentech Salem.
25
25
  attr_accessor :network_partner_id
26
26
 
27
27
  # This field contains coding that identifies (1) the customer transaction type and (2) the customer account types affected by the transaction. Default: 5402 (Original Credit Transaction) Contains codes that combined with some other fields such as the BAI (Business Application Id) identify some unique use cases. For Sales Tax rebates this field should be populated with the value 5120 (Value-added tax/Sales Tax) along with the businessApplicationId field set to the value 'FD' which indicates this push funds transfer is being conducted in order to facilitate a sales tax refund.
@@ -36,6 +36,9 @@ module CyberSource
36
36
  # Transaction's reference number.
37
37
  attr_accessor :reconciliation_id
38
38
 
39
+ # Account verification code will inform what Payment Account Verification should be performed. With this array of codes, a merchant can choose à la carte what verifications to run. This field is optional, and the default is 1 if it is not passed in. This means that a full validation of the fields will be performed. Valid verification codes: - `1` = Full Account Verification (Card Account, CVN, CAVV, TAVV, Address, Name, eMail, Phone, Identity) - `2` = Card Account Verification - `3` = Address Verification - `4` = Card Authentication Method (CAM) (Cryptogram) - `5` = Cardholder Authentication Verification (CAVV) - `6` = Cardholder Identity Verification - `7` = CVV2 Verification - `8` = eMail Verification - `9` = Name Verification - `10` = Phone Verification
40
+ attr_accessor :account_verification_code
41
+
39
42
  # Attribute mapping from ruby-style variable name to JSON key.
40
43
  def self.attribute_map
41
44
  {
@@ -46,7 +49,8 @@ module CyberSource
46
49
  :'processing_code' => :'processingCode',
47
50
  :'sharing_group_code' => :'sharingGroupCode',
48
51
  :'purpose_of_payment' => :'purposeOfPayment',
49
- :'reconciliation_id' => :'reconciliationId'
52
+ :'reconciliation_id' => :'reconciliationId',
53
+ :'account_verification_code' => :'accountVerificationCode'
50
54
  }
51
55
  end
52
56
 
@@ -60,7 +64,8 @@ module CyberSource
60
64
  :'processing_code' => :'processing_code',
61
65
  :'sharing_group_code' => :'sharing_group_code',
62
66
  :'purpose_of_payment' => :'purpose_of_payment',
63
- :'reconciliation_id' => :'reconciliation_id'
67
+ :'reconciliation_id' => :'reconciliation_id',
68
+ :'account_verification_code' => :'account_verification_code'
64
69
  }
65
70
  end
66
71
 
@@ -74,7 +79,8 @@ module CyberSource
74
79
  :'processing_code' => :'String',
75
80
  :'sharing_group_code' => :'String',
76
81
  :'purpose_of_payment' => :'String',
77
- :'reconciliation_id' => :'String'
82
+ :'reconciliation_id' => :'String',
83
+ :'account_verification_code' => :'Array<String>'
78
84
  }
79
85
  end
80
86
 
@@ -117,6 +123,12 @@ module CyberSource
117
123
  if attributes.has_key?(:'reconciliationId')
118
124
  self.reconciliation_id = attributes[:'reconciliationId']
119
125
  end
126
+
127
+ if attributes.has_key?(:'accountVerificationCode')
128
+ if (value = attributes[:'accountVerificationCode']).is_a?(Array)
129
+ self.account_verification_code = value
130
+ end
131
+ end
120
132
  end
121
133
 
122
134
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -213,7 +225,8 @@ module CyberSource
213
225
  processing_code == o.processing_code &&
214
226
  sharing_group_code == o.sharing_group_code &&
215
227
  purpose_of_payment == o.purpose_of_payment &&
216
- reconciliation_id == o.reconciliation_id
228
+ reconciliation_id == o.reconciliation_id &&
229
+ account_verification_code == o.account_verification_code
217
230
  end
218
231
 
219
232
  # @see the `==` method
@@ -225,7 +238,7 @@ module CyberSource
225
238
  # Calculates hash code according to all attributes.
226
239
  # @return [Fixnum] Hash code
227
240
  def hash
228
- [business_application_id, payouts_options, fee_program_id, network_partner_id, processing_code, sharing_group_code, purpose_of_payment, reconciliation_id].hash
241
+ [business_application_id, payouts_options, fee_program_id, network_partner_id, processing_code, sharing_group_code, purpose_of_payment, reconciliation_id, account_verification_code].hash
229
242
  end
230
243
 
231
244
  # Builds the object from hash
@@ -106,7 +106,7 @@ module CyberSource
106
106
  # Attribute type mapping.
107
107
  def self.swagger_types
108
108
  {
109
- :'payment_information' => :'Ptsv1pushfundstransferRecipientInformationPaymentInformation',
109
+ :'payment_information' => :'PushFundsTransferPaymentInformation',
110
110
  :'address1' => :'String',
111
111
  :'address2' => :'String',
112
112
  :'locality' => :'String',