cybersource_rest_client 0.0.88 → 0.0.89

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 (607) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +1 -0
  3. data/lib/AuthenticationSDK/util/Cache.rb +1 -1
  4. data/lib/AuthenticationSDK/util/MLEUtility.rb +2 -3
  5. data/lib/cybersource_rest_client/api/acp_checkout_api.rb +35 -25
  6. data/lib/cybersource_rest_client/api/agent_registration_api.rb +52 -36
  7. data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +7 -5
  8. data/lib/cybersource_rest_client/api/batches_api.rb +38 -30
  9. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +15 -9
  10. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +7 -5
  11. data/lib/cybersource_rest_client/api/capture_api.rb +4 -2
  12. data/lib/cybersource_rest_client/api/chargeback_details_api.rb +4 -2
  13. data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +4 -2
  14. data/lib/cybersource_rest_client/api/conversion_details_api.rb +4 -2
  15. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +65 -59
  16. data/lib/cybersource_rest_client/api/credentials_api.rb +4 -2
  17. data/lib/cybersource_rest_client/api/credit_api.rb +4 -2
  18. data/lib/cybersource_rest_client/api/customer_api.rb +16 -8
  19. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +20 -10
  20. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +20 -10
  21. data/lib/cybersource_rest_client/api/decision_manager_api.rb +26 -16
  22. data/lib/cybersource_rest_client/api/device_de_association_api.rb +11 -7
  23. data/lib/cybersource_rest_client/api/device_search_api.rb +14 -10
  24. data/lib/cybersource_rest_client/api/download_dtd_api.rb +4 -2
  25. data/lib/cybersource_rest_client/api/download_xsd_api.rb +4 -2
  26. data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +18 -14
  27. data/lib/cybersource_rest_client/api/enrollment_api.rb +4 -2
  28. data/lib/cybersource_rest_client/api/flex_api_api.rb +4 -2
  29. data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +17 -15
  30. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +24 -12
  31. data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +4 -2
  32. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +8 -4
  33. data/lib/cybersource_rest_client/api/invoices_api.rb +28 -14
  34. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +142 -128
  35. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +21 -15
  36. data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +80 -64
  37. data/lib/cybersource_rest_client/api/merchant_registration_api.rb +52 -36
  38. data/lib/cybersource_rest_client/api/microform_integration_api.rb +4 -2
  39. data/lib/cybersource_rest_client/api/net_fundings_api.rb +4 -2
  40. data/lib/cybersource_rest_client/api/network_tokens_api.rb +51 -37
  41. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +4 -2
  42. data/lib/cybersource_rest_client/api/offers_api.rb +16 -12
  43. data/lib/cybersource_rest_client/api/orders_api.rb +8 -4
  44. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +12 -6
  45. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +4 -2
  46. data/lib/cybersource_rest_client/api/payment_events_api.rb +8 -4
  47. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +16 -8
  48. data/lib/cybersource_rest_client/api/payment_links_api.rb +16 -8
  49. data/lib/cybersource_rest_client/api/payment_tokens_api.rb +17 -15
  50. data/lib/cybersource_rest_client/api/payments_api.rb +33 -21
  51. data/lib/cybersource_rest_client/api/payouts_api.rb +4 -2
  52. data/lib/cybersource_rest_client/api/plans_api.rb +32 -16
  53. data/lib/cybersource_rest_client/api/product_feed_api.rb +28 -20
  54. data/lib/cybersource_rest_client/api/pull_funds_api.rb +12 -6
  55. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +4 -2
  56. data/lib/cybersource_rest_client/api/purchase_intent_api.rb +12 -6
  57. data/lib/cybersource_rest_client/api/push_funds_api.rb +4 -2
  58. data/lib/cybersource_rest_client/api/refund_api.rb +8 -4
  59. data/lib/cybersource_rest_client/api/report_definitions_api.rb +8 -4
  60. data/lib/cybersource_rest_client/api/report_downloads_api.rb +4 -2
  61. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +20 -10
  62. data/lib/cybersource_rest_client/api/reports_api.rb +12 -6
  63. data/lib/cybersource_rest_client/api/retrieval_details_api.rb +4 -2
  64. data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +4 -2
  65. data/lib/cybersource_rest_client/api/reversal_api.rb +8 -4
  66. data/lib/cybersource_rest_client/api/search_transactions_api.rb +8 -4
  67. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +8 -4
  68. data/lib/cybersource_rest_client/api/subscriptions_api.rb +43 -23
  69. data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +21 -17
  70. data/lib/cybersource_rest_client/api/taxes_api.rb +10 -6
  71. data/lib/cybersource_rest_client/api/tokenize_api.rb +7 -5
  72. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +19 -11
  73. data/lib/cybersource_rest_client/api/transaction_details_api.rb +4 -2
  74. data/lib/cybersource_rest_client/api/transaction_query_api.rb +17 -15
  75. data/lib/cybersource_rest_client/api/transient_token_data_v2_api.rb +12 -6
  76. data/lib/cybersource_rest_client/api/ucp_checkout_api.rb +35 -25
  77. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +4 -2
  78. data/lib/cybersource_rest_client/api/unified_checkout_v1_capture_context_api.rb +4 -2
  79. data/lib/cybersource_rest_client/api/user_management_api.rb +4 -2
  80. data/lib/cybersource_rest_client/api/user_management_search_api.rb +4 -2
  81. data/lib/cybersource_rest_client/api/verification_api.rb +8 -4
  82. data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +4 -2
  83. data/lib/cybersource_rest_client/api/void_api.rb +20 -10
  84. data/lib/cybersource_rest_client/models/acp_update_checkout_session_request.rb +1 -1
  85. data/lib/cybersource_rest_client/models/{key_request.rb → add_agent_key_request.rb} +1 -1
  86. data/lib/cybersource_rest_client/models/{key_request_1.rb → add_merchant_key_request.rb} +1 -1
  87. data/lib/cybersource_rest_client/models/agent_request.rb +1 -1
  88. data/lib/cybersource_rest_client/models/{payments_products_alternative_payment_methods_configuration_payment_methods.rb → alternative_payments_payment_method_configuration.rb} +2 -2
  89. data/lib/cybersource_rest_client/models/{payments_products_alternative_payment_methods_additional_configurations.rb → alternative_payments_payment_method_configuration_additional_configurations.rb} +1 -1
  90. data/lib/cybersource_rest_client/models/alternative_payments_processor_configuration.rb +1 -1
  91. data/lib/cybersource_rest_client/models/{inline_response_200_15.rb → bank_account_validation_response.rb} +1 -1
  92. data/lib/cybersource_rest_client/models/{inline_response_202.rb → batch_create_response.rb} +2 -2
  93. data/lib/cybersource_rest_client/models/{inline_response_202__links.rb → batch_create_response_links.rb} +3 -3
  94. data/lib/cybersource_rest_client/models/{inline_response_200_13__links_report.rb → batch_create_response_links_status.rb} +1 -1
  95. data/lib/cybersource_rest_client/models/{inline_response_200_14.rb → batch_report_response.rb} +4 -4
  96. data/lib/cybersource_rest_client/models/{inline_response_200_14_records.rb → batch_report_response_records.rb} +3 -3
  97. data/lib/cybersource_rest_client/models/{inline_response_200_14_response_record.rb → batch_report_response_response_record.rb} +2 -2
  98. data/lib/cybersource_rest_client/models/{inline_response_200_14_response_record_additional_updates.rb → batch_report_response_response_record_additional_updates.rb} +1 -1
  99. data/lib/cybersource_rest_client/models/{inline_response_200_14_source_record.rb → batch_report_response_source_record.rb} +1 -1
  100. data/lib/cybersource_rest_client/models/{inline_response_200_13.rb → batch_status_response.rb} +4 -4
  101. data/lib/cybersource_rest_client/models/{inline_response_200_13_billing.rb → batch_status_response_billing.rb} +1 -1
  102. data/lib/cybersource_rest_client/models/{inline_response_200_13__links.rb → batch_status_response_links.rb} +3 -3
  103. data/lib/cybersource_rest_client/models/{inline_response_401_3__links_self.rb → batch_status_response_links_report.rb} +1 -1
  104. data/lib/cybersource_rest_client/models/{inline_response_200_12.rb → batches_list_response.rb} +3 -3
  105. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded.rb → batches_list_response_embedded.rb} +2 -2
  106. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded_batches.rb → batches_list_response_embedded_batches.rb} +3 -3
  107. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded__links.rb → batches_list_response_embedded_links.rb} +2 -2
  108. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded__links_reports.rb → batches_list_response_embedded_links_reports.rb} +1 -1
  109. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded_totals.rb → batches_list_response_embedded_totals.rb} +1 -1
  110. data/lib/cybersource_rest_client/models/{inline_response_200_12__links.rb → batches_list_response_links.rb} +1 -1
  111. data/lib/cybersource_rest_client/models/{inline_response_201_6.rb → boarding_registration_create_response.rb} +5 -5
  112. data/lib/cybersource_rest_client/models/{inline_response_201_6_integration_information.rb → boarding_registration_create_response_integration_information.rb} +2 -2
  113. data/lib/cybersource_rest_client/models/{inline_response_201_6_integration_information_tenant_configurations.rb → boarding_registration_create_response_integration_information_tenant_configurations.rb} +1 -1
  114. data/lib/cybersource_rest_client/models/{inline_response_201_6_organization_information.rb → boarding_registration_create_response_organization_information.rb} +1 -1
  115. data/lib/cybersource_rest_client/models/{inline_response_201_6_product_information_setups.rb → boarding_registration_create_response_product_information_setups.rb} +2 -2
  116. data/lib/cybersource_rest_client/models/{inline_response_201_6_registration_information.rb → boarding_registration_create_response_registration_information.rb} +1 -1
  117. data/lib/cybersource_rest_client/models/{inline_response_201_6_setups.rb → boarding_registration_create_response_setups.rb} +4 -4
  118. data/lib/cybersource_rest_client/models/{inline_response_201_6_setups_commerce_solutions.rb → boarding_registration_create_response_setups_commerce_solutions.rb} +1 -1
  119. data/lib/cybersource_rest_client/models/{inline_response_201_6_setups_risk.rb → boarding_registration_create_response_setups_risk.rb} +1 -1
  120. data/lib/cybersource_rest_client/models/{inline_response_201_6_setups_value_added_services.rb → boarding_registration_create_response_setups_value_added_services.rb} +1 -1
  121. data/lib/cybersource_rest_client/models/{inline_response_200_5.rb → boarding_registration_get_response.rb} +3 -3
  122. data/lib/cybersource_rest_client/models/{inline_response_200_5_integration_information.rb → boarding_registration_get_response_integration_information.rb} +2 -2
  123. data/lib/cybersource_rest_client/models/{inline_response_200_5_integration_information_tenant_configurations.rb → boarding_registration_get_response_integration_information_tenant_configurations.rb} +1 -1
  124. data/lib/cybersource_rest_client/models/{inline_response_200_18.rb → cancel_checkout_response.rb} +7 -7
  125. data/lib/cybersource_rest_client/models/{inline_response_200_2.rb → card_art_asset_response.rb} +2 -2
  126. data/lib/cybersource_rest_client/models/{inline_response_200_2_content.rb → card_art_asset_response_content.rb} +1 -1
  127. data/lib/cybersource_rest_client/models/card_processing_config_common_acquirers.rb +1 -1
  128. data/lib/cybersource_rest_client/models/card_processing_config_common_payment_types.rb +1 -1
  129. data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +1 -1
  130. data/lib/cybersource_rest_client/models/{payments_products_card_processing_subscription_information_features.rb → card_proessing_feature_subscription_item.rb} +1 -1
  131. data/lib/cybersource_rest_client/models/{inline_response_200_3.rb → case_management_actions_response.rb} +2 -2
  132. data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded.rb → case_management_actions_response_embedded.rb} +3 -3
  133. data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_capture.rb → case_management_actions_response_embedded_capture.rb} +2 -2
  134. data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_capture__links.rb → case_management_actions_response_embedded_capture_links.rb} +2 -2
  135. data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_capture__links_self.rb → case_management_actions_response_embedded_capture_links_self.rb} +1 -1
  136. data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_reversal.rb → case_management_actions_response_embedded_reversal.rb} +2 -2
  137. data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_reversal__links.rb → case_management_actions_response_embedded_reversal_links.rb} +2 -2
  138. data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_reversal__links_self.rb → case_management_actions_response_embedded_reversal_links_self.rb} +1 -1
  139. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
  140. data/lib/cybersource_rest_client/models/{inline_response_201_12.rb → checkout_session_response.rb} +8 -8
  141. data/lib/cybersource_rest_client/models/{inline_response_201_12_fulfillment_address.rb → checkout_session_response_fulfillment_address.rb} +1 -1
  142. data/lib/cybersource_rest_client/models/{inline_response_201_12_fulfillment_options.rb → checkout_session_response_fulfillment_options.rb} +1 -1
  143. data/lib/cybersource_rest_client/models/{inline_response_201_12_item.rb → checkout_session_response_item.rb} +1 -1
  144. data/lib/cybersource_rest_client/models/{inline_response_201_12_line_items.rb → checkout_session_response_line_items.rb} +2 -2
  145. data/lib/cybersource_rest_client/models/{inline_response_201_12_links.rb → checkout_session_response_links.rb} +1 -1
  146. data/lib/cybersource_rest_client/models/{inline_response_201_12_messages.rb → checkout_session_response_messages.rb} +1 -1
  147. data/lib/cybersource_rest_client/models/{inline_response_201_12_payment_provider.rb → checkout_session_response_payment_provider.rb} +1 -1
  148. data/lib/cybersource_rest_client/models/{inline_response_201_12_totals.rb → checkout_session_response_totals.rb} +1 -1
  149. data/lib/cybersource_rest_client/models/{inline_response_201_2.rb → comment_decision_manager_case_response.rb} +1 -1
  150. data/lib/cybersource_rest_client/models/{ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information_service.rb → common_ancillary_information_service_item.rb} +1 -1
  151. data/lib/cybersource_rest_client/models/{inline_response_200_17.rb → complete_checkout_response.rb} +8 -8
  152. data/lib/cybersource_rest_client/models/{inline_response_200_17_fulfillment_address.rb → complete_checkout_response_fulfillment_address.rb} +1 -1
  153. data/lib/cybersource_rest_client/models/{inline_response_200_17_order.rb → complete_checkout_response_order.rb} +1 -1
  154. data/lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb +32 -2
  155. data/lib/cybersource_rest_client/models/{create_subscription_request_1.rb → create_follow_on_subscription_request.rb} +1 -1
  156. data/lib/cybersource_rest_client/models/create_fx_rates_request.rb +219 -0
  157. data/lib/cybersource_rest_client/models/{inline_response_201_3.rb → create_fx_rates_response.rb} +5 -5
  158. data/lib/cybersource_rest_client/models/{inline_response_201_3_error_information.rb → create_fx_rates_response_error_information.rb} +2 -2
  159. data/lib/cybersource_rest_client/models/{inline_response_201_3_error_information_details.rb → create_fx_rates_response_error_information_details.rb} +1 -1
  160. data/lib/cybersource_rest_client/models/{inline_response_201_3_order_information.rb → create_fx_rates_response_order_information.rb} +2 -2
  161. data/lib/cybersource_rest_client/models/{inline_response_201_3_order_information_amount_details.rb → create_fx_rates_response_order_information_amount_details.rb} +1 -1
  162. data/lib/cybersource_rest_client/models/{inline_response_201_3_processing_information.rb → create_fx_rates_response_processing_information.rb} +2 -2
  163. data/lib/cybersource_rest_client/models/{inline_response_201_3_processing_information_routing.rb → create_fx_rates_response_processing_information_routing.rb} +1 -1
  164. data/lib/cybersource_rest_client/models/{inline_response_201_3_processor_information.rb → create_fx_rates_response_processor_information.rb} +1 -1
  165. data/lib/cybersource_rest_client/models/{inline_response_201_11.rb → create_offer_response.rb} +5 -5
  166. data/lib/cybersource_rest_client/models/{inline_response_201_11_client_reference_information.rb → create_offer_response_client_reference_information.rb} +1 -1
  167. data/lib/cybersource_rest_client/models/{inline_response_201_11_error_information.rb → create_offer_response_error_information.rb} +1 -1
  168. data/lib/cybersource_rest_client/models/{inline_response_201_11_order_information.rb → create_offer_response_order_information.rb} +2 -2
  169. data/lib/cybersource_rest_client/models/{inline_response_201_11_order_information_currency_conversion.rb → create_offer_response_order_information_currency_conversion.rb} +2 -2
  170. data/lib/cybersource_rest_client/models/{inline_response_201_11_order_information_currency_conversion_offer.rb → create_offer_response_order_information_currency_conversion_offer.rb} +1 -1
  171. data/lib/cybersource_rest_client/models/{inline_response_201_11_processor_information.rb → create_offer_response_processor_information.rb} +1 -1
  172. data/lib/cybersource_rest_client/models/create_payment_request.rb +1 -1
  173. data/lib/cybersource_rest_client/models/{body_1.rb → create_query_api_request.rb} +1 -1
  174. data/lib/cybersource_rest_client/models/{inline_response_201_4.rb → create_query_api_response.rb} +5 -5
  175. data/lib/cybersource_rest_client/models/{inline_response_201_4_acquirer_information.rb → create_query_api_response_acquirer_information.rb} +1 -1
  176. data/lib/cybersource_rest_client/models/{inline_response_201_4_client_reference_information.rb → create_query_api_response_client_reference_information.rb} +1 -1
  177. data/lib/cybersource_rest_client/models/{inline_response_201_4_error_information.rb → create_query_api_response_error_information.rb} +2 -2
  178. data/lib/cybersource_rest_client/models/{inline_response_201_4_error_information_details.rb → create_query_api_response_error_information_details.rb} +1 -1
  179. data/lib/cybersource_rest_client/models/{inline_response_200_1__links.rb → create_query_api_response_links.rb} +2 -2
  180. data/lib/cybersource_rest_client/models/{inline_response_201_4__links_self.rb → create_query_api_response_links_self.rb} +1 -1
  181. data/lib/cybersource_rest_client/models/{inline_response_201_4_merchant_information.rb → create_query_api_response_merchant_information.rb} +1 -1
  182. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_order_information.rb → create_query_api_response_order_information.rb} +2 -2
  183. data/lib/cybersource_rest_client/models/{inline_response_201_4_order_information_amount_details.rb → create_query_api_response_order_information_amount_details.rb} +1 -1
  184. data/lib/cybersource_rest_client/models/{inline_response_201_4_payment_information.rb → create_query_api_response_payment_information.rb} +2 -2
  185. data/lib/cybersource_rest_client/models/{inline_response_201_4_payment_information_card.rb → create_query_api_response_payment_information_card.rb} +1 -1
  186. data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information.rb → create_query_api_response_processing_information.rb} +2 -2
  187. data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_payouts_options.rb → create_query_api_response_processing_information_payouts_options.rb} +1 -1
  188. data/lib/cybersource_rest_client/models/{inline_response_201_4_processor_information.rb → create_query_api_response_processor_information.rb} +2 -2
  189. data/lib/cybersource_rest_client/models/{inline_response_201_4_processor_information_card_verification.rb → create_query_api_response_processor_information_card_verification.rb} +1 -1
  190. data/lib/cybersource_rest_client/models/{inline_response_201_4_transactions.rb → create_query_api_response_transactions.rb} +7 -7
  191. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2.rb → create_session_response.rb} +4 -4
  192. data/lib/cybersource_rest_client/models/{inline_response_201_4_order_information.rb → create_session_response_order_information.rb} +2 -2
  193. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_order_information_amount_details.rb → create_session_response_order_information_amount_details.rb} +1 -1
  194. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_payment_information.rb → create_session_response_payment_information.rb} +2 -2
  195. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_payment_information_e_wallet.rb → create_session_response_payment_information_e_wallet.rb} +2 -2
  196. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_processor_information.rb → create_session_response_processor_information.rb} +1 -1
  197. data/lib/cybersource_rest_client/models/create_webhook.rb +1 -1
  198. data/lib/cybersource_rest_client/models/{notificationsubscriptionsv2webhooks_products_1.rb → create_webhook_request_product_item.rb} +1 -1
  199. data/lib/cybersource_rest_client/models/{inline_response_201_8.rb → create_webhook_subscription_response.rb} +1 -1
  200. data/lib/cybersource_rest_client/models/{card_processing_config_common_currencies.rb → currency_configuration.rb} +1 -1
  201. data/lib/cybersource_rest_client/models/{card_processing_config_common_currencies_1.rb → currency_updated_configuration.rb} +1 -1
  202. data/lib/cybersource_rest_client/models/default_merchant_information_merchant_descriptor.rb +196 -0
  203. data/lib/cybersource_rest_client/models/default_payment_instrument.rb +1 -1
  204. data/lib/cybersource_rest_client/models/{inline_response_200_10.rb → device_de_associate_v3_response.rb} +1 -1
  205. data/lib/cybersource_rest_client/models/{inline_response_200_9.rb → device_search_response.rb} +2 -2
  206. data/lib/cybersource_rest_client/models/{inline_response_200_9_devices.rb → device_search_response_devices.rb} +1 -1
  207. data/lib/cybersource_rest_client/models/{inline_response_200_11.rb → device_search_v3_response.rb} +2 -2
  208. data/lib/cybersource_rest_client/models/{inline_response_200_11_devices.rb → device_search_v3_response_devices.rb} +2 -2
  209. data/lib/cybersource_rest_client/models/{inline_response_200_11_payment_processor_to_terminal_map.rb → device_search_v3_response_payment_processor_to_terminal_map.rb} +1 -1
  210. data/lib/cybersource_rest_client/models/{payments_products_digital_payments_subscription_information_features.rb → digital_payments_feature_subscription_item.rb} +1 -1
  211. data/lib/cybersource_rest_client/models/{payment_instrument.rb → embedded_payment_instrument.rb} +2 -2
  212. data/lib/cybersource_rest_client/models/{ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb → enhanced_ancillary_information_service_item.rb} +1 -1
  213. data/lib/cybersource_rest_client/models/{inline_response_200_19.rb → feed_job_status_response.rb} +3 -3
  214. data/lib/cybersource_rest_client/models/{inline_response_200_19_processing.rb → feed_processing_summary.rb} +1 -1
  215. data/lib/cybersource_rest_client/models/{inline_response_200_19_syndication.rb → feed_syndication_protocol_status.rb} +1 -1
  216. data/lib/cybersource_rest_client/models/{inline_response_400_13.rb → flex400_error_response.rb} +2 -2
  217. data/lib/cybersource_rest_client/models/{inline_response_400_1_details.rb → flex400_error_response_details.rb} +1 -1
  218. data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +2 -19
  219. data/lib/cybersource_rest_client/models/generate_unified_checkout_v1_capture_context_request.rb +2 -19
  220. data/lib/cybersource_rest_client/models/{inline_response_201_5.rb → get_account_info_response.rb} +2 -2
  221. data/lib/cybersource_rest_client/models/{inline_response_201_5_payout_information.rb → get_account_info_response_payout_information.rb} +3 -3
  222. data/lib/cybersource_rest_client/models/{inline_response_201_5_payout_information_pull_funds.rb → get_account_info_response_payout_information_pull_funds.rb} +1 -1
  223. data/lib/cybersource_rest_client/models/{inline_response_201_5_payout_information_push_funds.rb → get_account_info_response_payout_information_push_funds.rb} +1 -1
  224. data/lib/cybersource_rest_client/models/{get_subscription_response_1.rb → get_follow_on_subscription_response.rb} +5 -5
  225. data/lib/cybersource_rest_client/models/{get_subscription_response_1_buyer_information.rb → get_follow_on_subscription_response_buyer_information.rb} +1 -1
  226. data/lib/cybersource_rest_client/models/{get_subscription_response_1__links.rb → get_follow_on_subscription_response_links.rb} +1 -1
  227. data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument.rb → get_follow_on_subscription_response_payment_instrument.rb} +3 -3
  228. data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument_bank_account.rb → get_follow_on_subscription_response_payment_instrument_bank_account.rb} +1 -1
  229. data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument_card.rb → get_follow_on_subscription_response_payment_instrument_card.rb} +1 -1
  230. data/lib/cybersource_rest_client/models/{get_subscription_response_1_shipping_address.rb → get_follow_on_subscription_response_shipping_address.rb} +1 -1
  231. data/lib/cybersource_rest_client/models/{inline_response_200_16.rb → get_offer_response.rb} +4 -4
  232. data/lib/cybersource_rest_client/models/{inline_response_200_16_client_reference_information.rb → get_offer_response_client_reference_information.rb} +1 -1
  233. data/lib/cybersource_rest_client/models/{inline_response_200_1.rb → get_tokenized_card_response.rb} +2 -2
  234. data/lib/cybersource_rest_client/models/{inline_response_201_4__links.rb → get_tokenized_card_response_links.rb} +2 -2
  235. data/lib/cybersource_rest_client/models/{inline_response_202__links_status.rb → get_tokenized_card_response_links_self.rb} +1 -1
  236. data/lib/cybersource_rest_client/models/{iccv1checkoutsessionssession_id_discounts.rb → iccv1_update_checkout_sessions_discounts.rb} +1 -1
  237. data/lib/cybersource_rest_client/models/{iccv1checkoutsessionssession_id_fulfillment.rb → iccv1_update_checkout_sessions_fulfillment.rb} +1 -1
  238. data/lib/cybersource_rest_client/models/{iccv1checkout_sessionssession_id_fulfillment_address.rb → iccv1_update_checkout_sessions_fulfillment_address.rb} +1 -1
  239. data/lib/cybersource_rest_client/models/{iccv1checkoutsessionssession_id_payment.rb → iccv1_update_checkoutsessions_payment.rb} +1 -1
  240. data/lib/cybersource_rest_client/models/{iccv1checkout_sessionssession_idcomplete_payment_data_billing_address.rb → iccv1checkout_sessions_payment_data_billing_address.rb} +1 -1
  241. data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data.rb +1 -1
  242. data/lib/cybersource_rest_client/models/{inline_response_201_13_discounts.rb → iccv1checkoutsessions_response_discounts.rb} +1 -1
  243. data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment.rb → iccv1checkoutsessions_response_fulfillment.rb} +1 -1
  244. data/lib/cybersource_rest_client/models/{inline_response_201_13_payment.rb → iccv1checkoutsessions_response_payment.rb} +1 -1
  245. data/lib/cybersource_rest_client/models/inline_response_400.rb +53 -9
  246. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +56 -40
  247. data/lib/cybersource_rest_client/models/{inline_response_400_10_fields.rb → inline_response_400_1_fields.rb} +1 -1
  248. data/lib/cybersource_rest_client/models/inline_response_400_2.rb +6 -6
  249. data/lib/cybersource_rest_client/models/{inline_response_400_11_details.rb → inline_response_400_2_details.rb} +1 -1
  250. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +30 -58
  251. data/lib/cybersource_rest_client/models/{inline_response_400_12_details.rb → inline_response_400_3_details.rb} +1 -1
  252. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +40 -67
  253. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +16 -16
  254. data/lib/cybersource_rest_client/models/{inline_response_400_14_details.rb → inline_response_400_5_details.rb} +1 -1
  255. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +52 -6
  256. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +38 -38
  257. data/lib/cybersource_rest_client/models/inline_response_401.rb +33 -51
  258. data/lib/cybersource_rest_client/models/inline_response_401_1.rb +56 -44
  259. data/lib/cybersource_rest_client/models/{inline_response_401_3__links.rb → inline_response_401_1__links.rb} +2 -2
  260. data/lib/cybersource_rest_client/models/{inline_response_200_1__links_self.rb → inline_response_401_1__links_self.rb} +1 -1
  261. data/lib/cybersource_rest_client/models/{inline_response_401_3_fields.rb → inline_response_401_1_fields.rb} +1 -1
  262. data/lib/cybersource_rest_client/models/inline_response_403.rb +53 -9
  263. data/lib/cybersource_rest_client/models/inline_response_403_1.rb +22 -34
  264. data/lib/cybersource_rest_client/models/inline_response_403_2.rb +29 -29
  265. data/lib/cybersource_rest_client/models/inline_response_404.rb +20 -10
  266. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +42 -7
  267. data/lib/cybersource_rest_client/models/{inline_response_404_2_details.rb → inline_response_404_1_details.rb} +1 -1
  268. data/lib/cybersource_rest_client/models/inline_response_404_2.rb +7 -8
  269. data/lib/cybersource_rest_client/models/inline_response_404_3.rb +2 -26
  270. data/lib/cybersource_rest_client/models/{inline_response_404_4_details.rb → inline_response_404_3_details.rb} +1 -1
  271. data/lib/cybersource_rest_client/models/inline_response_404_4.rb +29 -17
  272. data/lib/cybersource_rest_client/models/inline_response_404_5.rb +28 -28
  273. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
  274. data/lib/cybersource_rest_client/models/inline_response_500.rb +53 -9
  275. data/lib/cybersource_rest_client/models/inline_response_500_1.rb +10 -22
  276. data/lib/cybersource_rest_client/models/inline_response_500_2.rb +29 -29
  277. data/lib/cybersource_rest_client/models/inline_response_502.rb +53 -9
  278. data/lib/cybersource_rest_client/models/inline_response_502_1.rb +12 -24
  279. data/lib/cybersource_rest_client/models/inline_response_502_2.rb +20 -21
  280. data/lib/cybersource_rest_client/models/{payment_instrument_list__embedded.rb → instrument_identifier_payment_instrument_list_embedded.rb} +2 -2
  281. data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded.rb → instrument_identifier_payment_instrument_list_embedded_1.rb} +1 -1
  282. data/lib/cybersource_rest_client/models/{payment_instrument_list__links.rb → instrument_identifier_payment_instrument_list_links.rb} +6 -6
  283. data/lib/cybersource_rest_client/models/{payment_instrument_list__links_first.rb → instrument_identifier_payment_instrument_list_links_first.rb} +1 -1
  284. data/lib/cybersource_rest_client/models/{payment_instrument_list__links_last.rb → instrument_identifier_payment_instrument_list_links_last.rb} +1 -1
  285. data/lib/cybersource_rest_client/models/{payment_instrument_list__links_next.rb → instrument_identifier_payment_instrument_list_links_next.rb} +1 -1
  286. data/lib/cybersource_rest_client/models/{payment_instrument_list__links_prev.rb → instrument_identifier_payment_instrument_list_links_prev.rb} +1 -1
  287. data/lib/cybersource_rest_client/models/{payment_instrument_list__links_self.rb → instrument_identifier_payment_instrument_list_links_self.rb} +1 -1
  288. data/lib/cybersource_rest_client/models/{pts_v2_credits_post201_response_1.rb → intimate_billing_agreement_response.rb} +2 -2
  289. data/lib/cybersource_rest_client/models/{pts_v2_credits_post201_response_1_processor_information.rb → intimate_billing_agreement_response_processor_information.rb} +1 -1
  290. data/lib/cybersource_rest_client/models/{inline_response_200_4.rb → merchant_defined_field_with_id_response.rb} +1 -1
  291. data/lib/cybersource_rest_client/models/merchant_update.rb +2 -2
  292. data/lib/cybersource_rest_client/models/mm_fx_rates400_error_response.rb +264 -0
  293. data/lib/cybersource_rest_client/models/{inline_response_404_6.rb → mm_fx_rates401_error_response.rb} +38 -20
  294. data/lib/cybersource_rest_client/models/{inline_response_502_5.rb → mm_fx_rates502_error_response.rb} +22 -21
  295. data/lib/cybersource_rest_client/models/{inline_response_400_15.rb → mm_query_api400_error_response.rb} +23 -35
  296. data/lib/cybersource_rest_client/models/mm_query_api401_error_response.rb +241 -0
  297. data/lib/cybersource_rest_client/models/{inline_response_502_3.rb → mm_query_api502_error_response.rb} +1 -1
  298. data/lib/cybersource_rest_client/models/{body_2.rb → parse_emv_tags_request.rb} +1 -1
  299. data/lib/cybersource_rest_client/models/{inline_response_206.rb → partial_device_de_associate_v3.rb} +1 -1
  300. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +1 -1
  301. data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
  302. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +1 -1
  303. data/lib/cybersource_rest_client/models/{default_payment_instrument__embedded.rb → payment_instrument_embedded.rb} +1 -1
  304. data/lib/cybersource_rest_client/models/{payment_instrument_list__embedded__embedded.rb → payment_instrument_embedded_1.rb} +1 -1
  305. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments__embedded.rb → payment_instrument_embedded_2.rb} +1 -1
  306. data/lib/cybersource_rest_client/models/payment_instrument_list.rb +2 -2
  307. data/lib/cybersource_rest_client/models/payment_instrument_list_1.rb +2 -2
  308. data/lib/cybersource_rest_client/models/{request.rb → payment_token_request.rb} +1 -1
  309. data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information.rb +1 -1
  310. data/lib/cybersource_rest_client/models/payments_products_digital_payments_subscription_information.rb +1 -1
  311. data/lib/cybersource_rest_client/models/payments_products_microform_subscription_information.rb +1 -1
  312. data/lib/cybersource_rest_client/models/{merchant_defined_field_core.rb → pbl_merchant_defined_field_definition_request.rb} +1 -1
  313. data/lib/cybersource_rest_client/models/pbl_payment_links_all_get200_response.rb +1 -1
  314. data/lib/cybersource_rest_client/models/{pbl_payment_links_all_get200_response_links.rb → pbl_payment_links_all_get200_response_sdk_links.rb} +1 -1
  315. data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +1 -1
  316. data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +1 -1
  317. data/lib/cybersource_rest_client/models/{body.rb → post_batch_request.rb} +1 -1
  318. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +1 -1
  319. data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
  320. data/lib/cybersource_rest_client/models/{inline_response_201_1.rb → post_payment_credentials_response.rb} +4 -4
  321. data/lib/cybersource_rest_client/models/{inline_response_201_1_card.rb → post_payment_credentials_response_card.rb} +1 -1
  322. data/lib/cybersource_rest_client/models/{inline_response_201_1__links.rb → post_payment_credentials_response_links.rb} +5 -5
  323. data/lib/cybersource_rest_client/models/{inline_response_201_1__links_customer.rb → post_payment_credentials_response_links_customer.rb} +1 -1
  324. data/lib/cybersource_rest_client/models/{inline_response_201_1__links_instrument_identifier.rb → post_payment_credentials_response_links_instrument_identifier.rb} +1 -1
  325. data/lib/cybersource_rest_client/models/{inline_response_201_1__links_payment_instruments.rb → post_payment_credentials_response_links_payment_instruments.rb} +1 -1
  326. data/lib/cybersource_rest_client/models/{inline_response_201_1__links_tokenized_card.rb → post_payment_credentials_response_links_tokenized_card.rb} +1 -1
  327. data/lib/cybersource_rest_client/models/{inline_response_201_1_tokenized_card.rb → post_payment_credentials_response_tokenized_card.rb} +1 -1
  328. data/lib/cybersource_rest_client/models/{post_payment_credentials_request_1.rb → post_payment_credentials_v3_request.rb} +1 -1
  329. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +1 -1
  330. data/lib/cybersource_rest_client/models/{inline_response_200.rb → post_tokenize_response.rb} +2 -2
  331. data/lib/cybersource_rest_client/models/{inline_response_400_details.rb → post_tokenize_response_details.rb} +1 -1
  332. data/lib/cybersource_rest_client/models/{inline_response_200_errors.rb → post_tokenize_response_errors.rb} +2 -2
  333. data/lib/cybersource_rest_client/models/{inline_response_200_responses.rb → post_tokenize_response_responses.rb} +2 -2
  334. data/lib/cybersource_rest_client/models/{inline_response_202_1.rb → product_accepted_feed_response.rb} +1 -1
  335. data/lib/cybersource_rest_client/models/{inline_response_200_6.rb → product_catalog_product.rb} +2 -2
  336. data/lib/cybersource_rest_client/models/{notificationsubscriptionsv2productsorganization_id_event_types.rb → product_catalog_product_item.rb} +1 -1
  337. data/lib/cybersource_rest_client/models/{inline_response_200_20.rb → product_catalog_response.rb} +2 -2
  338. data/lib/cybersource_rest_client/models/{inline_response_200_20_products.rb → product_catalog_response_products.rb} +1 -1
  339. data/lib/cybersource_rest_client/models/{inline_response_200_21.rb → product_detail_response.rb} +2 -2
  340. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +1 -1
  341. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +1 -1
  342. data/lib/cybersource_rest_client/models/{push_funds201_response__links_self.rb → pts_v2_payments_post201_response_links_self_1.rb} +1 -1
  343. data/lib/cybersource_rest_client/models/{pull_funds201_response__links_instrument_identifier.rb → pts_v2_payments_post201_response_links_self_10.rb} +1 -1
  344. data/lib/cybersource_rest_client/models/{pull_funds_reversal201_response__links_self.rb → pts_v2_payments_post201_response_links_self_11.rb} +1 -1
  345. data/lib/cybersource_rest_client/models/{pull_funds_refund201_response__links_self.rb → pts_v2_payments_post201_response_links_self_12.rb} +1 -1
  346. data/lib/cybersource_rest_client/models/{push_funds201_response__links_customer.rb → pts_v2_payments_post201_response_links_self_2.rb} +1 -1
  347. data/lib/cybersource_rest_client/models/{push_funds201_response__links_payment_instrument.rb → pts_v2_payments_post201_response_links_self_3.rb} +1 -1
  348. data/lib/cybersource_rest_client/models/{push_funds201_response__links_instrument_identifier.rb → pts_v2_payments_post201_response_links_self_4.rb} +1 -1
  349. data/lib/cybersource_rest_client/models/{pull_funds201_response__links_self.rb → pts_v2_payments_post201_response_links_self_5.rb} +1 -1
  350. data/lib/cybersource_rest_client/models/{pull_funds201_response__links_reversal.rb → pts_v2_payments_post201_response_links_self_6.rb} +1 -1
  351. data/lib/cybersource_rest_client/models/{pull_funds201_response__links_refund.rb → pts_v2_payments_post201_response_links_self_7.rb} +1 -1
  352. data/lib/cybersource_rest_client/models/{pull_funds201_response__links_customer.rb → pts_v2_payments_post201_response_links_self_8.rb} +1 -1
  353. data/lib/cybersource_rest_client/models/{pull_funds201_response__links_payment_instrument.rb → pts_v2_payments_post201_response_links_self_9.rb} +1 -1
  354. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_processor_results.rb +1 -1
  355. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +1 -1
  356. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
  357. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_amount_details.rb +1 -1
  358. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_processing_information.rb +1 -1
  359. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +15 -5
  360. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_loyalty.rb +213 -0
  361. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +1 -1
  362. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +14 -2
  363. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items_extended.rb +733 -0
  364. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +22 -5
  365. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_vouchers.rb +196 -0
  366. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +39 -5
  367. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +53 -5
  368. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history.rb +16 -5
  369. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +75 -5
  370. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account_previous_login.rb +257 -0
  371. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account_previous_login_ip_address.rb +213 -0
  372. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account_previous_order.rb +196 -0
  373. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_external_score.rb +208 -0
  374. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_store.rb +265 -0
  375. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +22 -5
  376. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_extended.rb +258 -0
  377. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_legs.rb +213 -0
  378. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +1 -1
  379. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +5 -22
  380. data/lib/cybersource_rest_client/models/{ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information.rb → ptsv2payments_travel_information_transit_airline_enhanced_ancillary_information.rb} +23 -6
  381. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +1 -1
  382. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline.rb +1 -1
  383. data/lib/cybersource_rest_client/models/{pull_funds201_response__links.rb → pull_funds201_response_links.rb} +6 -6
  384. data/lib/cybersource_rest_client/models/{pull_funds_refund201_response__links.rb → pull_funds_refund201_response_links.rb} +1 -1
  385. data/lib/cybersource_rest_client/models/{pull_funds_reversal201_response__links.rb → pull_funds_reversal201_response_links.rb} +1 -1
  386. data/lib/cybersource_rest_client/models/{push_funds201_response__links.rb → push_funds201_response_links.rb} +4 -4
  387. data/lib/cybersource_rest_client/models/{inline_response_400_14.rb → rbs_follow_on_subscription400_error_response.rb} +17 -17
  388. data/lib/cybersource_rest_client/models/{inline_response_400_8.rb → rbs_get_payment400_error_response.rb} +1 -1
  389. data/lib/cybersource_rest_client/models/{inline_response_400_11.rb → rbs_plan400_error_response.rb} +7 -7
  390. data/lib/cybersource_rest_client/models/{inline_response_400_9.rb → rbs_put_payment400_error_response.rb} +1 -1
  391. data/lib/cybersource_rest_client/models/rbs_subscription400_error_response.rb +235 -0
  392. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1.rb → refresh_payment_status_response.rb} +6 -6
  393. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_error_information.rb → refresh_payment_status_response_error_information.rb} +2 -2
  394. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_error_information_details.rb → refresh_payment_status_response_error_information_details.rb} +1 -1
  395. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_issuer_information.rb → refresh_payment_status_response_issuer_information.rb} +1 -1
  396. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_order_information.rb → refresh_payment_status_response_order_information.rb} +5 -5
  397. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_order_information_amount_details.rb → refresh_payment_status_response_order_information_amount_details.rb} +1 -1
  398. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_order_information_bill_to.rb → refresh_payment_status_response_order_information_bill_to.rb} +1 -1
  399. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_order_information_merchant_descriptor.rb → refresh_payment_status_response_order_information_merchant_descriptor.rb} +1 -1
  400. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_order_information_ship_to.rb → refresh_payment_status_response_order_information_ship_to.rb} +1 -1
  401. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information.rb → refresh_payment_status_response_payment_information.rb} +4 -4
  402. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_bank.rb → refresh_payment_status_response_payment_information_bank.rb} +2 -2
  403. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_bank_account.rb → refresh_payment_status_response_payment_information_bank_account.rb} +1 -1
  404. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_e_wallet.rb → refresh_payment_status_response_payment_information_e_wallet.rb} +1 -1
  405. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_payment_type.rb → refresh_payment_status_response_payment_information_payment_type.rb} +2 -2
  406. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb → refresh_payment_status_response_payment_information_payment_type_method.rb} +1 -1
  407. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_processor_information.rb → refresh_payment_status_response_processor_information.rb} +2 -2
  408. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_processor_information_avs.rb → refresh_payment_status_response_processor_information_avs.rb} +1 -1
  409. data/lib/cybersource_rest_client/models/{inline_response_201.rb → retrieve_or_delete_payment_token_response.rb} +3 -3
  410. data/lib/cybersource_rest_client/models/{inline_response_201_order_information.rb → retrieve_or_delete_payment_token_response_order_information.rb} +2 -2
  411. data/lib/cybersource_rest_client/models/{inline_response_201_order_information_ship_to.rb → retrieve_or_delete_payment_token_response_order_information_ship_to.rb} +1 -1
  412. data/lib/cybersource_rest_client/models/{inline_response_201_payment_information.rb → retrieve_or_delete_payment_token_response_payment_information.rb} +3 -3
  413. data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_e_wallet.rb → retrieve_or_delete_payment_token_response_payment_information_e_wallet.rb} +1 -1
  414. data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_tokenized_payment_method.rb → retrieve_or_delete_payment_token_response_payment_information_tokenized_payment_method.rb} +1 -1
  415. data/lib/cybersource_rest_client/models/risk_information_buyer_history_customer_account.rb +263 -0
  416. data/lib/cybersource_rest_client/models/riskv1authentications_merchant_information.rb +206 -0
  417. data/lib/cybersource_rest_client/models/riskv1authentications_risk_information.rb +1 -1
  418. data/lib/cybersource_rest_client/models/riskv1decisions_aggregator_information.rb +196 -0
  419. data/lib/cybersource_rest_client/models/riskv1decisions_bundled_consumer_authentication_information.rb +806 -0
  420. data/lib/cybersource_rest_client/models/riskv1decisions_bundled_order_information_ship_to.rb +462 -0
  421. data/lib/cybersource_rest_client/models/riskv1decisions_bundled_travel_information_legs.rb +286 -0
  422. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +15 -5
  423. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information_loyalty.rb +213 -0
  424. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +18 -1
  425. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +15 -2
  426. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +18 -1
  427. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +18 -1
  428. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_vouchers.rb +196 -0
  429. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +25 -5
  430. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_payment_account_reference.rb +196 -0
  431. data/lib/cybersource_rest_client/models/riskv1decisions_processing_information.rb +77 -5
  432. data/lib/cybersource_rest_client/models/riskv1decisions_processing_information_authorization_options.rb +190 -0
  433. data/lib/cybersource_rest_client/models/riskv1decisions_recipient_information.rb +468 -0
  434. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +53 -5
  435. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information_buyer_history.rb +276 -0
  436. data/lib/cybersource_rest_client/models/riskv1decisions_sender_information.rb +478 -0
  437. data/lib/cybersource_rest_client/models/riskv1decisions_sender_information_account.rb +230 -0
  438. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +16 -6
  439. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_lodging.rb +230 -0
  440. data/lib/cybersource_rest_client/models/{inline_response_201_10.rb → save_asym_egress_key_response.rb} +1 -1
  441. data/lib/cybersource_rest_client/models/{inline_response_201_7.rb → save_sym_egress_key_response.rb} +2 -2
  442. data/lib/cybersource_rest_client/models/{inline_response_201_7_key_information.rb → save_sym_egress_key_response_key_information.rb} +2 -2
  443. data/lib/cybersource_rest_client/models/{inline_response_201_7_key_information_error_information.rb → save_sym_egress_key_response_key_information_error_information.rb} +2 -2
  444. data/lib/cybersource_rest_client/models/{inline_response_201_7_key_information_error_information_details.rb → save_sym_egress_key_response_key_information_error_information_details_item.rb} +1 -1
  445. data/lib/cybersource_rest_client/models/{inline_response_201_9.rb → test_webhook_subscription_response.rb} +2 -2
  446. data/lib/cybersource_rest_client/models/{inline_response_201_9_payloads.rb → test_webhook_subscription_response_payloads.rb} +2 -2
  447. data/lib/cybersource_rest_client/models/{inline_response_201_9_payloads_test_payload.rb → test_webhook_subscription_response_payloads_test_payload.rb} +1 -1
  448. data/lib/cybersource_rest_client/models/{inline_response_409.rb → tms400_error_response.rb} +2 -2
  449. data/lib/cybersource_rest_client/models/{inline_response_200_details.rb → tms400_error_response_details.rb} +1 -1
  450. data/lib/cybersource_rest_client/models/{inline_response_400_errors.rb → tms400_error_response_errors.rb} +2 -2
  451. data/lib/cybersource_rest_client/models/{inline_response_410.rb → tms403_error_response.rb} +2 -2
  452. data/lib/cybersource_rest_client/models/{inline_response_403_errors.rb → tms403_error_response_errors.rb} +1 -1
  453. data/lib/cybersource_rest_client/models/{inline_response_412.rb → tms404_error_response.rb} +2 -2
  454. data/lib/cybersource_rest_client/models/{inline_response_404_errors.rb → tms404_error_response_errors.rb} +1 -1
  455. data/lib/cybersource_rest_client/models/{inline_response_424.rb → tms409_error_response.rb} +2 -2
  456. data/lib/cybersource_rest_client/models/{inline_response_409_errors.rb → tms409_error_response_errors.rb} +1 -1
  457. data/lib/cybersource_rest_client/models/tms410_error_response.rb +191 -0
  458. data/lib/cybersource_rest_client/models/{inline_response_410_errors.rb → tms410_error_response_errors.rb} +1 -1
  459. data/lib/cybersource_rest_client/models/tms412_error_response.rb +191 -0
  460. data/lib/cybersource_rest_client/models/{inline_response_412_errors.rb → tms412_error_response_errors.rb} +1 -1
  461. data/lib/cybersource_rest_client/models/tms424_error_response.rb +191 -0
  462. data/lib/cybersource_rest_client/models/{inline_response_424_errors.rb → tms424_error_response_errors.rb} +1 -1
  463. data/lib/cybersource_rest_client/models/tms500_error_response.rb +191 -0
  464. data/lib/cybersource_rest_client/models/{inline_response_500_errors.rb → tms500_error_response_errors.rb} +1 -1
  465. data/lib/cybersource_rest_client/models/tms502_error_response.rb +191 -0
  466. data/lib/cybersource_rest_client/models/tms_merchant_information_merchant_descriptor.rb +20 -15
  467. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded.rb → tmsv2tokenize_token_information_customer_embedded_1.rb} +1 -1
  468. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +11 -1
  469. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +18 -1
  470. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +1 -1
  471. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +1 -1
  472. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_travel_information.rb +189 -0
  473. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_travel_information_transit.rb +189 -0
  474. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_travel_information_transit_airline.rb +213 -0
  475. data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_client_reference_information.rb → tss_v2_transactions_post201_response_embedded_client_reference_information.rb} +18 -1
  476. data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_transaction_summaries.rb → tss_v2_transactions_post201_response_embedded_transaction_summaries.rb} +11 -1
  477. data/lib/cybersource_rest_client/models/{inline_response_201_13.rb → ucp_checkout_session_response.rb} +8 -8
  478. data/lib/cybersource_rest_client/models/{inline_response_201_13_item.rb → ucp_checkout_session_response_item.rb} +1 -1
  479. data/lib/cybersource_rest_client/models/{inline_response_201_13_line_items.rb → ucp_checkout_session_response_line_items.rb} +2 -2
  480. data/lib/cybersource_rest_client/models/{inline_response_201_13_order.rb → ucp_checkout_session_response_order.rb} +1 -1
  481. data/lib/cybersource_rest_client/models/{inline_response_201_13_ucp.rb → ucp_checkout_session_response_ucp.rb} +2 -2
  482. data/lib/cybersource_rest_client/models/{inline_response_201_13_ucp_capabilities.rb → ucp_checkout_session_response_ucp_capabilities.rb} +1 -1
  483. data/lib/cybersource_rest_client/models/ucp_update_checkout_session_request.rb +3 -3
  484. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +1 -1
  485. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +2 -2
  486. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information_sub_merchant.rb +9 -9
  487. data/lib/cybersource_rest_client/models/ucv1sessions_data_installment_information.rb +1 -1
  488. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information.rb +1 -1
  489. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_bill_to.rb +1 -1
  490. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_recurring_options.rb +1 -1
  491. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_clicktopay.rb +18 -5
  492. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information.rb +1 -1
  493. data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_owner_information.rb → underwriting_configuration_owner_information.rb} +2 -2
  494. data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_address_1.rb → underwriting_configuration_owner_information_address.rb} +1 -1
  495. data/lib/cybersource_rest_client/models/{key_update.rb → update_agent_key_request.rb} +1 -1
  496. data/lib/cybersource_rest_client/models/{merchant_defined_field_core_1.rb → update_merchant_defined_field_core_by_id_request.rb} +1 -1
  497. data/lib/cybersource_rest_client/models/{key_update_1.rb → update_merchant_key_request.rb} +1 -1
  498. data/lib/cybersource_rest_client/models/{merchant_defined_field_definition_request_1.rb → update_pbl_merchant_defined_field_core_by_id_request.rb} +1 -1
  499. data/lib/cybersource_rest_client/models/{get_subscriptions_payments_response_1.rb → update_subscriptions_payments_response.rb} +2 -2
  500. data/lib/cybersource_rest_client/models/{get_subscriptions_payments_response_1__links.rb → update_subscriptions_payments_response_links.rb} +1 -1
  501. data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → update_webhook_subscription_response.rb} +1 -1
  502. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_bill_to.rb +1 -1
  503. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +1 -1
  504. data/lib/cybersource_rest_client/models/{inline_response_200_7.rb → webhook_subscription.rb} +1 -1
  505. data/lib/cybersource_rest_client.rb +2307 -2278
  506. metadata +418 -389
  507. data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +0 -239
  508. data/lib/cybersource_rest_client/models/inline_response_400_10.rb +0 -258
  509. data/lib/cybersource_rest_client/models/inline_response_400_12.rb +0 -236
  510. data/lib/cybersource_rest_client/models/inline_response_400_16.rb +0 -235
  511. data/lib/cybersource_rest_client/models/inline_response_401_2.rb +0 -223
  512. data/lib/cybersource_rest_client/models/inline_response_401_3.rb +0 -253
  513. data/lib/cybersource_rest_client/models/inline_response_403_3.rb +0 -223
  514. data/lib/cybersource_rest_client/models/inline_response_500_3.rb +0 -223
  515. data/lib/cybersource_rest_client/models/inline_response_502_4.rb +0 -223
  516. /data/lib/cybersource_rest_client/models/{create_subscription_response__links.rb → create_subscription_response_links.rb} +0 -0
  517. /data/lib/cybersource_rest_client/models/{default_payment_instrument__links.rb → default_payment_instrument_links.rb} +0 -0
  518. /data/lib/cybersource_rest_client/models/{default_payment_instrument__links_self.rb → default_payment_instrument_links_self.rb} +0 -0
  519. /data/lib/cybersource_rest_client/models/{default_shipping_address__links.rb → default_shipping_address_links.rb} +0 -0
  520. /data/lib/cybersource_rest_client/models/{default_shipping_address__links_customer.rb → default_shipping_address_links_customer.rb} +0 -0
  521. /data/lib/cybersource_rest_client/models/{default_shipping_address__links_self.rb → default_shipping_address_links_self.rb} +0 -0
  522. /data/lib/cybersource_rest_client/models/{get_all_plans_response__links.rb → get_all_plans_response_links.rb} +0 -0
  523. /data/lib/cybersource_rest_client/models/{get_all_subscriptions_response__links.rb → get_all_subscriptions_response_links.rb} +0 -0
  524. /data/lib/cybersource_rest_client/models/{get_subscriptions_payments_response__links.rb → get_subscriptions_payments_response_links.rb} +0 -0
  525. /data/lib/cybersource_rest_client/models/{invoicing_v2_invoices_all_get200_response__links.rb → invoicing_v2_invoices_all_get200_response_links.rb} +0 -0
  526. /data/lib/cybersource_rest_client/models/{payer_auth_config_card_types_j_cbj_secure.rb → payer_auth_config_card_types_jcbj_secure.rb} +0 -0
  527. /data/lib/cybersource_rest_client/models/{pts_v1_transaction_batches_get200_response__links.rb → pts_v1_transaction_batches_get200_response_links.rb} +0 -0
  528. /data/lib/cybersource_rest_client/models/{pts_v1_transaction_batches_get200_response__links_self.rb → pts_v1_transaction_batches_get200_response_links_self.rb} +0 -0
  529. /data/lib/cybersource_rest_client/models/{pts_v1_transaction_batches_id_get200_response__links.rb → pts_v1_transaction_batches_id_get200_response_links.rb} +0 -0
  530. /data/lib/cybersource_rest_client/models/{pts_v1_transaction_batches_id_get200_response__links_transactions.rb → pts_v1_transaction_batches_id_get200_response_links_transactions.rb} +0 -0
  531. /data/lib/cybersource_rest_client/models/{pts_v2_create_billing_agreement_post201_response__links.rb → pts_v2_create_billing_agreement_post201_response_links.rb} +0 -0
  532. /data/lib/cybersource_rest_client/models/{pts_v2_incremental_authorization_patch201_response__links.rb → pts_v2_incremental_authorization_patch201_response_links.rb} +0 -0
  533. /data/lib/cybersource_rest_client/models/{pts_v2_modify_billing_agreement_post201_response__links.rb → pts_v2_modify_billing_agreement_post201_response_links.rb} +0 -0
  534. /data/lib/cybersource_rest_client/models/{pts_v2_payments_captures_post201_response__links.rb → pts_v2_payments_captures_post201_response_links.rb} +0 -0
  535. /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_embedded_actions_consumer_authentication.rb → pts_v2_payments_post201_response_embedded_actions_consumerauthentication.rb} +0 -0
  536. /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_embedded_actions_token_create.rb → pts_v2_payments_post201_response_embedded_actions_tokencreate.rb} +0 -0
  537. /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_embedded_actions_token_update.rb → pts_v2_payments_post201_response_embedded_actions_tokenupdate.rb} +0 -0
  538. /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_embedded_actions_watchlist_screening.rb → pts_v2_payments_post201_response_embedded_actions_watchlistscreening.rb} +0 -0
  539. /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response__links.rb → pts_v2_payments_post201_response_links.rb} +0 -0
  540. /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response__links_self.rb → pts_v2_payments_post201_response_links_self.rb} +0 -0
  541. /data/lib/cybersource_rest_client/models/{pts_v2_payments_refund_post201_response__links.rb → pts_v2_payments_refund_post201_response_links.rb} +0 -0
  542. /data/lib/cybersource_rest_client/models/{reporting_v3_reports_get200_response__link.rb → reporting_v3_reports_get200_response_link.rb} +0 -0
  543. /data/lib/cybersource_rest_client/models/{reporting_v3_reports_get200_response__link_report_download.rb → reporting_v3_reports_get200_response_link_report_download.rb} +0 -0
  544. /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__embedded.rb → shipping_address_list_for_customer_embedded.rb} +0 -0
  545. /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links.rb → shipping_address_list_for_customer_links.rb} +0 -0
  546. /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_first.rb → shipping_address_list_for_customer_links_first.rb} +0 -0
  547. /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_last.rb → shipping_address_list_for_customer_links_last.rb} +0 -0
  548. /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_next.rb → shipping_address_list_for_customer_links_next.rb} +0 -0
  549. /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_prev.rb → shipping_address_list_for_customer_links_prev.rb} +0 -0
  550. /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_self.rb → shipping_address_list_for_customer_links_self.rb} +0 -0
  551. /data/lib/cybersource_rest_client/models/{tms_card_art_brand_logo_asset__links.rb → tms_card_art_brand_logo_asset_links.rb} +0 -0
  552. /data/lib/cybersource_rest_client/models/{tms_card_art_brand_logo_asset__links_self.rb → tms_card_art_brand_logo_asset_links_self.rb} +0 -0
  553. /data/lib/cybersource_rest_client/models/{tms_card_art_combined_asset__links.rb → tms_card_art_combined_asset_links.rb} +0 -0
  554. /data/lib/cybersource_rest_client/models/{tms_card_art_combined_asset__links_self.rb → tms_card_art_combined_asset_links_self.rb} +0 -0
  555. /data/lib/cybersource_rest_client/models/{tms_card_art_icon_asset__links.rb → tms_card_art_icon_asset_links.rb} +0 -0
  556. /data/lib/cybersource_rest_client/models/{tms_card_art_icon_asset__links_self.rb → tms_card_art_icon_asset_links_self.rb} +0 -0
  557. /data/lib/cybersource_rest_client/models/{tms_card_art_issuer_logo_asset__links.rb → tms_card_art_issuer_logo_asset_links.rb} +0 -0
  558. /data/lib/cybersource_rest_client/models/{tms_card_art_issuer_logo_asset__links_self.rb → tms_card_art_issuer_logo_asset_links_self.rb} +0 -0
  559. /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__embedded.rb → tms_embedded_instrument_identifier_embedded.rb} +0 -0
  560. /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__links.rb → tms_embedded_instrument_identifier_links.rb} +0 -0
  561. /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__links_payment_instruments.rb → tms_embedded_instrument_identifier_links_payment_instruments.rb} +0 -0
  562. /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__links_self.rb → tms_embedded_instrument_identifier_links_self.rb} +0 -0
  563. /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__links_tokenizedcards.rb → tms_embedded_instrument_identifier_links_tokenizedcards.rb} +0 -0
  564. /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded.rb → tmsv2tokenize_token_information_customer_embedded.rb} +0 -0
  565. /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__links.rb → tmsv2tokenize_token_information_customer_links.rb} +0 -0
  566. /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__links_payment_instruments.rb → tmsv2tokenize_token_information_customer_links_payment_instruments.rb} +0 -0
  567. /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__links_self.rb → tmsv2tokenize_token_information_customer_links_self.rb} +0 -0
  568. /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__links_shipping_address.rb → tmsv2tokenize_token_information_customer_links_shipping_address.rb} +0 -0
  569. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response__links.rb → tss_v2_transactions_get200_response_links.rb} +0 -0
  570. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded.rb → tss_v2_transactions_post201_response_embedded.rb} +0 -0
  571. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_application_information.rb → tss_v2_transactions_post201_response_embedded_application_information.rb} +0 -0
  572. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_application_information_applications.rb → tss_v2_transactions_post201_response_embedded_application_information_applications.rb} +0 -0
  573. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_client_reference_information_partner.rb → tss_v2_transactions_post201_response_embedded_client_reference_information_partner.rb} +0 -0
  574. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb → tss_v2_transactions_post201_response_embedded_consumer_authentication_information.rb} +0 -0
  575. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_error_information.rb → tss_v2_transactions_post201_response_embedded_error_information.rb} +0 -0
  576. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded__links.rb → tss_v2_transactions_post201_response_embedded_links.rb} +0 -0
  577. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_merchant_information.rb → tss_v2_transactions_post201_response_embedded_merchant_information.rb} +0 -0
  578. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_order_information.rb → tss_v2_transactions_post201_response_embedded_order_information.rb} +0 -0
  579. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb → tss_v2_transactions_post201_response_embedded_order_information_bill_to.rb} +0 -0
  580. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb → tss_v2_transactions_post201_response_embedded_order_information_ship_to.rb} +0 -0
  581. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information.rb → tss_v2_transactions_post201_response_embedded_payment_information.rb} +0 -0
  582. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_bank.rb → tss_v2_transactions_post201_response_embedded_payment_information_bank.rb} +0 -0
  583. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb → tss_v2_transactions_post201_response_embedded_payment_information_bank_account.rb} +0 -0
  584. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_card.rb → tss_v2_transactions_post201_response_embedded_payment_information_card.rb} +0 -0
  585. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb → tss_v2_transactions_post201_response_embedded_payment_information_payment_type.rb} +0 -0
  586. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb → tss_v2_transactions_post201_response_embedded_point_of_sale_information.rb} +0 -0
  587. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb → tss_v2_transactions_post201_response_embedded_point_of_sale_information_partner.rb} +0 -0
  588. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_processing_information.rb → tss_v2_transactions_post201_response_embedded_processing_information.rb} +0 -0
  589. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_processor_information.rb → tss_v2_transactions_post201_response_embedded_processor_information.rb} +0 -0
  590. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_risk_information.rb → tss_v2_transactions_post201_response_embedded_risk_information.rb} +0 -0
  591. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_risk_information_providers.rb → tss_v2_transactions_post201_response_embedded_risk_information_providers.rb} +0 -0
  592. /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb → tss_v2_transactions_post201_response_embedded_risk_information_providers_fingerprint.rb} +0 -0
  593. /data/lib/cybersource_rest_client/models/{ucv1sessions_payment_configurations_tms_token.rb → ucv1sessions_payment_configurations_tmstoken.rb} +0 -0
  594. /data/lib/cybersource_rest_client/models/{ucv1sessions_payment_configurations_tms_token_customer.rb → ucv1sessions_payment_configurations_tmstoken_customer.rb} +0 -0
  595. /data/lib/cybersource_rest_client/models/{ucv1sessions_payment_configurations_tms_token_instrument_identifiers.rb → ucv1sessions_payment_configurations_tmstoken_instrument_identifiers.rb} +0 -0
  596. /data/lib/cybersource_rest_client/models/{ucv1sessions_payment_configurations_tms_token_payment_instruments.rb → ucv1sessions_payment_configurations_tmstoken_payment_instruments.rb} +0 -0
  597. /data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_address_2.rb → underwriting_configuration_organization_information_business_information_address2.rb} +0 -0
  598. /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights.rb → unified_risk_post201_response_results_riskinsights.rb} +0 -0
  599. /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_client.rb → unified_risk_post201_response_results_riskinsights_client.rb} +0 -0
  600. /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_error.rb → unified_risk_post201_response_results_riskinsights_error.rb} +0 -0
  601. /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_packages.rb → unified_risk_post201_response_results_riskinsights_packages.rb} +0 -0
  602. /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb → unified_risk_post201_response_results_riskinsights_packages_transaction_insights.rb} +0 -0
  603. /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb → unified_risk_post201_response_results_riskinsights_packages_transaction_insights_insights.rb} +0 -0
  604. /data/lib/cybersource_rest_client/models/{v1_file_details_get200_response__links.rb → v1_file_details_get200_response_links.rb} +0 -0
  605. /data/lib/cybersource_rest_client/models/{v1_file_details_get200_response__links_files.rb → v1_file_details_get200_response_links_files.rb} +0 -0
  606. /data/lib/cybersource_rest_client/models/{v1_file_details_get200_response__links_self.rb → v1_file_details_get200_response_links_self.rb} +0 -0
  607. /data/lib/cybersource_rest_client/models/{vas_v2_payments_post201_response__links.rb → vas_v2_payments_post201_response_links.rb} +0 -0
