cybersource_rest_client 0.0.56 → 0.0.57

Sign up to get free protection for your applications and to get access to all the features.
Files changed (357) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +8 -0
  3. data/lib/cybersource_rest_client/api/batches_api.rb +8 -28
  4. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -0
  5. data/lib/cybersource_rest_client/api/capture_api.rb +2 -0
  6. data/lib/cybersource_rest_client/api/chargeback_details_api.rb +2 -8
  7. data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +2 -8
  8. data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -8
  9. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +21 -37
  10. data/lib/cybersource_rest_client/api/credit_api.rb +2 -0
  11. data/lib/cybersource_rest_client/api/customer_api.rb +8 -64
  12. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +10 -124
  13. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +10 -124
  14. data/lib/cybersource_rest_client/api/decision_manager_api.rb +10 -0
  15. data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -0
  16. data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -0
  17. data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +4 -0
  18. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +12 -108
  19. data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +2 -8
  20. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +4 -0
  21. data/lib/cybersource_rest_client/api/invoices_api.rb +12 -0
  22. data/lib/cybersource_rest_client/api/keymanagement_api.rb +2 -0
  23. data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +2 -0
  24. data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +2 -0
  25. data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +2 -0
  26. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +77 -93
  27. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +2 -2
  28. data/lib/cybersource_rest_client/api/microform_integration_api.rb +2 -0
  29. data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -8
  30. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -0
  31. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +6 -0
  32. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -16
  33. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +8 -64
  34. data/lib/cybersource_rest_client/api/payments_api.rb +6 -0
  35. data/lib/cybersource_rest_client/api/payouts_api.rb +2 -0
  36. data/lib/cybersource_rest_client/api/plans_api.rb +16 -0
  37. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -16
  38. data/lib/cybersource_rest_client/api/push_funds_api.rb +2 -0
  39. data/lib/cybersource_rest_client/api/refund_api.rb +4 -0
  40. data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -16
  41. data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -8
  42. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +12 -58
  43. data/lib/cybersource_rest_client/api/reports_api.rb +8 -26
  44. data/lib/cybersource_rest_client/api/retrieval_details_api.rb +2 -8
  45. data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +2 -8
  46. data/lib/cybersource_rest_client/api/reversal_api.rb +4 -0
  47. data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -0
  48. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -16
  49. data/lib/cybersource_rest_client/api/subscriptions_api.rb +16 -0
  50. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +8 -0
  51. data/lib/cybersource_rest_client/api/taxes_api.rb +4 -0
  52. data/lib/cybersource_rest_client/api/token_api.rb +2 -16
  53. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +6 -0
  54. data/lib/cybersource_rest_client/api/transaction_details_api.rb +2 -0
  55. data/lib/cybersource_rest_client/api/transient_token_data_api.rb +2 -0
  56. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -0
  57. data/lib/cybersource_rest_client/api/user_management_api.rb +2 -0
  58. data/lib/cybersource_rest_client/api/user_management_search_api.rb +2 -0
  59. data/lib/cybersource_rest_client/api/verification_api.rb +4 -0
  60. data/lib/cybersource_rest_client/api/void_api.rb +10 -0
  61. data/lib/cybersource_rest_client/models/boardingv1registrations_product_information_selected_products.rb +1 -1
  62. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +1 -1
  63. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +1 -1
  64. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +1 -1
  65. data/lib/cybersource_rest_client/models/create_search_request.rb +1 -1
  66. data/lib/cybersource_rest_client/models/{create_webhook.rb → create_webhook_request.rb} +1 -1
  67. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_bill_to.rb +2 -2
  68. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
  69. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +1 -1
  70. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
  71. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +1 -1
  72. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +1 -1
  73. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +1 -1
  74. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +1 -1
  75. data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +1 -1
  76. data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +1 -1
  77. data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +1 -1
  78. data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +1 -1
  79. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present.rb +4 -4
  80. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_installment.rb +1 -1
  81. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_payouts.rb +2 -2
  82. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_processors.rb +2 -2
  83. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_present_processors.rb +1 -1
  84. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_common_merchant_descriptor_info.rb +2 -2
  85. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb +1 -1
  86. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service.rb +3 -3
  87. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_internal_only.rb +1 -1
  88. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_processors.rb +1 -1
  89. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_j_cbj_secure.rb +2 -2
  90. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified.rb +2 -2
  91. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified_currencies.rb +1 -1
  92. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_customer_notifications.rb +1 -1
  93. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_merchant_notifications.rb +1 -1
  94. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types.rb +5 -5
  95. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types_discover.rb +1 -1
  96. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb +4 -4
  97. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb +1 -1
  98. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb +1 -1
  99. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_payment_info.rb +1 -1
  100. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info.rb +4 -4
  101. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb +1 -1
  102. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb +1 -1
  103. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb +1 -1
  104. data/lib/cybersource_rest_client/models/{payment_products.rb → payments_products.rb} +18 -18
  105. data/lib/cybersource_rest_client/models/{payment_products_currency_conversion.rb → payments_products_card_present_connect.rb} +3 -3
  106. data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information.rb → payments_products_card_present_connect_configuration_information.rb} +2 -2
  107. data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_configuration_information_configurations.rb → payments_products_card_present_connect_configuration_information_configurations.rb} +1 -1
  108. data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_subscription_information.rb → payments_products_card_present_connect_subscription_information.rb} +1 -1
  109. data/lib/cybersource_rest_client/models/{payment_products_card_processing.rb → payments_products_card_processing.rb} +3 -3
  110. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information.rb → payments_products_card_processing_configuration_information.rb} +2 -2
  111. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations.rb → payments_products_card_processing_configuration_information_configurations.rb} +3 -3
  112. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common.rb → payments_products_card_processing_configuration_information_configurations_common.rb} +4 -4
  113. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_acquirer.rb → payments_products_card_processing_configuration_information_configurations_common_acquirer.rb} +1 -1
  114. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_currencies.rb → payments_products_card_processing_configuration_information_configurations_common_currencies.rb} +1 -1
  115. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_currencies_1.rb → payments_products_card_processing_configuration_information_configurations_common_currencies_1.rb} +1 -1
  116. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_payment_types.rb → payments_products_card_processing_configuration_information_configurations_common_payment_types.rb} +2 -2
  117. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_common_processors.rb → payments_products_card_processing_configuration_information_configurations_common_processors.rb} +10 -10
  118. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_features.rb → payments_products_card_processing_configuration_information_configurations_features.rb} +3 -3
  119. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information_configurations_features_card_present.rb → payments_products_card_processing_configuration_information_configurations_features_card_present.rb} +2 -2
  120. data/lib/cybersource_rest_client/models/{payment_products_card_processing_subscription_information.rb → payments_products_card_processing_subscription_information.rb} +2 -2
  121. data/lib/cybersource_rest_client/models/{payment_products_card_processing_subscription_information_features.rb → payments_products_card_processing_subscription_information_features.rb} +1 -1
  122. data/lib/cybersource_rest_client/models/payments_products_currency_conversion.rb +200 -0
  123. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information.rb → payments_products_currency_conversion_configuration_information.rb} +2 -2
  124. data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information_configurations.rb → payments_products_currency_conversion_configuration_information_configurations.rb} +2 -2
  125. data/lib/cybersource_rest_client/models/{payment_products_currency_conversion_configuration_information_configurations_processors.rb → payments_products_currency_conversion_configuration_information_configurations_processors.rb} +1 -1
  126. data/lib/cybersource_rest_client/models/{payment_products_cybs_ready_terminal.rb → payments_products_cybs_ready_terminal.rb} +2 -2
  127. data/lib/cybersource_rest_client/models/{payment_products_differential_fee.rb → payments_products_differential_fee.rb} +2 -2
  128. data/lib/cybersource_rest_client/models/{payment_products_differential_fee_subscription_information.rb → payments_products_differential_fee_subscription_information.rb} +2 -2
  129. data/lib/cybersource_rest_client/models/{payment_products_differential_fee_subscription_information_features.rb → payments_products_differential_fee_subscription_information_features.rb} +2 -2
  130. data/lib/cybersource_rest_client/models/{payment_products_digital_payments.rb → payments_products_digital_payments.rb} +2 -2
  131. data/lib/cybersource_rest_client/models/{payment_products_digital_payments_subscription_information.rb → payments_products_digital_payments_subscription_information.rb} +2 -2
  132. data/lib/cybersource_rest_client/models/{payment_products_payouts.rb → payments_products_e_check.rb} +3 -3
  133. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_internal_only_processors.rb → payments_products_e_check_config_common_internal_only_processors.rb} +1 -1
  134. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information.rb → payments_products_e_check_configuration_information.rb} +2 -2
  135. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations.rb → payments_products_e_check_configuration_information_configurations.rb} +4 -4
  136. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common.rb → payments_products_e_check_configuration_information_configurations_common.rb} +3 -3
  137. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_internal_only.rb → payments_products_e_check_configuration_information_configurations_common_internal_only.rb} +2 -2
  138. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_common_processors.rb → payments_products_e_check_configuration_information_configurations_common_processors.rb} +1 -1
  139. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_features.rb → payments_products_e_check_configuration_information_configurations_features.rb} +2 -2
  140. data/lib/cybersource_rest_client/models/{payment_products_e_check_configuration_information_configurations_underwriting.rb → payments_products_e_check_configuration_information_configurations_underwriting.rb} +4 -4
  141. data/lib/cybersource_rest_client/models/{payment_products_e_check_subscription_information.rb → payments_products_e_check_subscription_information.rb} +1 -1
  142. data/lib/cybersource_rest_client/models/payments_products_payer_authentication.rb +200 -0
  143. data/lib/cybersource_rest_client/models/{payment_products_card_present_connect_configuration_information.rb → payments_products_payer_authentication_configuration_information.rb} +2 -2
  144. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations.rb → payments_products_payer_authentication_configuration_information_configurations.rb} +2 -2
  145. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations_card_types.rb → payments_products_payer_authentication_configuration_information_configurations_card_types.rb} +9 -9
  146. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_configuration_information_configurations_card_types_cb.rb → payments_products_payer_authentication_configuration_information_configurations_card_types_cb.rb} +2 -2
  147. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_subscription_information.rb → payments_products_payer_authentication_subscription_information.rb} +1 -1
  148. data/lib/cybersource_rest_client/models/{payment_products_e_check.rb → payments_products_payouts.rb} +3 -3
  149. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information.rb → payments_products_payouts_configuration_information.rb} +2 -2
  150. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations.rb → payments_products_payouts_configuration_information_configurations.rb} +3 -3
  151. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_processor_account.rb → payments_products_payouts_configuration_information_configurations_processor_account.rb} +1 -1
  152. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_pullfunds.rb → payments_products_payouts_configuration_information_configurations_pullfunds.rb} +1 -1
  153. data/lib/cybersource_rest_client/models/{payment_products_payouts_configuration_information_configurations_pushfunds.rb → payments_products_payouts_configuration_information_configurations_pushfunds.rb} +2 -2
  154. data/lib/cybersource_rest_client/models/{payment_products_card_present_connect.rb → payments_products_secure_acceptance.rb} +3 -3
  155. data/lib/cybersource_rest_client/models/{payment_products_card_processing_configuration_information.rb → payments_products_secure_acceptance_configuration_information.rb} +2 -2
  156. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations.rb → payments_products_secure_acceptance_configuration_information_configurations.rb} +7 -7
  157. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_checkout.rb → payments_products_secure_acceptance_configuration_information_configurations_checkout.rb} +1 -1
  158. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_contact_information.rb → payments_products_secure_acceptance_configuration_information_configurations_contact_information.rb} +1 -1
  159. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_notifications.rb → payments_products_secure_acceptance_configuration_information_configurations_notifications.rb} +3 -3
  160. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_payment_methods.rb → payments_products_secure_acceptance_configuration_information_configurations_payment_methods.rb} +1 -1
  161. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_payment_types.rb → payments_products_secure_acceptance_configuration_information_configurations_payment_types.rb} +2 -2
  162. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information_configurations_service.rb → payments_products_secure_acceptance_configuration_information_configurations_service.rb} +1 -1
  163. data/lib/cybersource_rest_client/models/{payment_products_tax.rb → payments_products_tax.rb} +2 -2
  164. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance.rb → payments_products_virtual_terminal.rb} +3 -3
  165. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_configuration_information.rb → payments_products_virtual_terminal_configuration_information.rb} +2 -2
  166. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information_configurations.rb → payments_products_virtual_terminal_configuration_information_configurations.rb} +3 -3
  167. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_configuration_information_configurations_card_not_present.rb → payments_products_virtual_terminal_configuration_information_configurations_card_not_present.rb} +3 -3
  168. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
  169. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +1 -1
  170. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +4 -4
  171. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +6 -6
  172. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb +1 -1
  173. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
  174. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +4 -4
  175. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +3 -3
  176. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +1 -1
  177. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +1 -1
  178. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
  179. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
  180. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
  181. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +3 -3
  182. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +18 -18
  183. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +3 -3
  184. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +1 -1
  185. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information.rb +1 -1
  186. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
  187. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +3 -3
  188. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +1 -1
  189. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
  190. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +8 -8
  191. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +1 -1
  192. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +4 -4
  193. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +1 -1
  194. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +1 -1
  195. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
  196. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +1 -1
  197. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +4 -4
  198. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +1 -1
  199. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +1 -1
  200. data/lib/cybersource_rest_client/models/ptsv2billingagreements_device_information.rb +2 -2
  201. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
  202. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +2 -2
  203. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +3 -3
  204. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +5 -5
  205. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +1 -1
  206. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +2 -2
  207. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +1 -1
  208. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +3 -3
  209. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +1 -1
  210. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +9 -9
  211. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +5 -5
  212. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
  213. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +1 -1
  214. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1 -1
  215. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +5 -5
  216. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +3 -3
  217. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +4 -4
  218. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +5 -5
  219. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +3 -3
  220. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb +4 -4
  221. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +2 -2
  222. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +9 -9
  223. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
  224. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +1 -1
  225. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +1 -1
  226. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +1 -1
  227. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +7 -7
  228. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +2 -2
  229. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
  230. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +2 -2
  231. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
  232. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +1 -1
  233. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -3
  234. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +4 -4
  235. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +2 -2
  236. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +6 -6
  237. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +1 -1
  238. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
  239. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +2 -2
  240. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +5 -5
  241. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +1 -1
  242. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +4 -4
  243. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +1 -1
  244. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +1 -1
  245. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +1 -1
  246. data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb +1 -1
  247. data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information_weights.rb +2 -2
  248. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +1 -1
  249. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +8 -8
  250. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
  251. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +1 -1
  252. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +3 -3
  253. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
  254. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +1 -1
  255. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +6 -6
  256. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +1 -1
  257. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -3
  258. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
  259. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
  260. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +1 -1
  261. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +1 -1
  262. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +2 -2
  263. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
  264. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +1 -1
  265. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +5 -5
  266. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +4 -4
  267. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -1
  268. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
  269. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +1 -1
  270. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +5 -5
  271. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +1 -1
  272. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
  273. data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +1 -1
  274. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +1 -1
  275. data/lib/cybersource_rest_client/models/{replay_webhooks.rb → replay_webhooks_request.rb} +1 -1
  276. data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +1 -1
  277. data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +1 -1
  278. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
  279. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +1 -1
  280. data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +1 -1
  281. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +1 -1
  282. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -1
  283. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +7 -7
  284. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -1
  285. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +2 -2
  286. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +2 -2
  287. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +2 -2
  288. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +4 -4
  289. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
  290. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +2 -2
  291. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
  292. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +2 -2
  293. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
  294. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
  295. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +6 -6
  296. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +1 -1
  297. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +1 -1
  298. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +4 -4
  299. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
  300. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +7 -7
  301. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
  302. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +2 -2
  303. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +1 -1
  304. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +3 -3
  305. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -1
  306. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +1 -1
  307. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +4 -4
  308. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +6 -6
  309. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +1 -1
  310. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
  311. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +2 -2
  312. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
  313. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +1 -1
  314. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +5 -5
  315. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +1 -1
  316. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +1 -1
  317. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +2 -2
  318. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
  319. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +3 -3
  320. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
  321. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +1 -1
  322. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +1 -1
  323. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +1 -1
  324. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +7 -7
  325. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +6 -6
  326. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +3 -3
  327. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +3 -3
  328. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +2 -2
  329. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
  330. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
  331. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
  332. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +1 -1
  333. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +2 -2
  334. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +10 -10
  335. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
  336. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
  337. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +4 -4
  338. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +2 -2
  339. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb +1 -1
  340. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -1
  341. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +1 -1
  342. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +2 -2
  343. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +1 -1
  344. data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +1 -1
  345. data/lib/cybersource_rest_client/models/{update_webhook.rb → update_webhook_request.rb} +1 -1
  346. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +7 -7
  347. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to_company.rb +3 -3
  348. data/lib/cybersource_rest_client/models/value_added_services_products.rb +2 -2
  349. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +1 -1
  350. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
  351. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +2 -2
  352. data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +7 -7
  353. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +1 -1
  354. data/lib/cybersource_rest_client.rb +67 -67
  355. metadata +70 -70
  356. data/lib/cybersource_rest_client/models/payment_products_payer_authentication.rb +0 -200
  357. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal.rb +0 -200
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsCardProcessingSubscriptionInformation
16
+ class PaymentsProductsCardProcessingSubscriptionInformation
17
17
  attr_accessor :enabled
