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
@@ -87,6 +87,9 @@ module CyberSource
87
87
  # Supplementary domestic transaction information provided by the acquirer for National Net Settlement Service (NNSS) transactions. NNSS is a settlement service that Visa provides. For transactions on CyberSource through VisaNet in countries that subscribe to NNSS: VisaNet clears transactions; VisaNet transfers funds to the acquirer after deducting processing fees and interchange fees. VisaNet settles transactions in the local pricing currency through a local financial institution. This field is supported only on CyberSource through VisaNet for domestic data in Colombia
88
88
  attr_accessor :national_net_domestic_data
89
89
 
90
+ # The override value of the Merchant Verification Value (MVV) received by various card brands. MVV refers to the value assigned by the card brand/network to identify participation in select merchant programs. Sample value for Visa: `101010`
91
+ attr_accessor :merchant_verification_value
92
+
90
93
  attr_accessor :japan_payment_options
91
94
 
92
95
  # Type of payment initiated from a cardholder's mobile device. Possible values: - `1` : Consumer-initiated remote purchase, face-to-face - `2` : Consumer-initiated remote purchase, e-commerce - `3` : Consumer-initiated remote purchase, mail order / telephone order - `4` : Consumer-initiated bill pay - `5` : Consumer-initiated top up - `6` : Consumer-initiated cash out - `7` : ATM triggered or agent-initiated cash out - `8` : Merchant-initiated remote purchase, face-to-face - `9` : Merchant-initiated remote purchase, e-commerce This field is supported only for Mastercard transactions on CyberSource through VisaNet. Optional field. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR6 - Position: 94 - Field: Mastercard Mobile Remote Payment Program Indicator The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.
@@ -107,7 +110,7 @@ module CyberSource
107
110
  # Flag that indicates the functionality we are having for merchants for which auth is done through Cybersource but settlement is done by themselves. true: functionality is supported. Processor should send raw processor auth response to Merchant. false: functionality is not supported. Default: false
108
111
  attr_accessor :is_return_auth_record_enabled
109
112
 
110
- # Merchant payment gateway ID that is assigned by Mastercard and is provided by the acquirer when a registered merchant payment gateway service provider is involved in the transaction. This field is supported for Visa Platform Connect.
113
+ # Merchant payment gateway ID that is assigned by Mastercard and is provided by the acquirer when a registered merchant payment gateway service provider is involved in the transaction. This field is supported for Visa Platform Connect, Chase Paymentech Salem.
111
114
  attr_accessor :network_partner_id
112
115
 
113
116
  # Identifier for the payment type.
@@ -131,6 +134,20 @@ module CyberSource
131
134
  # This value is used for linking Authorization extension transaction to the original Authorization transaction and for linking MIT (Merchant initiated transaction) with the respective CIT (Customer initiated transaction).
132
135
  attr_accessor :original_payment_id
133
136
 
137
+ # Effective with the April 2025 release, American Express is introducing the following new Indirect Acceptor models : - Digital Wallet Operator - Staged back to back transaction - Peer to peer (P2P) transaction - Stored value transaction - Marketplace Each model must have a separate American Express Merchant Account number and will be assigned a unique Indirect Model Type value. Valid/Sample Values : - `1`: Bill payment provider - `2`: Installment payment transaction - `3`: Marketplace - `4`: Peer to peer transaction - `5`: Staged back to back transaction - `6`: Stored value transaction
138
+ attr_accessor :amex_indirect_model_type
139
+
140
+ # Identifies the type of operation being performed by the staged digital wallet operator. The value distinguishes between a Cash-in transaction (coded as \"02\"), where funds are loaded into the digital wallet from a registered payment card, and a Purchase transaction (coded as \"01\"), where the wallet is used to make a payment to a merchant or transfer funds between wallets. This distinction is essential for transaction processing, reporting, and ensuring compliance with the specific rules and requirements associated with each card brand and transaction type.
141
+ attr_accessor :wallet_transaction_intent
142
+
143
+ # Identifies the destination/purpose of the cash-in: • 04: M2M (Same ownership, same portfolio/arrangement) • 05: P2P (For another holder, same wallet/arrangement) • 06: Transfer to another arrangement (same ownership) • 07: Transfer to another arrangement (other ownership) • 08: Transfer to stored value digital wallet.
144
+ attr_accessor :destination_type
145
+
146
+ attr_accessor :program_indicators
147
+
148
+ # Type of inquiry for Zero dollar transactions. Mastercard is introducing Mastercard One Credential, a single, digitally connected credential that offers cardholders the ability to access multiple payment methods. This field is used for Product Status Inquiry (PSI), Account Status Inquiry with Product Status Inquiry (ASI with PSI), and Account Status Inquiry with Product Status Inquiry and Probability Indicator. This field is supported for Zero dollar transactions only. Possible values: - `01`: Product status inquiry - `02`: Account status inquiry with product status inquiry - `03`: Account status Inquiry with Product Status Inquiry and Probability Indicator #### Used by **Authorization (Zero dollar transactions)** Optional field.
149
+ attr_accessor :inquiry_type
150
+
134
151
  # Attribute mapping from ruby-style variable name to JSON key.
