cybersource_rest_client 0.0.61 → 0.0.63

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 (196) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/invoices_api.rb +2 -2
  3. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +4 -4
  4. data/lib/cybersource_rest_client/api/transient_token_data_api.rb +9 -9
  5. data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +3 -3
  6. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +3 -3
  7. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +3 -3
  8. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +3 -3
  9. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +9 -9
  10. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +12 -12
  11. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +9 -9
  12. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +15 -15
  13. data/lib/cybersource_rest_client/models/case_management_comments_request.rb +3 -3
  14. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +6 -6
  15. data/lib/cybersource_rest_client/models/e_check_config_common.rb +9 -9
  16. data/lib/cybersource_rest_client/models/e_check_config_common_processors.rb +3 -3
  17. data/lib/cybersource_rest_client/models/get_all_plans_response_order_information_amount_details.rb +1 -1
  18. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +1 -1
  19. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
  20. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +1 -1
  21. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +2 -2
  22. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +1 -1
  23. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +1 -1
  24. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +1 -1
  25. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +2 -2
  26. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb +1 -1
  27. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +1 -1
  28. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +2 -2
  29. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
  30. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +2 -2
  31. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +1 -1
  32. data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -1
  33. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +2 -2
  34. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_processor_account.rb +3 -3
  35. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +6 -6
  36. data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +3 -3
  37. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +2 -2
  38. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +2 -2
  39. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +3 -3
  40. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
  41. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
  42. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
  43. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_buyer_information_personal_identification.rb +2 -2
  44. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_amount_details.rb +1 -1
  45. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +1 -1
  46. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_order_information_amount_details.rb +1 -1
  47. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
  48. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +3 -3
  49. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
  50. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +5 -5
  51. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
  52. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
  53. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
  54. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
  55. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
  56. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
  57. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +2 -2
  58. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
  59. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +1 -1
  60. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
  61. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
  62. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information.rb +5 -32
  63. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +74 -13
  64. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +14 -109
  65. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +41 -23
  66. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +18 -43
  67. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +28 -1
  68. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +33 -7
  69. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +27 -26
  70. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +10 -1
  71. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +41 -5
  72. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +33 -7
  73. data/lib/cybersource_rest_client/models/ptsv2billingagreements_aggregator_information.rb +1 -1
  74. data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +1 -1
  75. data/lib/cybersource_rest_client/models/ptsv2billingagreements_client_reference_information.rb +1 -1
  76. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +1 -1
  77. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_buyer_information.rb +1 -1
  78. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +3 -3
  79. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
  80. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_buyer_information.rb +1 -1
  81. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_amount_details.rb +3 -3
  82. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank.rb +1 -1
  83. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank_account.rb +1 -1
  84. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_card.rb +1 -1
  85. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
  86. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +4 -4
  87. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +3 -3
  88. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -1
  89. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +7 -7
  90. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +11 -1
  91. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options_initiator.rb → ptsv2payments_consumer_authentication_information_strong_authentication_issuer_information.rb} +13 -13
  92. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
  93. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
  94. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +5 -5
  95. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
  96. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +1 -1
  97. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
  98. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +3 -3
  99. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +2 -2
  100. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -1
  101. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
  102. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +1 -1
  103. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +5 -5
  104. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +2 -2
  105. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
  106. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +5 -5
  107. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +15 -5
  108. data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_token_provisioning_information.rb → ptsv2payments_token_information_token_provisioning_information.rb} +1 -1
  109. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +1 -1
  110. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
  111. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
  112. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information_personal_identification.rb +1 -1
  113. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +5 -5
  114. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +1 -1
  115. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +2 -2
  116. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
  117. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_client_reference_information.rb +1 -1
  118. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +3 -3
  119. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank_account.rb +1 -1
  120. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +1 -1
  121. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +2 -2
  122. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
  123. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +2 -2
  124. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
  125. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
  126. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +5 -39
  127. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
  128. data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +4 -4
  129. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +3 -37
  130. data/lib/cybersource_rest_client/models/push_funds400_response.rb +1 -1
  131. data/lib/cybersource_rest_client/models/push_funds_request.rb +5 -60
  132. data/lib/cybersource_rest_client/models/rbsv1plans_order_information_amount_details.rb +7 -7
  133. data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +3 -3
  134. data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information_customer.rb +3 -3
  135. data/lib/cybersource_rest_client/models/rbsv1subscriptions_subscription_information.rb +3 -3
  136. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +1 -1
  137. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +21 -4
  138. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +1 -1
  139. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +5 -5
  140. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +12 -12
  141. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +3 -3
  142. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +6 -6
  143. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_amount_details.rb +2 -2
  144. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +1 -1
  145. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +8 -8
  146. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +22 -22
  147. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +3 -3
  148. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +9 -9
  149. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +18 -18
  150. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +9 -9
  151. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +3 -3
  152. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +12 -12
  153. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +3 -3
  154. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +3 -3
  155. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
  156. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +4 -4
  157. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -1
  158. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +1 -1
  159. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +16 -16
  160. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +3 -3
  161. data/lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb +3 -3
  162. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +1 -1
  163. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +2 -2
  164. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_tokenized_card.rb +12 -1
  165. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +2 -2
  166. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
  167. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +3 -3
  168. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +2 -2
  169. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +5 -5
  170. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +2 -2
  171. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -1
  172. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
  173. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +3 -3
  174. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
  175. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +4 -4
  176. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
  177. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +2 -2
  178. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +1 -1
  179. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +3 -3
  180. data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +6 -6
  181. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +1 -1
  182. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
  183. data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -1
  184. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +1 -1
  185. data/lib/cybersource_rest_client.rb +2 -12
  186. metadata +4 -14
  187. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information.rb +0 -223
  188. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +0 -332
  189. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_defined_information.rb +0 -213
  190. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +0 -234
  191. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +0 -298
  192. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_surcharge.rb +0 -196
  193. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +0 -246
  194. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_recurring_options.rb +0 -190
  195. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options.rb +0 -189
  196. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options_funding_options.rb +0 -189
