cybersource_rest_client 0.0.84 → 0.0.86

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 (520) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/core/MerchantConfig.rb +11 -10
  3. data/lib/AuthenticationSDK/logging/sensitive_logging.rb +265 -93
  4. data/lib/AuthenticationSDK/util/AuthJWEUtility.rb +53 -3
  5. data/lib/AuthenticationSDK/util/Cache.rb +22 -14
  6. data/lib/AuthenticationSDK/util/Constants.rb +87 -32
  7. data/lib/AuthenticationSDK/util/MLEUtility.rb +42 -2
  8. data/lib/AuthenticationSDK/util/Utility.rb +16 -5
  9. data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +2279 -0
  10. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -6
  11. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
  12. data/lib/cybersource_rest_client/api/capture_api.rb +2 -2
  13. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
  14. data/lib/cybersource_rest_client/api/credentials_api.rb +1 -1
  15. data/lib/cybersource_rest_client/api/credit_api.rb +2 -2
  16. data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +1 -1
  17. data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +146 -0
  18. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +2 -2
  19. data/lib/cybersource_rest_client/api/invoices_api.rb +6 -6
  20. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
  21. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +95 -5
  22. data/lib/cybersource_rest_client/api/merchant_capabilities_api.rb +1065 -0
  23. data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +361 -0
  24. data/lib/cybersource_rest_client/api/network_tokens_api.rb +4 -4
  25. data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
  26. data/lib/cybersource_rest_client/api/orders_api.rb +6 -6
  27. data/lib/cybersource_rest_client/api/payment_links_api.rb +4 -4
  28. data/lib/cybersource_rest_client/api/payment_tokens_api.rb +3 -3
  29. data/lib/cybersource_rest_client/api/payments_api.rb +21 -21
  30. data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
  31. data/lib/cybersource_rest_client/api/pull_funds_api.rb +3 -3
  32. data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
  33. data/lib/cybersource_rest_client/api/reversal_api.rb +4 -4
  34. data/lib/cybersource_rest_client/api/subscriptions_api.rb +2 -2
  35. data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +2 -2
  36. data/lib/cybersource_rest_client/api/transaction_query_api.rb +158 -0
  37. data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +104 -0
  38. data/lib/cybersource_rest_client/api/void_api.rb +10 -10
  39. data/lib/cybersource_rest_client/api_client.rb +31 -2
  40. data/lib/cybersource_rest_client/configuration.rb +2 -2
  41. data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations.rb → account_updater_configurations.rb} +4 -4
  42. data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_amex.rb → account_updater_configurations_amex.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_master_card.rb → account_updater_configurations_master_card.rb} +1 -1
  44. data/lib/cybersource_rest_client/models/{commerce_solutions_products_account_updater_configuration_information_configurations_visa.rb → account_updater_configurations_visa.rb} +1 -1
  45. data/lib/cybersource_rest_client/models/acp_checkout_session_response_buyer.rb +254 -0
  46. data/lib/cybersource_rest_client/models/acp_complete_checkout_request.rb +205 -0
  47. data/lib/cybersource_rest_client/models/acp_complete_checkout_response_buyer.rb +254 -0
  48. data/lib/cybersource_rest_client/models/acp_complete_checkout_session_buyer.rb +254 -0
  49. data/lib/cybersource_rest_client/models/acp_create_checkout_session_buyer.rb +254 -0
  50. data/lib/cybersource_rest_client/models/acp_create_checkout_session_request.rb +217 -0
  51. data/lib/cybersource_rest_client/models/acp_update_checkout_session_buyer.rb +254 -0
  52. data/lib/cybersource_rest_client/models/acp_update_checkout_session_request.rb +224 -0
  53. data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +356 -0
  54. data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +356 -0
  55. data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_information_funding_options.rb → aft_funding_options.rb} +2 -2
  56. data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_information_funding_options_initiator.rb → aft_funding_options_initiator.rb} +2 -2
  57. data/lib/cybersource_rest_client/models/{ptsv1pullfundstransfer_processing_info_funding_options_initiator_origin_ini_transaction.rb → aft_funding_options_initiator_originator_initiated_transaction.rb} +1 -1
  58. data/lib/cybersource_rest_client/models/agent_registration_conflict_response409.rb +196 -0
  59. data/lib/cybersource_rest_client/models/agent_registration_response201.rb +356 -0
  60. data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +308 -0
  61. data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422.rb +214 -0
  62. data/lib/cybersource_rest_client/models/agent_registration_validation_error_response422_errors.rb +212 -0
  63. data/lib/cybersource_rest_client/models/agent_request.rb +286 -0
  64. data/lib/cybersource_rest_client/models/agent_update.rb +237 -0
  65. data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +3 -3
  66. data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +8 -8
  67. data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +2 -2
  68. data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +5 -5
  69. data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +2 -2
  70. data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +1 -1
  71. data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +5 -5
  72. data/lib/cybersource_rest_client/models/{payments_products_alternative_payment_methods_configuration_information_configurations_processors.rb → alternative_payments_processor_configuration.rb} +1 -1
  73. data/lib/cybersource_rest_client/models/bin_lookup403_response.rb +223 -0
  74. data/lib/cybersource_rest_client/models/bin_lookupv400_response.rb +235 -0
  75. data/lib/cybersource_rest_client/models/{card_processing_config_common_acquirer_agreement_acquirer_code.rb → boarding_acquirer_details.rb} +2 -2
  76. data/lib/cybersource_rest_client/models/{card_processing_config_common_acquirer_agreement_acquirer_code_payment_options.rb → boarding_acquirer_details_payment_options.rb} +1 -1
  77. data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information.rb → boarding_business_information.rb} +6 -6
  78. data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_address.rb → boarding_business_information_address.rb} +1 -1
  79. data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_business_contact.rb → boarding_business_information_business_contact.rb} +1 -1
  80. data/lib/cybersource_rest_client/models/{boardingv1registrations_organization_information_business_information_localized_names.rb → boarding_business_information_localized_names.rb} +1 -1
  81. data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations.rb → boarding_payouts_configurations.rb} +2 -2
  82. data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations_common.rb → boarding_payouts_configurations_common.rb} +2 -2
  83. data/lib/cybersource_rest_client/models/{payments_products_payouts_configuration_information_configurations_common_aggregator.rb → boarding_payouts_configurations_common_aggregator.rb} +1 -1
  84. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +1 -1
  85. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +1 -1
  86. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +1 -1
  87. data/lib/cybersource_rest_client/models/body_1.rb +189 -0
  88. data/lib/cybersource_rest_client/models/body_2.rb +224 -0
  89. data/lib/cybersource_rest_client/models/card_processing_config_common_acquirer_agreement.rb +1 -1
  90. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information.rb +1 -1
  91. data/lib/cybersource_rest_client/models/consumer_authentication_response.rb +196 -0
  92. data/lib/cybersource_rest_client/models/create_payment_link_request.rb +17 -5
  93. data/lib/cybersource_rest_client/models/create_subscription_response.rb +1 -1
  94. data/lib/cybersource_rest_client/models/deactivate_merchant_key_response200.rb +196 -0
  95. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument.rb → default_payment_instrument.rb} +9 -9
  96. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__embedded.rb → default_payment_instrument__embedded.rb} +1 -1
  97. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links.rb → default_payment_instrument__links.rb} +2 -2
  98. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links_self.rb → default_payment_instrument__links_self.rb} +1 -1
  99. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bank_account.rb → default_payment_instrument_bank_account.rb} +1 -1
  100. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bill_to.rb → default_payment_instrument_bill_to.rb} +1 -1
  101. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_buyer_information.rb → default_payment_instrument_buyer_information.rb} +2 -2
  102. data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_buyer_info_issued_by.rb → default_payment_instrument_buyer_information_issued_by.rb} +1 -1
  103. data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_buyer_info_personal_identification.rb → default_payment_instrument_buyer_information_personal_identification.rb} +2 -2
  104. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_card.rb → default_payment_instrument_card.rb} +2 -2
  105. data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_card_tokenized_info.rb → default_payment_instrument_card_tokenized_information.rb} +1 -1
  106. data/lib/cybersource_rest_client/models/{tmsv2tokenize_default_payment_instrument_instrument_identifier.rb → default_payment_instrument_instrument_identifier.rb} +1 -1
  107. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_metadata.rb → default_payment_instrument_metadata.rb} +1 -1
  108. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address.rb → default_shipping_address.rb} +4 -4
  109. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links.rb → default_shipping_address__links.rb} +3 -3
  110. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_customer.rb → default_shipping_address__links_customer.rb} +1 -1
  111. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_self.rb → default_shipping_address__links_self.rb} +1 -1
  112. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address_metadata.rb → default_shipping_address_metadata.rb} +1 -1
  113. data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded_default_shipping_address_ship_to.rb → default_shipping_address_ship_to.rb} +1 -1
  114. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_watchlist_screening_information_watch_list.rb → export_compliance_watch_list.rb} +2 -2
  115. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_watchlist_screening_information_watch_list_matches.rb → export_compliance_watch_list_matches.rb} +1 -1
  116. data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument_buyer_information.rb → follow_on_transaction_buyer_information.rb} +2 -2
  117. data/lib/cybersource_rest_client/models/generate_unified_checkout_v1_capture_context_request.rb +2 -2
  118. data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument.rb +2 -2
  119. data/lib/cybersource_rest_client/models/get_subscription_response_1_shipping_address.rb +1 -1
  120. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb → icc_amount_detail.rb} +1 -1
  121. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items.rb → icc_line_item.rb} +4 -4
  122. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb → icc_line_item_additional_info.rb} +1 -1
  123. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb → icc_line_item_policies.rb} +1 -1
  124. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb → icc_merchant_descriptor.rb} +1 -1
  125. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb → icc_payment_instrument.rb} +2 -2
  126. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb → icc_payment_instrument_verification_results.rb} +1 -1
  127. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb → icc_shipping_details.rb} +1 -1
  128. data/lib/cybersource_rest_client/models/{agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb → icc_transaction_response_pending_events.rb} +1 -1
  129. data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +239 -0
  130. data/lib/cybersource_rest_client/models/iccv1checkout_sessions_fulfillment_address.rb +344 -0
  131. data/lib/cybersource_rest_client/models/iccv1checkout_sessions_items.rb +222 -0
  132. data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_id_fulfillment_address.rb +344 -0
  133. data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data.rb +222 -0
  134. data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data_billing_address.rb +344 -0
  135. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts.rb +206 -0
  136. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_allocations.rb +202 -0
  137. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_discounts_applied.rb +237 -0
  138. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment.rb +193 -0
  139. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_destinations.rb +246 -0
  140. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_groups.rb +228 -0
  141. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_methods.rb +252 -0
  142. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_options.rb +215 -0
  143. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_fulfillment_totals.rb +202 -0
  144. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_item.rb +207 -0
  145. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_line_items.rb +211 -0
  146. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment.rb +217 -0
  147. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_billing_address.rb +235 -0
  148. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_credential.rb +202 -0
  149. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_handlers.rb +259 -0
  150. data/lib/cybersource_rest_client/models/iccv1checkoutsessions_payment_instruments.rb +288 -0
  151. data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_discounts.rb +206 -0
  152. data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_fulfillment.rb +193 -0
  153. data/lib/cybersource_rest_client/models/iccv1checkoutsessionssession_id_payment.rb +217 -0
  154. data/lib/cybersource_rest_client/models/{acpv1instructions_decline_threshold.rb → iccv1instructions_decline_threshold.rb} +1 -1
  155. data/lib/cybersource_rest_client/models/{acpv1instructions_mandates.rb → iccv1instructions_mandates.rb} +3 -3
  156. data/lib/cybersource_rest_client/models/{acpv1instructions_recurring_payment_information.rb → iccv1instructions_recurring_payment_information.rb} +1 -1
  157. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_confirmation_data.rb → iccv1instructionsinstruction_idconfirmations_confirmation_data.rb} +5 -5
  158. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_merchant_information.rb → iccv1instructionsinstruction_idconfirmations_merchant_information.rb} +1 -1
  159. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_order_information.rb → iccv1instructionsinstruction_idconfirmations_order_information.rb} +5 -5
  160. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idconfirmations_processor_information.rb → iccv1instructionsinstruction_idconfirmations_processor_information.rb} +3 -3
  161. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_attachments.rb → iccv1instructionsinstruction_idcredentials_attachments.rb} +1 -1
  162. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_client_reference_information.rb → iccv1instructionsinstruction_idcredentials_client_reference_information.rb} +1 -1
  163. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb → iccv1instructionsinstruction_idcredentials_mandate_reference_data.rb} +1 -1
  164. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_merchant_information.rb → iccv1instructionsinstruction_idcredentials_merchant_information.rb} +2 -2
  165. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information.rb → iccv1instructionsinstruction_idcredentials_order_information.rb} +4 -4
  166. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_line_items.rb → iccv1instructionsinstruction_idcredentials_order_information_line_items.rb} +2 -2
  167. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb → iccv1instructionsinstruction_idcredentials_order_information_ship_to.rb} +1 -1
  168. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_payment_options.rb → iccv1instructionsinstruction_idcredentials_payment_options.rb} +1 -1
  169. data/lib/cybersource_rest_client/models/{acpv1instructionsinstruction_idcredentials_transaction_data.rb → iccv1instructionsinstruction_idcredentials_transaction_data.rb} +7 -7
  170. data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +225 -0
  171. data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +245 -0
  172. data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +236 -0
  173. data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +225 -0
  174. data/lib/cybersource_rest_client/models/{acpv1mppcredentials_challenge.rb → iccv1mppcredentials_challenge.rb} +2 -2
  175. data/lib/cybersource_rest_client/models/{acpv1mppcredentials_challenge_encryption_jwk.rb → iccv1mppcredentials_challenge_encryption_jwk.rb} +1 -1
  176. data/lib/cybersource_rest_client/models/iccv1productsfeed_products.rb +1368 -0
  177. data/lib/cybersource_rest_client/models/{acpv1tokens_assurance_data.rb → iccv1tokens_assurance_data.rb} +3 -3
  178. data/lib/cybersource_rest_client/models/{acpv1tokens_authenticated_identities.rb → iccv1tokens_authenticated_identities.rb} +1 -1
  179. data/lib/cybersource_rest_client/models/{acpv1tokens_authentication_context.rb → iccv1tokens_authentication_context.rb} +1 -1
  180. data/lib/cybersource_rest_client/models/{acpv1tokens_bill_to.rb → iccv1tokens_bill_to.rb} +1 -1
  181. data/lib/cybersource_rest_client/models/{acpv1tokens_buyer_information.rb → iccv1tokens_buyer_information.rb} +2 -2
  182. data/lib/cybersource_rest_client/models/{acpv1tokens_buyer_information_personal_identification.rb → iccv1tokens_buyer_information_personal_identification.rb} +9 -9
  183. data/lib/cybersource_rest_client/models/{acpv1tokens_consent_data.rb → iccv1tokens_consent_data.rb} +1 -1
  184. data/lib/cybersource_rest_client/models/{acpv1tokens_consumer_identity.rb → iccv1tokens_consumer_identity.rb} +1 -1
  185. data/lib/cybersource_rest_client/models/{acpv1tokens_device_information.rb → iccv1tokens_device_information.rb} +2 -2
  186. data/lib/cybersource_rest_client/models/{acpv1tokens_device_information_device_data.rb → iccv1tokens_device_information_device_data.rb} +1 -1
  187. data/lib/cybersource_rest_client/models/{acpv1tokens_enrollment_reference_data.rb → iccv1tokens_enrollment_reference_data.rb} +1 -1
  188. data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information.rb → iccv1tokens_payment_information.rb} +4 -4
  189. data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_customer.rb → iccv1tokens_payment_information_customer.rb} +1 -1
  190. data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_instrument_identifier.rb → iccv1tokens_payment_information_instrument_identifier.rb} +1 -1
  191. data/lib/cybersource_rest_client/models/{acpv1tokens_payment_information_payment_instrument.rb → iccv1tokens_payment_information_payment_instrument.rb} +1 -1
  192. data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
  193. data/lib/cybersource_rest_client/models/inline_response_200_17.rb +317 -0
  194. data/lib/cybersource_rest_client/models/inline_response_200_17_fulfillment_address.rb +344 -0
  195. data/lib/cybersource_rest_client/models/inline_response_200_17_order.rb +213 -0
  196. data/lib/cybersource_rest_client/models/inline_response_200_18.rb +308 -0
  197. data/lib/cybersource_rest_client/models/inline_response_200_19.rb +302 -0
  198. data/lib/cybersource_rest_client/models/inline_response_200_19_errors.rb +213 -0
  199. data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant.rb +237 -0
  200. data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant_products.rb +259 -0
  201. data/lib/cybersource_rest_client/models/inline_response_200_20.rb +259 -0
  202. data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +1081 -0
  203. data/lib/cybersource_rest_client/models/inline_response_200_21.rb +201 -0
  204. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
  205. data/lib/cybersource_rest_client/models/inline_response_200_5_integration_information_tenant_configurations.rb +1 -1
  206. data/lib/cybersource_rest_client/models/inline_response_201_10.rb +277 -0
  207. data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads.rb → inline_response_201_10_payloads.rb} +2 -2
  208. data/lib/cybersource_rest_client/models/{inline_response_201_7_payloads_test_payload.rb → inline_response_201_10_payloads_test_payload.rb} +1 -1
  209. data/lib/cybersource_rest_client/models/inline_response_201_11.rb +202 -0
  210. data/lib/cybersource_rest_client/models/inline_response_201_12.rb +297 -0
  211. data/lib/cybersource_rest_client/models/{inline_response_201_9_client_reference_information.rb → inline_response_201_12_client_reference_information.rb} +1 -1
  212. data/lib/cybersource_rest_client/models/{inline_response_201_9_error_information.rb → inline_response_201_12_error_information.rb} +1 -1
  213. data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information.rb → inline_response_201_12_order_information.rb} +2 -2
  214. data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion.rb → inline_response_201_12_order_information_currency_conversion.rb} +2 -2
  215. data/lib/cybersource_rest_client/models/{inline_response_201_9_order_information_currency_conversion_offer.rb → inline_response_201_12_order_information_currency_conversion_offer.rb} +1 -1
  216. data/lib/cybersource_rest_client/models/{inline_response_201_9_processor_information.rb → inline_response_201_12_processor_information.rb} +1 -1
  217. data/lib/cybersource_rest_client/models/inline_response_201_13.rb +318 -0
  218. data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment_address.rb +344 -0
  219. data/lib/cybersource_rest_client/models/inline_response_201_13_fulfillment_options.rb +290 -0
  220. data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +213 -0
  221. data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +256 -0
  222. data/lib/cybersource_rest_client/models/inline_response_201_13_links.rb +212 -0
  223. data/lib/cybersource_rest_client/models/inline_response_201_13_messages.rb +250 -0
  224. data/lib/cybersource_rest_client/models/inline_response_201_13_payment_provider.rb +204 -0
  225. data/lib/cybersource_rest_client/models/inline_response_201_13_totals.rb +213 -0
  226. data/lib/cybersource_rest_client/models/inline_response_201_14.rb +312 -0
  227. data/lib/cybersource_rest_client/models/inline_response_201_14_discounts.rb +206 -0
  228. data/lib/cybersource_rest_client/models/inline_response_201_14_fulfillment.rb +193 -0
  229. data/lib/cybersource_rest_client/models/inline_response_201_14_item.rb +213 -0
  230. data/lib/cybersource_rest_client/models/inline_response_201_14_line_items.rb +225 -0
  231. data/lib/cybersource_rest_client/models/inline_response_201_14_order.rb +202 -0
  232. data/lib/cybersource_rest_client/models/inline_response_201_14_payment.rb +217 -0
  233. data/lib/cybersource_rest_client/models/inline_response_201_14_ucp.rb +204 -0
  234. data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_merchant_information_merchant_descriptor.rb → inline_response_201_14_ucp_capabilities.rb} +12 -11
  235. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +33 -54
  236. data/lib/cybersource_rest_client/models/inline_response_201_3_results.rb +190 -0
  237. data/lib/cybersource_rest_client/models/inline_response_201_3_results_risk_insights.rb +235 -0
  238. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +51 -62
  239. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +225 -0
  240. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +213 -0
  241. data/lib/cybersource_rest_client/models/inline_response_201_4_order_information.rb +189 -0
  242. data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +315 -0
  243. data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +189 -0
  244. data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information_routing.rb +196 -0
  245. data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +213 -0
  246. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +78 -19
  247. data/lib/cybersource_rest_client/models/{inline_response_401_1__links.rb → inline_response_201_5__links.rb} +2 -2
  248. data/lib/cybersource_rest_client/models/inline_response_201_5__links_self.rb +201 -0
  249. data/lib/cybersource_rest_client/models/inline_response_201_5_acquirer_information.rb +196 -0
  250. data/lib/cybersource_rest_client/models/inline_response_201_5_client_reference_information.rb +196 -0
  251. data/lib/cybersource_rest_client/models/inline_response_201_5_error_information.rb +225 -0
  252. data/lib/cybersource_rest_client/models/inline_response_201_5_error_information_details.rb +213 -0
  253. data/lib/cybersource_rest_client/models/inline_response_201_5_merchant_information.rb +196 -0
  254. data/lib/cybersource_rest_client/models/inline_response_201_5_order_information.rb +189 -0
  255. data/lib/cybersource_rest_client/models/inline_response_201_5_order_information_amount_details.rb +264 -0
  256. data/lib/cybersource_rest_client/models/inline_response_201_5_payment_information.rb +223 -0
  257. data/lib/cybersource_rest_client/models/inline_response_201_5_payment_information_card.rb +213 -0
  258. data/lib/cybersource_rest_client/models/inline_response_201_5_processing_information.rb +240 -0
  259. data/lib/cybersource_rest_client/models/inline_response_201_5_processing_information_payouts_options.rb +196 -0
  260. data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +548 -0
  261. data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information_card_verification.rb +196 -0
  262. data/lib/cybersource_rest_client/models/inline_response_201_5_transactions.rb +239 -0
  263. data/lib/cybersource_rest_client/models/inline_response_201_6.rb +45 -111
  264. data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information.rb → inline_response_201_6_payout_information.rb} +3 -3
  265. data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_pull_funds.rb → inline_response_201_6_payout_information_pull_funds.rb} +1 -1
  266. data/lib/cybersource_rest_client/models/{inline_response_201_3_payout_information_push_funds.rb → inline_response_201_6_payout_information_push_funds.rb} +1 -1
  267. data/lib/cybersource_rest_client/models/inline_response_201_7.rb +76 -72
  268. data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information.rb → inline_response_201_7_integration_information.rb} +2 -2
  269. data/lib/cybersource_rest_client/models/{inline_response_201_4_integration_information_tenant_configurations.rb → inline_response_201_7_integration_information_tenant_configurations.rb} +1 -1
  270. data/lib/cybersource_rest_client/models/{inline_response_201_4_organization_information.rb → inline_response_201_7_organization_information.rb} +1 -1
  271. data/lib/cybersource_rest_client/models/{inline_response_201_4_product_information_setups.rb → inline_response_201_7_product_information_setups.rb} +2 -2
  272. data/lib/cybersource_rest_client/models/{inline_response_201_4_registration_information.rb → inline_response_201_7_registration_information.rb} +1 -1
  273. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups.rb → inline_response_201_7_setups.rb} +5 -5
  274. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_commerce_solutions.rb → inline_response_201_7_setups_commerce_solutions.rb} +5 -5
  275. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_risk.rb → inline_response_201_7_setups_risk.rb} +4 -4
  276. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_value_added_services.rb → inline_response_201_7_setups_value_added_services.rb} +6 -6
  277. data/lib/cybersource_rest_client/models/inline_response_201_8.rb +26 -6
  278. data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information.rb → inline_response_201_8_key_information.rb} +2 -2
  279. data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information.rb → inline_response_201_8_key_information_error_information.rb} +2 -2
  280. data/lib/cybersource_rest_client/models/{inline_response_201_5_key_information_error_information_details.rb → inline_response_201_8_key_information_error_information_details.rb} +1 -1
  281. data/lib/cybersource_rest_client/models/inline_response_201_9.rb +107 -90
  282. data/lib/cybersource_rest_client/models/inline_response_202__links.rb +1 -1
  283. data/lib/cybersource_rest_client/models/inline_response_400_10.rb +58 -36
  284. data/lib/cybersource_rest_client/models/{inline_response_400_8_fields.rb → inline_response_400_10_fields.rb} +1 -1
  285. data/lib/cybersource_rest_client/models/inline_response_400_11.rb +16 -16
  286. data/lib/cybersource_rest_client/models/inline_response_400_11_details.rb +2 -2
  287. data/lib/cybersource_rest_client/models/inline_response_400_12.rb +30 -75
  288. data/lib/cybersource_rest_client/models/{inline_response_400_10_details.rb → inline_response_400_12_details.rb} +1 -1
  289. data/lib/cybersource_rest_client/models/inline_response_400_13.rb +242 -0
  290. data/lib/cybersource_rest_client/models/inline_response_400_14.rb +235 -0
  291. data/lib/cybersource_rest_client/models/{inline_response_400_9_details.rb → inline_response_400_14_details.rb} +3 -3
  292. data/lib/cybersource_rest_client/models/inline_response_400_15.rb +281 -0
  293. data/lib/cybersource_rest_client/models/inline_response_400_16.rb +235 -0
  294. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +42 -13
  295. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +47 -13
  296. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +1 -1
  297. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +1 -1
  298. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +1 -1
  299. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +37 -60
  300. data/lib/cybersource_rest_client/models/inline_response_400_9.rb +6 -6
  301. data/lib/cybersource_rest_client/models/inline_response_401.rb +51 -33
  302. data/lib/cybersource_rest_client/models/inline_response_401_1.rb +44 -56
  303. data/lib/cybersource_rest_client/models/inline_response_401_2.rb +223 -0
  304. data/lib/cybersource_rest_client/models/inline_response_401_3.rb +253 -0
  305. data/lib/cybersource_rest_client/models/inline_response_401_3__links.rb +189 -0
  306. data/lib/cybersource_rest_client/models/{inline_response_401_1__links_self.rb → inline_response_401_3__links_self.rb} +1 -1
  307. data/lib/cybersource_rest_client/models/{inline_response_401_1_fields.rb → inline_response_401_3_fields.rb} +1 -1
  308. data/lib/cybersource_rest_client/models/inline_response_404_3.rb +1 -1
  309. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
  310. data/lib/cybersource_rest_client/models/inline_response_502.rb +9 -53
  311. data/lib/cybersource_rest_client/models/inline_response_502_1.rb +24 -12
  312. data/lib/cybersource_rest_client/models/inline_response_502_2.rb +21 -20
  313. data/lib/cybersource_rest_client/models/inline_response_502_3.rb +257 -0
  314. data/lib/cybersource_rest_client/models/inline_response_502_4.rb +223 -0
  315. data/lib/cybersource_rest_client/models/inline_response_502_5.rb +251 -0
  316. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +18 -1
  317. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoice_information.rb +2 -2
  318. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_cancel200_response.rb +17 -5
  319. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +20 -3
  320. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_publish200_response.rb +17 -5
  321. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_send200_response.rb +17 -5
  322. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +18 -1
  323. data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +20 -3
  324. data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +20 -3
  325. data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +26 -9
  326. data/lib/cybersource_rest_client/models/iplv2paymentlinks_purchase_information.rb +85 -5
  327. data/lib/cybersource_rest_client/models/iplv2paymentlinksid_purchase_information.rb +85 -5
  328. data/lib/cybersource_rest_client/models/key_request.rb +239 -0
  329. data/lib/cybersource_rest_client/models/key_request_1.rb +245 -0
  330. data/lib/cybersource_rest_client/models/key_update.rb +224 -0
  331. data/lib/cybersource_rest_client/models/key_update_1.rb +235 -0
  332. data/lib/cybersource_rest_client/models/label_request.rb +268 -0
  333. data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +245 -0
  334. data/lib/cybersource_rest_client/models/list_agent_keys_response200_pagination.rb +276 -0
  335. data/lib/cybersource_rest_client/models/list_merchant_keys_response200.rb +262 -0
  336. data/lib/cybersource_rest_client/models/merchant_defined_field_core_1.rb +315 -0
  337. data/lib/cybersource_rest_client/models/merchant_defined_field_definition_request_1.rb +315 -0
  338. data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +395 -0
  339. data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +324 -0
  340. data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422.rb +193 -0
  341. data/lib/cybersource_rest_client/models/merchant_registration_validation_error_response422_detail.rb +215 -0
  342. data/lib/cybersource_rest_client/models/merchant_request.rb +317 -0
  343. data/lib/cybersource_rest_client/models/merchant_update.rb +270 -0
  344. data/lib/cybersource_rest_client/models/{payments_products_microform_configuration_information_configurations_features.rb → microform_config_features.rb} +2 -2
  345. data/lib/cybersource_rest_client/models/{payments_products_microform_configuration_information_configurations_features_gateway_agnostic.rb → microform_config_features_gateway_agnostic.rb} +1 -1
  346. data/lib/cybersource_rest_client/models/mpp_credentials_request.rb +1 -1
  347. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +7 -7
  348. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +3 -3
  349. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +1 -1
  350. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +7 -7
  351. data/lib/cybersource_rest_client/models/patch_registration_body.rb +234 -0
  352. data/lib/cybersource_rest_client/models/{payment_instrument_list__embedded_payment_instruments.rb → payment_instrument.rb} +8 -8
  353. data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
  354. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments.rb → payments_configuration_setup.rb} +23 -23
  355. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_alternative_payment_methods.rb → payments_configuration_setup_alternative_payment_methods.rb} +3 -3
  356. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_alternative_payment_methods_configuration_status.rb → payments_configuration_setup_alternative_payment_methods_configuration_status.rb} +1 -1
  357. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing.rb → payments_configuration_setup_card_processing.rb} +3 -3
  358. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing_configuration_status.rb → payments_configuration_setup_card_processing_configuration_status.rb} +1 -1
  359. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_card_processing_subscription_status.rb → payments_configuration_setup_card_processing_subscription_status.rb} +1 -1
  360. data/lib/cybersource_rest_client/models/{inline_response_201_4_setups_payments_digital_payments.rb → payments_configuration_setup_digital_payments.rb} +2 -2
  361. data/lib/cybersource_rest_client/models/payments_products_alternative_payment_methods_configuration_information_configurations.rb +1 -1
  362. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations.rb +1 -1
  363. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information.rb +1 -1
  364. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_configuration_information.rb +1 -1
  365. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information.rb +1 -1
  366. data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +17 -5
  367. data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +17 -5
  368. data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response_purchase_information.rb +81 -1
  369. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +7 -7
  370. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +3 -3
  371. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +1 -1
  372. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +1 -1
  373. data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +1 -1
  374. data/lib/cybersource_rest_client/models/post_payment_credentials_request.rb +1 -1
  375. data/lib/cybersource_rest_client/models/post_payment_credentials_request_1.rb +1 -1
  376. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +7 -7
  377. data/lib/cybersource_rest_client/models/{tms_tokenized_card_delete_request.rb → post_tokenized_card_delete_request.rb} +1 -1
  378. data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_authorization_options.rb → processing_info_authorization_options.rb} +16 -3
  379. data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_authorization_options_initiator.rb → processing_info_authorization_options_initiator.rb} +2 -2
  380. data/lib/cybersource_rest_client/models/{ptsv2payments_merchant_initiated_transaction.rb → processing_info_authorization_options_initiator_merchant_initiated_transaction.rb} +4 -4
  381. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_processor_information_seller_protection.rb → processor_information_seller_protection.rb} +1 -1
  382. data/lib/cybersource_rest_client/models/product_feed_request.rb +230 -0
  383. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +1 -1
  384. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +1 -1
  385. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +1 -1
  386. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +1 -1
  387. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_watchlist_screening_information.rb +1 -1
  388. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_issuer_information.rb +166 -1
  389. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information.rb +1 -1
  390. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +1 -1
  391. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +37 -3
  392. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +1 -1
  393. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -1
  394. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_refund_options.rb +22 -5
  395. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +13 -3
  396. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_card_verification.rb +214 -0
  397. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +22 -5
  398. data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +0 -14
  399. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +1 -1
  400. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -1
  401. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_refund_options.rb +22 -5
  402. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -1
  403. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +1 -1
  404. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
  405. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_acquirer_information.rb +196 -0
  406. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information.rb +257 -0
  407. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_client_reference_information_partner.rb +213 -0
  408. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information.rb +189 -0
  409. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_order_information_amount_details.rb +299 -0
  410. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information.rb +240 -0
  411. data/lib/cybersource_rest_client/models/ptsv2payoutsfxrates_processing_information_routing.rb +205 -0
  412. data/lib/cybersource_rest_client/models/ptsv2payoutstransactionqueryid_client_reference_information.rb +247 -0
  413. data/lib/cybersource_rest_client/models/push_funds201_response.rb +11 -1
  414. data/lib/cybersource_rest_client/models/push_funds201_response_issuer_information.rb +344 -0
  415. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information.rb → push_funds_transfer_payment_information.rb} +2 -2
  416. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card.rb → push_funds_transfer_payment_information_card.rb} +4 -4
  417. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_customer.rb → push_funds_transfer_payment_information_card_customer.rb} +1 -1
  418. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_instrument_identifier.rb → push_funds_transfer_payment_information_card_instrument_identifier.rb} +1 -1
  419. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_recipient_information_payment_information_card_payment_instrument.rb → push_funds_transfer_payment_information_card_payment_instrument.rb} +1 -1
  420. data/lib/cybersource_rest_client/models/{rbsv1subscriptions_processing_information_authorization_options.rb → rbs_authorization_options.rb} +2 -2
  421. data/lib/cybersource_rest_client/models/{rbsv1subscriptions_processing_information_authorization_options_initiator.rb → rbs_authorization_options_initiator.rb} +1 -1
  422. data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information.rb +1 -1
  423. data/lib/cybersource_rest_client/models/{reporting_v3_report_definitions_name_get200_response_default_settings.rb → report_definition_default_settings.rb} +1 -1
  424. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +1 -1
  425. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +1 -1
  426. data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information.rb → risk_address_verification_information.rb} +3 -3
  427. data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb → risk_address_verification_information_bar_code.rb} +1 -1
  428. data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb → risk_address_verification_information_standard_address.rb} +2 -2
  429. data/lib/cybersource_rest_client/models/{risk_v1_address_verifications_post201_response_address1.rb → risk_address_verification_information_standard_address_address1.rb} +1 -1
  430. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +1 -1
  431. data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +1 -1
  432. data/lib/cybersource_rest_client/models/{boardingv1registrations_integration_information_tenant_information.rb → tenant_information.rb} +1 -1
  433. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +1 -1
  434. data/lib/cybersource_rest_client/models/{tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb → tms_issuer_life_cycle_event_simulation_metadata.rb} +2 -2
  435. data/lib/cybersource_rest_client/models/{tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb → tms_issuer_life_cycle_event_simulation_metadata_card_art.rb} +2 -2
  436. data/lib/cybersource_rest_client/models/{tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb → tms_issuer_life_cycle_event_simulation_metadata_card_art_combined_asset.rb} +1 -1
  437. data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_point_of_sale_information.rb → tms_point_of_sale_information.rb} +2 -2
  438. data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_point_of_sale_information_emv_tags.rb → tms_point_of_sale_information_emv_tags.rb} +1 -1
  439. data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +1 -1
  440. data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information.rb +2 -2
  441. data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information_customer__embedded.rb +2 -2
  442. data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_authenticated_identities.rb +19 -8
  443. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
  444. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +12 -1
  445. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations.rb → uc_configurations.rb} +2 -2
  446. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations_features.rb → uc_configurations_features.rb} +26 -6
  447. data/lib/cybersource_rest_client/models/uc_configurations_features_click_to_pay.rb +189 -0
  448. data/lib/cybersource_rest_client/models/uc_configurations_features_click_to_pay_enrollment_data.rb +223 -0
  449. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_configuration_information_configurations_features_paze.rb → uc_configurations_features_paze.rb} +2 -2
  450. data/lib/cybersource_rest_client/models/uc_configurations_features_portfolio_accessto_sensitive_data.rb +190 -0
  451. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features.rb → uc_feature_subscription.rb} +22 -22
  452. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_after_pay.rb → uc_feature_subscription_after_pay.rb} +1 -1
  453. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_apple_pay.rb → uc_feature_subscription_apple_pay.rb} +1 -1
  454. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_bancontact.rb → uc_feature_subscription_bancontact.rb} +1 -1
  455. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_click_to_pay.rb → uc_feature_subscription_click_to_pay.rb} +1 -1
  456. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_decision_manager.rb → uc_feature_subscription_decision_manager.rb} +1 -1
  457. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_dragon_pay.rb → uc_feature_subscription_dragon_pay.rb} +1 -1
  458. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_e_check.rb → uc_feature_subscription_e_check.rb} +1 -1
  459. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_google_pay.rb → uc_feature_subscription_google_pay.rb} +1 -1
  460. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_ideal.rb → uc_feature_subscription_ideal.rb} +1 -1
  461. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_konbini.rb → uc_feature_subscription_konbini.rb} +1 -1
  462. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_multibanco.rb → uc_feature_subscription_multibanco.rb} +1 -1
  463. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_my_bank.rb → uc_feature_subscription_my_bank.rb} +1 -1
  464. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_p24.rb → uc_feature_subscription_p24.rb} +1 -1
  465. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_pay_pal.rb → uc_feature_subscription_pay_pal.rb} +1 -1
  466. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_payer_authentication.rb → uc_feature_subscription_payer_authentication.rb} +1 -1
  467. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_paze_for_unified_checkout.rb → uc_feature_subscription_paze_for_unified_checkout.rb} +1 -1
  468. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_info_features_portfolio_accessof_sensi_data.rb → uc_feature_subscription_portfolio_accessof_sensitive_data.rb} +1 -1
  469. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_tink_pay_by_bank.rb → uc_feature_subscription_tink_pay_by_bank.rb} +1 -1
  470. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_token_management.rb → uc_feature_subscription_token_management.rb} +1 -1
  471. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_unified_click_to_pay_sdk.rb → uc_feature_subscription_unified_click_to_pay_sdk.rb} +1 -1
  472. data/lib/cybersource_rest_client/models/{payments_products_unified_checkout_subscription_information_features_venmo.rb → uc_feature_subscription_venmo.rb} +1 -1
  473. data/lib/cybersource_rest_client/models/ucp_checkout_session_response_buyer.rb +202 -0
  474. data/lib/cybersource_rest_client/models/ucp_complete_checkout_request.rb +201 -0
  475. data/lib/cybersource_rest_client/models/ucp_create_checkout_session_buyer.rb +202 -0
  476. data/lib/cybersource_rest_client/models/ucp_create_checkout_session_request.rb +249 -0
  477. data/lib/cybersource_rest_client/models/ucp_update_checkout_session_buyer.rb +202 -0
  478. data/lib/cybersource_rest_client/models/ucp_update_checkout_session_request.rb +255 -0
  479. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +1 -1
  480. data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +1 -1
  481. data/lib/cybersource_rest_client/models/ucv1sessions_data_client_reference_information.rb +227 -0
  482. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information.rb +1 -1
  483. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_line_items.rb +2 -2
  484. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_ship_to.rb +388 -0
  485. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options_initiator.rb +1 -1
  486. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations.rb +11 -1
  487. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_googlepay.rb +1 -1
  488. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_paypal.rb +211 -0
  489. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_paypal_tokenized_payment_method.rb +213 -0
  490. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token.rb +1 -1
  491. data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_business_details.rb → underwriting_configuration_business_details.rb} +2 -2
  492. data/lib/cybersource_rest_client/models/underwriting_configuration_business_details_product_services_subscription.rb +1 -1
  493. data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information.rb +1 -1
  494. data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_processing_info_mit.rb → unified_checkout_merchant_initiated_transaction.rb} +1 -1
  495. data/lib/cybersource_rest_client/models/unified_risk_labels_post400_response.rb +230 -0
  496. data/lib/cybersource_rest_client/models/unified_risk_labels_post400_response_errors.rb +223 -0
  497. data/lib/cybersource_rest_client/models/unifiedrisk_labels.rb +230 -0
  498. data/lib/cybersource_rest_client/models/unifiedrisk_labels_authentication_outcome.rb +201 -0
  499. data/lib/cybersource_rest_client/models/unifiedrisk_labels_payment_authorization_decision.rb +201 -0
  500. data/lib/cybersource_rest_client/models/unifiedrisk_labels_return.rb +202 -0
  501. data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_decision.rb +201 -0
  502. data/lib/cybersource_rest_client/models/unifiedrisk_labels_transaction_outcome.rb +201 -0
  503. data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +196 -0
  504. data/lib/cybersource_rest_client/models/update_payment_link_request.rb +17 -5
  505. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information.rb +4 -2
  506. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items.rb +2 -2
  507. data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_order_information_line_items_passenger.rb → upv1capturecontexts_data_order_information_passenger.rb} +1 -1
  508. data/lib/cybersource_rest_client/models/{upv1capturecontexts_data_order_information_line_items_tax_details.rb → upv1capturecontexts_data_order_information_tax_details.rb} +1 -1
  509. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.rb +1 -1
  510. data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information.rb → virtual_terminal_global_payment_settings.rb} +4 -4
  511. data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_basic_information.rb → virtual_terminal_global_payment_settings_basic_information.rb} +1 -1
  512. data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_merchant_defined_data_fields.rb → virtual_terminal_global_payment_settings_merchant_defined_data_fields.rb} +1 -1
  513. data/lib/cybersource_rest_client/models/{vt_config_card_not_present_global_payment_information_payment_information.rb → virtual_terminal_global_payment_settings_payment_information.rb} +1 -1
  514. data/lib/cybersource_rest_client/models/vt_config_card_not_present.rb +1 -1
  515. data/lib/cybersource_rest_client.rb +2172 -2003
  516. metadata +352 -183
  517. data/lib/cybersource_rest_client/api/enrollment_api.rb +0 -104
  518. data/lib/cybersource_rest_client/api/instructions_api.rb +0 -452
  519. data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_merchant_information.rb +0 -189
  520. data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +0 -42