135
152
  def self.attribute_map
136
153
  {
@@ -161,6 +178,7 @@ module CyberSource
161
178
  :'loan_options' => :'loanOptions',
162
179
  :'wallet_type' => :'walletType',
163
180
  :'national_net_domestic_data' => :'nationalNetDomesticData',
181
+ :'merchant_verification_value' => :'merchantVerificationValue',
164
182
  :'japan_payment_options' => :'japanPaymentOptions',
165
183
  :'mobile_remote_payment_type' => :'mobileRemotePaymentType',
166
184
  :'extended_credit_total_count' => :'extendedCreditTotalCount',
@@ -175,7 +193,12 @@ module CyberSource
175
193
  :'transaction_type_indicator' => :'transactionTypeIndicator',
176
194
  :'purpose_of_payment' => :'purposeOfPayment',
177
195
  :'language_code' => :'languageCode',
178
- :'original_payment_id' => :'originalPaymentId'
196
+ :'original_payment_id' => :'originalPaymentId',
197
+ :'amex_indirect_model_type' => :'amexIndirectModelType',
198
+ :'wallet_transaction_intent' => :'walletTransactionIntent',
199
+ :'destination_type' => :'destinationType',
200
+ :'program_indicators' => :'programIndicators',
201
+ :'inquiry_type' => :'inquiryType'
179
202
  }
180
203
  end
181
204
 
@@ -209,6 +232,7 @@ module CyberSource
209
232
  :'loan_options' => :'loan_options',
210
233
  :'wallet_type' => :'wallet_type',
211
234
  :'national_net_domestic_data' => :'national_net_domestic_data',
235
+ :'merchant_verification_value' => :'merchant_verification_value',
212
236
  :'japan_payment_options' => :'japan_payment_options',
213
237
  :'mobile_remote_payment_type' => :'mobile_remote_payment_type',
214
238
  :'extended_credit_total_count' => :'extended_credit_total_count',
@@ -223,7 +247,12 @@ module CyberSource
223
247
  :'transaction_type_indicator' => :'transaction_type_indicator',
224
248
  :'purpose_of_payment' => :'purpose_of_payment',
225
249
  :'language_code' => :'language_code',
226
- :'original_payment_id' => :'original_payment_id'
250
+ :'original_payment_id' => :'original_payment_id',
251
+ :'amex_indirect_model_type' => :'amex_indirect_model_type',
252
+ :'wallet_transaction_intent' => :'wallet_transaction_intent',
253
+ :'destination_type' => :'destination_type',
254
+ :'program_indicators' => :'program_indicators',
255
+ :'inquiry_type' => :'inquiry_type'
227
256
  }
228
257
  end
229
258
 
@@ -257,6 +286,7 @@ module CyberSource
257
286
  :'loan_options' => :'Ptsv2paymentsProcessingInformationLoanOptions',
258
287
  :'wallet_type' => :'String',
259
288
  :'national_net_domestic_data' => :'String',
289
+ :'merchant_verification_value' => :'String',
260
290
  :'japan_payment_options' => :'Ptsv2paymentsProcessingInformationJapanPaymentOptions',
261
291
  :'mobile_remote_payment_type' => :'String',
262
292
  :'extended_credit_total_count' => :'String',
@@ -271,7 +301,12 @@ module CyberSource
271
301
  :'transaction_type_indicator' => :'String',
272
302
  :'purpose_of_payment' => :'String',
273
303
  :'language_code' => :'String',