@@ -13,33 +13,33 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  class Ptsv1pushfundstransferProcessingInformationPayoutsOptions
16
- # Visa-generated transaction identifier (TID) that is unique for each original authorization and financial request. Applicable only for Visa Platform Connect
17
- attr_accessor :account_funding_reference_id
16
+ # Use a 3-character alpha currency code for source currency of the funds transfer. Yellow Pepper Supported for cross border funds transfers. ISO standard currencies: http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf
17
+ attr_accessor :source_currency
18
18
 
19
- # This field contains a number that is used with other data elements as a key to identify and track all messages related to a given cardholder transaction; that is, to a given transaction set. Format: Positions 1-4: The yddd equivalent of the date, where y = 0-9 and ddd = 001 – 366. Positions 5-12: A unique identification number generated by the merchant Applicable only for Visa Platform Connect
20
- attr_accessor :retrieval_reference_number
19
+ # Use a 3-character alpha currency code for destination currency of the funds transfer. Yellow Pepper Supported for cross border funds transfers. ISO standard currencies: http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf
20
+ attr_accessor :destination_currency
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'account_funding_reference_id' => :'accountFundingReferenceId',
26
- :'retrieval_reference_number' => :'retrievalReferenceNumber'
25
+ :'source_currency' => :'sourceCurrency',
26
+ :'destination_currency' => :'destinationCurrency'
27
27
  }
28
28
  end
29
29
 
30
30
  # Attribute mapping from JSON key to ruby-style variable name.
31
31
  def self.json_map
32
32
  {
33
- :'account_funding_reference_id' => :'account_funding_reference_id',
34
- :'retrieval_reference_number' => :'retrieval_reference_number'
33
+ :'source_currency' => :'source_currency',
34
+ :'destination_currency' => :'destination_currency'
35
35
  }
36
36
  end
37
37
 
38
38
  # Attribute type mapping.
39
39
  def self.swagger_types
40
40
  {
41
- :'account_funding_reference_id' => :'String',
42
- :'retrieval_reference_number' => :'String'
41
+ :'source_currency' => :'String',
42
+ :'destination_currency' => :'String'
43
43
  }
44
44
  end
45
45
 
@@ -51,12 +51,12 @@ module CyberSource
51
51
  # convert string to symbol for hash key
52
52
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
53
53
 
54
- if attributes.has_key?(:'accountFundingReferenceId')
55
- self.account_funding_reference_id = attributes[:'accountFundingReferenceId']
54
+ if attributes.has_key?(:'sourceCurrency')
55
+ self.source_currency = attributes[:'sourceCurrency']
56
56
  end
57
57
 
58
- if attributes.has_key?(:'retrievalReferenceNumber')
59
- self.retrieval_reference_number = attributes[:'retrievalReferenceNumber']
58
+ if attributes.has_key?(:'destinationCurrency')
59
+ self.destination_currency = attributes[:'destinationCurrency']
60
60
  end
61
61
  end
62
62
 
@@ -64,25 +64,43 @@ module CyberSource
64
64
  # @return Array for valid properties with the reasons
65
65
  def list_invalid_properties
66
66
  invalid_properties = Array.new
67
+ #if !@source_currency.nil? && @source_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
68
+ #invalid_properties.push('invalid value for "source_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
69
+ #end
70
+
71
+ #if !@destination_currency.nil? && @destination_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
72
+ #invalid_properties.push('invalid value for "destination_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
73
+ #end
74
+
67
75
  invalid_properties
68
76
  end
69
77
 
70
78
  # Check to see if the all the properties in the model are valid
71
79
  # @return true if the model is valid
72
80
  def valid?