@@ -0,0 +1,286 @@
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 Riskv1decisionsBundledTravelInformationLegs
16
+ # Use to specify the airport code for the origin of the leg of the trip, which is designated by the pound (#) symbol in the field name. This code is usually three digits long, for example: SFO = San Francisco. Do not use the colon (:) or the dash (-). For airport codes, see the IATA Airline and Airport Code Search. The leg number can be a positive integer from 0 to N. For example: `travelInformation.legs.0.origination=SFO` `travelInformation.legs.1.origination=SFO` **Note** In your request, send either the complete route or the individual legs (`legs.0.origination` and `legs.n.destination`). If you send all the fields, the complete route takes precedence over the individual legs. For details, see the `decision_manager_travel_leg#_orig` field description in _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link).
17
+ attr_accessor :origination
18
+
19
+ # Use to specify the airport code for the destination of the leg of the trip, which is designated by the pound (#) symbol in the field name. This code is usually three digits long, for example: SFO = San Francisco. Do not use the colon (:) or the dash (-). For airport codes, see [IATA Airline and Airport Code Search](https://www.iata.org/publications/Pages/code-search.aspx). The leg number can be a positive integer from 0 to N. For example: `travelInformation.legs.0.destination=SFO` `travelInformation.legs.1.destination=SFO` **Note** In your request, send either the complete route or the individual legs (`legs.0.origination` and `legs.n.destination`). If you send all the fields, the complete route takes precedence over the individual legs. For details, see the `decision_manager_travel_leg#_dest` field description in _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link).
20
+ attr_accessor :destination
21
+
22
+ # International Air Transport Association (IATA) code for the carrier for this leg of the trip. Required for each leg. Required for American Express SafeKey (U.S.) for travel-related requests.
23
+ attr_accessor :carrier_code
24
+
25
+ # Departure date for the first leg of the trip. Format: YYYYMMDD. Required for American Express SafeKey (U.S.) for travel-related requests.
26
+ attr_accessor :departure_date
27
+
28
+ # Time of departure for this leg of the trip. The format is military time and HHMM: If not all zeros, then the hours must be `00-23` and the minutes must be `00-59`. Format: English characters only. Optional request field for travel legs.
29
+ attr_accessor :departure_time
30
+
31
+ # Flight number for this leg of the trip.
32
+ attr_accessor :flight_number
33
+
34
+ # Alphanumeric field for Travel name such as Cruise Ship or Flight
35
+ attr_accessor :name
36
+
37
+ # Attribute mapping from ruby-style variable name to JSON key.
38
+ def self.attribute_map
39
+ {
40
+ :'origination' => :'origination',
41
+ :'destination' => :'destination',
42
+ :'carrier_code' => :'carrierCode',
43
+ :'departure_date' => :'departureDate',
44
+ :'departure_time' => :'departureTime',
45
+ :'flight_number' => :'flightNumber',
46
+ :'name' => :'name'
47
+ }
48
+ end
49
+
50
+ # Attribute mapping from JSON key to ruby-style variable name.
51
+ def self.json_map
52
+ {
53
+ :'origination' => :'origination',
54
+ :'destination' => :'destination',
55
+ :'carrier_code' => :'carrier_code',
56
+ :'departure_date' => :'departure_date',
57
+ :'departure_time' => :'departure_time',
58
+ :'flight_number' => :'flight_number',
59
+ :'name' => :'name'
60
+ }
61
+ end
62
+
63
+ # Attribute type mapping.
64
+ def self.swagger_types
65
+ {
66
+ :'origination' => :'String',
67
+ :'destination' => :'String',
68
+ :'carrier_code' => :'String',
69
+ :'departure_date' => :'String',
70
+ :'departure_time' => :'Integer',
71
+ :'flight_number' => :'String',
72
+ :'name' => :'String'
73
+ }
74
+ end
75
+
76
+ # Initializes the object
77
+ # @param [Hash] attributes Model attributes in the form of hash
78
+ def initialize(attributes = {})
79
+ return unless attributes.is_a?(Hash)
80
+
81
+ # convert string to symbol for hash key
82
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
83
+
84
+ if attributes.has_key?(:'origination')
85
+ self.origination = attributes[:'origination']
86
+ end
87
+
88
+ if attributes.has_key?(:'destination')
89
+ self.destination = attributes[:'destination']
90
+ end
91
+
92
+ if attributes.has_key?(:'carrierCode')
93
+ self.carrier_code = attributes[:'carrierCode']
94
+ end
95
+
96
+ if attributes.has_key?(:'departureDate')
97
+ self.departure_date = attributes[:'departureDate']
98
+ end
99
+
100
+ if attributes.has_key?(:'departureTime')
101
+ self.departure_time = attributes[:'departureTime']
102
+ end
103
+
104
+ if attributes.has_key?(:'flightNumber')
105
+ self.flight_number = attributes[:'flightNumber']
106
+ end
107
+
108
+ if attributes.has_key?(:'name')
109
+ self.name = attributes[:'name']
110
+ end
111
+ end
112
+
113
+ # Show invalid properties with the reasons. Usually used together with valid?
114
+ # @return Array for valid properties with the reasons
115
+ def list_invalid_properties
116
+ invalid_properties = Array.new
117
+ invalid_properties
118
+ end
119
+
120
+ # Check to see if the all the properties in the model are valid
121
+ # @return true if the model is valid
122
+ def valid?
123
+ true
124
+ end
125
+
126
+ # Custom attribute writer method with validation
127
+ # @param [Object] origination Value to be assigned
128
+ def origination=(origination)
129
+ @origination = origination
130
+ end
131
+
132
+ # Custom attribute writer method with validation
133
+ # @param [Object] destination Value to be assigned
134
+ def destination=(destination)
135
+ @destination = destination
136
+ end
137
+
138
+ # Custom attribute writer method with validation
139
+ # @param [Object] carrier_code Value to be assigned
140
+ def carrier_code=(carrier_code)
141
+ @carrier_code = carrier_code
142
+ end
143
+
144
+ # Custom attribute writer method with validation
145
+ # @param [Object] flight_number Value to be assigned
146
+ def flight_number=(flight_number)
147
+ @flight_number = flight_number
148
+ end
149
+
150
+ # Custom attribute writer method with validation
151
+ # @param [Object] name Value to be assigned
152
+ def name=(name)
153
+ @name = name
154
+ end
155
+
156
+ # Checks equality by comparing each attribute.
157
+ # @param [Object] Object to be compared
158
+ def ==(o)
159
+ return true if self.equal?(o)
160
+ self.class == o.class &&
161
+ origination == o.origination &&
162
+ destination == o.destination &&
163
+ carrier_code == o.carrier_code &&
164
+ departure_date == o.departure_date &&
165
+ departure_time == o.departure_time &&
166
+ flight_number == o.flight_number &&
167
+ name == o.name
168
+ end
169
+
170
+ # @see the `==` method
171
+ # @param [Object] Object to be compared
172
+ def eql?(o)
173
+ self == o
174
+ end
175
+
176
+ # Calculates hash code according to all attributes.
177
+ # @return [Fixnum] Hash code
178
+ def hash
179
+ [origination, destination, carrier_code, departure_date, departure_time, flight_number, name].hash
180
+ end
181
+
182
+ # Builds the object from hash
183
+ # @param [Hash] attributes Model attributes in the form of hash
184
+ # @return [Object] Returns the model itself
185
+ def build_from_hash(attributes)
186
+ return nil unless attributes.is_a?(Hash)
187
+ self.class.swagger_types.each_pair do |key, type|
188
+ if type =~ /\AArray<(.*)>/i
189
+ # check to ensure the input is an array given that the the attribute
190
+ # is documented as an array but the input is not
191
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
192
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
193
+ end
194
+ elsif !attributes[self.class.attribute_map[key]].nil?
195
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
196
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
197
+ end
198
+
199
+ self
200
+ end
201
+
202
+ # Deserializes the data based on type
203
+ # @param string type Data type
204
+ # @param string value Value to be deserialized
205
+ # @return [Object] Deserialized data
206
+ def _deserialize(type, value)
207
+ case type.to_sym
208
+ when :DateTime
209
+ DateTime.parse(value)
210
+ when :Date
211
+ Date.parse(value)
212
+ when :String
213
+ value.to_s
214
+ when :Integer
215
+ value.to_i
216
+ when :Float
217
+ value.to_f
218
+ when :BOOLEAN
219
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
220
+ true
221
+ else
222
+ false
223
+ end
224
+ when :Object
225
+ # generic object (usually a Hash), return directly
226
+ value
227
+ when /\AArray<(?<inner_type>.+)>\z/
228
+ inner_type = Regexp.last_match[:inner_type]
229
+ value.map { |v| _deserialize(inner_type, v) }
230
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
231
+ k_type = Regexp.last_match[:k_type]
232
+ v_type = Regexp.last_match[:v_type]
233
+ {}.tap do |hash|
234
+ value.each do |k, v|
235
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
236
+ end
237
+ end
238
+ else # model
239
+ temp_model = CyberSource.const_get(type).new
240
+ temp_model.build_from_hash(value)
241
+ end
242
+ end
243
+
244
+ # Returns the string representation of the object
245
+ # @return [String] String presentation of the object
246
+ def to_s
247
+ to_hash.to_s
248
+ end
249
+
250
+ # to_body is an alias to to_hash (backward compatibility)
251
+ # @return [Hash] Returns the object in the form of hash
252
+ def to_body
253
+ to_hash
254
+ end
255
+
256
+ # Returns the object in the form of hash
257
+ # @return [Hash] Returns the object in the form of hash
258
+ def to_hash
259
+ hash = {}
260
+ self.class.attribute_map.each_pair do |attr, param|
261
+ value = self.send(attr)
262
+ next if value.nil?
263
+ hash[param] = _to_hash(value)
264
+ end
265
+ hash
266
+ end
267
+
268
+ # Outputs non-array value in the form of hash
269
+ # For object, use to_hash. Otherwise, just return the value
270
+ # @param [Object] value Any valid value
271
+ # @return [Hash] Returns the value in the form of hash
272
+ def _to_hash(value)
273
+ if value.is_a?(Array)
274
+ value.compact.map { |v| _to_hash(v) }
275
+ elsif value.is_a?(Hash)
276
+ {}.tap do |hash|
277
+ value.each { |k, v| hash[k] = _to_hash(v) }
278
+ end
279
+ elsif value.respond_to? :to_hash
280
+ value.to_hash
281
+ else
282
+ value
283
+ end
284
+ end
285
+ end
286
+ end
@@ -28,6 +28,8 @@ module CyberSource
28
28
 