18
18
 
19
19
  # Indicates if the organization can enable this product using self service.
@@ -67,7 +67,7 @@ module CyberSource
67
67
  {
68
68
  :'enabled' => :'BOOLEAN',
69
69
  :'self_serviceability' => :'String',
70
- :'features' => :'Hash<String, PaymentProductsCardProcessingSubscriptionInformationFeatures>'
70
+ :'features' => :'Hash<String, PaymentsProductsCardProcessingSubscriptionInformationFeatures>'
71
71
  }
72
72
  end
73
73
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsCardProcessingSubscriptionInformationFeatures
16
+ class PaymentsProductsCardProcessingSubscriptionInformationFeatures
17
17
  attr_accessor :enabled
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -0,0 +1,200 @@
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 PaymentsProductsCurrencyConversion
17
+ attr_accessor :subscription_information
18
+
19
+ attr_accessor :configuration_information
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'subscription_information' => :'subscriptionInformation',
25
+ :'configuration_information' => :'configurationInformation'
26
+ }
27
+ end
28
+
29
+ # Attribute mapping from JSON key to ruby-style variable name.
30
+ def self.json_map
31
+ {
32
+ :'subscription_information' => :'subscription_information',
33
+ :'configuration_information' => :'configuration_information'
34
+ }
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.swagger_types
39
+ {
40
+ :'subscription_information' => :'PaymentsProductsPayerAuthenticationSubscriptionInformation',
41
+ :'configuration_information' => :'PaymentsProductsCurrencyConversionConfigurationInformation'
42
+ }
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ return unless attributes.is_a?(Hash)
49
+
50
+ # convert string to symbol for hash key
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
52
+
53
+ if attributes.has_key?(:'subscriptionInformation')
54
+ self.subscription_information = attributes[:'subscriptionInformation']
55
+ end
56
+
57
+ if attributes.has_key?(:'configurationInformation')
58
+ self.configuration_information = attributes[:'configurationInformation']
59
+ end
60
+ end
61
+
62
+ # Show invalid properties with the reasons. Usually used together with valid?
63
+ # @return Array for valid properties with the reasons
64
+ def list_invalid_properties
65
+ invalid_properties = Array.new
66
+ invalid_properties
67
+ end
68
+
69
+ # Check to see if the all the properties in the model are valid
70
+ # @return true if the model is valid
71
+ def valid?
72
+ true
73
+ end
74
+
75
+ # Checks equality by comparing each attribute.
76
+ # @param [Object] Object to be compared
77
+ def ==(o)
78
+ return true if self.equal?(o)
79
+ self.class == o.class &&
80
+ subscription_information == o.subscription_information &&
81
+ configuration_information == o.configuration_information
82
+ end
83
+
84
+ # @see the `==` method
85
+ # @param [Object] Object to be compared
86
+ def eql?(o)
87
+ self == o
88
+ end
89
+
90
+ # Calculates hash code according to all attributes.
91
+ # @return [Fixnum] Hash code
92
+ def hash
93
+ [subscription_information, configuration_information].hash
94
+ end
95
+
96
+ # Builds the object from hash
97
+ # @param [Hash] attributes Model attributes in the form of hash
98
+ # @return [Object] Returns the model itself
99
+ def build_from_hash(attributes)
100
+ return nil unless attributes.is_a?(Hash)
101
+ self.class.swagger_types.each_pair do |key, type|
102
+ if type =~ /\AArray<(.*)>/i
103
+ # check to ensure the input is an array given that the the attribute
104
+ # is documented as an array but the input is not
105
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
106
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
107
+ end
108
+ elsif !attributes[self.class.attribute_map[key]].nil?
109
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
110
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
111
+ end
112
+
113
+ self
114
+ end
115
+
116
+ # Deserializes the data based on type
117
+ # @param string type Data type
118
+ # @param string value Value to be deserialized
119
+ # @return [Object] Deserialized data
120
+ def _deserialize(type, value)
121
+ case type.to_sym
122
+ when :DateTime
123
+ DateTime.parse(value)
124
+ when :Date
125
+ Date.parse(value)
126
+ when :String
127
+ value.to_s
128
+ when :Integer
129
+ value.to_i
130
+ when :Float
131
+ value.to_f
132
+ when :BOOLEAN
133
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
134
+ true
135
+ else
136
+ false
137
+ end
138
+ when :Object
139
+ # generic object (usually a Hash), return directly
140
+ value
141
+ when /\AArray<(?<inner_type>.+)>\z/
142
+ inner_type = Regexp.last_match[:inner_type]
143
+ value.map { |v| _deserialize(inner_type, v) }
144
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
145
+ k_type = Regexp.last_match[:k_type]
146
+ v_type = Regexp.last_match[:v_type]
147
+ {}.tap do |hash|
148
+ value.each do |k, v|
149
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
150
+ end
151
+ end
152
+ else # model
153
+ temp_model = CyberSource.const_get(type).new
154
+ temp_model.build_from_hash(value)
155
+ end
156
+ end
157
+
158
+ # Returns the string representation of the object
159
+ # @return [String] String presentation of the object
160
+ def to_s
161
+ to_hash.to_s
162
+ end
163
+
164
+ # to_body is an alias to to_hash (backward compatibility)
165
+ # @return [Hash] Returns the object in the form of hash
166
+ def to_body
167
+ to_hash
168
+ end
169
+
170
+ # Returns the object in the form of hash
171
+ # @return [Hash] Returns the object in the form of hash
172
+ def to_hash
173
+ hash = {}
174
+ self.class.attribute_map.each_pair do |attr, param|
175
+ value = self.send(attr)
176
+ next if value.nil?
177
+ hash[param] = _to_hash(value)
178
+ end
179
+ hash
180
+ end
181
+
182
+ # Outputs non-array value in the form of hash
183
+ # For object, use to_hash. Otherwise, just return the value
184
+ # @param [Object] value Any valid value
185
+ # @return [Hash] Returns the value in the form of hash
186
+ def _to_hash(value)
187
+ if value.is_a?(Array)
188
+ value.compact.map { |v| _to_hash(v) }
189
+ elsif value.is_a?(Hash)
190
+ {}.tap do |hash|
191
+ value.each { |k, v| hash[k] = _to_hash(v) }
192
+ end
193
+ elsif value.respond_to? :to_hash
194
+ value.to_hash
195
+ else
196
+ value
197
+ end
198
+ end
199
+ end
200
+ end
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsPayerAuthenticationConfigurationInformation
16
+ class PaymentsProductsCurrencyConversionConfigurationInformation
17
17
  attr_accessor :template_id