81
+ #return false if !@source_currency.nil? && @source_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
82
+ #return false if !@destination_currency.nil? && @destination_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
73
83
  true
74
84
  end
75
85
 
76
86
  # Custom attribute writer method with validation
77
- # @param [Object] account_funding_reference_id Value to be assigned
78
- def account_funding_reference_id=(account_funding_reference_id)
79
- @account_funding_reference_id = account_funding_reference_id
87
+ # @param [Object] source_currency Value to be assigned
88
+ def source_currency=(source_currency)
89
+ #if !source_currency.nil? && source_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
90
+ #fail ArgumentError, 'invalid value for "source_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
91
+ #end
92
+
93
+ @source_currency = source_currency
80
94
  end
81
95
 
82
96
  # Custom attribute writer method with validation
83
- # @param [Object] retrieval_reference_number Value to be assigned
84
- def retrieval_reference_number=(retrieval_reference_number)
85
- @retrieval_reference_number = retrieval_reference_number
97
+ # @param [Object] destination_currency Value to be assigned
98
+ def destination_currency=(destination_currency)
99
+ #if !destination_currency.nil? && destination_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
100
+ #fail ArgumentError, 'invalid value for "destination_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
101
+ #end
102
+
103
+ @destination_currency = destination_currency
86
104
  end
87
105
 
88
106
  # Checks equality by comparing each attribute.
@@ -90,8 +108,8 @@ module CyberSource
90
108
  def ==(o)
91
109
  return true if self.equal?(o)
92
110
  self.class == o.class &&
93
- account_funding_reference_id == o.account_funding_reference_id &&
94
- retrieval_reference_number == o.retrieval_reference_number
111
+ source_currency == o.source_currency &&
112
+ destination_currency == o.destination_currency
95
113
  end
96
114
 
97
115
  # @see the `==` method
@@ -103,7 +121,7 @@ module CyberSource
103
121
  # Calculates hash code according to all attributes.
104
122
  # @return [Fixnum] Hash code
105
123
  def hash
106
- [account_funding_reference_id, retrieval_reference_number].hash
124
+ [source_currency, destination_currency].hash
107
125
  end
108
126
 
109
127
  # Builds the object from hash
@@ -15,39 +15,33 @@ module CyberSource
15
15
  class Ptsv1pushfundstransferRecipientInformation
16
16
  attr_accessor :payment_information
17
17
 
18
- # First line of the recipient's address. Required for Mastercard Send. This field is not supported for Visa Platform Connect.
18
+ # First line of the recipient's address. Required for card payments
19
19
  attr_accessor :address1
20
20
 
21
- # Second line of the recipient's address Optional for Mastercard Send. This field is not supported for Visa Platform Connect.
21
+ # Second line of the recipient's address
22
22
  attr_accessor :address2
23
23
 
24
- # Recipient city. Required for Mastercard Send.
24
+ # Recipient city.
25
25
  attr_accessor :locality
26
26
 
27
- # Recipient postal code. For USA, this must be a valid value of 5 digits or 5 digits hyphen 4 digits, for example '63368', '63368-5555'. For other regions, this can be alphanumeric, length 1-10. Mastercard Send: Required for recipients in Canada and Canadian issued cards.
27
+ # Recipient postal code. For USA, this must be a valid value of 5 digits or 5 digits hyphen 4 digits, for example '63368', '63368-5555'. For other regions, this can be alphanumeric, length 1-10. Mandatory for card payments.
28
28
  attr_accessor :postal_code
29
29
 
30
- # The recipient's province, state or territory. Conditional, required if recipient's country is USA or CAN. Must be an ISO 3166-2 uppercase alpha 2 or 3 character country subdivision code. For example, Missouri is MO. Required only for FDCCompass. This field is not supported for Visa Platform Connect.
30
+ # The recipient's province, state or territory. Conditional, required if recipient's country is USA or CAN. Must be an ISO 3166-2 uppercase alpha 2 or 3 character country subdivision code. For example, Missouri is MO. See https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf Required for card payments.
31
31
  attr_accessor :administrative_area
32
32
 
33
- # Recipient country code. Use the ISO Standard Alpha Country Codes. https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf Required for Mastercard Send.
33
+ # Recipient country code. Use the ISO Standard Alpha Country Codes. https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf
34
34
  attr_accessor :country
35
35
 
36
- # First name of recipient. Visa Platform Connect (14) Chase Paymentech (30) Mastercard Send (40) This field is required for Mastercard Send.
36
+ # First name of recipient.
37
37
  attr_accessor :first_name
38
38
 
39
39
  # Sender's middle name. This field is a passthrough, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor.
40
40
  attr_accessor :middle_name
41
41
 
42
- # Middle Initial of recipient. This field is supported by FDC Compass.
43
- attr_accessor :middle_initial
44
-
45
- # Last name of recipient. Visa Platform Connect (14) Paymentech (30) Mastercard Send (40) This field is required for Mastercard Send.
42
+ # Last name of recipient.
46
43
  attr_accessor :last_name