274
- :'original_payment_id' => :'String'
304
+ :'original_payment_id' => :'String',
305
+ :'amex_indirect_model_type' => :'String',
306
+ :'wallet_transaction_intent' => :'Float',
307
+ :'destination_type' => :'Float',
308
+ :'program_indicators' => :'Ptsv2paymentsProcessingInformationProgramIndicators',
309
+ :'inquiry_type' => :'String'
275
310
  }
276
311
  end
277
312
 
@@ -397,6 +432,10 @@ module CyberSource
397
432
  self.national_net_domestic_data = attributes[:'nationalNetDomesticData']
398
433
  end
399
434
 
435
+ if attributes.has_key?(:'merchantVerificationValue')
436
+ self.merchant_verification_value = attributes[:'merchantVerificationValue']
437
+ end
438
+
400
439
  if attributes.has_key?(:'japanPaymentOptions')
401
440
  self.japan_payment_options = attributes[:'japanPaymentOptions']
402
441
  end
@@ -456,6 +495,26 @@ module CyberSource
456
495
  if attributes.has_key?(:'originalPaymentId')
457
496
  self.original_payment_id = attributes[:'originalPaymentId']
458
497
  end
498
+
499
+ if attributes.has_key?(:'amexIndirectModelType')
500
+ self.amex_indirect_model_type = attributes[:'amexIndirectModelType']
501
+ end
502
+
503
+ if attributes.has_key?(:'walletTransactionIntent')
504
+ self.wallet_transaction_intent = attributes[:'walletTransactionIntent']
505
+ end
506
+
507
+ if attributes.has_key?(:'destinationType')
508
+ self.destination_type = attributes[:'destinationType']
509
+ end
510
+
511
+ if attributes.has_key?(:'programIndicators')
512
+ self.program_indicators = attributes[:'programIndicators']
513
+ end
514
+
515
+ if attributes.has_key?(:'inquiryType')
516
+ self.inquiry_type = attributes[:'inquiryType']
517
+ end
459
518
  end
460
519
 
461
520
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -555,6 +614,12 @@ module CyberSource
555
614
  @national_net_domestic_data = national_net_domestic_data
556
615
  end
557
616
 
617
+ # Custom attribute writer method with validation
618
+ # @param [Object] merchant_verification_value Value to be assigned
619
+ def merchant_verification_value=(merchant_verification_value)
620
+ @merchant_verification_value = merchant_verification_value
621
+ end
622
+
558
623
  # Custom attribute writer method with validation
559
624
  # @param [Object] mobile_remote_payment_type Value to be assigned
560
625
  def mobile_remote_payment_type=(mobile_remote_payment_type)
@@ -621,6 +686,18 @@ module CyberSource
621
686
  @original_payment_id = original_payment_id
622
687
  end
623
688
 
689
+ # Custom attribute writer method with validation
690
+ # @param [Object] amex_indirect_model_type Value to be assigned
691
+ def amex_indirect_model_type=(amex_indirect_model_type)
692
+ @amex_indirect_model_type = amex_indirect_model_type
693
+ end
694
+
695
+ # Custom attribute writer method with validation
696
+ # @param [Object] inquiry_type Value to be assigned
697
+ def inquiry_type=(inquiry_type)
698
+ @inquiry_type = inquiry_type
699
+ end
700
+
624
701
  # Checks equality by comparing each attribute.
625
702
  # @param [Object] Object to be compared
626
703
  def ==(o)
@@ -653,6 +730,7 @@ module CyberSource
653
730
  loan_options == o.loan_options &&
654
731
  wallet_type == o.wallet_type &&
655
732
  national_net_domestic_data == o.national_net_domestic_data &&
733
+ merchant_verification_value == o.merchant_verification_value &&
656
734
  japan_payment_options == o.japan_payment_options &&
657
735
  mobile_remote_payment_type == o.mobile_remote_payment_type &&
658
736
  extended_credit_total_count == o.extended_credit_total_count &&
@@ -667,7 +745,12 @@ module CyberSource
667
745
  transaction_type_indicator == o.transaction_type_indicator &&
668
746
  purpose_of_payment == o.purpose_of_payment &&
669
747
  language_code == o.language_code &&