18
18
 
19
19
  attr_accessor :configurations
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'template_id' => :'String',
41
- :'configurations' => :'PaymentProductsPayerAuthenticationConfigurationInformationConfigurations'
41
+ :'configurations' => :'PaymentsProductsCurrencyConversionConfigurationInformationConfigurations'
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 PaymentProductsCurrencyConversionConfigurationInformationConfigurations
16
+ class PaymentsProductsCurrencyConversionConfigurationInformationConfigurations
17
17
  attr_accessor :processors
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
- :'processors' => :'Hash<String, PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors>'
36
+ :'processors' => :'Hash<String, PaymentsProductsCurrencyConversionConfigurationInformationConfigurationsProcessors>'
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 PaymentProductsCurrencyConversionConfigurationInformationConfigurationsProcessors
16
+ class PaymentsProductsCurrencyConversionConfigurationInformationConfigurationsProcessors
17
17
  # The merchant identifier for the Currency Conversion service. Check with your Currency Conversion Provider for details.
18
18
  attr_accessor :merchant_id
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsCybsReadyTerminal
16
+ class PaymentsProductsCybsReadyTerminal
17
17
  attr_accessor :subscription_information
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
- :'subscription_information' => :'PaymentProductsCardPresentConnectSubscriptionInformation'
36
+ :'subscription_information' => :'PaymentsProductsCardPresentConnectSubscriptionInformation'
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 PaymentProductsDifferentialFee
16
+ class PaymentsProductsDifferentialFee
17
17
  attr_accessor :subscription_information
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
- :'subscription_information' => :'PaymentProductsDifferentialFeeSubscriptionInformation'
36
+ :'subscription_information' => :'PaymentsProductsDifferentialFeeSubscriptionInformation'
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 PaymentProductsDifferentialFeeSubscriptionInformation
16
+ class PaymentsProductsDifferentialFeeSubscriptionInformation
17
17
  attr_accessor :enabled