47
44
 
48
- # Recipient date of birth in YYYYMMDD format.
49
- attr_accessor :date_of_birth
50
-
51
45
  # Recipient phone number. This field is supported by FDC Compass. Mastercard Send: Max length is 15 with no dashes or spaces.
52
46
  attr_accessor :phone_number
53
47
 
@@ -65,9 +59,7 @@ module CyberSource
65
59
  :'country' => :'country',
66
60
  :'first_name' => :'firstName',
67
61
  :'middle_name' => :'middleName',
68
- :'middle_initial' => :'middleInitial',
69
62
  :'last_name' => :'lastName',
70
- :'date_of_birth' => :'dateOfBirth',
71
63
  :'phone_number' => :'phoneNumber',
72
64
  :'personal_identification' => :'personalIdentification'
73
65
  }
@@ -85,9 +77,7 @@ module CyberSource
85
77
  :'country' => :'country',
86
78
  :'first_name' => :'first_name',
87
79
  :'middle_name' => :'middle_name',
88
- :'middle_initial' => :'middle_initial',
89
80
  :'last_name' => :'last_name',
90
- :'date_of_birth' => :'date_of_birth',
91
81
  :'phone_number' => :'phone_number',
92
82
  :'personal_identification' => :'personal_identification'
93
83
  }
@@ -105,9 +95,7 @@ module CyberSource
105
95
  :'country' => :'String',
106
96
  :'first_name' => :'String',
107
97
  :'middle_name' => :'String',
108
- :'middle_initial' => :'String',
109
98
  :'last_name' => :'String',
110
- :'date_of_birth' => :'String',
111
99
  :'phone_number' => :'String',
112
100
  :'personal_identification' => :'Ptsv1pushfundstransferRecipientInformationPersonalIdentification'
113
101
  }
@@ -157,18 +145,10 @@ module CyberSource
157
145
  self.middle_name = attributes[:'middleName']
158
146
  end
159
147
 
160
- if attributes.has_key?(:'middleInitial')
161
- self.middle_initial = attributes[:'middleInitial']
162
- end
163
-
164
148
  if attributes.has_key?(:'lastName')
165
149
  self.last_name = attributes[:'lastName']
166
150
  end
167
151
 
168
- if attributes.has_key?(:'dateOfBirth')
169
- self.date_of_birth = attributes[:'dateOfBirth']
170
- end
171
-
172
152
  if attributes.has_key?(:'phoneNumber')
173
153
  self.phone_number = attributes[:'phoneNumber']
174
154
  end
@@ -182,12 +162,17 @@ module CyberSource
182
162
  # @return Array for valid properties with the reasons
183
163
  def list_invalid_properties
184
164
  invalid_properties = Array.new
165
+ #if !@country.nil? && @country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
166
+ #invalid_properties.push('invalid value for "country", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
167
+ #end
168
+
185
169
  invalid_properties
186
170
  end
187
171
 
188
172
  # Check to see if the all the properties in the model are valid
189
173
  # @return true if the model is valid
190
174
  def valid?
175
+ #return false if !@country.nil? && @country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
191
176
  true
192
177
  end
193
178
 
@@ -224,6 +209,10 @@ module CyberSource
224
209
  # Custom attribute writer method with validation
225
210
  # @param [Object] country Value to be assigned
226
211
  def country=(country)
212
+ #if !country.nil? && country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
213
+ #fail ArgumentError, 'invalid value for "country", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
214
+ #end
215
+
227
216
  @country = country
228
217
  end
229
218
 
@@ -239,24 +228,12 @@ module CyberSource
239
228
  @middle_name = middle_name
240
229
  end
241
230
 
242
- # Custom attribute writer method with validation
243
- # @param [Object] middle_initial Value to be assigned
244
- def middle_initial=(middle_initial)
245
- @middle_initial = middle_initial
246
- end
247
-
248
231
  # Custom attribute writer method with validation
249
232
  # @param [Object] last_name Value to be assigned
250
233
  def last_name=(last_name)
251
234
  @last_name = last_name
252
235
  end
253
236
 
254
- # Custom attribute writer method with validation
255
- # @param [Object] date_of_birth Value to be assigned
256
- def date_of_birth=(date_of_birth)
257
- @date_of_birth = date_of_birth
258
- end
259
-
260
237
  # Custom attribute writer method with validation
261
238
  # @param [Object] phone_number Value to be assigned
262
239
  def phone_number=(phone_number)
@@ -277,9 +254,7 @@ module CyberSource
277
254
  country == o.country &&
278
255
  first_name == o.first_name &&
279
256
  middle_name == o.middle_name &&
280
- middle_initial == o.middle_initial &&
281
257
  last_name == o.last_name &&
