cybersource_rest_client 0.0.82 → 0.0.84

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 (400) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +98 -42
  3. data/lib/AuthenticationSDK/core/MerchantConfig.rb +85 -44
  4. data/lib/AuthenticationSDK/logging/log_configuration.rb +2 -1
  5. data/lib/AuthenticationSDK/util/AuthJWEUtility.rb +1 -0
  6. data/lib/AuthenticationSDK/util/Cache.rb +7 -4
  7. data/lib/AuthenticationSDK/util/Constants.rb +8 -0
  8. data/lib/AuthenticationSDK/util/MLEUtility.rb +9 -0
  9. data/lib/cybersource_rest_client/api/batches_api.rb +1 -1
  10. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +14 -22
  11. data/lib/cybersource_rest_client/api/credentials_api.rb +104 -0
  12. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
  13. data/lib/cybersource_rest_client/api/enrollment_api.rb +2 -2
  14. data/lib/cybersource_rest_client/api/instructions_api.rb +10 -10
  15. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +3 -3
  16. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +20 -28
  17. data/lib/cybersource_rest_client/api/network_tokens_api.rb +654 -0
  18. data/lib/cybersource_rest_client/api/offers_api.rb +117 -0
  19. data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
  20. data/lib/cybersource_rest_client/api/pull_funds_api.rb +404 -0
  21. data/lib/cybersource_rest_client/api/subscriptions_api.rb +183 -1
  22. data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +1 -1
  23. data/lib/cybersource_rest_client/api/{transient_token_data_api.rb → transient_token_data_v2_api.rb} +91 -9
  24. data/lib/cybersource_rest_client/api/unified_checkout_v1_capture_context_api.rb +104 -0
  25. data/lib/cybersource_rest_client/api_client.rb +4 -0
  26. data/lib/cybersource_rest_client/models/account_validations_request.rb +15 -5
  27. data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +1 -1
  28. data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +1 -1
  29. data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +1 -1
  30. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +1 -1
  31. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +1 -1
  32. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +1 -1
  33. data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge.rb +369 -0
  34. data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge_encryption_jwk.rb +336 -0
  35. data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +7 -7
  36. data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +1 -1
  37. data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +1 -1
  38. data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +1 -1
  39. data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +1 -1
  40. data/lib/cybersource_rest_client/models/acpv1tokens_consumer_identity.rb +1 -1
  41. data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +1 -1
  42. data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +1 -1
  43. data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +1 -1
  44. data/lib/cybersource_rest_client/models/add_negative_list_request.rb +1 -1
  45. data/lib/cybersource_rest_client/models/auth_reversal_request.rb +11 -1
  46. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information.rb +32 -6
  47. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank.rb +1 -1
  48. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank_account.rb +1 -1
  49. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_customer.rb +196 -0
  50. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_instrument_identifier.rb +196 -0
  51. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_payment_instrument.rb +196 -0
  52. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_token_information.rb +208 -0
  53. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information.rb +15 -5
  54. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_msd.rb +196 -0
  55. data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +105 -1
  56. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
  57. data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +15 -5
  58. data/lib/cybersource_rest_client/models/create_credit_request.rb +15 -5
  59. data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
  60. data/lib/cybersource_rest_client/models/create_subscription_request_1.rb +1 -1
  61. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +1 -1
  62. data/lib/cybersource_rest_client/models/generate_unified_checkout_v1_capture_context_request.rb +334 -0
  63. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information.rb +1 -1
  64. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details.rb +240 -0
  65. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details_surcharge.rb +213 -0
  66. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response.rb +247 -0
  67. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_1.rb +224 -0
  68. data/lib/cybersource_rest_client/models/{pbl_payment_links_post201_response__links.rb → get_subscriptions_payments_response_1__links.rb} +1 -1
  69. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response__links.rb +209 -0
  70. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_cycles_completed_count.rb +191 -0
  71. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_subscription_payment.rb +356 -0
  72. data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
  73. data/lib/cybersource_rest_client/models/inline_response_200_5_integration_information.rb +15 -5
  74. data/lib/cybersource_rest_client/models/inline_response_201_1_tokenized_card.rb +27 -6
  75. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_commerce_solutions.rb +15 -5
  76. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_payments.rb +25 -5
  77. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_risk.rb +15 -5
  78. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_value_added_services.rb +25 -5
  79. data/lib/cybersource_rest_client/models/inline_response_201_9.rb +297 -0
  80. data/lib/cybersource_rest_client/models/{kmsegressv2keysasym_client_reference_information.rb → inline_response_201_9_client_reference_information.rb} +2 -3
  81. data/lib/cybersource_rest_client/models/{inline_response_200_16_error_information.rb → inline_response_201_9_error_information.rb} +1 -1
  82. data/lib/cybersource_rest_client/models/{inline_response_200_16_order_information.rb → inline_response_201_9_order_information.rb} +2 -2
  83. data/lib/cybersource_rest_client/models/{inline_response_200_16_order_information_currency_conversion.rb → inline_response_201_9_order_information_currency_conversion.rb} +2 -2
  84. data/lib/cybersource_rest_client/models/{inline_response_200_16_order_information_currency_conversion_offer.rb → inline_response_201_9_order_information_currency_conversion_offer.rb} +1 -1
  85. data/lib/cybersource_rest_client/models/inline_response_201_9_processor_information.rb +196 -0
  86. data/lib/cybersource_rest_client/models/inline_response_400_10.rb +236 -0
  87. data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_10_details.rb} +1 -1
  88. data/lib/cybersource_rest_client/models/inline_response_400_11.rb +235 -0
  89. data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_11_details.rb} +3 -3
  90. data/lib/cybersource_rest_client/models/inline_response_400_12.rb +281 -0
  91. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +37 -60
  92. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +6 -6
  93. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +58 -36
  94. data/lib/cybersource_rest_client/models/{inline_response_400_6_fields.rb → inline_response_400_8_fields.rb} +1 -1
  95. data/lib/cybersource_rest_client/models/inline_response_400_9.rb +16 -16
  96. data/lib/cybersource_rest_client/models/inline_response_400_9_details.rb +2 -2
  97. data/lib/cybersource_rest_client/models/inline_response_404.rb +10 -20
  98. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +7 -42
  99. data/lib/cybersource_rest_client/models/inline_response_404_2.rb +8 -7
  100. data/lib/cybersource_rest_client/models/{inline_response_404_1_details.rb → inline_response_404_2_details.rb} +1 -1
  101. data/lib/cybersource_rest_client/models/inline_response_404_3.rb +26 -2
  102. data/lib/cybersource_rest_client/models/inline_response_404_4.rb +17 -29
  103. data/lib/cybersource_rest_client/models/{inline_response_404_3_details.rb → inline_response_404_4_details.rb} +1 -1
  104. data/lib/cybersource_rest_client/models/inline_response_404_5.rb +28 -28
  105. data/lib/cybersource_rest_client/models/inline_response_404_6.rb +223 -0
  106. data/lib/cybersource_rest_client/models/inline_response_404_errors.rb +201 -0
  107. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
  108. data/lib/cybersource_rest_client/models/{inline_response_500_4.rb → inline_response_502_2.rb} +1 -1
  109. data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +73 -5
  110. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +11 -1
  111. data/lib/cybersource_rest_client/models/mpp_credentials_request.rb +221 -0
  112. data/lib/cybersource_rest_client/models/mpp_credentials_response200.rb +338 -0
  113. data/lib/cybersource_rest_client/models/offer_request.rb +219 -0
  114. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +1 -1
  115. data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
  116. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +1 -1
  117. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +1 -1
  118. data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded.rb +1 -1
  119. data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
  120. data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded__embedded.rb → payment_instrument_list__embedded__embedded.rb} +1 -1
  121. data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded_payment_instruments.rb → payment_instrument_list__embedded_payment_instruments.rb} +2 -2
  122. data/lib/cybersource_rest_client/models/payments_products.rb +25 -5
  123. data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations_processors.rb +14 -2
  124. data/lib/cybersource_rest_client/models/payments_products_microform.rb +199 -0
  125. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information.rb +199 -0
  126. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations.rb +189 -0
  127. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features.rb +189 -0
  128. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features_gateway_agnostic.rb +189 -0
  129. data/lib/cybersource_rest_client/models/payments_products_microform_subscription_information.rb +227 -0
  130. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_info_features_portfolio_accessof_sensi_data.rb +190 -0
  131. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features.rb +205 -5
  132. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_after_pay.rb +190 -0
  133. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_apple_pay.rb +190 -0
  134. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_bancontact.rb +190 -0
  135. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_click_to_pay.rb +190 -0
  136. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_decision_manager.rb +190 -0
  137. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_dragon_pay.rb +190 -0
  138. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_e_check.rb +190 -0
  139. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_google_pay.rb +190 -0
  140. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_ideal.rb +190 -0
  141. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_konbini.rb +190 -0
  142. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_multibanco.rb +190 -0
  143. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_my_bank.rb +190 -0
  144. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_p24.rb +190 -0
  145. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_pay_pal.rb +190 -0
  146. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_payer_authentication.rb +190 -0
  147. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_tink_pay_by_bank.rb +190 -0
  148. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_token_management.rb +190 -0
  149. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_unified_click_to_pay_sdk.rb +190 -0
  150. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_venmo.rb +190 -0
  151. data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +1 -1
  152. data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +1 -1
  153. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +1 -1
  154. data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
  155. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +1 -1
  156. data/lib/cybersource_rest_client/models/post_tokenized_card_request.rb +15 -5
  157. data/lib/cybersource_rest_client/models/pts_v2_create_billing_agreement_post201_response_agreement_information.rb +80 -1
  158. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +55 -5
  159. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_merchant_information.rb +196 -0
  160. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_account_information.rb +189 -0
  161. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +15 -5
  162. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information_account_features.rb +196 -0
  163. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_token_information.rb +189 -0
  164. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
  165. data/lib/cybersource_rest_client/models/pts_v2_modify_billing_agreement_post201_response_agreement_information.rb +35 -1
  166. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +22 -5
  167. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +2 -2
  168. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_shipping_details.rb +1 -1
  169. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +106 -5
  170. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +22 -5
  171. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +1 -1
  172. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb +15 -5
  173. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_payment_information_tokenized_card.rb → pts_v2_payments_post201_response_payment_account_information_tokenized_card.rb} +1 -1
  174. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
  175. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +18 -1
  176. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +23 -6
  177. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information.rb +15 -5
  178. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_third_party_token.rb +213 -0
  179. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +16 -6
  180. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_error_information.rb +213 -0
  181. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +18 -1
  182. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +19 -2
  183. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +1 -1
  184. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +7 -1
  185. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +45 -5
  186. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_avs.rb +196 -0
  187. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_customer.rb +196 -0
  188. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_electronic_verification_results.rb +281 -0
  189. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_aggregator_information.rb +317 -0
  190. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_aggregator_information_sub_merchant.rb +196 -0
  191. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_buyer_information.rb +196 -0
  192. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_client_reference_information.rb +247 -0
  193. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_merchant_information.rb +189 -0
  194. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_merchant_information_merchant_descriptor.rb +349 -0
  195. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information.rb +206 -0
  196. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information_amount_details.rb +275 -0
  197. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_info_funding_options_initiator_origin_ini_transaction.rb +222 -0
  198. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information.rb +308 -0
  199. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_funding_options.rb +189 -0
  200. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_funding_options_initiator.rb +228 -0
  201. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_payouts_options.rb +196 -0
  202. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_recurring_options.rb +190 -0
  203. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_recipient_information.rb +607 -0
  204. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_recipient_information_personal_identification.rb +265 -0
  205. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information.rb +595 -0
  206. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_account.rb +213 -0
  207. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_consumer_authentication.rb +206 -0
  208. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_consumer_authentication_strong_authentication.rb +264 -0
  209. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information.rb +255 -0
  210. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_card.rb +291 -0
  211. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_customer.rb +196 -0
  212. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_instrument_identifier.rb +196 -0
  213. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_payment_instrument.rb +196 -0
  214. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_tokenized_card.rb +281 -0
  215. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_personal_identification.rb +274 -0
  216. data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidrefund_order_information.rb +194 -0
  217. data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidrefund_order_information_amount_details.rb +205 -0
  218. data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidreversal_reversal_information.rb +194 -0
  219. data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidreversal_reversal_information_amount_details.rb +205 -0
  220. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +15 -14
  221. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +298 -0
  222. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information.rb +219 -0
  223. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_card.rb +264 -0
  224. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_customer.rb +196 -0
  225. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_instrument_identifier.rb +196 -0
  226. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_payment_instrument.rb +196 -0
  227. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +36 -6
  228. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +1 -1
  229. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +1 -19
  230. data/lib/cybersource_rest_client/models/ptsv2billingagreements_agreement_information.rb +84 -5
  231. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information.rb +12 -2
  232. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_amount_details.rb +230 -0
  233. data/lib/cybersource_rest_client/models/{ptsv2intents_order_information_invoice_details.rb → ptsv2billingagreements_order_information_invoice_details.rb} +1 -1
  234. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank.rb +15 -5
  235. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank_account_alias.rb +207 -0
  236. data/lib/cybersource_rest_client/models/ptsv2billingagreements_processing_information.rb +18 -1
  237. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_agreement_information.rb +56 -5
  238. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_processing_information.rb +18 -1
  239. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +52 -5
  240. data/lib/cybersource_rest_client/models/ptsv2credits_sender_information.rb +18 -1
  241. data/lib/cybersource_rest_client/models/ptsv2credits_token_information.rb +228 -0
  242. data/lib/cybersource_rest_client/models/ptsv2intents_order_information.rb +1 -1
  243. data/lib/cybersource_rest_client/models/ptsv2intentsid_order_information.rb +1 -1
  244. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +15 -5
  245. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +16 -5
  246. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +28 -1
  247. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_digital_currency.rb +231 -0
  248. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +23 -6
  249. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +32 -5
  250. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +15 -5
  251. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account_alias.rb +207 -0
  252. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_third_party_token.rb +196 -0
  253. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +18 -1
  254. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +89 -6
  255. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_program_indicators.rb +202 -0
  256. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +56 -5
  257. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +16 -5
  258. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +16 -5
  259. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +32 -5
  260. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information.rb +193 -0
  261. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information_authenticated_identities.rb +252 -0
  262. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +15 -5
  263. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +100 -5
  264. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +22 -5
  265. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +18 -1
  266. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processor_information.rb +39 -5
  267. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +15 -5
  268. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_shipping_details.rb +196 -0
  269. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +32 -5
  270. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +22 -5
  271. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_device_information.rb +196 -0
  272. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_payment_information.rb +22 -5
  273. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +18 -5
  274. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +1 -1
  275. data/lib/cybersource_rest_client/models/pull_funds201_response.rb +270 -0
  276. data/lib/cybersource_rest_client/models/pull_funds201_response__links.rb +239 -0
  277. data/lib/cybersource_rest_client/models/pull_funds201_response__links_customer.rb +202 -0
  278. data/lib/cybersource_rest_client/models/pull_funds201_response__links_instrument_identifier.rb +202 -0
  279. data/lib/cybersource_rest_client/models/pull_funds201_response__links_payment_instrument.rb +202 -0
  280. data/lib/cybersource_rest_client/models/pull_funds201_response__links_refund.rb +202 -0
  281. data/lib/cybersource_rest_client/models/pull_funds201_response__links_reversal.rb +202 -0
  282. data/lib/cybersource_rest_client/models/pull_funds201_response__links_self.rb +202 -0
  283. data/lib/cybersource_rest_client/models/pull_funds201_response_error_information.rb +225 -0
  284. data/lib/cybersource_rest_client/models/pull_funds201_response_error_information_details.rb +213 -0
  285. data/lib/cybersource_rest_client/models/pull_funds201_response_order_information.rb +189 -0
  286. data/lib/cybersource_rest_client/models/pull_funds201_response_order_information_amount_details.rb +222 -0
  287. data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information.rb +331 -0
  288. data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information_consumer_authentication_response.rb +196 -0
  289. data/lib/cybersource_rest_client/models/pull_funds_refund201_response.rb +260 -0
  290. data/lib/cybersource_rest_client/models/pull_funds_refund201_response__links.rb +189 -0
  291. data/lib/cybersource_rest_client/models/pull_funds_refund201_response__links_self.rb +202 -0
  292. data/lib/cybersource_rest_client/models/pull_funds_refund201_response_processor_information.rb +213 -0
  293. data/lib/cybersource_rest_client/models/pull_funds_refund_request.rb +204 -0
  294. data/lib/cybersource_rest_client/models/pull_funds_request.rb +259 -0
  295. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response.rb +260 -0
  296. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response__links.rb +189 -0
  297. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response__links_self.rb +202 -0
  298. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response_error_information.rb +219 -0
  299. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response_error_information_details.rb +207 -0
  300. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response_processor_information.rb +247 -0
  301. data/lib/cybersource_rest_client/models/pull_funds_reversal400_response.rb +258 -0
  302. data/lib/cybersource_rest_client/models/pull_funds_reversal_request.rb +204 -0
  303. data/lib/cybersource_rest_client/models/push_funds201_response_error_information.rb +1 -1
  304. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +55 -5
  305. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information_merchant_advice.rb +213 -0
  306. data/lib/cybersource_rest_client/models/push_funds_request.rb +11 -1
  307. data/lib/cybersource_rest_client/models/rbsv1subscriptions_order_information.rb +189 -0
  308. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_order_information_amount_details.rb +15 -5
  309. data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
  310. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -10
  311. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +0 -9
  312. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +1 -1
  313. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +39 -5
  314. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +1 -1
  315. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +1 -1
  316. data/lib/cybersource_rest_client/models/save_asym_egress_key.rb +1 -1
  317. data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_features.rb +39 -6
  318. data/lib/cybersource_rest_client/models/tms_card_art.rb +23 -1
  319. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bill_to.rb +22 -5
  320. data/lib/cybersource_rest_client/models/tms_tokenized_card_delete_request.rb +189 -0
  321. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments__embedded.rb +190 -0
  322. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card.rb +23 -2
  323. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_card.rb +1 -1
  324. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata.rb +16 -5
  325. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer.rb +41 -8
  326. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_bank_applications.rb +201 -0
  327. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_capabilities.rb +257 -0
  328. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_verification_results.rb +202 -0
  329. data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +200 -0
  330. data/lib/cybersource_rest_client/models/tmsv2tokenize_processing_information.rb +1 -1
  331. data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_order_information_bill_to.rb → tmsv2tokenizedcards_bill_to.rb} +1 -1
  332. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_iddelete_reason.rb +208 -0
  333. data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_order_information.rb +1 -1
  334. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +1 -1
  335. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +1 -1
  336. data/lib/cybersource_rest_client/models/ucv1sessions_appearance.rb +207 -0
  337. data/lib/cybersource_rest_client/models/ucv1sessions_appearance_variables.rb +1645 -0
  338. data/lib/cybersource_rest_client/models/ucv1sessions_capture_mandate.rb +296 -0
  339. data/lib/cybersource_rest_client/models/ucv1sessions_capture_mandate_cpf.rb +190 -0
  340. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +229 -0
  341. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate_tms.rb +204 -0
  342. data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +311 -0
  343. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +325 -0
  344. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information_sub_merchant.rb +366 -0
  345. data/lib/cybersource_rest_client/models/ucv1sessions_data_buyer_information.rb +259 -0
  346. data/lib/cybersource_rest_client/models/ucv1sessions_data_buyer_information_personal_identification.rb +224 -0
  347. data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +247 -0
  348. data/lib/cybersource_rest_client/models/ucv1sessions_data_device_information.rb +196 -0
  349. data/lib/cybersource_rest_client/models/ucv1sessions_data_installment_information.rb +196 -0
  350. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_defined_information.rb +214 -0
  351. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information.rb +206 -0
  352. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information_merchant_descriptor.rb +332 -0
  353. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information.rb +241 -0
  354. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details.rb +353 -0
  355. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details_tax_details.rb +213 -0
  356. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_bill_to.rb +483 -0
  357. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_bill_to_company.rb +298 -0
  358. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details.rb +242 -0
  359. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details_transaction_advice_addendum.rb +196 -0
  360. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_line_items.rb +702 -0
  361. data/lib/cybersource_rest_client/models/{riskv1liststypeentries_client_reference_information.rb → ucv1sessions_data_order_information_shipping_details.rb} +24 -43
  362. data/lib/cybersource_rest_client/models/ucv1sessions_data_payment_information.rb +189 -0
  363. data/lib/cybersource_rest_client/models/ucv1sessions_data_payment_information_card.rb +196 -0
  364. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information.rb +294 -0
  365. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options.rb +233 -0
  366. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options_initiator.rb +200 -0
  367. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_bank_transfer_options.rb +196 -0
  368. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_recurring_options.rb +192 -0
  369. data/lib/cybersource_rest_client/models/ucv1sessions_data_recipient_information.rb +383 -0
  370. data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information.rb +376 -0
  371. data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information_account.rb +213 -0
  372. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations.rb +210 -0
  373. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_clicktopay.rb +190 -0
  374. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_googlepay.rb +192 -0
  375. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token.rb +216 -0
  376. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token_customer.rb +196 -0
  377. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token_instrument_identifiers.rb +195 -0
  378. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token_payment_instruments.rb +195 -0
  379. data/lib/cybersource_rest_client/models/ucv1sessions_transient_token_response_options.rb +190 -0
  380. data/lib/cybersource_rest_client/models/update_payments.rb +192 -0
  381. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_bill_to_company.rb +20 -20
  382. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb +1 -1
  383. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +483 -0
  384. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to_company.rb +366 -0
  385. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
  386. data/lib/cybersource_rest_client/models/validate_request.rb +1 -1
  387. data/lib/cybersource_rest_client/models/value_added_services_products.rb +25 -5
  388. data/lib/cybersource_rest_client/models/{riskv1authenticationsetups_client_reference_information.rb → vasv1currencyconversion_client_reference_information.rb} +43 -26
  389. data/lib/cybersource_rest_client/models/vasv1currencyconversion_client_reference_information_partner.rb +213 -0
  390. data/lib/cybersource_rest_client/models/vasv1currencyconversion_order_information.rb +199 -0
  391. data/lib/cybersource_rest_client/models/vasv1currencyconversion_order_information_amount_details.rb +213 -0
  392. data/lib/cybersource_rest_client/models/vasv1currencyconversion_order_information_currency_conversion.rb +198 -0
  393. data/lib/cybersource_rest_client/models/vasv1currencyconversion_payment_information.rb +189 -0
  394. data/lib/cybersource_rest_client/models/vasv1currencyconversion_payment_information_card.rb +196 -0
  395. data/lib/cybersource_rest_client/models/vasv1currencyconversion_point_of_sale_information.rb +213 -0
  396. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
  397. data/lib/cybersource_rest_client.rb +222 -22
  398. metadata +281 -75
  399. data/lib/cybersource_rest_client/api/token_api.rb +0 -306
  400. data/lib/cybersource_rest_client/api/tokenized_card_api.rb +0 -371