670
- original_payment_id == o.original_payment_id
748
+ original_payment_id == o.original_payment_id &&
749
+ amex_indirect_model_type == o.amex_indirect_model_type &&
750
+ wallet_transaction_intent == o.wallet_transaction_intent &&
751
+ destination_type == o.destination_type &&
752
+ program_indicators == o.program_indicators &&
753
+ inquiry_type == o.inquiry_type
671
754
  end
672
755
 
673
756
  # @see the `==` method
@@ -679,7 +762,7 @@ module CyberSource
679
762
  # Calculates hash code according to all attributes.
680
763
  # @return [Fixnum] Hash code
681
764
  def hash
682
- [action_list, enable_escrow_option, action_token_types, bin_source, capture, processor_id, business_application_id, commerce_indicator, commerce_indicator_label, payment_solution, reconciliation_id, link_id, purchase_level, transaction_timeout, intents_id, report_group, visa_checkout_id, industry_data_type, authorization_options, capture_options, recurring_options, bank_transfer_options, purchase_options, electronic_benefits_transfer, loan_options, wallet_type, national_net_domestic_data, japan_payment_options, mobile_remote_payment_type, extended_credit_total_count, network_routing_order, pay_by_points_indicator, timeout, is_return_auth_record_enabled, network_partner_id, payment_type, enabler_id, processing_instruction, transaction_type_indicator, purpose_of_payment, language_code, original_payment_id].hash
765
+ [action_list, enable_escrow_option, action_token_types, bin_source, capture, processor_id, business_application_id, commerce_indicator, commerce_indicator_label, payment_solution, reconciliation_id, link_id, purchase_level, transaction_timeout, intents_id, report_group, visa_checkout_id, industry_data_type, authorization_options, capture_options, recurring_options, bank_transfer_options, purchase_options, electronic_benefits_transfer, loan_options, wallet_type, national_net_domestic_data, merchant_verification_value, japan_payment_options, mobile_remote_payment_type, extended_credit_total_count, network_routing_order, pay_by_points_indicator, timeout, is_return_auth_record_enabled, network_partner_id, payment_type, enabler_id, processing_instruction, transaction_type_indicator, purpose_of_payment, language_code, original_payment_id, amex_indirect_model_type, wallet_transaction_intent, destination_type, program_indicators, inquiry_type].hash
683
766
  end
684
767
 
685
768
  # Builds the object from hash