18
18
 
19
19
  # Indicates if the organization can enable this product using self service.
@@ -66,7 +66,7 @@ module CyberSource
66
66
  {
67
67
  :'enabled' => :'BOOLEAN',
68
68
  :'self_serviceability' => :'String',
69
- :'features' => :'PaymentProductsDifferentialFeeSubscriptionInformationFeatures'
69
+ :'features' => :'PaymentsProductsDifferentialFeeSubscriptionInformationFeatures'
70
70
  }
71
71
  end
72
72
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsDifferentialFeeSubscriptionInformationFeatures
16
+ class PaymentsProductsDifferentialFeeSubscriptionInformationFeatures
17
17
  attr_accessor :surcharge
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
- :'surcharge' => :'PaymentProductsCardProcessingSubscriptionInformationFeatures'
36
+ :'surcharge' => :'PaymentsProductsCardProcessingSubscriptionInformationFeatures'
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 PaymentProductsDigitalPayments
16
+ class PaymentsProductsDigitalPayments
17
17
  attr_accessor :subscription_information
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
- :'subscription_information' => :'PaymentProductsDigitalPaymentsSubscriptionInformation'
36
+ :'subscription_information' => :'PaymentsProductsDigitalPaymentsSubscriptionInformation'
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 PaymentProductsDigitalPaymentsSubscriptionInformation
16
+ class PaymentsProductsDigitalPaymentsSubscriptionInformation
17
17
  attr_accessor :enabled