29
29
  attr_accessor :personal_identification
30
30
 
31
+ attr_accessor :loyalty
32
+
31
33
  # Attribute mapping from ruby-style variable name to JSON key.
32
34
  def self.attribute_map
33
35
  {
@@ -35,7 +37,8 @@ module CyberSource
35
37
  :'username' => :'username',
36
38
  :'hashed_password' => :'hashedPassword',
37
39
  :'date_of_birth' => :'dateOfBirth',
38
- :'personal_identification' => :'personalIdentification'
40
+ :'personal_identification' => :'personalIdentification',
41
+ :'loyalty' => :'loyalty'
39
42
  }
40
43
  end
41
44
 
@@ -46,7 +49,8 @@ module CyberSource
46
49
  :'username' => :'username',
47
50
  :'hashed_password' => :'hashed_password',
48
51
  :'date_of_birth' => :'date_of_birth',
49
- :'personal_identification' => :'personal_identification'
52
+ :'personal_identification' => :'personal_identification',
53
+ :'loyalty' => :'loyalty'
50
54
  }
51
55
  end
52
56
 
@@ -57,7 +61,8 @@ module CyberSource
57
61
  :'username' => :'String',
58
62
  :'hashed_password' => :'String',
59
63
  :'date_of_birth' => :'String',