@@ -0,0 +1,202 @@
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
+ # Contains program-specific indicators for transaction processing.
16
+ class Ptsv2paymentsProcessingInformationProgramIndicators
17
+ # Indicator for when a Quick Payment transaction. A Quick Payment Service (QPS) Transaction is a magnetic stripe-based or contact chip-based face-to-face Mastercard POS transaction that occurs at a Peruvian merchant in an eligible merchant category and for an amount equal or less to the CVM limit. This field is supported for Mastercard transactions in Peru. Possible values: - `true`: This is a Quick Payment Service transaction - `false`: This is not a Quick Payment Service transaction Default: null
18
+ attr_accessor :quick_payment
19
+
20
+ # Indicator that the transaction was made via QR Payment. This field is supported for Mastercard QR e-commerce payment programs in Peru. Possible values: - `true`: Transaction was initiated via QR code - `false`: Transaction was not initiated via QR code Default: null
21
+ attr_accessor :qr_initiated
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'quick_payment' => :'quickPayment',
27
+ :'qr_initiated' => :'qrInitiated'
28
+ }
29
+ end
30
+
31
+ # Attribute mapping from JSON key to ruby-style variable name.
32
+ def self.json_map
33
+ {
34
+ :'quick_payment' => :'quick_payment',
35
+ :'qr_initiated' => :'qr_initiated'
36
+ }
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ def self.swagger_types
41
+ {
42
+ :'quick_payment' => :'BOOLEAN',
43
+ :'qr_initiated' => :'BOOLEAN'
44
+ }
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ return unless attributes.is_a?(Hash)
51
+
52
+ # convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
54
+
55
+ if attributes.has_key?(:'quickPayment')
56
+ self.quick_payment = attributes[:'quickPayment']
57
+ end
58
+
59
+ if attributes.has_key?(:'qrInitiated')
60
+ self.qr_initiated = attributes[:'qrInitiated']
61
+ end
62
+ end
63
+
64
+ # Show invalid properties with the reasons. Usually used together with valid?
65
+ # @return Array for valid properties with the reasons
66
+ def list_invalid_properties
67
+ invalid_properties = Array.new
68
+ invalid_properties
69
+ end
70
+
71
+ # Check to see if the all the properties in the model are valid
72
+ # @return true if the model is valid
73
+ def valid?
74
+ true
75
+ end
76
+
77
+ # Checks equality by comparing each attribute.
78
+ # @param [Object] Object to be compared
79
+ def ==(o)
80
+ return true if self.equal?(o)
81
+ self.class == o.class &&
82
+ quick_payment == o.quick_payment &&
83
+ qr_initiated == o.qr_initiated
84
+ end
85
+
86
+ # @see the `==` method
87
+ # @param [Object] Object to be compared
88
+ def eql?(o)
89
+ self == o
90
+ end
91
+
92
+ # Calculates hash code according to all attributes.
93
+ # @return [Fixnum] Hash code
94
+ def hash
95
+ [quick_payment, qr_initiated].hash
96
+ end
97
+
98
+ # Builds the object from hash
99
+ # @param [Hash] attributes Model attributes in the form of hash
100
+ # @return [Object] Returns the model itself
101
+ def build_from_hash(attributes)
102
+ return nil unless attributes.is_a?(Hash)
103
+ self.class.swagger_types.each_pair do |key, type|
104
+ if type =~ /\AArray<(.*)>/i
105
+ # check to ensure the input is an array given that the the attribute
106
+ # is documented as an array but the input is not
107
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
108
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
109
+ end
110
+ elsif !attributes[self.class.attribute_map[key]].nil?
111
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
112
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
113
+ end
114
+
115
+ self
116
+ end
117
+
118
+ # Deserializes the data based on type
119
+ # @param string type Data type
120
+ # @param string value Value to be deserialized
121
+ # @return [Object] Deserialized data
122
+ def _deserialize(type, value)
123
+ case type.to_sym
124
+ when :DateTime
125
+ DateTime.parse(value)
126
+ when :Date
127
+ Date.parse(value)
128
+ when :String
129
+ value.to_s
130
+ when :Integer
131
+ value.to_i
132
+ when :Float
133
+ value.to_f
134
+ when :BOOLEAN
135
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
136
+ true
137
+ else
138
+ false
139
+ end
140
+ when :Object
141
+ # generic object (usually a Hash), return directly
142
+ value
143
+ when /\AArray<(?<inner_type>.+)>\z/
144
+ inner_type = Regexp.last_match[:inner_type]
145
+ value.map { |v| _deserialize(inner_type, v) }
146
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
147
+ k_type = Regexp.last_match[:k_type]
148
+ v_type = Regexp.last_match[:v_type]
149
+ {}.tap do |hash|
150
+ value.each do |k, v|
151
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
152
+ end
153
+ end
154
+ else # model
155
+ temp_model = CyberSource.const_get(type).new
156
+ temp_model.build_from_hash(value)
157
+ end
158
+ end
159
+
160
+ # Returns the string representation of the object
161
+ # @return [String] String presentation of the object
162
+ def to_s
163
+ to_hash.to_s
164
+ end
165
+
166
+ # to_body is an alias to to_hash (backward compatibility)
167
+ # @return [Hash] Returns the object in the form of hash
168
+ def to_body
169
+ to_hash
170
+ end
171
+
172
+ # Returns the object in the form of hash
173
+ # @return [Hash] Returns the object in the form of hash
174
+ def to_hash
175
+ hash = {}
176
+ self.class.attribute_map.each_pair do |attr, param|
177
+ value = self.send(attr)
178
+ next if value.nil?
179
+ hash[param] = _to_hash(value)
180
+ end
181
+ hash
182
+ end
183
+
184
+ # Outputs non-array value in the form of hash
185
+ # For object, use to_hash. Otherwise, just return the value
186
+ # @param [Object] value Any valid value
187
+ # @return [Hash] Returns the value in the form of hash
188
+ def _to_hash(value)
189
+ if value.is_a?(Array)
190
+ value.compact.map { |v| _to_hash(v) }
191
+ elsif value.is_a?(Hash)
192
+ {}.tap do |hash|
193
+ value.each { |k, v| hash[k] = _to_hash(v) }
194
+ end
195
+ elsif value.respond_to? :to_hash
196
+ value.to_hash
197
+ else
198
+ value
199
+ end
200
+ end
201
+ end
202
+ end
@@ -23,9 +23,18 @@ module CyberSource
23
23
 
