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
@@ -16,19 +16,19 @@ module CyberSource
|
|
16
16
|
# Three-digit value that indicates the card type. IMPORTANT It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value 001 for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard.
|
17
17
|
attr_accessor :type
|
18
18
|
|
19
|
-
# 3-digit value that indicates the card Cvv2Value. Values can be 0-9.
|
19
|
+
# 3-digit value that indicates the card Cvv2Value. Values can be 0-9.
|
20
20
|
attr_accessor :security_code
|
21
21
|
|
22
|
-
# Flag that specifies the type of account associated with the card. The cardholder provides this information during the payment process.
|
22
|
+
# Flag that specifies the type of account associated with the card. The cardholder provides this information during the payment process.
|
23
23
|
attr_accessor :source_account_type
|
24
24
|
|
25
|
-
# The customer's payment card number, also known as the Primary Account Number (PAN).
|
25
|
+
# The customer's payment card number, also known as the Primary Account Number (PAN).
|
26
26
|
attr_accessor :number
|
27
27
|
|
28
|
-
# Two-digit month in which the payment card expires. Format: MM. Valid values: 01 through 12. Leading 0 is required.
|
28
|
+
# Two-digit month in which the payment card expires. Format: MM. Valid values: 01 through 12. Leading 0 is required.
|
29
29
|
attr_accessor :expiration_month
|
30
30
|
|
31
|
-
# Four-digit year in which the payment card expires.
|
31
|
+
# Four-digit year in which the payment card expires.
|
32
32
|
attr_accessor :expiration_year
|
33
33
|
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -104,24 +104,52 @@ module CyberSource
|
|
104
104
|
# @return Array for valid properties with the reasons
|
105
105
|
def list_invalid_properties
|
106
106
|
invalid_properties = Array.new
|
107
|
+
#if !@type.nil? && @type !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
108
|
+
#invalid_properties.push('invalid value for "type", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
|
109
|
+
#end
|
110
|
+
|
111
|
+
#if !@security_code.nil? && @security_code !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
112
|
+
#invalid_properties.push('invalid value for "security_code", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
|
113
|
+
#end
|
114
|
+
|
115
|
+
#if !@expiration_month.nil? && @expiration_month !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
116
|
+
#invalid_properties.push('invalid value for "expiration_month", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
|
117
|
+
#end
|
118
|
+
|
119
|
+
#if !@expiration_year.nil? && @expiration_year !~ Regexp.new(/^(\\s{0,4}|.{4})$/)
|
120
|
+
#invalid_properties.push('invalid value for "expiration_year", must conform to the pattern /^(\\s{0,4}|.{4})$/.')
|
121
|
+
#end
|
122
|
+
|
107
123
|
invalid_properties
|
108
124
|
end
|
109
125
|
|
110
126
|
# Check to see if the all the properties in the model are valid
|
111
127
|
# @return true if the model is valid
|
112
128
|
def valid?
|
129
|
+
#return false if !@type.nil? && @type !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
130
|
+
#return false if !@security_code.nil? && @security_code !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
131
|
+
#return false if !@expiration_month.nil? && @expiration_month !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
132
|
+
#return false if !@expiration_year.nil? && @expiration_year !~ Regexp.new(/^(\\s{0,4}|.{4})$/)
|
113
133
|
true
|
114
134
|
end
|
115
135
|
|
116
136
|
# Custom attribute writer method with validation
|
117
137
|
# @param [Object] type Value to be assigned
|
118
138
|
def type=(type)
|
139
|
+
#if !type.nil? && type !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
140
|
+
#fail ArgumentError, 'invalid value for "type", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
|
141
|
+
#end
|
142
|
+
|
119
143
|
@type = type
|
120
144
|
end
|
121
145
|
|
122
146
|
# Custom attribute writer method with validation
|
123
147
|
# @param [Object] security_code Value to be assigned
|
124
148
|
def security_code=(security_code)
|
149
|
+
#if !security_code.nil? && security_code !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
150
|
+
#fail ArgumentError, 'invalid value for "security_code", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
|
151
|
+
#end
|
152
|
+
|
125
153
|
@security_code = security_code
|
126
154
|
end
|
127
155
|
|
@@ -140,12 +168,20 @@ module CyberSource
|
|
140
168
|
# Custom attribute writer method with validation
|
141
169
|
# @param [Object] expiration_month Value to be assigned
|
142
170
|
def expiration_month=(expiration_month)
|
171
|
+
#if !expiration_month.nil? && expiration_month !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
172
|
+
#fail ArgumentError, 'invalid value for "expiration_month", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
|
173
|
+
#end
|
174
|
+
|
143
175
|
@expiration_month = expiration_month
|
144
176
|
end
|
145
177
|
|
146
178
|
# Custom attribute writer method with validation
|
147
179
|
# @param [Object] expiration_year Value to be assigned
|
148
180
|
def expiration_year=(expiration_year)
|
181
|
+
#if !expiration_year.nil? && expiration_year !~ Regexp.new(/^(\\s{0,4}|.{4})$/)
|
182
|
+
#fail ArgumentError, 'invalid value for "expiration_year", must conform to the pattern /^(\\s{0,4}|.{4})$/.'
|
183
|
+
#end
|
184
|
+
|
149
185
|
@expiration_year = expiration_year
|
150
186
|
end
|
151
187
|
|
@@ -13,21 +13,25 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv1pushfundstransferSenderInformationPersonalIdentification
|
16
|
-
#
|
16
|
+
# Processor(35)
|
17
17
|
attr_accessor :id
|
18
18
|
|
19
19
|
# Visa Platform Connect This tag will denote whether the tax ID is a business or individual tax ID when personal ID Type contains the value of TXIN (Tax identification). The valid values are: • B (Business) • I (Individual)
|
20
20
|
attr_accessor :personal_id_type
|
21
21
|
|
22
|
-
# 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)
|
22
|
+
# 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)
|
23
23
|
attr_accessor :type
|
24
24
|
|
25
|
+
# Issuing country of the identification. The field format should be a 2 character ISO 3166-1 alpha-2 country code.
|
26
|
+
attr_accessor :issuing_country
|
27
|
+
|
25
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
29
|
def self.attribute_map
|
27
30
|
{
|
28
31
|
:'id' => :'id',
|
29
32
|
:'personal_id_type' => :'personalIdType',
|
30
|
-
:'type' => :'type'
|
33
|
+
:'type' => :'type',
|
34
|
+
:'issuing_country' => :'issuingCountry'
|
31
35
|
}
|
32
36
|
end
|
33
37
|
|
@@ -36,7 +40,8 @@ module CyberSource
|
|
36
40
|
{
|
37
41
|
:'id' => :'id',
|
38
42
|
:'personal_id_type' => :'personal_id_type',
|
39
|
-
:'type' => :'type'
|
43
|
+
:'type' => :'type',
|
44
|
+
:'issuing_country' => :'issuing_country'
|
40
45
|
}
|
41
46
|
end
|
42
47
|
|
@@ -45,7 +50,8 @@ module CyberSource
|
|
45
50
|
{
|
46
51
|
:'id' => :'String',
|
47
52
|
:'personal_id_type' => :'String',
|
48
|
-
:'type' => :'String'
|
53
|
+
:'type' => :'String',
|
54
|
+
:'issuing_country' => :'String'
|
49
55
|
}
|
50
56
|
end
|
51
57
|
|
@@ -68,18 +74,27 @@ module CyberSource
|
|
68
74
|
if attributes.has_key?(:'type')
|
69
75
|
self.type = attributes[:'type']
|
70
76
|
end
|
77
|
+
|
78
|
+
if attributes.has_key?(:'issuingCountry')
|
79
|
+
self.issuing_country = attributes[:'issuingCountry']
|
80
|
+
end
|
71
81
|
end
|
72
82
|
|
73
83
|
# Show invalid properties with the reasons. Usually used together with valid?
|
74
84
|
# @return Array for valid properties with the reasons
|
75
85
|
def list_invalid_properties
|
76
86
|
invalid_properties = Array.new
|
87
|
+
#if !@issuing_country.nil? && @issuing_country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
88
|
+
#invalid_properties.push('invalid value for "issuing_country", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
|
89
|
+
#end
|
90
|
+
|
77
91
|
invalid_properties
|
78
92
|
end
|
79
93
|
|
80
94
|
# Check to see if the all the properties in the model are valid
|
81
95
|
# @return true if the model is valid
|
82
96
|
def valid?
|
97
|
+
#return false if !@issuing_country.nil? && @issuing_country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
83
98
|
true
|
84
99
|
end
|
85
100
|
|
@@ -101,6 +116,16 @@ module CyberSource
|
|
101
116
|
@type = type
|
102
117
|
end
|
103
118
|
|
119
|
+
# Custom attribute writer method with validation
|
120
|
+
# @param [Object] issuing_country Value to be assigned
|
121
|
+
def issuing_country=(issuing_country)
|
122
|
+
#if !issuing_country.nil? && issuing_country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
123
|
+
#fail ArgumentError, 'invalid value for "issuing_country", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
|
124
|
+
#end
|
125
|
+
|
126
|
+
@issuing_country = issuing_country
|
127
|
+
end
|
128
|
+
|
104
129
|
# Checks equality by comparing each attribute.
|
105
130
|
# @param [Object] Object to be compared
|
106
131
|
def ==(o)
|
@@ -108,7 +133,8 @@ module CyberSource
|
|
108
133
|
self.class == o.class &&
|
109
134
|
id == o.id &&
|
110
135
|
personal_id_type == o.personal_id_type &&
|
111
|
-
type == o.type
|
136
|
+
type == o.type &&
|
137
|
+
issuing_country == o.issuing_country
|
112
138
|
end
|
113
139
|
|
114
140
|
# @see the `==` method
|
@@ -120,7 +146,7 @@ module CyberSource
|
|
120
146
|
# Calculates hash code according to all attributes.
|
121
147
|
# @return [Fixnum] Hash code
|
122
148
|
def hash
|
123
|
-
[id, personal_id_type, type].hash
|
149
|
+
[id, personal_id_type, type, issuing_country].hash
|
124
150
|
end
|
125
151
|
|
126
152
|
# Builds the object from hash
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv2billingagreementsAggregatorInformation
|
16
|
-
# Your payment aggregator business name. **American Express Direct**\\ The maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters.\\ #### CyberSource through VisaNet With American Express, the maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters. The value for this field does not map to the TC 33 capture file5. **FDC Compass**\\ This value must consist of uppercase characters.
|
16
|
+
# Your payment aggregator business name. **American Express Direct**\\ The maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters.\\ #### CyberSource through VisaNet With American Express, the maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters. The value for this field does not map to the TC 33 capture file5. **FDC Compass**\\ This value must consist of uppercase characters.
|
17
17
|
attr_accessor :name
|
18
18
|
|
19
19
|
attr_accessor :sub_merchant
|
@@ -16,7 +16,7 @@ module CyberSource
|
|
16
16
|
# Your identifier for the customer. When a subscription or customer profile is being created, the maximum length for this field for most processors is 30. Otherwise, the maximum length is 100. #### SEPA/BACS Required for Create Mandate and Import Mandate #### Comercio Latino For recurring payments in Mexico, the value is the customer's contract number. Note Before you request the authorization, you must inform the issuer of the customer contract numbers that will be used for recurring transactions. #### Worldpay VAP For a follow-on credit with Worldpay VAP, CyberSource checks the following locations, in the order given, for a customer account ID value and uses the first value it finds: 1. `customer_account_id` value in the follow-on credit request 2. Customer account ID value that was used for the capture that is being credited 3. Customer account ID value that was used for the original authorization If a customer account ID value cannot be found in any of these locations, then no value is used. For processor-specific information, see the `customer_account_id` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
17
17
|
attr_accessor :merchant_customer_id
|
18
18
|
|
19
|
-
# Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise 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.
|
19
|
+
# Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise 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.
|
20
20
|
attr_accessor :date_of_birth
|
21
21
|
|
22
22
|
# Customer's gender. Possible values are F (female), M (male), O (other).
|
data/lib/cybersource_rest_client/models/ptsv2billingagreements_client_reference_information.rb
CHANGED
@@ -25,7 +25,7 @@ module CyberSource
|
|
25
25
|
# Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests.
|
26
26
|
attr_accessor :transaction_id
|
27
27
|
|
28
|
-
#
|
28
|
+
# Brief description of the order or any comment you wish to add to the order.
|
29
29
|
attr_accessor :comments
|
30
30
|
|
31
31
|
attr_accessor :partner
|
@@ -37,7 +37,7 @@ module CyberSource
|
|
37
37
|
# Customer's neighborhood, community, or region within the city or municipality. #### SEPA/BACS When you include this field in a request, the value for this field must be the same as the value for the billTo_state field.
|
38
38
|
attr_accessor :district
|
39
39
|
|
40
|
-
# Customer's email address, including the full domain name. #### CyberSource through VisaNet Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
40
|
+
# Customer's email address, including the full domain name. #### CyberSource through VisaNet Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Invoicing Email address for the customer for sending the invoice. If the invoice is in SENT status and email is updated, the old email customer payment link won't work and you must resend the invoice with the new payment link. #### Chase Paymentech Solutions Optional field. #### Credit Mutuel-CIC Optional field. #### OmniPay Direct Optional field. #### SIX Optional field. #### TSYS Acquiring Solutions Required when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`. #### Worldpay VAP Optional field. #### All other processors Not used.
|
41
41
|
attr_accessor :email
|
42
42
|
|
43
43
|
# Customer's first name. This name must be the same as the name on the card. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### SEPA Required for Create Mandate and Import Mandate #### BACS Required for Import Mandate #### CyberSource Latin American Processing **Important** For an authorization request, CyberSource Latin American Processing concatenates `orderInformation.billTo.firstName` and `orderInformation.billTo.lastName`. If the concatenated value exceeds 30 characters, CyberSource Latin American Processing declines the authorization request.\\ **Note** CyberSource Latin American Processing is the name of a specific processing connection that CyberSource supports. In the CyberSource API documentation, CyberSource Latin American Processing does not refer to the general topic of processing in Latin America. The information in this field description is for the specific processing connection called _CyberSource Latin American Processing_. It is not for any other Latin American processors that CyberSource supports. #### CyberSource through VisaNet Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. #### For Payouts: This field may be sent only for FDC Compass. #### Chase Paymentech Solutions Optional field. #### Credit Mutuel-CIC Optional field. #### OmniPay Direct Optional field. #### SIX Optional field. #### TSYS Acquiring Solutions Required when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`. #### Worldpay VAP Optional field. #### All other processors Not used.
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv2billingagreementsidBuyerInformation
|
16
|
-
# Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise 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.
|
16
|
+
# Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise 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.
|
17
17
|
attr_accessor :date_of_birth
|
18
18
|
|
19
19
|
# Customer's gender. Possible values are F (female), M (male), O (other).
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv2creditsProcessingInformation
|
16
|
-
# Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. The list of valid values in this field depends on your processor.
|
16
|
+
# Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. The list of valid values in this field depends on your processor. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value #### Card Present You must set this field to `retail`. This field is required for a card-present transaction. Note that this should ONLY be used when the cardholder and card are present at the time of the transaction. For all keyed transactions originated from a POS terminal where the cardholder and card are not present, commerceIndicator should be submitted as \"moto\"
|
17
17
|
attr_accessor :commerce_indicator
|
18
18
|
|
19
19
|
# Value that identifies the processor/acquirer to use for the transaction. This value is supported only for **CyberSource through VisaNet**. Contact CyberSource Customer Support to get the value for this field.
|
@@ -25,10 +25,10 @@ module CyberSource
|
|
25
25
|
# 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).
|
26
26
|
attr_accessor :reconciliation_id
|
27
27
|
|
28
|
-
# Value that links the current authorization request to the original authorization request. Set this value to the ID that was returned in the reply message from the original authorization request. This value is used for: - Partial authorizations - Split shipments
|
28
|
+
# Value that links the current authorization request to the original authorization request. Set this value to the ID that was returned in the reply message from the original authorization request. This value is used for: - Partial authorizations - Split shipments
|
29
29
|
attr_accessor :link_id
|
30
30
|
|
31
|
-
# Attribute that lets you define custom grouping for your processor reports. This field is supported only for **Worldpay VAP**.
|
31
|
+
# Attribute that lets you define custom grouping for your processor reports. This field is supported only for **Worldpay VAP**.
|
32
32
|
attr_accessor :report_group
|
33
33
|
|
34
34
|
# Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field.
|
data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb
CHANGED
@@ -16,7 +16,7 @@ module CyberSource
|
|
16
16
|
# Payment related information. This information is included on the customer's statement.
|
17
17
|
attr_accessor :customer_memo
|
18
18
|
|
19
|
-
# Specifies the authorization method for the transaction. #### TeleCheck Accepts only the following values: - `ARC`: account receivable conversion - `CCD`: corporate cash disbursement - `POP`: point of purchase conversion - `PPD`: prearranged payment and deposit entry - `TEL`: telephone-initiated entry - `WEB`: internet-initiated entry
|
19
|
+
# Specifies the authorization method for the transaction. #### TeleCheck Accepts only the following values: - `ARC`: account receivable conversion - `CCD`: corporate cash disbursement - `POP`: point of purchase conversion - `PPD`: prearranged payment and deposit entry - `TEL`: telephone-initiated entry - `WEB`: internet-initiated entry
|
20
20
|
attr_accessor :sec_code
|
21
21
|
|
22
22
|
# City in which the terminal is located. If more than four alphanumeric characters are submitted, the transaction will be declined. You cannot include any special characters.
|
@@ -28,10 +28,10 @@ module CyberSource
|
|
28
28
|
# Effective date for the transaction. The effective date must be within 45 days of the current day. If you do not include this value, CyberSource sets the effective date to the next business day. Format: `MMDDYYYY` Supported only for the CyberSource ACH Service.
|
29
29
|
attr_accessor :effective_date
|
30
30
|
|
31
|
-
# Identifier for a partial payment or partial credit. The value for each debit request or credit request must be unique within the scope of the order.
|
31
|
+
# Identifier for a partial payment or partial credit. The value for each debit request or credit request must be unique within the scope of the order.
|
32
32
|
attr_accessor :partial_payment_id
|
33
33
|
|
34
|
-
# Method used for settlement. Possible values: - `A`: Automated Clearing House (default for credits and for transactions using Canadian dollars) - `F`: Facsimile draft (U.S. dollars only) - `B`: Best possible (U.S. dollars only) (default if the field has not already been configured for your merchant ID)
|
34
|
+
# Method used for settlement. Possible values: - `A`: Automated Clearing House (default for credits and for transactions using Canadian dollars) - `F`: Facsimile draft (U.S. dollars only) - `B`: Best possible (U.S. dollars only) (default if the field has not already been configured for your merchant ID)
|
35
35
|
attr_accessor :settlement_method
|
36
36
|
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv2paymentreferencesBuyerInformation
|
16
|
-
# Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise 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.
|
16
|
+
# Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise 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.
|
17
17
|
attr_accessor :date_of_birth
|
18
18
|
|
19
19
|
# Customer's gender. Possible values are F (female), M (male),O (other).
|
data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_amount_details.rb
CHANGED
@@ -13,10 +13,10 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv2paymentreferencesOrderInformationAmountDetails
|
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
|
# Total discount amount applied to the order.
|
@@ -28,7 +28,7 @@ module CyberSource
|
|
28
28
|
# Total charges for any import or export duties included in the order.
|
29
29
|
attr_accessor :duty_amount
|
30
30
|
|
31
|
-
# Exchange rate returned by the DCC service. Includes a decimal point and a maximum of 4 decimal places.
|
31
|
+
# Exchange rate returned by the DCC service. Includes a decimal point and a maximum of 4 decimal places.
|
32
32
|
attr_accessor :exchange_rate
|
33
33
|
|
34
34
|
# Time stamp for the exchange rate. This value is returned by the DCC service. Format: `YYYYMMDD~HH:MM` where ~ denotes a space.
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv2paymentreferencesPaymentInformationBank
|
16
|
-
# Bank's SWIFT code. You can use this field only when scoring a direct debit transaction. Required only for crossborder transactions.
|
16
|
+
# Bank's SWIFT code. You can use this field only when scoring a direct debit transaction. Required only for crossborder transactions.
|
17
17
|
attr_accessor :swift_code
|
18
18
|
|
19
19
|
attr_accessor :account
|
data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank_account.rb
CHANGED
@@ -16,7 +16,7 @@ module CyberSource
|
|
16
16
|
# Account number. When processing encoded account numbers, use this field for the encoded account number.
|
17
17
|
attr_accessor :number
|
18
18
|
|
19
|
-
# International Bank Account Number (IBAN) for the bank account. For some countries you can provide this number instead of the traditional bank account information. You can use this field only when scoring a direct debit transaction.
|
19
|
+
# International Bank Account Number (IBAN) for the bank account. For some countries you can provide this number instead of the traditional bank account information. You can use this field only when scoring a direct debit transaction.
|
20
20
|
attr_accessor :iban
|
21
21
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -28,7 +28,7 @@ module CyberSource
|
|
28
28
|
# Card Verification Number. #### FDMS Nashville Required for American Express or if swiped; otherwise, optional. #### Ingenico ePayments Do not include this field when `commerceIndicator=recurring`. **Note** Ingenico ePayments was previously called _Global Collect_. #### TSYS Acquiring Solutions Optional if pointOfSaleInformation.entryMode=keyed; otherwise, not used. #### GPX Optional. #### All other processors: Optional.
|
29
29
|
attr_accessor :security_code
|
30
30
|
|
31
|
-
# Flag that specifies the type of account associated with the card.
|
31
|
+
# Flag that specifies the type of account associated with the card. This field is available only for China UnionPay, Cielo, Comercio Latino and Visa Platform Connect. The cardholder provides this information during the payment process. This field is required for: - Debit transactions on Cielo and Comercio Latino. - Transactions with Brazilian-issued cards on CyberSource through VisaNet. **China UnionPayCard Transactions on China UnionPay:** Possible values: - C: Domestic credit card - D: Domestic debit card - F: International credit card - I: International debit card When the value is D, the e-commerce indicator and CAVV fields must be included in the authorization request. When the value is C, F or I the card verification number, expiration month and expiration year fields must in included in the authorization request. **Cielo and Comercio Latino Credit Card Transactions:** On these processors, this field is supported only for authorizations. Possible values: - CR: Credit card - DB: Debit card **Visa Platform Connect Credit Card Transactions:** This field is supported for all card types on Visa Platform Connect. For combo **card present** transactions with Mastercard on Brazilian-issued cards, possible values: - CR: Credit card - DB: Debit Card For combo **card not present** transactions with Mastercard on Brazilian-issued cards, possible values: - C: Credit card - D: Debit card A value of CR or DB in the useAs field takes precedence over any value in the Source Account Type field.
|
32
32
|
attr_accessor :use_as
|
33
33
|
|
34
34
|
# 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 Ptsv2paymentsAggregatorInformation
|
16
|
-
# Value that identifies you as a payment aggregator. Get this value from the processor. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR6 - Position: 95-105 - Field: Payment Facilitator ID This field is supported for Visa, Mastercard and Discover Transactions. **FDC Compass**\\ This value must consist of uppercase characters.
|
16
|
+
# Value that identifies you as a payment aggregator. Get this value from the processor. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR6 - Position: 95-105 - Field: Payment Facilitator ID This field is supported for Visa, Mastercard and Discover Transactions. **FDC Compass**\\ This value must consist of uppercase characters.
|
17
17
|
attr_accessor :aggregator_id
|
18
18
|
|
19
|
-
# Your payment aggregator business name. **American Express Direct**\\ The maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters.\\ #### CyberSource through VisaNet With American Express, the maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters. The value for this field does not map to the TC 33 capture file5. **FDC Compass**\\ This value must consist of uppercase characters.
|
19
|
+
# Your payment aggregator business name. **American Express Direct**\\ The maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters.\\ #### CyberSource through VisaNet With American Express, the maximum length of the aggregator name depends on the length of the sub-merchant name. The combined length for both values must not exceed 36 characters. The value for this field does not map to the TC 33 capture file5. **FDC Compass**\\ This value must consist of uppercase characters.
|
20
20
|
attr_accessor :name
|
21
21
|
|
22
22
|
attr_accessor :sub_merchant
|
@@ -13,13 +13,13 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv2paymentsBuyerInformation
|
16
|
-
# Your identifier for the customer. When a subscription or customer profile is being created, the maximum length for this field for most processors is 30. Otherwise, the maximum length is 100. #### Comercio Latino For recurring payments in Mexico, the value is the customer's contract number. Note Before you request the authorization, you must inform the issuer of the customer contract numbers that will be used for recurring transactions. #### Worldpay VAP For a follow-on credit with Worldpay VAP, CyberSource checks the following locations, in the order given, for a customer account ID value and uses the first value it finds: 1. `customer_account_id` value in the follow-on credit request 2. Customer account ID value that was used for the capture that is being credited 3. Customer account ID value that was used for the original authorization If a customer account ID value cannot be found in any of these locations, then no value is used.
|
16
|
+
# Your identifier for the customer. When a subscription or customer profile is being created, the maximum length for this field for most processors is 30. Otherwise, the maximum length is 100. #### Comercio Latino For recurring payments in Mexico, the value is the customer's contract number. Note Before you request the authorization, you must inform the issuer of the customer contract numbers that will be used for recurring transactions. #### Worldpay VAP For a follow-on credit with Worldpay VAP, CyberSource checks the following locations, in the order given, for a customer account ID value and uses the first value it finds: 1. `customer_account_id` value in the follow-on credit request 2. Customer account ID value that was used for the capture that is being credited 3. Customer account ID value that was used for the original authorization If a customer account ID value cannot be found in any of these locations, then no value is used.
|
17
17
|
attr_accessor :merchant_customer_id
|
18
18
|
|
19
|
-
# Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise 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.
|
19
|
+
# Recipient's date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise 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.
|
20
20
|
attr_accessor :date_of_birth
|
21
21
|
|
22
|
-
# Customer's government-assigned tax identification number. #### Tax Calculation Optional for international and value added taxes only. Not applicable to U.S. and Canadian taxes.
|
22
|
+
# Customer's government-assigned tax identification number. #### Tax Calculation Optional for international and value added taxes only. Not applicable to U.S. and Canadian taxes.
|
23
23
|
attr_accessor :vat_registration_number
|
24
24
|
|
25
25
|
# Company's tax identifier. This is only used for eCheck service. ** TeleCheck ** Contact your TeleCheck representative to find out whether this field is required or optional. ** All Other Processors ** Not used.
|
@@ -27,7 +27,7 @@ module CyberSource
|
|
27
27
|
|
28
28
|
attr_accessor :personal_identification
|
29
29
|
|
30
|
-
# The merchant's password that CyberSource hashes and stores as a hashed password.
|
30
|
+
# The merchant's password that CyberSource hashes and stores as a hashed password.
|
31
31
|
attr_accessor :hashed_password
|
32
32
|
|
33
33
|
# Customer's gender. Possible values are F (female), M (male),O (other).
|
data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb
CHANGED
@@ -13,13 +13,13 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv2paymentsBuyerInformationPersonalIdentification
|
16
|
-
# The type of the identification. Possible values: - `NATIONAL` - `CPF` - `CPNJ` - `CURP` - `SSN` - `DRIVER_LICENSE` - `PASSPORT_NUMBER` - `PERSONAL_ID` - `TAX_ID` This field is supported only on the following processors. #### ComercioLatino Set this field to the Cadastro de Pessoas Fisicas (CPF). #### CyberSource Latin American Processing Supported for Redecard in Brazil. Set this field to the Cadastro de Pessoas Fisicas (CPF), which is required for AVS for Redecard in Brazil. **Note** CyberSource Latin American Processing is the name of a specific processing connection that CyberSource supports. In the CyberSource API documentation, CyberSource Latin American Processing does not refer to the general topic of processing in Latin America. The information in this field description is for the specific processing connection called CyberSource Latin American Processing. It is not for any other Latin American processors that CyberSource supports.
|
16
|
+
# The type of the identification. Possible values: - `NATIONAL` - `CPF` - `CPNJ` - `CURP` - `SSN` - `DRIVER_LICENSE` - `PASSPORT_NUMBER` - `PERSONAL_ID` - `TAX_ID` This field is supported only on the following processors. #### ComercioLatino Set this field to the Cadastro de Pessoas Fisicas (CPF). #### CyberSource Latin American Processing Supported for Redecard in Brazil. Set this field to the Cadastro de Pessoas Fisicas (CPF), which is required for AVS for Redecard in Brazil. **Note** CyberSource Latin American Processing is the name of a specific processing connection that CyberSource supports. In the CyberSource API documentation, CyberSource Latin American Processing does not refer to the general topic of processing in Latin America. The information in this field description is for the specific processing connection called CyberSource Latin American Processing. It is not for any other Latin American processors that CyberSource supports.
|
17
17
|
attr_accessor :type
|
18
18
|
|
19
|
-
# The value of the identification type. This field is supported only on the following processors. #### ComercioLatino Set this field to the Cadastro de Pessoas Fisicas (CPF). #### CyberSource Latin American Processing Supported for Redecard in Brazil. Set this field to the Cadastro de Pessoas Fisicas (CPF), which is required for AVS for Redecard in Brazil. **Note** CyberSource Latin American Processing is the name of a specific processing connection that CyberSource supports. In the CyberSource API documentation, CyberSource Latin American Processing does not refer to the general topic of processing in Latin America. The information in this field description is for the specific processing connection called CyberSource Latin American Processing. It is not for any other Latin American processors that CyberSource supports.
|
19
|
+
# The value of the identification type. This field is supported only on the following processors. #### ComercioLatino Set this field to the Cadastro de Pessoas Fisicas (CPF). #### CyberSource Latin American Processing Supported for Redecard in Brazil. Set this field to the Cadastro de Pessoas Fisicas (CPF), which is required for AVS for Redecard in Brazil. **Note** CyberSource Latin American Processing is the name of a specific processing connection that CyberSource supports. In the CyberSource API documentation, CyberSource Latin American Processing does not refer to the general topic of processing in Latin America. The information in this field description is for the specific processing connection called CyberSource Latin American Processing. It is not for any other Latin American processors that CyberSource supports. If `type = PASSPORT`, this is the cardholder's passport number. Recommended for Discover ProtectBuy.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# The government agency that issued the driver's license or passport. If **type**` = DRIVER_LICENSE`, this is the State or province where the customer's driver's license was issued. If **type**` = PASSPORT`, this is the Issuing country for the cardholder's passport. Recommended for Discover ProtectBuy. Use the two-character [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf). #### TeleCheck Contact your TeleCheck representative to find out whether this field is required or optional. #### All Other Processors Not used.
|
22
|
+
# The government agency that issued the driver's license or passport. If **type**` = DRIVER_LICENSE`, this is the State or province where the customer's driver's license was issued. If **type**` = PASSPORT`, this is the Issuing country for the cardholder's passport. Recommended for Discover ProtectBuy. Use the two-character [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf). #### TeleCheck Contact your TeleCheck representative to find out whether this field is required or optional. #### All Other Processors Not used.
|
23
23
|
attr_accessor :issued_by
|
24
24
|
|
25
25
|
# Verification results received from Issuer or Card Network for verification transactions. Response Only Field.
|
@@ -25,7 +25,7 @@ module CyberSource
|
|
25
25
|
# Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests.
|
26
26
|
attr_accessor :transaction_id
|
27
27
|
|
28
|
-
#
|
28
|
+
# Brief description of the order or any comment you wish to add to the order.
|
29
29
|
attr_accessor :comments
|
30
30
|
|
31
31
|
attr_accessor :partner
|
data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb
CHANGED
@@ -22,22 +22,22 @@ module CyberSource
|
|
22
22
|
# Algorithm used to generate the CAVV for Visa Secure or the UCAF authentication data for Mastercard Identity Check.
|
23
23
|
attr_accessor :cavv_algorithm
|
24
24
|
|
25
|
-
# Raw electronic commerce indicator (ECI).
|
25
|
+
# Raw electronic commerce indicator (ECI).
|
26
26
|
attr_accessor :eci_raw
|
27
27
|
|
28
|
-
# Payer authentication response status.
|
28
|
+
# Payer authentication response status.
|
29
29
|
attr_accessor :pares_status
|
30
30
|
|
31
|
-
# Verification response enrollment status.
|
31
|
+
# Verification response enrollment status.
|
32
32
|
attr_accessor :veres_enrolled
|
33
33
|
|
34
|
-
# Transaction identifier.
|
34
|
+
# Transaction identifier.
|
35
35
|
attr_accessor :xid
|
36
36
|
|
37
|
-
# Universal cardholder authentication field (UCAF) collection indicator.
|
37
|
+
# Universal cardholder authentication field (UCAF) collection indicator. #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR7 - Position: 5 - Field: Mastercard Electronic Commerce Indicators—UCAF Collection Indicator
|
38
38
|
attr_accessor :ucaf_collection_indicator
|
39
39
|
|
40
|
-
# Universal cardholder authentication field (UCAF) data.
|
40
|
+
# Universal cardholder authentication field (UCAF) data.
|
41
41
|
attr_accessor :ucaf_authentication_data
|
42
42
|
|
43
43
|
attr_accessor :strong_authentication
|
@@ -78,7 +78,7 @@ module CyberSource
|
|
78
78
|
# An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK
|
79
79
|
attr_accessor :challenge_cancel_code
|
80
80
|
|
81
|
-
# Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`.
|
81
|
+
# Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`.
|
82
82
|
attr_accessor :challenge_code
|
83
83
|
|
84
84
|
# The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used.
|