18
18
 
19
19
  # Indicates if the organization can enable this product using self service.
@@ -67,7 +67,7 @@ module CyberSource
67
67
  {
68
68
  :'enabled' => :'BOOLEAN',
69
69
  :'self_serviceability' => :'String',
70
- :'features' => :'Hash<String, PaymentProductsCardProcessingSubscriptionInformationFeatures>'
70
+ :'features' => :'Hash<String, PaymentsProductsCardProcessingSubscriptionInformationFeatures>'
71
71
  }
72
72
  end
73
73
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsPayouts
16
+ class PaymentsProductsECheck
17
17
  attr_accessor :subscription_information
18
18
 
19
19
  attr_accessor :configuration_information
@@ -37,8 +37,8 @@ module CyberSource
37
37
  # Attribute type mapping.
38
38
  def self.swagger_types
39
39
  {
40
- :'subscription_information' => :'PaymentProductsPayerAuthenticationSubscriptionInformation',
41
- :'configuration_information' => :'PaymentProductsPayoutsConfigurationInformation'
40
+ :'subscription_information' => :'PaymentsProductsECheckSubscriptionInformation',
41
+ :'configuration_information' => :'PaymentsProductsECheckConfigurationInformation'
42
42
  }
43
43
  end
44
44
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # Name of the payment processor. Example - \"wellsfargoach\"
17
- class PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors
17
+ class PaymentsProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors
18
18
  # *NEW* Flag to indicate whether the processor is migrated to the Common Connectivity Services Platform. Applicable for VPC and amexdirect processors.