24
24
  attr_accessor :network
25
25
 
26
+ # Interoperability Token received by merchant for Authorization API. Field for merchant to send Klarna Advantage Plus authorization approval token for Auth API call.
27
+ attr_accessor :auth_approval_token
28
+
29
+ # Supplementary transaction data for Klarna Advantage Plus. Fields to capture Interoperability Data from Merchant and transfer to Klarna for Authorization/Sale/Re-Auth/Capture APIs.
30
+ attr_accessor :supplementary_transaction_data
31
+
26
32
  # Field contains the response source code that identifies the source.
27
33
  attr_accessor :response_source_code
28
34
 
35
+ # Merchant Commercial Enhanced Data Program (CEDP) verified indicator for capture/bill requests. This field is used when the client is doing authorization with a different gateway and capture/settlement with CyberSource. This field flows in ISO field 34, DSID 02 tag DA, in AN, EBCDIC format. Possible values: - `Y`: Merchant CEDP verified #### Used by **Capture Request** Request field for force capture/bill support when auth is done with a different gateway.
36
+ attr_accessor :cedp_verified_indicator
37
+
29
38
  # Attribute mapping from ruby-style variable name to JSON key.
30
39
  def self.attribute_map
31
40
  {
@@ -33,7 +42,10 @@ module CyberSource
33
42
  :'authorization_options' => :'authorizationOptions',
34
43
  :'reversal' => :'reversal',
35
44
  :'network' => :'network',
36
- :'response_source_code' => :'responseSourceCode'
45
+ :'auth_approval_token' => :'authApprovalToken',
46
+ :'supplementary_transaction_data' => :'supplementaryTransactionData',
47
+ :'response_source_code' => :'responseSourceCode',
48
+ :'cedp_verified_indicator' => :'cedpVerifiedIndicator'
37
49
  }
38
50
  end
39
51
 
@@ -44,7 +56,10 @@ module CyberSource
44
56
  :'authorization_options' => :'authorization_options',
45
57
  :'reversal' => :'reversal',
46
58
  :'network' => :'network',
47
- :'response_source_code' => :'response_source_code'
59
+ :'auth_approval_token' => :'auth_approval_token',
60
+ :'supplementary_transaction_data' => :'supplementary_transaction_data',
61
+ :'response_source_code' => :'response_source_code',
62
+ :'cedp_verified_indicator' => :'cedp_verified_indicator'
48
63
  }
49
64
  end
50
65
 
@@ -55,7 +70,10 @@ module CyberSource
55
70
  :'authorization_options' => :'Ptsv2paymentsProcessorInformationAuthorizationOptions',
56
71
  :'reversal' => :'Ptsv2paymentsProcessorInformationReversal',
57
72
  :'network' => :'Ptsv2paymentsProcessorInformationReversalNetwork',
58
- :'response_source_code' => :'String'
73
+ :'auth_approval_token' => :'String',
74
+ :'supplementary_transaction_data' => :'String',
75
+ :'response_source_code' => :'String',
76
+ :'cedp_verified_indicator' => :'String'
59
77
  }
60
78
  end
61
79
 
@@ -83,9 +101,21 @@ module CyberSource
83
101
  self.network = attributes[:'network']
84
102
  end
85
103
 
104
+ if attributes.has_key?(:'authApprovalToken')
105
+ self.auth_approval_token = attributes[:'authApprovalToken']
106
+ end
107
+
108
+ if attributes.has_key?(:'supplementaryTransactionData')
109
+ self.supplementary_transaction_data = attributes[:'supplementaryTransactionData']
110
+ end
111
+
86
112
  if attributes.has_key?(:'responseSourceCode')
87
113
  self.response_source_code = attributes[:'responseSourceCode']
88
114
  end
115
+
116
+ if attributes.has_key?(:'cedpVerifiedIndicator')
117
+ self.cedp_verified_indicator = attributes[:'cedpVerifiedIndicator']
118
+ end
89
119
  end
90
120
 
91
121
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -107,12 +137,30 @@ module CyberSource
107
137
  @pre_approval_token = pre_approval_token
108
138
  end
109
139
 