@@ -0,0 +1,366 @@
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 Upv1capturecontextsOrderInformationBillToCompany
16
+ # Name of the customer's company.
17
+ attr_accessor :name
18
+
19
+ # Payment card billing street address as it appears on the credit card issuer's records.
20
+ attr_accessor :address1
21
+
22
+ # Used for additional address information. For example: _Attention: Accounts Payable_ Optional field.
23
+ attr_accessor :address2
24
+
25
+ # Additional address information (third line of the billing address) Optional field
26
+ attr_accessor :address3
27
+
28
+ # Additional address information (fourth line of the billing address) Optional field
29
+ attr_accessor :address4
30
+
31
+ # State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf).
32
+ attr_accessor :administrative_area
33
+
34
+ # Payment card billing country. Use the two-character [ISO Standard Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf).
35
+ attr_accessor :country
36
+
37
+ # Building number in the street address.
38
+ attr_accessor :building_number
39
+
40
+ # Customer's neighborhood, community, or region (a barrio in Brazil) within the city or municipality
41
+ attr_accessor :district
42
+
43
+ # Payment card billing city.
44
+ attr_accessor :locality
45
+
46
+ # Postal code for the billing address. The postal code must consist of 5 to 9 digits.
47
+ attr_accessor :postal_code
48
+
49
+ # Attribute mapping from ruby-style variable name to JSON key.
50
+ def self.attribute_map
51
+ {
52
+ :'name' => :'name',
53
+ :'address1' => :'address1',
54
+ :'address2' => :'address2',
55
+ :'address3' => :'address3',
56
+ :'address4' => :'address4',
57
+ :'administrative_area' => :'administrativeArea',
58
+ :'country' => :'country',
59
+ :'building_number' => :'buildingNumber',
60
+ :'district' => :'district',
61
+ :'locality' => :'locality',
62
+ :'postal_code' => :'postalCode'
63
+ }
64
+ end
65
+
66
+ # Attribute mapping from JSON key to ruby-style variable name.
67
+ def self.json_map
68
+ {
69
+ :'name' => :'name',
70
+ :'address1' => :'address1',
71
+ :'address2' => :'address2',
72
+ :'address3' => :'address3',
73
+ :'address4' => :'address4',
74
+ :'administrative_area' => :'administrative_area',
75
+ :'country' => :'country',
76
+ :'building_number' => :'building_number',
77
+ :'district' => :'district',
78
+ :'locality' => :'locality',
79
+ :'postal_code' => :'postal_code'
80
+ }
81
+ end
82
+
83
+ # Attribute type mapping.
84
+ def self.swagger_types
85
+ {
86
+ :'name' => :'String',
87
+ :'address1' => :'String',
88
+ :'address2' => :'String',
89
+ :'address3' => :'String',
90
+ :'address4' => :'String',
91
+ :'administrative_area' => :'String',
92
+ :'country' => :'String',
93
+ :'building_number' => :'String',
94
+ :'district' => :'String',
95
+ :'locality' => :'String',
96
+ :'postal_code' => :'String'
97
+ }
98
+ end
99
+
100
+ # Initializes the object
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ def initialize(attributes = {})
103
+ return unless attributes.is_a?(Hash)
104
+
105
+ # convert string to symbol for hash key
106
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
107
+
108
+ if attributes.has_key?(:'name')
109
+ self.name = attributes[:'name']
110
+ end
111
+
112
+ if attributes.has_key?(:'address1')
113
+ self.address1 = attributes[:'address1']
114
+ end
115
+
116
+ if attributes.has_key?(:'address2')
117
+ self.address2 = attributes[:'address2']
118
+ end
119
+
120
+ if attributes.has_key?(:'address3')
121
+ self.address3 = attributes[:'address3']
122
+ end
123
+
124
+ if attributes.has_key?(:'address4')
125
+ self.address4 = attributes[:'address4']
126
+ end
127
+
128
+ if attributes.has_key?(:'administrativeArea')
129
+ self.administrative_area = attributes[:'administrativeArea']
130
+ end
131
+
132
+ if attributes.has_key?(:'country')
133
+ self.country = attributes[:'country']
134
+ end
135
+
136
+ if attributes.has_key?(:'buildingNumber')
137
+ self.building_number = attributes[:'buildingNumber']
138
+ end
139
+
140
+ if attributes.has_key?(:'district')
141
+ self.district = attributes[:'district']
142
+ end
143
+
144
+ if attributes.has_key?(:'locality')
145
+ self.locality = attributes[:'locality']
146
+ end
147
+
148
+ if attributes.has_key?(:'postalCode')
149
+ self.postal_code = attributes[:'postalCode']
150
+ end
151
+ end
152
+
153
+ # Show invalid properties with the reasons. Usually used together with valid?
154
+ # @return Array for valid properties with the reasons
155
+ def list_invalid_properties
156
+ invalid_properties = Array.new
157
+ invalid_properties
158
+ end
159
+
160
+ # Check to see if the all the properties in the model are valid
161
+ # @return true if the model is valid
162
+ def valid?
163
+ true
164
+ end
165
+
166
+ # Custom attribute writer method with validation
167
+ # @param [Object] name Value to be assigned
168
+ def name=(name)
169
+ @name = name
170
+ end
171
+
172
+ # Custom attribute writer method with validation
173
+ # @param [Object] address1 Value to be assigned
174
+ def address1=(address1)
175
+ @address1 = address1
176
+ end
177
+
178
+ # Custom attribute writer method with validation
179
+ # @param [Object] address2 Value to be assigned
180
+ def address2=(address2)
181
+ @address2 = address2
182
+ end
183
+
184
+ # Custom attribute writer method with validation
185
+ # @param [Object] address3 Value to be assigned
186
+ def address3=(address3)
187
+ @address3 = address3
188
+ end
189
+
190
+ # Custom attribute writer method with validation
191
+ # @param [Object] address4 Value to be assigned
192
+ def address4=(address4)
193
+ @address4 = address4
194
+ end
195
+
196
+ # Custom attribute writer method with validation
197
+ # @param [Object] administrative_area Value to be assigned
198
+ def administrative_area=(administrative_area)
199
+ @administrative_area = administrative_area
200
+ end
201
+
202
+ # Custom attribute writer method with validation
203
+ # @param [Object] country Value to be assigned
204
+ def country=(country)
205
+ @country = country
206
+ end
207
+
208
+ # Custom attribute writer method with validation
209
+ # @param [Object] building_number Value to be assigned
210
+ def building_number=(building_number)
211
+ @building_number = building_number
212
+ end
213
+
214
+ # Custom attribute writer method with validation
215
+ # @param [Object] district Value to be assigned
216
+ def district=(district)
217
+ @district = district
218
+ end
219
+
220
+ # Custom attribute writer method with validation
221
+ # @param [Object] locality Value to be assigned
222
+ def locality=(locality)
223
+ @locality = locality
224
+ end
225
+
226
+ # Custom attribute writer method with validation
227
+ # @param [Object] postal_code Value to be assigned
228
+ def postal_code=(postal_code)
229
+ @postal_code = postal_code
230
+ end
231
+
232
+ # Checks equality by comparing each attribute.
233
+ # @param [Object] Object to be compared
234
+ def ==(o)
235
+ return true if self.equal?(o)
236
+ self.class == o.class &&
237
+ name == o.name &&
238
+ address1 == o.address1 &&
239
+ address2 == o.address2 &&
240
+ address3 == o.address3 &&
241
+ address4 == o.address4 &&
242
+ administrative_area == o.administrative_area &&
243
+ country == o.country &&
244
+ building_number == o.building_number &&
245
+ district == o.district &&
246
+ locality == o.locality &&
247
+ postal_code == o.postal_code
248
+ end
249
+
250
+ # @see the `==` method
251
+ # @param [Object] Object to be compared
252
+ def eql?(o)
253
+ self == o
254
+ end
255
+
256
+ # Calculates hash code according to all attributes.
257
+ # @return [Fixnum] Hash code
258
+ def hash
259
+ [name, address1, address2, address3, address4, administrative_area, country, building_number, district, locality, postal_code].hash
260
+ end
261
+
262
+ # Builds the object from hash
263
+ # @param [Hash] attributes Model attributes in the form of hash
264
+ # @return [Object] Returns the model itself
265
+ def build_from_hash(attributes)
266
+ return nil unless attributes.is_a?(Hash)
267
+ self.class.swagger_types.each_pair do |key, type|
268
+ if type =~ /\AArray<(.*)>/i
269
+ # check to ensure the input is an array given that the the attribute
270
+ # is documented as an array but the input is not
271
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
272
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
273
+ end
274
+ elsif !attributes[self.class.attribute_map[key]].nil?
275
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
276
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
277
+ end
278
+
279
+ self
280
+ end
281
+
282
+ # Deserializes the data based on type
283
+ # @param string type Data type
284
+ # @param string value Value to be deserialized
285
+ # @return [Object] Deserialized data
286
+ def _deserialize(type, value)
287
+ case type.to_sym
288
+ when :DateTime
289
+ DateTime.parse(value)
290
+ when :Date
291
+ Date.parse(value)
292
+ when :String
293
+ value.to_s
294
+ when :Integer
295
+ value.to_i
296
+ when :Float
297
+ value.to_f
298
+ when :BOOLEAN
299
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
300
+ true
301
+ else
302
+ false
303
+ end
304
+ when :Object
305
+ # generic object (usually a Hash), return directly
306
+ value
307
+ when /\AArray<(?<inner_type>.+)>\z/
308
+ inner_type = Regexp.last_match[:inner_type]
309
+ value.map { |v| _deserialize(inner_type, v) }
310
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
311
+ k_type = Regexp.last_match[:k_type]
312
+ v_type = Regexp.last_match[:v_type]
313
+ {}.tap do |hash|
314
+ value.each do |k, v|
315
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
316
+ end
317
+ end
318
+ else # model
319
+ temp_model = CyberSource.const_get(type).new
320
+ temp_model.build_from_hash(value)
321
+ end
322
+ end
323
+
324
+ # Returns the string representation of the object
325
+ # @return [String] String presentation of the object
326
+ def to_s
327
+ to_hash.to_s
328
+ end
329
+
330
+ # to_body is an alias to to_hash (backward compatibility)
331
+ # @return [Hash] Returns the object in the form of hash
332
+ def to_body
333
+ to_hash
334
+ end
335
+
336
+ # Returns the object in the form of hash
337
+ # @return [Hash] Returns the object in the form of hash
338
+ def to_hash
339
+ hash = {}
340
+ self.class.attribute_map.each_pair do |attr, param|
341
+ value = self.send(attr)
342
+ next if value.nil?
343
+ hash[param] = _to_hash(value)
344
+ end
345
+ hash
346
+ end
347
+
348
+ # Outputs non-array value in the form of hash
349
+ # For object, use to_hash. Otherwise, just return the value
350
+ # @param [Object] value Any valid value
351
+ # @return [Hash] Returns the value in the form of hash
352
+ def _to_hash(value)
353
+ if value.is_a?(Array)
354
+ value.compact.map { |v| _to_hash(v) }
355
+ elsif value.is_a?(Hash)
356
+ {}.tap do |hash|
357
+ value.each { |k, v| hash[k] = _to_hash(v) }
358
+ end
359
+ elsif value.respond_to? :to_hash
360
+ value.to_hash
361
+ else
362
+ value
363
+ end
364
+ end
365
+ end
366
+ end
@@ -48,7 +48,7 @@ module CyberSource
48
48
  # Attribute type mapping.