@@ -0,0 +1,201 @@
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
+ # Single product response envelope, consistent with ProductCatalogResponse.
16
+ class InlineResponse20021
17
+ # Merchant who owns this product.
18
+ attr_accessor :merchant_id
19
+
20
+ attr_accessor :product
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'merchant_id' => :'merchant_id',
26
+ :'product' => :'product'
27
+ }
28
+ end
29
+
30
+ # Attribute mapping from JSON key to ruby-style variable name.
31
+ def self.json_map
32
+ {
33
+ :'merchant_id' => :'merchant_id',
34
+ :'product' => :'product'
35
+ }
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.swagger_types
40
+ {
41
+ :'merchant_id' => :'String',
42
+ :'product' => :'InlineResponse20020Products'
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?(:'merchant_id')
55
+ self.merchant_id = attributes[:'merchant_id']
56
+ end
57
+
58
+ if attributes.has_key?(:'product')
59
+ self.product = attributes[:'product']
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
+ # Checks equality by comparing each attribute.
77
+ # @param [Object] Object to be compared
78
+ def ==(o)
79
+ return true if self.equal?(o)
80
+ self.class == o.class &&
81
+ merchant_id == o.merchant_id &&
82
+ product == o.product
83
+ end
84
+
85
+ # @see the `==` method
86
+ # @param [Object] Object to be compared
87
+ def eql?(o)
88
+ self == o
89
+ end
90
+
91
+ # Calculates hash code according to all attributes.
92
+ # @return [Fixnum] Hash code
93
+ def hash
94
+ [merchant_id, product].hash
95
+ end
96
+
97
+ # Builds the object from hash
98
+ # @param [Hash] attributes Model attributes in the form of hash
99
+ # @return [Object] Returns the model itself
100
+ def build_from_hash(attributes)
101
+ return nil unless attributes.is_a?(Hash)
102
+ self.class.swagger_types.each_pair do |key, type|
103
+ if type =~ /\AArray<(.*)>/i
104
+ # check to ensure the input is an array given that the the attribute
105
+ # is documented as an array but the input is not
106
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
107
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
108
+ end
109
+ elsif !attributes[self.class.attribute_map[key]].nil?
110
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
111
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
112
+ end
113
+
114
+ self
115
+ end
116
+
117
+ # Deserializes the data based on type
118
+ # @param string type Data type
119
+ # @param string value Value to be deserialized
120
+ # @return [Object] Deserialized data
121
+ def _deserialize(type, value)
122
+ case type.to_sym
123
+ when :DateTime
124
+ DateTime.parse(value)
125
+ when :Date
126
+ Date.parse(value)
127
+ when :String
128
+ value.to_s
129
+ when :Integer
130
+ value.to_i
131
+ when :Float
132
+ value.to_f
133
+ when :BOOLEAN
134
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
135
+ true
136
+ else
137
+ false
138
+ end
139
+ when :Object
140
+ # generic object (usually a Hash), return directly
141
+ value
142
+ when /\AArray<(?<inner_type>.+)>\z/
143
+ inner_type = Regexp.last_match[:inner_type]
144
+ value.map { |v| _deserialize(inner_type, v) }
145
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
146
+ k_type = Regexp.last_match[:k_type]
147
+ v_type = Regexp.last_match[:v_type]
148
+ {}.tap do |hash|
149
+ value.each do |k, v|
150
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
151
+ end
152
+ end
153
+ else # model
154
+ temp_model = CyberSource.const_get(type).new
155
+ temp_model.build_from_hash(value)
156
+ end
157
+ end
158
+
159
+ # Returns the string representation of the object
160
+ # @return [String] String presentation of the object
161
+ def to_s
162
+ to_hash.to_s
163
+ end
164
+
165
+ # to_body is an alias to to_hash (backward compatibility)
166
+ # @return [Hash] Returns the object in the form of hash
167
+ def to_body
168
+ to_hash
169
+ end
170
+
171
+ # Returns the object in the form of hash
172
+ # @return [Hash] Returns the object in the form of hash
173
+ def to_hash
174
+ hash = {}
175
+ self.class.attribute_map.each_pair do |attr, param|
176
+ value = self.send(attr)
177
+ next if value.nil?
178
+ hash[param] = _to_hash(value)
179
+ end
180
+ hash
181
+ end
182
+
183
+ # Outputs non-array value in the form of hash
184
+ # For object, use to_hash. Otherwise, just return the value
185
+ # @param [Object] value Any valid value
186
+ # @return [Hash] Returns the value in the form of hash
187
+ def _to_hash(value)
188
+ if value.is_a?(Array)
189
+ value.compact.map { |v| _to_hash(v) }
190
+ elsif value.is_a?(Hash)
191
+ {}.tap do |hash|
192
+ value.each { |k, v| hash[k] = _to_hash(v) }
193
+ end
194
+ elsif value.respond_to? :to_hash
195
+ value.to_hash
196
+ else
197
+ value
198
+ end
199
+ end
200
+ end
201
+ end
@@ -60,7 +60,7 @@ module CyberSource
60
60
  :'integration_information' => :'InlineResponse2005IntegrationInformation',
61
61
  :'organization_information' => :'Boardingv1registrationsOrganizationInformation',
62
62
  :'product_information' => :'Boardingv1registrationsProductInformation',
63
- :'product_information_setups' => :'Array<InlineResponse2014ProductInformationSetups>',
63
+ :'product_information_setups' => :'Array<InlineResponse2017ProductInformationSetups>',
64
64
  :'document_information' => :'Boardingv1registrationsDocumentInformation',
65
65
  :'details' => :'Hash<String, Array<Object>>'
66
66
  }