140
+ # Custom attribute writer method with validation
141
+ # @param [Object] auth_approval_token Value to be assigned
142
+ def auth_approval_token=(auth_approval_token)
143
+ @auth_approval_token = auth_approval_token
144
+ end
145
+
146
+ # Custom attribute writer method with validation
147
+ # @param [Object] supplementary_transaction_data Value to be assigned
148
+ def supplementary_transaction_data=(supplementary_transaction_data)
149
+ @supplementary_transaction_data = supplementary_transaction_data
150
+ end
151
+
110
152
  # Custom attribute writer method with validation
111
153
  # @param [Object] response_source_code Value to be assigned
112
154
  def response_source_code=(response_source_code)
113
155
  @response_source_code = response_source_code
114
156
  end
115
157
 
158
+ # Custom attribute writer method with validation
159
+ # @param [Object] cedp_verified_indicator Value to be assigned
160
+ def cedp_verified_indicator=(cedp_verified_indicator)
161
+ @cedp_verified_indicator = cedp_verified_indicator
162
+ end
163
+
116
164
  # Checks equality by comparing each attribute.
117
165
  # @param [Object] Object to be compared
118
166
  def ==(o)
@@ -122,7 +170,10 @@ module CyberSource
122
170
  authorization_options == o.authorization_options &&
123
171
  reversal == o.reversal &&
124
172
  network == o.network &&
125
- response_source_code == o.response_source_code
173
+ auth_approval_token == o.auth_approval_token &&
174
+ supplementary_transaction_data == o.supplementary_transaction_data &&
175
+ response_source_code == o.response_source_code &&
176
+ cedp_verified_indicator == o.cedp_verified_indicator
126
177
  end
127
178
 
128
179
  # @see the `==` method
@@ -134,7 +185,7 @@ module CyberSource
134
185
  # Calculates hash code according to all attributes.
135
186
  # @return [Fixnum] Hash code
136
187
  def hash
137
- [pre_approval_token, authorization_options, reversal, network, response_source_code].hash
188
+ [pre_approval_token, authorization_options, reversal, network, auth_approval_token, supplementary_transaction_data, response_source_code, cedp_verified_indicator].hash
138
189
  end
139
190
 
140
191
  # Builds the object from hash
@@ -70,6 +70,9 @@ module CyberSource
70
70
  # The city of the recipient. This field is applicable for AFT transactions. Only alpha numeric values are supported. Special characters not in the standard ASCII character set are not supported and will be stripped before being sent to sent to the processor.
71
71
  attr_accessor :locality
72
72
 
73
+ # CPF or CNPJ of the cash-in recipient. \"Cadastro de Pessoas Físicas\", which translates to the \"Natural Persons Register.\" It is the individual taxpayer registry identification number in Brazil, similar to a Social Security Number (SSN) in the United States or a National Insurance Number in the UK.
74
+ attr_accessor :tax_id_number
75
+
73
76
  # Attribute mapping from ruby-style variable name to JSON key.
74
77
  def self.attribute_map
75
78
  {
@@ -91,7 +94,8 @@ module CyberSource
91
94
  :'country_of_birth' => :'countryOfBirth',
92
95
  :'occupation' => :'occupation',
93
96
  :'email' => :'email',
94
- :'locality' => :'locality'
97
+ :'locality' => :'locality',
98
+ :'tax_id_number' => :'taxIdNumber'
95
99
  }
96
100
  end
97
101
 
@@ -116,7 +120,8 @@ module CyberSource
116
120
  :'country_of_birth' => :'country_of_birth',
117
121
  :'occupation' => :'occupation',
118
122
  :'email' => :'email',
119
- :'locality' => :'locality'
123
+ :'locality' => :'locality',
124
+ :'tax_id_number' => :'tax_id_number'
120
125
  }
121
126
  end
122
127
 
@@ -141,7 +146,8 @@ module CyberSource
141
146
  :'country_of_birth' => :'String',
142
147
  :'occupation' => :'String',
143
148
  :'email' => :'String',
144
- :'locality' => :'String'
149
+ :'locality' => :'String',
150
+ :'tax_id_number' => :'Float'
145
151
  }
146
152
  end
147
153
 
@@ -228,6 +234,10 @@ module CyberSource
228
234
  if attributes.has_key?(:'locality')
229
235
  self.locality = attributes[:'locality']
230
236
  end
237
+
238
+ if attributes.has_key?(:'taxIdNumber')
239
+ self.tax_id_number = attributes[:'taxIdNumber']
240
+ end
231
241
  end
232
242
 