19
19
  attr_accessor :enable_ccs
20
20
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsECheckConfigurationInformation
16
+ class PaymentsProductsECheckConfigurationInformation
17
17
  attr_accessor :template_id
18
18
 
19
19
  attr_accessor :configurations
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'template_id' => :'String',
41
- :'configurations' => :'PaymentProductsECheckConfigurationInformationConfigurations'
41
+ :'configurations' => :'PaymentsProductsECheckConfigurationInformationConfigurations'
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 PaymentProductsECheckConfigurationInformationConfigurations
16
+ class PaymentsProductsECheckConfigurationInformationConfigurations
17
17
  attr_accessor :common
18
18
 
19
19
  attr_accessor :underwriting
@@ -41,9 +41,9 @@ module CyberSource
41
41
  # Attribute type mapping.
42
42
  def self.swagger_types
43
43
  {
44
- :'common' => :'PaymentProductsECheckConfigurationInformationConfigurationsCommon',
45
- :'underwriting' => :'PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting',
46
- :'features' => :'PaymentProductsECheckConfigurationInformationConfigurationsFeatures'
44
+ :'common' => :'PaymentsProductsECheckConfigurationInformationConfigurationsCommon',
45
+ :'underwriting' => :'PaymentsProductsECheckConfigurationInformationConfigurationsUnderwriting',
46
+ :'features' => :'PaymentsProductsECheckConfigurationInformationConfigurationsFeatures'
47
47
  }