60
- :'personal_identification' => :'Array<Ptsv2paymentsBuyerInformationPersonalIdentification>'
64
+ :'personal_identification' => :'Array<Ptsv2paymentsBuyerInformationPersonalIdentification>',
65
+ :'loyalty' => :'Riskv1decisionsBuyerInformationLoyalty'
61
66
  }
62
67
  end
63
68
 
@@ -90,6 +95,10 @@ module CyberSource
90
95
  self.personal_identification = value
91
96
  end
92
97
  end
98
+
99
+ if attributes.has_key?(:'loyalty')
100
+ self.loyalty = attributes[:'loyalty']
101
+ end
93
102
  end
94
103
 
95
104
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -138,7 +147,8 @@ module CyberSource
138
147
  username == o.username &&
139
148
  hashed_password == o.hashed_password &&
140
149
  date_of_birth == o.date_of_birth &&
141
- personal_identification == o.personal_identification
150
+ personal_identification == o.personal_identification &&
151
+ loyalty == o.loyalty
142
152
  end
143
153
 
144
154
  # @see the `==` method
@@ -150,7 +160,7 @@ module CyberSource
150
160
  # Calculates hash code according to all attributes.
151
161
  # @return [Fixnum] Hash code
152
162
  def hash
153
- [merchant_customer_id, username, hashed_password, date_of_birth, personal_identification].hash
163
+ [merchant_customer_id, username, hashed_password, date_of_birth, personal_identification, loyalty].hash
154
164
  end