282
- date_of_birth == o.date_of_birth &&
283
258
  phone_number == o.phone_number &&
284
259
  personal_identification == o.personal_identification
285
260
  end
@@ -293,7 +268,7 @@ module CyberSource
293
268
  # Calculates hash code according to all attributes.
294
269
  # @return [Fixnum] Hash code
295
270
  def hash
296
- [payment_information, address1, address2, locality, postal_code, administrative_area, country, first_name, middle_name, middle_initial, last_name, date_of_birth, phone_number, personal_identification].hash
271
+ [payment_information, address1, address2, locality, postal_code, administrative_area, country, first_name, middle_name, last_name, phone_number, personal_identification].hash
297
272
  end
298
273
 
299
274
  # Builds the object from hash
@@ -13,7 +13,7 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  class Ptsv1pushfundstransferRecipientInformationPaymentInformationCard
16
- # Three-digit value that indicates the card type. Mandatory if not present in a token. Possible values: Visa Platform Connect - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. - `033`: Visa Electron - `024`: Maestro Mastercard Send: - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. FDC Compass: - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. Chase Paymentech: - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard.
16
+ # Three-digit value that indicates the card type. Possible values: Visa Platform Connect - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. - `033`: Visa Electron - `024`: Maestro Mastercard Send: - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. FDC Compass: - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. Chase Paymentech: - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. Yellow Pepper: - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. - `005`: Diners Club - `033`: Visa Electron - `024`: Intl Maestro
17
17
  attr_accessor :type
18
18
 
19
19
  # 3-digit value that indicates the cardCvv2Value. Values can be 0-9.
@@ -121,30 +121,57 @@ module CyberSource
121
121
  # @return Array for valid properties with the reasons
122
122
  def list_invalid_properties
123
123
  invalid_properties = Array.new
124
+ #if !@type.nil? && @type !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
125
+ #invalid_properties.push('invalid value for "type", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
126
+ #end
127
+
128
+ #if !@security_code.nil? && @security_code !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
129
+ #invalid_properties.push('invalid value for "security_code", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
130
+ #end
131
+
132
+ #if !@number.nil? && @number !~ Regexp.new(/^(\\s{0,19}|.{13,19})$/)
133
+ #invalid_properties.push('invalid value for "number", must conform to the pattern /^(\\s{0,19}|.{13,19})$/.')
134
+ #end
135
+
124
136
  invalid_properties
125
137
  end
126
138
 
127
139
  # Check to see if the all the properties in the model are valid
128
140
  # @return true if the model is valid
129
141
  def valid?
142
+ #return false if !@type.nil? && @type !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
143
+ #return false if !@security_code.nil? && @security_code !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
144
+ #return false if !@number.nil? && @number !~ Regexp.new(/^(\\s{0,19}|.{13,19})$/)
130
145
  true
131
146
  end
132
147
 
133
148
  # Custom attribute writer method with validation
134
149
  # @param [Object] type Value to be assigned
135
150
  def type=(type)
151
+ #if !type.nil? && type !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
152
+ #fail ArgumentError, 'invalid value for "type", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
153
+ #end
154
+
136
155
  @type = type
137
156
  end
138
157
 
139
158
  # Custom attribute writer method with validation
140
159
  # @param [Object] security_code Value to be assigned
141
160
  def security_code=(security_code)
161
+ #if !security_code.nil? && security_code !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
162
+ #fail ArgumentError, 'invalid value for "security_code", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
163
+ #end
164
+
142
165
  @security_code = security_code
143
166
  end
144
167
 
145
168
  # Custom attribute writer method with validation
146
169
  # @param [Object] number Value to be assigned
147
170
  def number=(number)
171
+ #if !number.nil? && number !~ Regexp.new(/^(\\s{0,19}|.{13,19})$/)
172
+ #fail ArgumentError, 'invalid value for "number", must conform to the pattern /^(\\s{0,19}|.{13,19})$/.'
173
+ #end
174
+
148
175
  @number = number
149
176
  end
150
177
 
@@ -13,17 +13,21 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  class Ptsv1pushfundstransferRecipientInformationPersonalIdentification
16
- # The ID number/value. Visa Platform Connect This tag will contain an acquirer-populated value associated with the API : senderInformation.personalIdType which will identify the personal ID type of the sender. Mastercard Send(80)
16
+ # The ID number/value. Processor(35)
17
17
  attr_accessor :id
18
18
 