233
243
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -380,7 +390,8 @@ module CyberSource
380
390
  country_of_birth == o.country_of_birth &&
381
391
  occupation == o.occupation &&
382
392
  email == o.email &&
383
- locality == o.locality
393
+ locality == o.locality &&
394
+ tax_id_number == o.tax_id_number
384
395
  end
385
396
 
386
397
  # @see the `==` method
@@ -392,7 +403,7 @@ module CyberSource
392
403
  # Calculates hash code according to all attributes.
393
404
  # @return [Fixnum] Hash code
394
405
  def hash
395
- [account_id, account_type, first_name, middle_name, last_name, address1, administrative_area, postal_code, country, date_of_birth, beneficiary_id, beneficiary_name, beneficiary_address, alias_name, nationality, country_of_birth, occupation, email, locality].hash
406
+ [account_id, account_type, first_name, middle_name, last_name, address1, administrative_area, postal_code, country, date_of_birth, beneficiary_id, beneficiary_name, beneficiary_address, alias_name, nationality, country_of_birth, occupation, email, locality, tax_id_number].hash
396
407
  end
397
408
 
398
409
  # Builds the object from hash
@@ -45,6 +45,9 @@ module CyberSource
45
45
  # Postal code of sender.
46
46
  attr_accessor :postal_code
47
47
 
48
+ # CPF or CNPJ of the cash-in recipient. \"Cadastro de Pessoas Físicas\", which translates to the \"Natural Persons Register.\" It is the individual taxpayer registry identification number in Brazil, similar to a Social Security Number (SSN) in the United States or a National Insurance Number in the UK.
49
+ attr_accessor :tax_id_number
50
+
48
51
  # Attribute mapping from ruby-style variable name to JSON key.
49
52
  def self.attribute_map
50
53
  {
@@ -58,7 +61,8 @@ module CyberSource
58
61
  :'alias_name' => :'aliasName',
59
62
  :'reference_number' => :'referenceNumber',
60
63
  :'account' => :'account',
61
- :'postal_code' => :'postalCode'
64
+ :'postal_code' => :'postalCode',
65
+ :'tax_id_number' => :'taxIdNumber'
62
66
  }
63
67
  end
64
68
 
@@ -75,7 +79,8 @@ module CyberSource
75
79
  :'alias_name' => :'alias_name',
76
80
  :'reference_number' => :'reference_number',
77
81
  :'account' => :'account',
78
- :'postal_code' => :'postal_code'
82
+ :'postal_code' => :'postal_code',
83
+ :'tax_id_number' => :'tax_id_number'
79
84
  }
80
85
  end
81
86
 
@@ -92,7 +97,8 @@ module CyberSource
92
97
  :'alias_name' => :'String',
93
98
  :'reference_number' => :'String',
94
99
  :'account' => :'Ptsv2paymentsSenderInformationAccount',
95
- :'postal_code' => :'String'
100
+ :'postal_code' => :'String',
101
+ :'tax_id_number' => :'Float'
96
102
  }
97
103
  end
98
104
 
@@ -147,6 +153,10 @@ module CyberSource
147
153
  if attributes.has_key?(:'postalCode')
148
154
  self.postal_code = attributes[:'postalCode']
149
155
  end
156
+
157
+ if attributes.has_key?(:'taxIdNumber')
158
+ self.tax_id_number = attributes[:'taxIdNumber']
159
+ end
150
160
  end
151
161
 
152
162
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -237,7 +247,8 @@ module CyberSource
237
247
  alias_name == o.alias_name &&
238
248
  reference_number == o.reference_number &&
239
249
  account == o.account &&
240
- postal_code == o.postal_code
250
+ postal_code == o.postal_code &&
251
+ tax_id_number == o.tax_id_number
241
252
  end
242
253
 
243
254
  # @see the `==` method
@@ -249,7 +260,7 @@ module CyberSource
249
260
  # Calculates hash code according to all attributes.
250
261
  # @return [Fixnum] Hash code
251
262
  def hash
252
- [first_name, middle_name, last_name, address1, locality, administrative_area, country_code, alias_name, reference_number, account, postal_code].hash
263
+ [first_name, middle_name, last_name, address1, locality, administrative_area, country_code, alias_name, reference_number, account, postal_code, tax_id_number].hash
253
264
  end
254
265
 
255
266
  # Builds the object from hash