48
48
  end
49
49
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsECheckConfigurationInformationConfigurationsCommon
16
+ class PaymentsProductsECheckConfigurationInformationConfigurationsCommon
17
17
  attr_accessor :processors
18
18
 
19
19
  attr_accessor :internal_only
@@ -57,8 +57,8 @@ module CyberSource
57
57
  # Attribute type mapping.
58
58
  def self.swagger_types
59
59
  {
60
- :'processors' => :'Hash<String, PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors>',
61
- :'internal_only' => :'PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly',
60
+ :'processors' => :'Hash<String, PaymentsProductsECheckConfigurationInformationConfigurationsCommonProcessors>',
61
+ :'internal_only' => :'PaymentsProductsECheckConfigurationInformationConfigurationsCommonInternalOnly',
62
62
  :'account_holder_name' => :'String',
63
63
  :'account_type' => :'String',
64
64
  :'account_routing_number' => :'String',
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnly
16
+ class PaymentsProductsECheckConfigurationInformationConfigurationsCommonInternalOnly
17
17
  # *NEW* Used by EBC UI always set to true
18
18
  attr_accessor :display_echeck_info
19
19
 
@@ -40,7 +40,7 @@ module CyberSource
40
40
  def self.swagger_types
41
41
  {
42
42
  :'display_echeck_info' => :'BOOLEAN',
43
- :'processors' => :'Hash<String, PaymentProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors>'
43
+ :'processors' => :'Hash<String, PaymentsProductsECheckConfigurationInformationConfigurationsCommonInternalOnlyProcessors>'
44
44
  }
45
45
  end
46
46
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # Payment Processing connection used to support eCheck, aka ACH, payment methods. Example - \"bofaach\"
17
- class PaymentProductsECheckConfigurationInformationConfigurationsCommonProcessors
17
+ class PaymentsProductsECheckConfigurationInformationConfigurationsCommonProcessors
18
18
  # *EXISTING* Company (merchant) defined description of entry to receive. For e.g. PAYROLL, GAS BILL, INS PREM. This field is alphanumeric
19
19
  attr_accessor :company_entry_description
20
20
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsECheckConfigurationInformationConfigurationsFeatures
16
+ class PaymentsProductsECheckConfigurationInformationConfigurationsFeatures
17
17
  attr_accessor :account_validation_service
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
- :'account_validation_service' => :'PaymentProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService'
36
+ :'account_validation_service' => :'PaymentsProductsECheckConfigurationInformationConfigurationsFeaturesAccountValidationService'
37
37
  }
38
38
  end
39
39
 