155
165
 
156
166
  # Builds the object from hash
@@ -0,0 +1,213 @@
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 Riskv1decisionsBuyerInformationLoyalty
16
+ # Account ID of loyalty program
17
+ attr_accessor :account_number
18
+
19
+ # Loyalty level of the customer with merchant - Gold, Silver, Bronze etc
20
+ attr_accessor :level
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'account_number' => :'accountNumber',
26
+ :'level' => :'level'
27
+ }
28
+ end
29
+
30
+ # Attribute mapping from JSON key to ruby-style variable name.
31
+ def self.json_map
32
+ {
33
+ :'account_number' => :'account_number',
34
+ :'level' => :'level'
35
+ }
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.swagger_types
40
+ {
41
+ :'account_number' => :'String',
42
+ :'level' => :'String'
43
+ }
44
+ end
45
+
46
+ # Initializes the object
47
+ # @param [Hash] attributes Model attributes in the form of hash
48
+ def initialize(attributes = {})
49
+ return unless attributes.is_a?(Hash)
50
+
51
+ # convert string to symbol for hash key
52
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
53
+
54
+ if attributes.has_key?(:'accountNumber')
55
+ self.account_number = attributes[:'accountNumber']
56
+ end
57
+
58
+ if attributes.has_key?(:'level')
59
+ self.level = attributes[:'level']
60
+ end
61
+ end
62
+
63
+ # Show invalid properties with the reasons. Usually used together with valid?
64
+ # @return Array for valid properties with the reasons
65
+ def list_invalid_properties
66
+ invalid_properties = Array.new
67
+ invalid_properties
68
+ end
69
+
70
+ # Check to see if the all the properties in the model are valid
71
+ # @return true if the model is valid
72
+ def valid?
73
+ true
74
+ end
75
+
76
+ # Custom attribute writer method with validation
77
+ # @param [Object] account_number Value to be assigned
78
+ def account_number=(account_number)
79
+ @account_number = account_number
80
+ end
81
+
82
+ # Custom attribute writer method with validation
83
+ # @param [Object] level Value to be assigned
84
+ def level=(level)
85
+ @level = level
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ account_number == o.account_number &&
94
+ level == o.level
95
+ end
96
+
97
+ # @see the `==` method
98
+ # @param [Object] Object to be compared
99
+ def eql?(o)
100
+ self == o
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Fixnum] Hash code
105
+ def hash
106
+ [account_number, level].hash
107
+ end
108
+
109
+ # Builds the object from hash
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ # @return [Object] Returns the model itself
112
+ def build_from_hash(attributes)
113
+ return nil unless attributes.is_a?(Hash)
114
+ self.class.swagger_types.each_pair do |key, type|
115
+ if type =~ /\AArray<(.*)>/i
116
+ # check to ensure the input is an array given that the the attribute
117
+ # is documented as an array but the input is not
118
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
119
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
120
+ end
121
+ elsif !attributes[self.class.attribute_map[key]].nil?
122
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
123
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
124
+ end
125
+
126
+ self
127
+ end
128
+
129
+ # Deserializes the data based on type
130
+ # @param string type Data type
131
+ # @param string value Value to be deserialized
132
+ # @return [Object] Deserialized data
133
+ def _deserialize(type, value)
134
+ case type.to_sym
135
+ when :DateTime
136
+ DateTime.parse(value)
137
+ when :Date
138
+ Date.parse(value)
139
+ when :String
140
+ value.to_s
141
+ when :Integer
142
+ value.to_i
143
+ when :Float
144
+ value.to_f
145
+ when :BOOLEAN
146
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
147
+ true
148
+ else
149
+ false
150
+ end
151
+ when :Object
152
+ # generic object (usually a Hash), return directly
153
+ value
154
+ when /\AArray<(?<inner_type>.+)>\z/
155
+ inner_type = Regexp.last_match[:inner_type]
156
+ value.map { |v| _deserialize(inner_type, v) }
157
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
158
+ k_type = Regexp.last_match[:k_type]
159
+ v_type = Regexp.last_match[:v_type]
160
+ {}.tap do |hash|
161
+ value.each do |k, v|
162
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
163
+ end
164
+ end
165
+ else # model
166
+ temp_model = CyberSource.const_get(type).new
167
+ temp_model.build_from_hash(value)
168
+ end
169
+ end
170
+
171
+ # Returns the string representation of the object
172
+ # @return [String] String presentation of the object
173
+ def to_s
174
+ to_hash.to_s
175
+ end
176
+
177
+ # to_body is an alias to to_hash (backward compatibility)
178
+ # @return [Hash] Returns the object in the form of hash
179
+ def to_body
180
+ to_hash
181
+ end
182
+
183
+ # Returns the object in the form of hash
184
+ # @return [Hash] Returns the object in the form of hash
185
+ def to_hash
186
+ hash = {}
187
+ self.class.attribute_map.each_pair do |attr, param|
188
+ value = self.send(attr)
189
+ next if value.nil?
190
+ hash[param] = _to_hash(value)
191
+ end
192
+ hash
193
+ end
194
+
195
+ # Outputs non-array value in the form of hash
196
+ # For object, use to_hash. Otherwise, just return the value
197
+ # @param [Object] value Any valid value
198
+ # @return [Hash] Returns the value in the form of hash
199
+ def _to_hash(value)
200
+ if value.is_a?(Array)
201
+ value.compact.map { |v| _to_hash(v) }
202
+ elsif value.is_a?(Hash)
203
+ {}.tap do |hash|
204
+ value.each { |k, v| hash[k] = _to_hash(v) }
205
+ end
206
+ elsif value.respond_to? :to_hash
207
+ value.to_hash
208
+ else
209
+ value
210
+ end
211
+ end
212
+ end
213
+ end
@@ -13,6 +13,9 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  class Riskv1decisionsMerchantInformation
16
+ # MCC code of the merchant or transaction
17
+ attr_accessor :category_code
18
+
16
19
  attr_accessor :merchant_descriptor