49
49
  def self.swagger_types
50
50
  {
51
- :'client_reference_information' => :'Riskv1liststypeentriesClientReferenceInformation',
51
+ :'client_reference_information' => :'RiskV1DecisionsPost201ResponseClientReferenceInformation',
52
52
  :'order_information' => :'Riskv1exportcomplianceinquiriesOrderInformation',
53
53
  :'buyer_information' => :'Riskv1addressverificationsBuyerInformation',
54
54
  :'device_information' => :'Riskv1exportcomplianceinquiriesDeviceInformation',
@@ -56,7 +56,7 @@ module CyberSource
56
56
  # Attribute type mapping.
57
57
  def self.swagger_types
58
58
  {
59
- :'client_reference_information' => :'Riskv1authenticationsetupsClientReferenceInformation',
59
+ :'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
60
60
  :'processing_information' => :'Riskv1authenticationsetupsProcessingInformation',
61
61
  :'order_information' => :'Riskv1authenticationresultsOrderInformation',
62
62
  :'payment_information' => :'Riskv1authenticationresultsPaymentInformation',
@@ -19,12 +19,18 @@ module CyberSource
19
19
 
20
20
  attr_accessor :bank_account_validation
21
21
 
22
+ attr_accessor :flexapi
23
+
24
+ attr_accessor :webhooks
25
+
22
26
  # Attribute mapping from ruby-style variable name to JSON key.
23
27
  def self.attribute_map
24
28
  {
25
29
  :'reporting' => :'reporting',
26
30
  :'transaction_search' => :'transactionSearch',
27
- :'bank_account_validation' => :'bankAccountValidation'
31
+ :'bank_account_validation' => :'bankAccountValidation',
32
+ :'flexapi' => :'flexapi',
33
+ :'webhooks' => :'webhooks'
28
34
  }
29
35
  end
30
36
 
@@ -33,7 +39,9 @@ module CyberSource
33
39
  {
34
40
  :'reporting' => :'reporting',
35
41
  :'transaction_search' => :'transaction_search',
36
- :'bank_account_validation' => :'bank_account_validation'
42
+ :'bank_account_validation' => :'bank_account_validation',
43
+ :'flexapi' => :'flexapi',
44
+ :'webhooks' => :'webhooks'
37
45
  }
38
46
  end
39
47
 
@@ -42,7 +50,9 @@ module CyberSource
42
50
  {
43
51
  :'reporting' => :'PaymentsProductsTax',
44
52
  :'transaction_search' => :'PaymentsProductsTax',
45
- :'bank_account_validation' => :'PaymentsProductsTax'
53
+ :'bank_account_validation' => :'PaymentsProductsTax',
54
+ :'flexapi' => :'PaymentsProductsTax',
55
+ :'webhooks' => :'PaymentsProductsTax'
46
56
  }
47
57
  end
48
58
 
@@ -65,6 +75,14 @@ module CyberSource
65
75
  if attributes.has_key?(:'bankAccountValidation')
66
76
  self.bank_account_validation = attributes[:'bankAccountValidation']
67
77
  end
78
+
79
+ if attributes.has_key?(:'flexapi')
80
+ self.flexapi = attributes[:'flexapi']
81
+ end
82
+
83
+ if attributes.has_key?(:'webhooks')
84
+ self.webhooks = attributes[:'webhooks']
85
+ end
68
86
  end
69
87
 
70
88
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -87,7 +105,9 @@ module CyberSource
87
105
  self.class == o.class &&
88
106
  reporting == o.reporting &&
89
107
  transaction_search == o.transaction_search &&
90
- bank_account_validation == o.bank_account_validation
108
+ bank_account_validation == o.bank_account_validation &&
109
+ flexapi == o.flexapi &&
110
+ webhooks == o.webhooks
91
111
  end
92
112
 
93
113
  # @see the `==` method
@@ -99,7 +119,7 @@ module CyberSource
99
119
  # Calculates hash code according to all attributes.
100
120
  # @return [Fixnum] Hash code
101
121
  def hash
102
- [reporting, transaction_search, bank_account_validation].hash
122
+ [reporting, transaction_search, bank_account_validation, flexapi, webhooks].hash
103
123
  end
104
124
 
105
125
  # Builds the object from hash
@@ -12,15 +12,18 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class Riskv1authenticationsetupsClientReferenceInformation
16
- # Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.
15
+ class Vasv1currencyconversionClientReferenceInformation
16
+ # Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction.
17
17
  attr_accessor :code
18
18
 
19
- # Used to resume a transaction that was paused for an order modification rule to allow for payer authentication to complete. To resume and continue with the authorization/decision service flow, call the services and include the request id from the prior decision call.
20
- attr_accessor :paused_request_id
19
+ # The name of the Connection Method client (such as Virtual Terminal or SOAP Toolkit API) that the merchant uses to send a transaction request to CyberSource.
20
+ attr_accessor :application_name
21
21
 
22
- # Brief description of the order or any comment you wish to add to the order.
23
- attr_accessor :comments
22
+ # Version of the CyberSource application or integration used for a transaction.
23
+ attr_accessor :application_version
24
+
25
+ # The entity that is responsible for running the transaction and submitting the processing request to CyberSource. This could be a person, a system, or a connection method.
26
+ attr_accessor :application_user
24
27
 
25
28
  attr_accessor :partner
26
29
 
@@ -28,8 +31,9 @@ module CyberSource
28
31
  def self.attribute_map
29
32
  {
30
33
  :'code' => :'code',
31
- :'paused_request_id' => :'pausedRequestId',
32
- :'comments' => :'comments',
34
+ :'application_name' => :'applicationName',
35
+ :'application_version' => :'applicationVersion',
36
+ :'application_user' => :'applicationUser',
33
37
  :'partner' => :'partner'
34
38
  }
35
39
  end
@@ -38,8 +42,9 @@ module CyberSource
38
42
  def self.json_map
39
43
  {
40
44
  :'code' => :'code',
41
- :'paused_request_id' => :'paused_request_id',
42
- :'comments' => :'comments',
45
+ :'application_name' => :'application_name',
46
+ :'application_version' => :'application_version',
47
+ :'application_user' => :'application_user',
43
48
  :'partner' => :'partner'
44
49
  }
45
50
  end
@@ -48,9 +53,10 @@ module CyberSource
48
53
  def self.swagger_types
49
54
  {
50
55
  :'code' => :'String',
51
- :'paused_request_id' => :'String',
52
- :'comments' => :'String',
53
- :'partner' => :'Riskv1decisionsClientReferenceInformationPartner'
56
+ :'application_name' => :'String',
57
+ :'application_version' => :'String',
58
+ :'application_user' => :'String',
59
+ :'partner' => :'Vasv1currencyconversionClientReferenceInformationPartner'
54
60
  }
55
61
  end
56
62
 
@@ -66,12 +72,16 @@ module CyberSource
66
72
  self.code = attributes[:'code']
67
73
  end
68
74
 
69
- if attributes.has_key?(:'pausedRequestId')
70
- self.paused_request_id = attributes[:'pausedRequestId']
75
+ if attributes.has_key?(:'applicationName')
76
+ self.application_name = attributes[:'applicationName']
77
+ end
78
+
79
+ if attributes.has_key?(:'applicationVersion')
80
+ self.application_version = attributes[:'applicationVersion']
71
81
  end
72
82
 
73
- if attributes.has_key?(:'comments')
74
- self.comments = attributes[:'comments']
83
+ if attributes.has_key?(:'applicationUser')
84
+ self.application_user = attributes[:'applicationUser']
75
85
  end
76
86
 
77
87
  if attributes.has_key?(:'partner')
@@ -99,15 +109,21 @@ module CyberSource
99
109
  end
100
110
 
101
111
  # Custom attribute writer method with validation
102
- # @param [Object] paused_request_id Value to be assigned
103
- def paused_request_id=(paused_request_id)
104
- @paused_request_id = paused_request_id
112
+ # @param [Object] application_name Value to be assigned
113
+ def application_name=(application_name)
114
+ @application_name = application_name
115
+ end
116
+
117
+ # Custom attribute writer method with validation
118
+ # @param [Object] application_version Value to be assigned
119
+ def application_version=(application_version)
120
+ @application_version = application_version
105
121
  end
106
122
 
107
123
  # Custom attribute writer method with validation
108
- # @param [Object] comments Value to be assigned
109
- def comments=(comments)
110
- @comments = comments
124
+ # @param [Object] application_user Value to be assigned
125
+ def application_user=(application_user)
126
+ @application_user = application_user
111
127
  end
112
128
 
113
129
  # Checks equality by comparing each attribute.
@@ -116,8 +132,9 @@ module CyberSource
116
132
  return true if self.equal?(o)
117
133
  self.class == o.class &&
118
134
  code == o.code &&
119
- paused_request_id == o.paused_request_id &&
120
- comments == o.comments &&
135
+ application_name == o.application_name &&
136
+ application_version == o.application_version &&
137
+ application_user == o.application_user &&
121
138
  partner == o.partner
122
139
  end
123
140
 
@@ -130,7 +147,7 @@ module CyberSource
130
147
  # Calculates hash code according to all attributes.
131
148
  # @return [Fixnum] Hash code
132
149
  def hash
133
- [code, paused_request_id, comments, partner].hash
150
+ [code, application_name, application_version, application_user, partner].hash
134
151
  end
135
152
 
136
153
  # Builds the object from hash