19
- # This tag will contain the type of sender identification. The valid values are: Visa Platform Connect: - `BTHD`: (Date of birth) - `CUID`: (Customer identification (unspecified)) - `NTID`: (National identification) - `PASN`: (Passport number) - `DRLN`: (Driver license) - `TXIN`: (Tax identification) - `CPNY`: (Company registration number) - `PRXY`: (Proxy identification) - `SSNB`: (Social security number) - `ARNB`: (Alien registration number) - `LAWE`: (Law enforcement identification) - `MILI`: (Military identification) - `TRVL`: (Travel identification (non-passport)) - `EMAL`: (Email) - `PHON`: (Phone number) Mastercard Send: - `CUID`: (Customer identification (unspecified)) - `NTID`: (National identification) - `PASN`: (Passport number) - `DRLN`: (Driver license) - `TXIN`: (Tax identification) - `SSNB`: (Social security number) - `ARNB`: (Alien registration number) - `EIDN`: (Employer Identification Number) - `IDNB`: (Identity Card Number)
19
+ # This tag will contain the type of sender identification.
20
20
  attr_accessor :type
21
21
 
22
+ # Issuing country of the identification. The field format should be a 2 character ISO 3166-1 alpha-2 country code.
23
+ attr_accessor :issuing_country
24
+
22
25
  # Attribute mapping from ruby-style variable name to JSON key.
23
26
  def self.attribute_map
24
27
  {
25
28
  :'id' => :'id',
26
- :'type' => :'type'
29
+ :'type' => :'type',
30
+ :'issuing_country' => :'issuingCountry'
27
31
  }
28
32
  end
29
33
 
@@ -31,7 +35,8 @@ module CyberSource
31
35
  def self.json_map
32
36
  {
33
37
  :'id' => :'id',
34
- :'type' => :'type'
38
+ :'type' => :'type',
39
+ :'issuing_country' => :'issuing_country'
35
40
  }
36
41
  end
37
42
 
@@ -39,7 +44,8 @@ module CyberSource
39
44
  def self.swagger_types
40
45
  {
41
46
  :'id' => :'String',
42
- :'type' => :'String'
47
+ :'type' => :'String',
48
+ :'issuing_country' => :'String'
43
49
  }
44
50
  end
45
51
 
@@ -58,18 +64,27 @@ module CyberSource
58
64
  if attributes.has_key?(:'type')
59
65
  self.type = attributes[:'type']
60
66
  end
67
+
68
+ if attributes.has_key?(:'issuingCountry')
69
+ self.issuing_country = attributes[:'issuingCountry']
70
+ end
61
71
  end
62
72
 
63
73
  # Show invalid properties with the reasons. Usually used together with valid?
64
74
  # @return Array for valid properties with the reasons
65
75
  def list_invalid_properties
66
76
  invalid_properties = Array.new
77
+ #if !@issuing_country.nil? && @issuing_country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
78
+ #invalid_properties.push('invalid value for "issuing_country", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
79
+ #end
80
+
67
81
  invalid_properties
68
82
  end
69
83
 
70
84
  # Check to see if the all the properties in the model are valid
71
85
  # @return true if the model is valid
72
86
  def valid?
87
+ #return false if !@issuing_country.nil? && @issuing_country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
73
88
  true
74
89
  end
75
90
 
@@ -85,13 +100,24 @@ module CyberSource
85
100
  @type = type
86
101
  end
87
102
 
103
+ # Custom attribute writer method with validation
104
+ # @param [Object] issuing_country Value to be assigned
105
+ def issuing_country=(issuing_country)
106
+ #if !issuing_country.nil? && issuing_country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
107
+ #fail ArgumentError, 'invalid value for "issuing_country", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
108
+ #end
109
+
110
+ @issuing_country = issuing_country
111
+ end
112
+
88
113
  # Checks equality by comparing each attribute.
89
114
  # @param [Object] Object to be compared
90
115
  def ==(o)
91
116
  return true if self.equal?(o)
92
117
  self.class == o.class &&
93
118
  id == o.id &&
94
- type == o.type
119
+ type == o.type &&
120
+ issuing_country == o.issuing_country
95
121
  end
96
122
 
97
123
  # @see the `==` method
@@ -103,7 +129,7 @@ module CyberSource
103
129
  # Calculates hash code according to all attributes.
104
130
  # @return [Fixnum] Hash code
105
131
  def hash
106
- [id, type].hash
132
+ [id, type, issuing_country].hash
107
133
  end
108
134
 
109
135
  # Builds the object from hash
@@ -16,36 +16,33 @@ module CyberSource
16
16
  # Name of sender. Funds Disbursement This value is the name of the originator sending the funds disbursement.
17
17
  attr_accessor :name
18
18
 
19
- # This field contains the first name of the entity funding the transaction.
19
+ # This field contains the first name of the entity funding the transaction Mandatory for card payments
20
20
  attr_accessor :first_name
21
21
 
22
- # This field contains the last name of the entity funding the transaction.
22
+ # This field contains the last name of the entity funding the transaction Mandatory for card payments
23
23
  attr_accessor :last_name
24
24
 
25
- # Supported only for Mastercard transactions. This field contains the middle name of the entity funding the transaction
25
+ # This field contains the middle name of the entity funding the transaction
26
26
  attr_accessor :middle_name
27
27
 