17
20
 
18
21
  # Your company's name as you want it to appear to the customer in the issuing bank's authentication form. This value overrides the value specified by your merchant bank.
@@ -21,6 +24,7 @@ module CyberSource
21
24
  # Attribute mapping from ruby-style variable name to JSON key.
22
25
  def self.attribute_map
23
26
  {
27
+ :'category_code' => :'categoryCode',
24
28
  :'merchant_descriptor' => :'merchantDescriptor',
25
29
  :'merchant_name' => :'merchantName'
26
30
  }
@@ -29,6 +33,7 @@ module CyberSource
29
33
  # Attribute mapping from JSON key to ruby-style variable name.
30
34
  def self.json_map
31
35
  {
36
+ :'category_code' => :'category_code',
32
37
  :'merchant_descriptor' => :'merchant_descriptor',
33
38
  :'merchant_name' => :'merchant_name'
34
39
  }
@@ -37,6 +42,7 @@ module CyberSource
37
42
  # Attribute type mapping.
38
43
  def self.swagger_types
39
44
  {
45
+ :'category_code' => :'String',
40
46
  :'merchant_descriptor' => :'Riskv1decisionsMerchantInformationMerchantDescriptor',
41
47
  :'merchant_name' => :'String'
42
48
  }
@@ -50,6 +56,10 @@ module CyberSource
50
56
  # convert string to symbol for hash key