@@ -56,7 +56,7 @@ module CyberSource
56
56
  :'tenant_configuration_id' => :'String',
57
57
  :'status' => :'String',
58
58
  :'submit_time_utc' => :'DateTime',
59
- :'tenant_information' => :'Boardingv1registrationsIntegrationInformationTenantInformation'
59
+ :'tenant_information' => :'TenantInformation'
60
60
  }
61
61
  end
62
62
 
@@ -0,0 +1,277 @@
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 InlineResponse20110
16
+ # Date that the webhook was delivered
17
+ attr_accessor :event_date
18
+
19
+ # The event name the webhook was delivered for
20
+ attr_accessor :event_type
21
+
22
+ # The Organization Identifier.
23
+ attr_accessor :organization_id
24
+
25
+ attr_accessor :payloads
26
+
27
+ # The product the webhook was delivered for
28
+ attr_accessor :product_id
29
+
30
+ # Identifies the the type of request
31
+ attr_accessor :request_type
32
+
33
+ # The number of retry attempts for a given webhook
34
+ attr_accessor :retry_number
35
+
36
+ # The identifier for the webhook
37
+ attr_accessor :transaction_trace_id
38
+
39
+ # The identifier of the subscription
40
+ attr_accessor :webhook_id
41
+
42
+ # Attribute mapping from ruby-style variable name to JSON key.
43
+ def self.attribute_map
44
+ {
45
+ :'event_date' => :'eventDate',
46
+ :'event_type' => :'eventType',
47
+ :'organization_id' => :'organizationId',
48
+ :'payloads' => :'payloads',
49
+ :'product_id' => :'productId',
50
+ :'request_type' => :'requestType',
51
+ :'retry_number' => :'retryNumber',
52
+ :'transaction_trace_id' => :'transactionTraceId',
53
+ :'webhook_id' => :'webhookId'
54
+ }
55
+ end
56
+
57
+ # Attribute mapping from JSON key to ruby-style variable name.
58
+ def self.json_map
59
+ {
60
+ :'event_date' => :'event_date',
61
+ :'event_type' => :'event_type',
62
+ :'organization_id' => :'organization_id',
63
+ :'payloads' => :'payloads',
64
+ :'product_id' => :'product_id',
65
+ :'request_type' => :'request_type',
66
+ :'retry_number' => :'retry_number',
67
+ :'transaction_trace_id' => :'transaction_trace_id',
68
+ :'webhook_id' => :'webhook_id'
69
+ }
70
+ end
71
+
72
+ # Attribute type mapping.
73
+ def self.swagger_types
74
+ {
75
+ :'event_date' => :'String',
76
+ :'event_type' => :'String',
77
+ :'organization_id' => :'String',
78
+ :'payloads' => :'InlineResponse20110Payloads',
79
+ :'product_id' => :'String',
80
+ :'request_type' => :'String',
81
+ :'retry_number' => :'Integer',
82
+ :'transaction_trace_id' => :'String',
83
+ :'webhook_id' => :'String'
84
+ }
85
+ end
86
+
87
+ # Initializes the object
88
+ # @param [Hash] attributes Model attributes in the form of hash
89
+ def initialize(attributes = {})
90
+ return unless attributes.is_a?(Hash)
91
+
92
+ # convert string to symbol for hash key
93
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
94
+
95
+ if attributes.has_key?(:'eventDate')
96
+ self.event_date = attributes[:'eventDate']
97
+ end
98
+
99
+ if attributes.has_key?(:'eventType')
100
+ self.event_type = attributes[:'eventType']
101
+ end
102
+
103
+ if attributes.has_key?(:'organizationId')
104
+ self.organization_id = attributes[:'organizationId']
105
+ end
106
+
107
+ if attributes.has_key?(:'payloads')
108
+ self.payloads = attributes[:'payloads']
109
+ end
110
+
111
+ if attributes.has_key?(:'productId')
112
+ self.product_id = attributes[:'productId']
113
+ end
114
+
115
+ if attributes.has_key?(:'requestType')
116
+ self.request_type = attributes[:'requestType']
117
+ end
118
+
119
+ if attributes.has_key?(:'retryNumber')
120
+ self.retry_number = attributes[:'retryNumber']
121
+ end
122
+
123
+ if attributes.has_key?(:'transactionTraceId')
124
+ self.transaction_trace_id = attributes[:'transactionTraceId']
125
+ end
126
+
127
+ if attributes.has_key?(:'webhookId')
128
+ self.webhook_id = attributes[:'webhookId']
129
+ end
130
+ end
131
+
132
+ # Show invalid properties with the reasons. Usually used together with valid?
133
+ # @return Array for valid properties with the reasons
134
+ def list_invalid_properties
135
+ invalid_properties = Array.new
136
+ invalid_properties
137
+ end
138
+
139
+ # Check to see if the all the properties in the model are valid
140
+ # @return true if the model is valid
141
+ def valid?
142
+ true
143
+ end
144
+
145
+ # Checks equality by comparing each attribute.
146
+ # @param [Object] Object to be compared
147
+ def ==(o)
148
+ return true if self.equal?(o)
149
+ self.class == o.class &&
150
+ event_date == o.event_date &&
151
+ event_type == o.event_type &&
152
+ organization_id == o.organization_id &&
153
+ payloads == o.payloads &&
154
+ product_id == o.product_id &&
155
+ request_type == o.request_type &&
156
+ retry_number == o.retry_number &&
157
+ transaction_trace_id == o.transaction_trace_id &&
158
+ webhook_id == o.webhook_id
159
+ end
160
+
161
+ # @see the `==` method
162
+ # @param [Object] Object to be compared
163
+ def eql?(o)
164
+ self == o
165
+ end
166
+
167
+ # Calculates hash code according to all attributes.
168
+ # @return [Fixnum] Hash code
169
+ def hash
170
+ [event_date, event_type, organization_id, payloads, product_id, request_type, retry_number, transaction_trace_id, webhook_id].hash
171
+ end
172
+
173
+ # Builds the object from hash
174
+ # @param [Hash] attributes Model attributes in the form of hash
175
+ # @return [Object] Returns the model itself
176
+ def build_from_hash(attributes)
177
+ return nil unless attributes.is_a?(Hash)
178
+ self.class.swagger_types.each_pair do |key, type|
179
+ if type =~ /\AArray<(.*)>/i
180
+ # check to ensure the input is an array given that the the attribute
181
+ # is documented as an array but the input is not
182
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
183
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
184
+ end
185
+ elsif !attributes[self.class.attribute_map[key]].nil?
186
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
187
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
188
+ end
189
+
190
+ self
191
+ end
192
+
193
+ # Deserializes the data based on type
194
+ # @param string type Data type
195
+ # @param string value Value to be deserialized
196
+ # @return [Object] Deserialized data
197
+ def _deserialize(type, value)
198
+ case type.to_sym
199
+ when :DateTime
200
+ DateTime.parse(value)
201
+ when :Date
202
+ Date.parse(value)
203
+ when :String
204
+ value.to_s
205
+ when :Integer
206
+ value.to_i
207
+ when :Float
208
+ value.to_f
209
+ when :BOOLEAN
210
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
211
+ true
212
+ else
213
+ false
214
+ end
215
+ when :Object
216
+ # generic object (usually a Hash), return directly
217
+ value
218
+ when /\AArray<(?<inner_type>.+)>\z/
219
+ inner_type = Regexp.last_match[:inner_type]
220
+ value.map { |v| _deserialize(inner_type, v) }
221
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
222
+ k_type = Regexp.last_match[:k_type]
223
+ v_type = Regexp.last_match[:v_type]
224
+ {}.tap do |hash|
225
+ value.each do |k, v|
226
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
227
+ end
228
+ end
229
+ else # model
230
+ temp_model = CyberSource.const_get(type).new
231
+ temp_model.build_from_hash(value)
232
+ end
233
+ end
234
+
235
+ # Returns the string representation of the object
236
+ # @return [String] String presentation of the object
237
+ def to_s
238
+ to_hash.to_s
239
+ end
240
+
241
+ # to_body is an alias to to_hash (backward compatibility)
242
+ # @return [Hash] Returns the object in the form of hash
243
+ def to_body
244
+ to_hash
245
+ end
246
+
247
+ # Returns the object in the form of hash
248
+ # @return [Hash] Returns the object in the form of hash
249
+ def to_hash
250
+ hash = {}
251
+ self.class.attribute_map.each_pair do |attr, param|
252
+ value = self.send(attr)
253
+ next if value.nil?
254
+ hash[param] = _to_hash(value)
255
+ end
256
+ hash
257
+ end
258
+
259
+ # Outputs non-array value in the form of hash
260
+ # For object, use to_hash. Otherwise, just return the value
261
+ # @param [Object] value Any valid value
262
+ # @return [Hash] Returns the value in the form of hash
263
+ def _to_hash(value)
264
+ if value.is_a?(Array)
265
+ value.compact.map { |v| _to_hash(v) }
266
+ elsif value.is_a?(Hash)
267
+ {}.tap do |hash|
268
+ value.each { |k, v| hash[k] = _to_hash(v) }
269
+ end
270
+ elsif value.respond_to? :to_hash
271
+ value.to_hash
272
+ else
273
+ value
274
+ end
275
+ end
276
+ end
277
+ end
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2017Payloads
15
+ class InlineResponse20110Payloads
16
16
  attr_accessor :test_payload
17
17
 
18
18
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -32,7 +32,7 @@ module CyberSource
32
32
  # Attribute type mapping.
33
33
  def self.swagger_types
34
34
  {
35
- :'test_payload' => :'InlineResponse2017PayloadsTestPayload'
35
+ :'test_payload' => :'InlineResponse20110PayloadsTestPayload'
36
36
  }
37
37
  end
38
38
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2017PayloadsTestPayload
15
+ class InlineResponse20110PayloadsTestPayload
16
16
  # The test message delivered in the webhook
17
17
  attr_accessor :message
18
18