28
28
  # Sender's postal code. For USA, this must be a valid value of 5 digits or 5 digits hyphen 4 digits, for example '63368', '63368-5555'. For other regions, this can be alphanumeric, length 1-10. Required for FDCCompass.
29
29
  attr_accessor :postal_code
30
30
 
31
- # Street address of sender. Funds Disbursement This value is the address of the originator sending the funds disbursement. Visa Platform Connect Required for transactions using business application id of AA, BI, PP, and WT.
31
+ # Street address of sender. Funds Disbursement This value is the address of the originator sending the funds disbursement. Required for card transactions
32
32
  attr_accessor :address1
33
33
 
34
- # Used for additional address information. For example: Attention: Accounts Payable Optional field. This field is supported for only Mastercard Send.
34
+ # Used for additional address information. For example: Attention: Accounts Payable Optional field.
35
35
  attr_accessor :address2
36
36
 
37
- # The sender's city Visa Platform Connect Required for transactions using business application id of AA, BI, PP, and WT.
37
+ # The sender's city Mandatory for card payments
38
38
  attr_accessor :locality
39
39
 
40
- # Sender's state. Use the State, Province, and Territory Codes for the United States and Canada.The sender's province, state or territory. Conditional, required if sender's country is USA or CAN. Must be uppercase alpha 2 or 3 character country subdivision code. See https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf
40
+ # Sender's state. Use the State, Province, and Territory Codes for the United States and Canada.The sender's province, state or territory. Conditional, required if sender's country is USA or CAN. Must be uppercase alpha 2 or 3 character country subdivision code. See https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf Mandatory for card payments
41
41
  attr_accessor :administrative_area
42
42
 
43
- # Sender's country code. Use ISO Standard Alpha Country Codes. https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf Visa Platform Connect Required for transactions using business application id of AA, BI, PP, and WT. Required for Mastercard Send
43
+ # Sender's country code. Use ISO Standard Alpha Country Codes. https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf
44
44
  attr_accessor :country
45
45
 
46
- # Customer's government-assigned tax identification number.
47
- attr_accessor :vat_registration_number
48
-
49
46
  # Sender's date of birth in YYYYMMDD format.
50
47
  attr_accessor :date_of_birth
51
48
 
@@ -74,7 +71,6 @@ module CyberSource
74
71
  :'locality' => :'locality',
75
72
  :'administrative_area' => :'administrativeArea',
76
73
  :'country' => :'country',
77
- :'vat_registration_number' => :'vatRegistrationNumber',
78
74
  :'date_of_birth' => :'dateOfBirth',
79
75
  :'phone_number' => :'phoneNumber',
80
76
  :'payment_information' => :'paymentInformation',
@@ -97,7 +93,6 @@ module CyberSource
97
93
  :'locality' => :'locality',
98
94
  :'administrative_area' => :'administrative_area',
99
95
  :'country' => :'country',
100
- :'vat_registration_number' => :'vat_registration_number',
101
96
  :'date_of_birth' => :'date_of_birth',
102
97
  :'phone_number' => :'phone_number',
103
98
  :'payment_information' => :'payment_information',
@@ -120,7 +115,6 @@ module CyberSource
120
115
  :'locality' => :'String',
121
116
  :'administrative_area' => :'String',
122
117
  :'country' => :'String',
123
- :'vat_registration_number' => :'String',
124
118
  :'date_of_birth' => :'String',
125
119
  :'phone_number' => :'String',
126
120
  :'payment_information' => :'Ptsv1pushfundstransferSenderInformationPaymentInformation',
@@ -178,10 +172,6 @@ module CyberSource
178
172
  self.country = attributes[:'country']
179
173
  end
180
174
 
181
- if attributes.has_key?(:'vatRegistrationNumber')
182
- self.vat_registration_number = attributes[:'vatRegistrationNumber']
183
- end
184
-
185
175
  if attributes.has_key?(:'dateOfBirth')
186
176
  self.date_of_birth = attributes[:'dateOfBirth']
187
177
  end
@@ -211,12 +201,22 @@ module CyberSource
211
201
  # @return Array for valid properties with the reasons
212
202
  def list_invalid_properties
213
203
  invalid_properties = Array.new
204
+ #if !@country.nil? && @country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
205
+ #invalid_properties.push('invalid value for "country", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
206
+ #end
207
+
208
+ #if !@date_of_birth.nil? && @date_of_birth !~ Regexp.new(/^(\\s{0,8}|.{8})$/)
209
+ #invalid_properties.push('invalid value for "date_of_birth", must conform to the pattern /^(\\s{0,8}|.{8})$/.')
210
+ #end
211
+
214
212
  invalid_properties
215
213
  end
216
214
 
217
215
  # Check to see if the all the properties in the model are valid
218
216
  # @return true if the model is valid
219
217
  def valid?
