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.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +4 -4
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +9 -9
- data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +9 -9
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +12 -12
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +9 -9
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +15 -15
- data/lib/cybersource_rest_client/models/case_management_comments_request.rb +3 -3
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +6 -6
- data/lib/cybersource_rest_client/models/e_check_config_common.rb +9 -9
- data/lib/cybersource_rest_client/models/e_check_config_common_processors.rb +3 -3
- data/lib/cybersource_rest_client/models/get_all_plans_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +1 -1
- data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +2 -2
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_processor_account.rb +3 -3
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +6 -6
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +3 -3
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +2 -2
- data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +2 -2
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_buyer_information_personal_identification.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information.rb +5 -32
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +74 -13
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +14 -109
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +41 -23
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +18 -43
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +28 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +33 -7
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +27 -26
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +10 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +41 -5
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +33 -7
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +11 -1
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options_initiator.rb → ptsv2payments_consumer_authentication_information_strong_authentication_issuer_information.rb} +13 -13
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +15 -5
- data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_token_provisioning_information.rb → ptsv2payments_token_information_token_provisioning_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +5 -39
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +4 -4
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +3 -37
- data/lib/cybersource_rest_client/models/push_funds400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds_request.rb +5 -60
- data/lib/cybersource_rest_client/models/rbsv1plans_order_information_amount_details.rb +7 -7
- data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +3 -3
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information_customer.rb +3 -3
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_subscription_information.rb +3 -3
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +21 -4
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +5 -5
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +12 -12
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +8 -8
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +22 -22
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +9 -9
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +18 -18
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +9 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +12 -12
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +16 -16
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +2 -2
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_tokenized_card.rb +12 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +4 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +6 -6
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client.rb +2 -12
- metadata +4 -14
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information.rb +0 -223
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +0 -332
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_defined_information.rb +0 -213
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +0 -234
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +0 -298
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_surcharge.rb +0 -196
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +0 -246
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_recurring_options.rb +0 -190
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options.rb +0 -189
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options_funding_options.rb +0 -189
|
@@ -19,10 +19,10 @@ module CyberSource
|
|
|
19
19
|
# This is a multicurrency-only field. It contains a 3-digit numeric code that identifies the currency used by the issuer to bill the cardholder's account. This field is returned for OCT transactions.
|
|
20
20
|
attr_accessor :settlement_currency
|
|
21
21
|
|
|
22
|
-
# Exchange rate returned by the DCC service. Includes a decimal point and a maximum of 4 decimal places.
|
|
22
|
+
# Exchange rate returned by the DCC service. Includes a decimal point and a maximum of 4 decimal places.
|
|
23
23
|
attr_accessor :exchange_rate
|
|
24
24
|
|
|
25
|
-
# Set this field to the converted amount that was returned by the DCC provider.
|
|
25
|
+
# Set this field to the converted amount that was returned by the DCC provider.
|
|
26
26
|
attr_accessor :foreign_amount
|
|
27
27
|
|
|
28
28
|
# Set this field to the converted amount that was returned by the DCC provider.
|
|
@@ -19,7 +19,7 @@ module CyberSource
|
|
|
19
19
|
# Amount that was credited to the cardholder's account. Returned by PIN debit credit.
|
|
20
20
|
attr_accessor :credit_amount
|
|
21
21
|
|
|
22
|
-
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency.
|
|
22
|
+
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency.
|
|
23
23
|
attr_accessor :currency
|
|
24
24
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -19,7 +19,7 @@ module CyberSource
|
|
|
19
19
|
# Amount of the original transaction. Returned by authorization reversal and void.
|
|
20
20
|
attr_accessor :original_transaction_amount
|
|
21
21
|
|
|
22
|
-
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency.
|
|
22
|
+
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency.
|
|
23
23
|
attr_accessor :currency
|
|
24
24
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -19,7 +19,7 @@ module CyberSource
|
|
|
19
19
|
# Amount of the original transaction.
|
|
20
20
|
attr_accessor :original_transaction_amount
|
|
21
21
|
|
|
22
|
-
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency.
|
|
22
|
+
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency.
|
|
23
23
|
attr_accessor :currency
|
|
24
24
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -13,10 +13,10 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class PtsV2PayoutsPost201ResponseOrderInformationAmountDetails
|
|
16
|
-
# Grand total for the order. This value cannot be negative. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places. **Note** For CTV, FDCCompass, Paymentech processors, the maximum length for this field is 12. **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths.
|
|
16
|
+
# Grand total for the order. This value cannot be negative. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places. **Note** For CTV, FDCCompass, Paymentech processors, the maximum length for this field is 12. **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. If your processor supports zero amount authorizations, you can set this field to 0 for the authorization to check if the card is lost or stolen. #### Card Present Required to include either this field or `orderInformation.lineItems[].unitPrice` for the order. #### Invoicing Required for creating a new invoice. #### PIN Debit Amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit; however, for all other processors, these fields are required. #### DCC with a Third-Party Provider Set this field to the converted amount that was returned by the DCC provider. You must include either this field or the 1st line item in the order and the specific line-order amount in your request. #### DCC for First Data Not used.
|
|
17
17
|
attr_accessor :total_amount
|
|
18
18
|
|
|
19
|
-
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency.
|
|
19
|
+
# Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency.
|
|
20
20
|
attr_accessor :currency
|
|
21
21
|
|
|
22
22
|
# This is a multicurrency field. It contains the transaction amount (field 4), converted to the Currency used to bill the cardholder's account. This field is returned for OCT transactions.
|
|
@@ -15,35 +15,24 @@ module CyberSource
|
|
|
15
15
|
class Ptsv1pushfundstransferOrderInformation
|
|
16
16
|
attr_accessor :amount_details
|
|
17
17
|
|
|
18
|
-
# This indicates that the funds transfer is for a crypto currency transaction. Optional Y/y, true N/n, false
|
|
19
|
-
attr_accessor :is_cryptocurrency_purchase
|
|
20
|
-
|
|
21
|
-
attr_accessor :surcharge
|
|
22
|
-
|
|
23
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
19
|
def self.attribute_map
|
|
25
20
|
{
|
|
26
|
-
:'amount_details' => :'amountDetails'
|
|
27
|
-
:'is_cryptocurrency_purchase' => :'isCryptocurrencyPurchase',
|
|
28
|
-
:'surcharge' => :'surcharge'
|
|
21
|
+
:'amount_details' => :'amountDetails'
|
|
29
22
|
}
|
|
30
23
|
end
|
|
31
24
|
|
|
32
25
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
33
26
|
def self.json_map
|
|
34
27
|
{
|
|
35
|
-
:'amount_details' => :'amount_details'
|
|
36
|
-
:'is_cryptocurrency_purchase' => :'is_cryptocurrency_purchase',
|
|
37
|
-
:'surcharge' => :'surcharge'
|
|
28
|
+
:'amount_details' => :'amount_details'
|
|
38
29
|
}
|
|
39
30
|
end
|
|
40
31
|
|
|
41
32
|
# Attribute type mapping.
|
|
42
33
|
def self.swagger_types
|
|
43
34
|
{
|
|
44
|
-
:'amount_details' => :'Ptsv1pushfundstransferOrderInformationAmountDetails'
|
|
45
|
-
:'is_cryptocurrency_purchase' => :'String',
|
|
46
|
-
:'surcharge' => :'Ptsv1pushfundstransferOrderInformationSurcharge'
|
|
35
|
+
:'amount_details' => :'Ptsv1pushfundstransferOrderInformationAmountDetails'
|
|
47
36
|
}
|
|
48
37
|
end
|
|
49
38
|
|
|
@@ -58,14 +47,6 @@ module CyberSource
|
|
|
58
47
|
if attributes.has_key?(:'amountDetails')
|
|
59
48
|
self.amount_details = attributes[:'amountDetails']
|
|
60
49
|
end
|
|
61
|
-
|
|
62
|
-
if attributes.has_key?(:'isCryptocurrencyPurchase')
|
|
63
|
-
self.is_cryptocurrency_purchase = attributes[:'isCryptocurrencyPurchase']
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
if attributes.has_key?(:'surcharge')
|
|
67
|
-
self.surcharge = attributes[:'surcharge']
|
|
68
|
-
end
|
|
69
50
|
end
|
|
70
51
|
|
|
71
52
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -86,20 +67,12 @@ module CyberSource
|
|
|
86
67
|
true
|
|
87
68
|
end
|
|
88
69
|
|
|
89
|
-
# Custom attribute writer method with validation
|
|
90
|
-
# @param [Object] is_cryptocurrency_purchase Value to be assigned
|
|
91
|
-
def is_cryptocurrency_purchase=(is_cryptocurrency_purchase)
|
|
92
|
-
@is_cryptocurrency_purchase = is_cryptocurrency_purchase
|
|
93
|
-
end
|
|
94
|
-
|
|
95
70
|
# Checks equality by comparing each attribute.
|
|
96
71
|
# @param [Object] Object to be compared
|
|
97
72
|
def ==(o)
|
|
98
73
|
return true if self.equal?(o)
|
|
99
74
|
self.class == o.class &&
|
|
100
|
-
amount_details == o.amount_details
|
|
101
|
-
is_cryptocurrency_purchase == o.is_cryptocurrency_purchase &&
|
|
102
|
-
surcharge == o.surcharge
|
|
75
|
+
amount_details == o.amount_details
|
|
103
76
|
end
|
|
104
77
|
|
|
105
78
|
# @see the `==` method
|
|
@@ -111,7 +84,7 @@ module CyberSource
|
|
|
111
84
|
# Calculates hash code according to all attributes.
|
|
112
85
|
# @return [Fixnum] Hash code
|
|
113
86
|
def hash
|
|
114
|
-
[amount_details
|
|
87
|
+
[amount_details].hash
|
|
115
88
|
end
|
|
116
89
|
|
|
117
90
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb
CHANGED
|
@@ -13,17 +13,25 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class Ptsv1pushfundstransferOrderInformationAmountDetails
|
|
16
|
-
# Grand total for the order. This value cannot be negative. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places.
|
|
16
|
+
# Grand total for the order. This value cannot be negative. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places.
|
|
17
17
|
attr_accessor :total_amount
|
|
18
18
|
|
|
19
|
-
# Use a 3-character alpha currency code for currency of the
|
|
19
|
+
# Use a 3-character alpha currency code for currency of the funds transfer. ISO standard currencies: http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf Currency must be supported by the processor.
|
|
20
20
|
attr_accessor :currency
|
|
21
21
|
|
|
22
|
+
# Use a 3-character alpha currency code for source currency of the funds transfer. Supported for card and bank account based cross border funds transfers. ISO standard currencies: http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf
|
|
23
|
+
attr_accessor :source_currency
|
|
24
|
+
|
|
25
|
+
# Use a 3-character alpha currency code for destination currency of the funds transfer. Supported for card and bank account based cross border funds transfers. ISO standard currencies: http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf NOTE: This field is supported only for Visa Platform Connect
|
|
26
|
+
attr_accessor :destination_currency
|
|
27
|
+
|
|
22
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
29
|
def self.attribute_map
|
|
24
30
|
{
|
|
25
31
|
:'total_amount' => :'totalAmount',
|
|
26
|
-
:'currency' => :'currency'
|
|
32
|
+
:'currency' => :'currency',
|
|
33
|
+
:'source_currency' => :'sourceCurrency',
|
|
34
|
+
:'destination_currency' => :'destinationCurrency'
|
|
27
35
|
}
|
|
28
36
|
end
|
|
29
37
|
|
|
@@ -31,7 +39,9 @@ module CyberSource
|
|
|
31
39
|
def self.json_map
|
|
32
40
|
{
|
|
33
41
|
:'total_amount' => :'total_amount',
|
|
34
|
-
:'currency' => :'currency'
|
|
42
|
+
:'currency' => :'currency',
|
|
43
|
+
:'source_currency' => :'source_currency',
|
|
44
|
+
:'destination_currency' => :'destination_currency'
|
|
35
45
|
}
|
|
36
46
|
end
|
|
37
47
|
|
|
@@ -39,7 +49,9 @@ module CyberSource
|
|
|
39
49
|
def self.swagger_types
|
|
40
50
|
{
|
|
41
51
|
:'total_amount' => :'String',
|
|
42
|
-
:'currency' => :'String'
|
|
52
|
+
:'currency' => :'String',
|
|
53
|
+
:'source_currency' => :'String',
|
|
54
|
+
:'destination_currency' => :'String'
|
|
43
55
|
}
|
|
44
56
|
end
|
|
45
57
|
|
|
@@ -58,6 +70,14 @@ module CyberSource
|
|
|
58
70
|
if attributes.has_key?(:'currency')
|
|
59
71
|
self.currency = attributes[:'currency']
|
|
60
72
|
end
|
|
73
|
+
|
|
74
|
+
if attributes.has_key?(:'sourceCurrency')
|
|
75
|
+
self.source_currency = attributes[:'sourceCurrency']
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
if attributes.has_key?(:'destinationCurrency')
|
|
79
|
+
self.destination_currency = attributes[:'destinationCurrency']
|
|
80
|
+
end
|
|
61
81
|
end
|
|
62
82
|
|
|
63
83
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -72,6 +92,18 @@ module CyberSource
|
|
|
72
92
|
invalid_properties.push('invalid value for "currency", currency cannot be nil.')
|
|
73
93
|
end
|
|
74
94
|
|
|
95
|
+
#if @currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
|
96
|
+
#invalid_properties.push('invalid value for "currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
|
|
97
|
+
#end
|
|
98
|
+
|
|
99
|
+
#if !@source_currency.nil? && @source_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
|
100
|
+
#invalid_properties.push('invalid value for "source_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
|
|
101
|
+
#end
|
|
102
|
+
|
|
103
|
+
#if !@destination_currency.nil? && @destination_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
|
104
|
+
#invalid_properties.push('invalid value for "destination_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
|
|
105
|
+
#end
|
|
106
|
+
|
|
75
107
|
invalid_properties
|
|
76
108
|
end
|
|
77
109
|
|
|
@@ -80,15 +112,18 @@ module CyberSource
|
|
|
80
112
|
def valid?
|
|
81
113
|
return false if @total_amount.nil?
|
|
82
114
|
return false if @currency.nil?
|
|
115
|
+
#return false if @currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
|
116
|
+
#return false if !@source_currency.nil? && @source_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
|
117
|
+
#return false if !@destination_currency.nil? && @destination_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
|
83
118
|
true
|
|
84
119
|
end
|
|
85
120
|
|
|
86
121
|
# Custom attribute writer method with validation
|
|
87
122
|
# @param [Object] total_amount Value to be assigned
|
|
88
123
|
def total_amount=(total_amount)
|
|
89
|
-
if total_amount.nil?
|
|
90
|
-
fail ArgumentError, 'total_amount cannot be nil'
|
|
91
|
-
end
|
|
124
|
+
#if total_amount.nil?
|
|
125
|
+
#fail ArgumentError, 'total_amount cannot be nil'
|
|
126
|
+
#end
|
|
92
127
|
|
|
93
128
|
@total_amount = total_amount
|
|
94
129
|
end
|
|
@@ -96,20 +131,46 @@ module CyberSource
|
|
|
96
131
|
# Custom attribute writer method with validation
|
|
97
132
|
# @param [Object] currency Value to be assigned
|
|
98
133
|
def currency=(currency)
|
|
99
|
-
if currency.nil?
|
|
100
|
-
fail ArgumentError, 'currency cannot be nil'
|
|
101
|
-
end
|
|
134
|
+
#if currency.nil?
|
|
135
|
+
#fail ArgumentError, 'currency cannot be nil'
|
|
136
|
+
#end
|
|
137
|
+
|
|
138
|
+
#if currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
|
139
|
+
#fail ArgumentError, 'invalid value for "currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
|
|
140
|
+
#end
|
|
102
141
|
|
|
103
142
|
@currency = currency
|
|
104
143
|
end
|
|
105
144
|
|
|
145
|
+
# Custom attribute writer method with validation
|
|
146
|
+
# @param [Object] source_currency Value to be assigned
|
|
147
|
+
def source_currency=(source_currency)
|
|
148
|
+
#if !source_currency.nil? && source_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
|
149
|
+
#fail ArgumentError, 'invalid value for "source_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
|
|
150
|
+
#end
|
|
151
|
+
|
|
152
|
+
@source_currency = source_currency
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Custom attribute writer method with validation
|
|
156
|
+
# @param [Object] destination_currency Value to be assigned
|
|
157
|
+
def destination_currency=(destination_currency)
|
|
158
|
+
#if !destination_currency.nil? && destination_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
|
159
|
+
#fail ArgumentError, 'invalid value for "destination_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
|
|
160
|
+
#end
|
|
161
|
+
|
|
162
|
+
@destination_currency = destination_currency
|
|
163
|
+
end
|
|
164
|
+
|
|
106
165
|
# Checks equality by comparing each attribute.
|
|
107
166
|
# @param [Object] Object to be compared
|
|
108
167
|
def ==(o)
|
|
109
168
|
return true if self.equal?(o)
|
|
110
169
|
self.class == o.class &&
|
|
111
170
|
total_amount == o.total_amount &&
|
|
112
|
-
currency == o.currency
|
|
171
|
+
currency == o.currency &&
|
|
172
|
+
source_currency == o.source_currency &&
|
|
173
|
+
destination_currency == o.destination_currency
|
|
113
174
|
end
|
|
114
175
|
|
|
115
176
|
# @see the `==` method
|
|
@@ -121,7 +182,7 @@ module CyberSource
|
|
|
121
182
|
# Calculates hash code according to all attributes.
|
|
122
183
|
# @return [Fixnum] Hash code
|
|
123
184
|
def hash
|
|
124
|
-
[total_amount, currency].hash
|
|
185
|
+
[total_amount, currency, source_currency, destination_currency].hash
|
|
125
186
|
end
|
|
126
187
|
|
|
127
188
|
# Builds the object from hash
|
|
@@ -13,39 +13,16 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class Ptsv1pushfundstransferProcessingInformation
|
|
16
|
-
#
|
|
16
|
+
# Payouts transaction type. Business Application ID: - `PP`: Person to person. - `FD`: Funds disbursement (general)
|
|
17
17
|
attr_accessor :business_application_id
|
|
18
18
|
|
|
19
|
-
# Type of transaction. Value for an OCT transaction: internet For details, see the e_commerce_indicator field description in Payouts Using the SCMP API.
|
|
20
|
-
attr_accessor :commerce_indicator
|
|
21
|
-
|
|
22
|
-
# Visa Platform Connect This field is optionally used by Push Payments Gateway participants (merchants and acquirers) to get the attributes for specified networks only. The networks specified in this field must be a subset of the information provided during program enrollment. Refer to Sharing Group Code/Network Routing Order. Note: Supported only in US for domestic transactions involving Push Payments Gateway Service. VisaNet checks to determine if there are issuer routing preferences for any of the networks specified by the network routing order. If an issuer preference exists for one of the specified debit networks, VisaNet makes a routing selection based on the issuer's preference. If an issuer preference exists for more than one of the specified debit networks, or if no issuer preference exists, VisaNet makes a selection based on the acquirer's routing priorities. For details, see the network_order field description in BIN Lookup Service Using the SCMP API.
|
|
23
|
-
attr_accessor :network_routing_order
|
|
24
|
-
|
|
25
19
|
attr_accessor :payouts_options
|
|
26
20
|
|
|
27
|
-
# This will send purpose of funds code for original credit transactions (OCTs). Visa Platform Connect (VPC) This will send purpose of transaction code for original credit transactions (OCTs). Purpose of Payment codes are defined by the recipient issuer's country and vary by country. Mastercard Send: - `00`: Family Support - `01`: Regular Labor Transfers (expatriates), - `02`: Travel & Tourism - `03`: Education - `04`: Hospitalization & Medical Treatment, - `05`: Emergency Need - `06`: Savings - `07`: Gifts - `08`: Other - `09`: Salary - `10`: Crowd lending - `11`: Crypto currency - `12`: Refund to original card - `13`: Refund to new card
|
|
28
|
-
attr_accessor :purpose_of_payment
|
|
29
|
-
|
|
30
|
-
# Please check with Cybersource customer support to see if your merchant account is configured correctly so you can include this field in your request. For Payouts: max length for FDCCompass is String (22).
|
|
31
|
-
attr_accessor :reconciliation_id
|
|
32
|
-
|
|
33
|
-
attr_accessor :recurring_options
|
|
34
|
-
|
|
35
|
-
# Transaction reason code. This field applies only to Visa Platform Connect
|
|
36
|
-
attr_accessor :transaction_reason
|
|
37
|
-
|
|
38
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
39
22
|
def self.attribute_map
|
|
40
23
|
{
|
|
41
24
|
:'business_application_id' => :'businessApplicationId',
|
|
42
|
-
:'
|
|
43
|
-
:'network_routing_order' => :'networkRoutingOrder',
|
|
44
|
-
:'payouts_options' => :'payoutsOptions',
|
|
45
|
-
:'purpose_of_payment' => :'purposeOfPayment',
|
|
46
|
-
:'reconciliation_id' => :'reconciliationId',
|
|
47
|
-
:'recurring_options' => :'recurringOptions',
|
|
48
|
-
:'transaction_reason' => :'transactionReason'
|
|
25
|
+
:'payouts_options' => :'payoutsOptions'
|
|
49
26
|
}
|
|
50
27
|
end
|
|
51
28
|
|
|
@@ -53,13 +30,7 @@ module CyberSource
|
|
|
53
30
|
def self.json_map
|
|
54
31
|
{
|
|
55
32
|
:'business_application_id' => :'business_application_id',
|
|
56
|
-
:'
|
|
57
|
-
:'network_routing_order' => :'network_routing_order',
|
|
58
|
-
:'payouts_options' => :'payouts_options',
|
|
59
|
-
:'purpose_of_payment' => :'purpose_of_payment',
|
|
60
|
-
:'reconciliation_id' => :'reconciliation_id',
|
|
61
|
-
:'recurring_options' => :'recurring_options',
|
|
62
|
-
:'transaction_reason' => :'transaction_reason'
|
|
33
|
+
:'payouts_options' => :'payouts_options'
|
|
63
34
|
}
|
|
64
35
|
end
|
|
65
36
|
|
|
@@ -67,13 +38,7 @@ module CyberSource
|
|
|
67
38
|
def self.swagger_types
|
|
68
39
|
{
|
|
69
40
|
:'business_application_id' => :'String',
|
|
70
|
-
:'
|
|
71
|
-
:'network_routing_order' => :'String',
|
|
72
|
-
:'payouts_options' => :'Ptsv1pushfundstransferProcessingInformationPayoutsOptions',
|
|
73
|
-
:'purpose_of_payment' => :'String',
|
|
74
|
-
:'reconciliation_id' => :'String',
|
|
75
|
-
:'recurring_options' => :'Ptsv1pushfundstransferProcessingInformationRecurringOptions',
|
|
76
|
-
:'transaction_reason' => :'String'
|
|
41
|
+
:'payouts_options' => :'Ptsv1pushfundstransferProcessingInformationPayoutsOptions'
|
|
77
42
|
}
|
|
78
43
|
end
|
|
79
44
|
|
|
@@ -89,42 +54,18 @@ module CyberSource
|
|
|
89
54
|
self.business_application_id = attributes[:'businessApplicationId']
|
|
90
55
|
end
|
|
91
56
|
|
|
92
|
-
if attributes.has_key?(:'commerceIndicator')
|
|
93
|
-
self.commerce_indicator = attributes[:'commerceIndicator']
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
if attributes.has_key?(:'networkRoutingOrder')
|
|
97
|
-
self.network_routing_order = attributes[:'networkRoutingOrder']
|
|
98
|
-
end
|
|
99
|
-
|
|
100
57
|
if attributes.has_key?(:'payoutsOptions')
|
|
101
58
|
self.payouts_options = attributes[:'payoutsOptions']
|
|
102
59
|
end
|
|
103
|
-
|
|
104
|
-
if attributes.has_key?(:'purposeOfPayment')
|
|
105
|
-
self.purpose_of_payment = attributes[:'purposeOfPayment']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if attributes.has_key?(:'reconciliationId')
|
|
109
|
-
self.reconciliation_id = attributes[:'reconciliationId']
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
if attributes.has_key?(:'recurringOptions')
|
|
113
|
-
self.recurring_options = attributes[:'recurringOptions']
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if attributes.has_key?(:'transactionReason')
|
|
117
|
-
self.transaction_reason = attributes[:'transactionReason']
|
|
118
|
-
end
|
|
119
60
|
end
|
|
120
61
|
|
|
121
62
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
122
63
|
# @return Array for valid properties with the reasons
|
|
123
64
|
def list_invalid_properties
|
|
124
65
|
invalid_properties = Array.new
|
|
125
|
-
if
|
|
126
|
-
invalid_properties.push('invalid value for "
|
|
127
|
-
end
|
|
66
|
+
#if !@business_application_id.nil? && @business_application_id !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
|
67
|
+
#invalid_properties.push('invalid value for "business_application_id", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
|
|
68
|
+
#end
|
|
128
69
|
|
|
129
70
|
invalid_properties
|
|
130
71
|
end
|
|
@@ -132,48 +73,18 @@ module CyberSource
|
|
|
132
73
|
# Check to see if the all the properties in the model are valid
|
|
133
74
|
# @return true if the model is valid
|
|
134
75
|
def valid?
|
|
135
|
-
return false if
|
|
76
|
+
#return false if !@business_application_id.nil? && @business_application_id !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
|
136
77
|
true
|
|
137
78
|
end
|
|
138
79
|
|
|
139
80
|
# Custom attribute writer method with validation
|
|
140
81
|
# @param [Object] business_application_id Value to be assigned
|
|
141
82
|
def business_application_id=(business_application_id)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
# Custom attribute writer method with validation
|
|
146
|
-
# @param [Object] commerce_indicator Value to be assigned
|
|
147
|
-
def commerce_indicator=(commerce_indicator)
|
|
148
|
-
if commerce_indicator.nil?
|
|
149
|
-
fail ArgumentError, 'commerce_indicator cannot be nil'
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
@commerce_indicator = commerce_indicator
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
# Custom attribute writer method with validation
|
|
156
|
-
# @param [Object] network_routing_order Value to be assigned
|
|
157
|
-
def network_routing_order=(network_routing_order)
|
|
158
|
-
@network_routing_order = network_routing_order
|
|
159
|
-
end
|
|
83
|
+
#if !business_application_id.nil? && business_application_id !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
|
84
|
+
#fail ArgumentError, 'invalid value for "business_application_id", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
|
|
85
|
+
#end
|
|
160
86
|
|
|
161
|
-
|
|
162
|
-
# @param [Object] purpose_of_payment Value to be assigned
|
|
163
|
-
def purpose_of_payment=(purpose_of_payment)
|
|
164
|
-
@purpose_of_payment = purpose_of_payment
|
|
165
|
-
end
|
|
166
|
-
|
|
167
|
-
# Custom attribute writer method with validation
|
|
168
|
-
# @param [Object] reconciliation_id Value to be assigned
|
|
169
|
-
def reconciliation_id=(reconciliation_id)
|
|
170
|
-
@reconciliation_id = reconciliation_id
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
# Custom attribute writer method with validation
|
|
174
|
-
# @param [Object] transaction_reason Value to be assigned
|
|
175
|
-
def transaction_reason=(transaction_reason)
|
|
176
|
-
@transaction_reason = transaction_reason
|
|
87
|
+
@business_application_id = business_application_id
|
|
177
88
|
end
|
|
178
89
|
|
|
179
90
|
# Checks equality by comparing each attribute.
|
|
@@ -182,13 +93,7 @@ module CyberSource
|
|
|
182
93
|
return true if self.equal?(o)
|
|
183
94
|
self.class == o.class &&
|
|
184
95
|
business_application_id == o.business_application_id &&
|
|
185
|
-
|
|
186
|
-
network_routing_order == o.network_routing_order &&
|
|
187
|
-
payouts_options == o.payouts_options &&
|
|
188
|
-
purpose_of_payment == o.purpose_of_payment &&
|
|
189
|
-
reconciliation_id == o.reconciliation_id &&
|
|
190
|
-
recurring_options == o.recurring_options &&
|
|
191
|
-
transaction_reason == o.transaction_reason
|
|
96
|
+
payouts_options == o.payouts_options
|
|
192
97
|
end
|
|
193
98
|
|
|
194
99
|
# @see the `==` method
|
|
@@ -200,7 +105,7 @@ module CyberSource
|
|
|
200
105
|
# Calculates hash code according to all attributes.
|
|
201
106
|
# @return [Fixnum] Hash code
|
|
202
107
|
def hash
|
|
203
|
-
[business_application_id,
|
|
108
|
+
[business_application_id, payouts_options].hash
|
|
204
109
|
end
|
|
205
110
|
|
|
206
111
|
# Builds the object from hash
|