@@ -13,8 +13,8 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsECheckConfigurationInformationConfigurationsUnderwriting
17
- # Mandatory Free-text (csv) Possible values (combination): CCD — Cash Concentration or Disbursement, or CCD, is a charge or refund against a business checking account. One-time or recurring CCD transactions are fund transfers to or from a corporate entity. A standing authorization is required for recurring transactions. PPD — Prearranged Payment and Deposit Entry, or PPD, is a charge or refund against a customers checking or savings account. PPD entries can only be originated when payment and deposit terms between the merchant and the customer are prearranged. A written authorization from the customer is required for one-time transactions and a written standing authorization is required for recurring transactions. TEL — Telephone-Initiated Entry, or TEL, is a one-time charge against a customers checking or savings account. TEL transactions can only be originated when a business relationship between the merchant and the customer already exists; or if a relationship does not exist, then only when the customer initiates the telephone call to the merchant. Payment authorization is obtained from the customer by telephone. WEB — Internet-Initiated Entry or WEB is a charge against a customers checking or savings account. One-time or recurring WEB transactions are originated through the Internet. Payment authorization is also obtained from the customer through the Internet.
16
+ class PaymentsProductsECheckConfigurationInformationConfigurationsUnderwriting
17
+ # Mandatory Free-text (csv) Possible values (combination): CCD — Cash Concentration or Disbursement, or CCD, is a charge or refund against a business checking account. One-time or recurring CCD transactions are fund transfers to or from a corporate entity. A standing authorization is required for recurring transactions. PPD — Prearranged Payment and Deposit Entry, or PPD, is a charge or refund against a customer's checking or savings account. PPD entries can only be originated when payment and deposit terms between the merchant and the customer are prearranged. A written authorization from the customer is required for one-time transactions and a written standing authorization is required for recurring transactions. TEL — Telephone-Initiated Entry, or TEL, is a one-time charge against a customer's checking or savings account. TEL transactions can only be originated when a business relationship between the merchant and the customer already exists; or if a relationship does not exist, then only when the customer initiates the telephone call to the merchant. Payment authorization is obtained from the customer by telephone. WEB — Internet-Initiated Entry or WEB is a charge against a customer's checking or savings account. One-time or recurring WEB transactions are originated through the Internet. Payment authorization is also obtained from the customer through the Internet.
18
18
  attr_accessor :standard_entry_class_codes
19
19
 
20
20
  # Mandatory Determines whether CYBS has placed the merchant on a funding hold This will often be set to True for new merchants until the risk team has completed additional verification of their first transaction. It will be switched to \"false\" once underwriting review is completed and we are ready to start funding the merchant.
@@ -32,13 +32,13 @@ module CyberSource
32
32
  # Mandatory Maximum total Transaction Amount This is a per transaction limit. For example, the merchant is limited to processing transactions under $100 12 digits (including decimal - USD only)
33
33
  attr_accessor :transaction_amount_limit
34
34
 
35
- # Mandatory Reserve Method Possible value: - fixed - none Most merchants do not have a reserve attached to their account so the default value would be \"none.\" For a Fixed Reserve, the reserve balance is established by either, (1) a receipt of a lump sum deposit from a merchant, or (2) withholding funds at a Reserve Rate established for the account from each batch settlement until the reserve balance is equal to a set Reserve Target. A Fixed Reserve may also be established by a combination of lump sum deposit and withholding of settlement funds. A Rolling Reserve balance is established by withholding from a merchants available settlement funds at a Reserve Rate (percentage) and no Reserve Target is specified. Rather, each amount withheld is retained for a specified number of Reserve Holding Days and then released back to the merchant.
35
+ # Mandatory Reserve Method Possible value: - fixed - none Most merchants do not have a reserve attached to their account so the default value would be \"none.\" For a Fixed Reserve, the reserve balance is established by either, (1) a receipt of a lump sum deposit from a merchant, or (2) withholding funds at a Reserve Rate established for the account from each batch settlement until the reserve balance is equal to a set Reserve Target. A Fixed Reserve may also be established by a combination of lump sum deposit and withholding of settlement funds. A Rolling Reserve balance is established by withholding from a merchant's available settlement funds at a Reserve Rate (percentage) and no Reserve Target is specified. Rather, each amount withheld is retained for a specified number of Reserve Holding Days and then released back to the merchant.
36
36
  attr_accessor :risk_reserve_method
37
37
 
38
38
  # Mandatory Reserve Rate (% of TPV)=> Relevant for Rolling Reserve and Fixed Reserve The percentage rate at which risk funds are withheld from each eCheck.Net batch settlement.
39
39
  attr_accessor :risk_reserve_rate
40
40
 
41
- # Mandatory Reserve Target (fixed $ amount)=> Relevant for Fixed Reserve ONLY The maximum dollar amount that can be held in Risk Reserve for a fixed reserve. Once risk withholdings reach the Reserve Target established for the eCheck.Net account, a portion of available funds will be deposited to the merchants bank account 12 digit including decimal
41
+ # Mandatory Reserve Target (fixed $ amount)=> Relevant for Fixed Reserve ONLY The maximum dollar amount that can be held in Risk Reserve for a fixed reserve. Once risk withholdings reach the Reserve Target established for the eCheck.Net account, a portion of available funds will be deposited to the merchant's bank account 12 digit including decimal
42
42
  attr_accessor :risk_reserve_target_amount
43
43
 
44
44
  # Solution organization id
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentProductsECheckSubscriptionInformation
16
+ class PaymentsProductsECheckSubscriptionInformation
17
17
  attr_accessor :enabled
18
18
 
19
19
  # Indicates if the organization can enable this product using self service.