218
+ #return false if !@country.nil? && @country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
219
+ #return false if !@date_of_birth.nil? && @date_of_birth !~ Regexp.new(/^(\\s{0,8}|.{8})$/)
220
220
  true
221
221
  end
222
222
 
@@ -277,18 +277,20 @@ module CyberSource
277
277
  # Custom attribute writer method with validation
278
278
  # @param [Object] country Value to be assigned
279
279
  def country=(country)
280
- @country = country
281
- end
280
+ #if !country.nil? && country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
281
+ #fail ArgumentError, 'invalid value for "country", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
282
+ #end
282
283
 
283
- # Custom attribute writer method with validation
284
- # @param [Object] vat_registration_number Value to be assigned
285
- def vat_registration_number=(vat_registration_number)
286
- @vat_registration_number = vat_registration_number
284
+ @country = country
287
285
  end
288
286
 
289
287
  # Custom attribute writer method with validation
290
288
  # @param [Object] date_of_birth Value to be assigned
291
289
  def date_of_birth=(date_of_birth)
290
+ #if !date_of_birth.nil? && date_of_birth !~ Regexp.new(/^(\\s{0,8}|.{8})$/)
291
+ #fail ArgumentError, 'invalid value for "date_of_birth", must conform to the pattern /^(\\s{0,8}|.{8})$/.'
292
+ #end
293
+
292
294
  @date_of_birth = date_of_birth
293
295
  end
294
296
 
@@ -319,7 +321,6 @@ module CyberSource
319
321
  locality == o.locality &&
320
322
  administrative_area == o.administrative_area &&
321
323
  country == o.country &&
322
- vat_registration_number == o.vat_registration_number &&
323
324
  date_of_birth == o.date_of_birth &&
324
325
  phone_number == o.phone_number &&
325
326
  payment_information == o.payment_information &&
@@ -337,7 +338,7 @@ module CyberSource
337
338
  # Calculates hash code according to all attributes.
338
339
  # @return [Fixnum] Hash code
339
340
  def hash
340
- [name, first_name, last_name, middle_name, postal_code, address1, address2, locality, administrative_area, country, vat_registration_number, date_of_birth, phone_number, payment_information, reference_number, account, personal_identification].hash
341
+ [name, first_name, last_name, middle_name, postal_code, address1, address2, locality, administrative_area, country, date_of_birth, phone_number, payment_information, reference_number, account, personal_identification].hash
341
342
  end
342
343
 
343
344
  # Builds the object from hash
@@ -16,7 +16,7 @@ module CyberSource
16
16
  # Source of funds. Possible values: Chase Paymentech, FDC Compass, Visa Platform Connect: - `01`: Credit card - `02`: Debit card - `03`: Prepaid card Chase Paymentech, Visa Platform Connect: - `04`: Cash - `05`: Debit or deposit account that is not linked to a Visa card. Includes checking accounts, savings accounts, and proprietary debit or ATM cards. - `06`: Credit account that is not linked to a Visa card. Includes credit cards and proprietary lines of credit. FDC Compass: - `04`: Deposit Account Funds Disbursement This value is most likely 05 to identify that the originator used a deposit account to fund the disbursement. Credit Card Bill Payment This value must be 02, 03, 04, or 05.
17
17
  attr_accessor :funds_source
18
18
 
19
- # The account number of the entity funding the transaction. It is the sender's account number. It can be a debit/credit card account number or bank account number. Funds disbursements This field is optional. All other transactions This field is required when the sender funds the transaction with a financial instrument, for example debit card. Length: FDC Compass (<= 19) Chase Paymentech (<= 16)
19
+ # The account number of the entity funding the transaction. It is the sender's account number. It can be a debit/credit card account number or bank account number. Funds disbursements This field is optional. All other transactions This field is required when the sender funds the transaction with a financial instrument, for example debit card. Length:
20
20
  attr_accessor :number
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -64,18 +64,27 @@ module CyberSource
64
64
  # @return Array for valid properties with the reasons
65
65
  def list_invalid_properties
66
66
  invalid_properties = Array.new
67
+ #if !@funds_source.nil? && @funds_source !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
68
+ #invalid_properties.push('invalid value for "funds_source", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
69
+ #end
70
+
67
71
  invalid_properties
68
72
  end
69
73
 
70
74
  # Check to see if the all the properties in the model are valid
71
75
  # @return true if the model is valid
72
76
  def valid?
77
+ #return false if !@funds_source.nil? && @funds_source !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
73
78
  true
74
79
  end
75
80
 
76
81
  # Custom attribute writer method with validation
77
82
  # @param [Object] funds_source Value to be assigned
78
83
  def funds_source=(funds_source)
84
+ #if !funds_source.nil? && funds_source !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
85
+ #fail ArgumentError, 'invalid value for "funds_source", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
86
+ #end
87
+
79
88
  @funds_source = funds_source
80
89
  end
81
90