51
57
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
52
58
 
59
+ if attributes.has_key?(:'categoryCode')
60
+ self.category_code = attributes[:'categoryCode']
61
+ end
62
+
53
63
  if attributes.has_key?(:'merchantDescriptor')
54
64
  self.merchant_descriptor = attributes[:'merchantDescriptor']
55
65
  end
@@ -72,6 +82,12 @@ module CyberSource
72
82
  true
73
83
  end
74
84
 
85
+ # Custom attribute writer method with validation
86
+ # @param [Object] category_code Value to be assigned
87
+ def category_code=(category_code)
88
+ @category_code = category_code
89
+ end
90
+
75
91
  # Custom attribute writer method with validation
76
92
  # @param [Object] merchant_name Value to be assigned
77
93
  def merchant_name=(merchant_name)
@@ -83,6 +99,7 @@ module CyberSource
83
99
  def ==(o)
84
100
  return true if self.equal?(o)
85
101
  self.class == o.class &&
102
+ category_code == o.category_code &&
86
103
  merchant_descriptor == o.merchant_descriptor &&
87
104
  merchant_name == o.merchant_name
88
105
  end
@@ -96,7 +113,7 @@ module CyberSource
96
113
  # Calculates hash code according to all attributes.
97
114
  # @return [Fixnum] Hash code
98
115
  def hash
99
- [merchant_descriptor, merchant_name].hash
116
+ [category_code, merchant_descriptor, merchant_name].hash
100
117
  end
101
118
 
102
119
  # Builds the object from hash