cybersource_rest_client 0.0.22 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +5 -1
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +11 -2
- data/lib/AuthenticationSDK/util/Constants.rb +2 -0
- data/lib/cybersource_rest_client.rb +191 -126
- data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +219 -0
- data/lib/cybersource_rest_client/api/customer_api.rb +360 -0
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +518 -0
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +518 -0
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +15 -15
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +1 -1
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +1 -1
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +247 -169
- data/lib/cybersource_rest_client/api/key_generation_api.rb +10 -6
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +1 -1
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +65 -0
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +1 -1
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +133 -136
- data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +45 -0
- data/lib/cybersource_rest_client/api/reversal_api.rb +4 -4
- data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +219 -0
- data/lib/cybersource_rest_client/api/taxes_api.rb +160 -0
- data/lib/cybersource_rest_client/api/user_management_api.rb +4 -4
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +89 -0
- data/lib/cybersource_rest_client/api/void_api.rb +8 -8
- data/lib/cybersource_rest_client/api_client.rb +37 -24
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +14 -5
- data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +0 -36
- data/lib/cybersource_rest_client/models/{create_decision_manager_case_request.rb → create_bundled_decision_manager_case_request.rb} +50 -14
- data/lib/cybersource_rest_client/models/create_credit_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_p12_keys_request.rb +194 -0
- data/lib/cybersource_rest_client/models/create_payment_request.rb +10 -1
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -36
- data/lib/cybersource_rest_client/models/create_search_request.rb +7 -7
- data/lib/cybersource_rest_client/models/create_shared_secret_keys_request.rb +194 -0
- data/lib/cybersource_rest_client/models/delete_bulk_p12_keys_request.rb +194 -0
- data/lib/cybersource_rest_client/models/delete_bulk_symmetric_keys_request.rb +194 -0
- data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +13 -4
- data/lib/cybersource_rest_client/models/inline_response_400.rb +9 -26
- data/lib/cybersource_rest_client/models/inline_response_400_2.rb +214 -0
- data/lib/cybersource_rest_client/models/{detail.rb → inline_response_400_details.rb} +3 -3
- data/lib/cybersource_rest_client/models/{error_field_bean.rb → inline_response_400_errors.rb} +18 -18
- data/lib/cybersource_rest_client/models/invoice_settings_request.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +51 -30
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information_header_style.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +1 -10
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +2 -20
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get404_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get502_response.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +2 -11
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_invoice_history.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +1 -10
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +2 -11
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +4 -40
- 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 +289 -0
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +1 -19
- data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +3 -30
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +1 -19
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +4 -31
- data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/{links.rb → kms_v2_keys_asym_deletes_post200_response.rb} +22 -23
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +234 -0
- data/lib/cybersource_rest_client/models/{der_public_key.rb → kms_v2_keys_asym_get200_response.rb} +15 -27
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +254 -0
- data/lib/cybersource_rest_client/models/{card_info.rb → kms_v2_keys_asym_post201_response.rb} +41 -40
- data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_certificate_information.rb +214 -0
- data/lib/cybersource_rest_client/models/{tokenize_result.rb → kms_v2_keys_asym_post201_response_key_information.rb} +65 -56
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response.rb +214 -0
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response_key_information.rb +224 -0
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response.rb +203 -0
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response_key_information.rb +234 -0
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response.rb +214 -0
- data/lib/cybersource_rest_client/models/{file_details_response.rb → kms_v2_keys_sym_post201_response_error_information.rb} +17 -16
- data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +254 -0
- data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +215 -0
- data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +209 -0
- data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +200 -0
- data/lib/cybersource_rest_client/models/{json_web_key.rb → kmsv2keyssymdeletes_key_information.rb} +34 -44
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +310 -0
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +274 -0
- data/lib/cybersource_rest_client/models/{embedded_instrument_identifier_request.rb → patch_customer_shipping_address_request.rb} +34 -33
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response.rb → patch_instrument_identifier_request.rb} +39 -20
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments.rb → patch_payment_instrument_request.rb} +44 -19
- data/lib/cybersource_rest_client/models/{update_instrument_identifier_request.rb → payer_auth_setup_request.rb} +32 -5
- data/lib/cybersource_rest_client/models/{payment_instruments_for_instrument_identifier.rb → payment_instrument_list_for_customer.rb} +9 -19
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded.rb → payment_instrument_list_for_customer__embedded.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_instrument_for_instrument_identifier_links.rb → payment_instrument_list_for_customer__links.rb} +6 -6
- data/lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_first.rb +184 -0
- data/lib/cybersource_rest_client/models/{payment_instrument_self_link.rb → payment_instrument_list_for_customer__links_last.rb} +2 -1
- data/lib/cybersource_rest_client/models/{instrument_identifier_payment_instruments_link.rb → payment_instrument_list_for_customer__links_next.rb} +2 -1
- data/lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_prev.rb +184 -0
- data/lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_self.rb +184 -0
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +310 -0
- data/lib/cybersource_rest_client/models/post_customer_request.rb +274 -0
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_instrument_identifier.rb → post_customer_shipping_address_request.rb} +34 -33
- data/lib/cybersource_rest_client/models/{embedded_instrument_identifier_response.rb → post_instrument_identifier_enrollment_request.rb} +45 -50
- data/lib/cybersource_rest_client/models/{instrument_identifier_response.rb → post_instrument_identifier_request.rb} +39 -20
- data/lib/cybersource_rest_client/models/{payment_instrument.rb → post_payment_instrument_request.rb} +44 -19
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +3 -21
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +2 -20
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +40 -4
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +3 -21
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +1 -10
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +1 -10
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +4 -40
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +16 -34
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -19
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +1 -10
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +14 -23
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links.rb +40 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +3 -21
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +2 -206
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -198
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +2 -38
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -29
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +120 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +16 -169
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb +200 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +3 -57
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +1 -19
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -28
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +8 -152
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +2 -20
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +2 -20
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +1 -10
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +0 -108
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -30
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +21 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_ip_address.rb +0 -63
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_profile.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_rules.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_actual_final_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_departure.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_last_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity_morphing.rb +2 -20
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information.rb +220 -0
- data/lib/cybersource_rest_client/models/{instrument_identifier_processing_information.rb → pts_v2_payments_post201_response_token_information_customer.rb} +15 -8
- data/lib/cybersource_rest_client/models/{key_result.rb → pts_v2_payments_post201_response_token_information_instrument_identifier.rb} +22 -24
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +190 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +190 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +3 -21
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +2 -38
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -19
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +3 -21
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +1 -10
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +2 -56
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +3 -30
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +2 -11
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +1 -10
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +2 -11
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +1 -19
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +3 -12
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -38
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -46
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +4 -112
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_purchase_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +1 -100
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +1 -46
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +2 -20
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +3 -39
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +18 -362
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +0 -54
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +1 -100
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information_raw_data.rb +0 -9
- data/lib/cybersource_rest_client/models/{instrument_identifier_update.rb → ptsv2payments_health_care_information.rb} +11 -8
- data/lib/cybersource_rest_client/models/{issuer.rb → ptsv2payments_health_care_information_amount_details.rb} +27 -29
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -90
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +2 -56
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +5 -68
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +16 -205
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +1 -46
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +10 -172
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -64
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +22 -69
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +6 -204
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +2 -74
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +8 -134
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +47 -11
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +8 -125
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +2 -29
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +190 -0
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_details.rb → ptsv2payments_payment_information_legacy_token.rb} +15 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +190 -0
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidrefunds_payment_information_payment_type.rb → ptsv2payments_payment_information_payment_type.rb} +4 -4
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidrefunds_payment_information_payment_type_method.rb → ptsv2payments_payment_information_payment_type_method.rb} +1 -1
- data/lib/cybersource_rest_client/models/{error_response.rb → ptsv2payments_payment_information_shipping_address.rb} +15 -17
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +4 -85
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +18 -162
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +5 -23
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +31 -133
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +52 -48
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +2 -20
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +2 -65
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +2 -11
- data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_profile.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +22 -13
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information_payment_instrument.rb +186 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information_shipping_address.rb +186 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +11 -11
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +813 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_tokenized_card.rb → ptsv2payments_travel_information_auto_rental_rental_address.rb} +83 -69
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +254 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +264 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +2 -353
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +25 -286
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +4 -40
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +2 -20
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +19 -163
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +2 -65
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +2 -29
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +1 -82
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +1 -28
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -207
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -28
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +15 -177
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +10 -100
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -30
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +2 -11
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +2 -65
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +3 -30
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -28
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +6 -150
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +38 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +5 -86
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +2 -65
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +2 -29
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +2 -11
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -46
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -20
- data/lib/cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +5 -32
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -20
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +1 -10
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +9 -90
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +4 -40
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +2 -128
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +0 -27
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +0 -9
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +0 -9
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +5 -24
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +0 -18
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +1 -46
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +0 -90
- data/lib/cybersource_rest_client/models/{response_status.rb → risk_v1_address_verifications_post201_response_error_information.rb} +5 -25
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +6 -25
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +2 -107
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +246 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +216 -0
- data/lib/cybersource_rest_client/models/{response_status_details.rb → risk_v1_authentication_setups_post201_response_error_information.rb} +24 -13
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +8 -27
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb +4 -4
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response_1.rb +225 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +32 -14
- data/lib/cybersource_rest_client/models/{riskv1addressverifications_client_reference_information.rb → risk_v1_decisions_post201_response_client_reference_information.rb} +16 -34
- data/lib/cybersource_rest_client/models/{risk_v1_authentications_post201_response_consumer_authentication_information.rb → risk_v1_decisions_post201_response_consumer_authentication_information.rb} +14 -190
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/{risk_v1_authentications_post201_response_order_information.rb → risk_v1_decisions_post201_response_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +190 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +0 -45
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response.rb +3 -3
- data/lib/cybersource_rest_client/models/{error_bean.rb → risk_v1_decisions_post400_response_1.rb} +34 -56
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +5 -24
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +3 -12
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +6 -78
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +5 -50
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +7 -79
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +11 -46
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +3 -21
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +4 -40
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +1 -82
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +2 -20
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +10 -100
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +5 -59
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +4 -40
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information.rb +2 -2
- data/lib/cybersource_rest_client/models/{instrument_identifier_enrollable_card.rb → riskv1authenticationsetups_payment_information.rb} +24 -25
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +259 -0
- data/lib/cybersource_rest_client/models/{file_bean.rb → riskv1authenticationsetups_payment_information_customer.rb} +15 -27
- data/lib/cybersource_rest_client/models/{riskv1authentications_payment_information_fluid_data.rb → riskv1authenticationsetups_payment_information_fluid_data.rb} +3 -30
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +289 -0
- data/lib/cybersource_rest_client/models/{riskv1authentications_processing_information.rb → riskv1authenticationsetups_processing_information.rb} +2 -20
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb +184 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +20 -20
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information_partner.rb +206 -0
- data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information.rb → riskv1decisions_consumer_authentication_information.rb} +20 -265
- data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information_strong_authentication.rb → riskv1decisions_consumer_authentication_information_strong_authentication.rb} +1 -10
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +163 -31
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +0 -18
- data/lib/cybersource_rest_client/models/{riskv1authentications_merchant_information.rb → riskv1decisions_merchant_information.rb} +2 -11
- data/lib/cybersource_rest_client/models/{riskv1authentications_merchant_information_merchant_descriptor.rb → riskv1decisions_merchant_information_merchant_descriptor.rb} +2 -11
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +56 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +2 -20
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +10 -100
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +77 -63
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +54 -94
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +38 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +4 -40
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/{error.rb → riskv1decisions_processing_information.rb} +12 -17
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +0 -9
- data/lib/cybersource_rest_client/models/{riskv1decisions_card_verification.rb → riskv1decisions_processor_information_card_verification.rb} +1 -10
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +13 -13
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +25 -40
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +21 -38
- data/lib/cybersource_rest_client/models/{riskv1authentications_travel_information_passengers.rb → riskv1decisions_travel_information_passengers.rb} +1 -19
- data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +9 -108
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +5 -50
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +3 -30
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +10 -109
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +1 -10
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +6 -60
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +2 -20
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +0 -27
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response__links.rb → search_request.rb} +30 -26
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response.rb → shipping_address_list_for_customer.rb} +11 -20
- data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +186 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__links.rb → shipping_address_list_for_customer__links.rb} +6 -6
- data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__links_first.rb +184 -0
- data/lib/cybersource_rest_client/models/{pi_for_ii_link_self.rb → shipping_address_list_for_customer__links_last.rb} +2 -2
- data/lib/cybersource_rest_client/models/{model_409_link.rb → shipping_address_list_for_customer__links_next.rb} +2 -1
- data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__links_prev.rb +184 -0
- data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__links_self.rb +184 -0
- data/lib/cybersource_rest_client/models/tax_request.rb +219 -0
- data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +274 -0
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +193 -0
- data/lib/cybersource_rest_client/models/{authorization_options.rb → tmsv2customers__embedded_authorization_options.rb} +2 -2
- data/lib/cybersource_rest_client/models/{initiator.rb → tmsv2customers__embedded_authorization_options_initiator.rb} +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +310 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded__embedded.rb → tmsv2customers__embedded_default_payment_instrument__embedded.rb} +3 -2
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_embedded_instrument_identifier.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier.rb} +45 -50
- data/lib/cybersource_rest_client/models/{model_409_links.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links.rb} +12 -3
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links_self.rb +184 -0
- data/lib/cybersource_rest_client/models/{instrument_identifier_card.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb} +16 -24
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_bill_to.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb} +44 -7
- data/lib/cybersource_rest_client/models/{instrument_identifier_bank_account.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb} +44 -47
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb +190 -0
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_metadata.rb +184 -0
- data/lib/cybersource_rest_client/models/{payment_instruments_links.rb → tmsv2customers__embedded_default_payment_instrument__links.rb} +14 -5
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__links_self.rb +184 -0
- data/lib/cybersource_rest_client/models/{payment_instrument_bank_account.rb → tmsv2customers__embedded_default_payment_instrument_bank_account.rb} +8 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +350 -0
- data/lib/cybersource_rest_client/models/{risk_v1_authentications_post201_response_order_information_amount_details.rb → tmsv2customers__embedded_default_payment_instrument_buyer_information.rb} +42 -14
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_buyer_information_issued_by.rb → tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb} +8 -2
- data/lib/cybersource_rest_client/models/{personal_identification.rb → tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb} +10 -4
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_card.rb → tmsv2customers__embedded_default_payment_instrument_card.rb} +68 -95
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +206 -0
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +190 -0
- data/lib/cybersource_rest_client/models/{merchant_information.rb → tmsv2customers__embedded_default_payment_instrument_merchant_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_descriptor.rb → tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb} +8 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_metadata.rb +184 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_processing_information.rb → tmsv2customers__embedded_default_payment_instrument_processing_information.rb} +3 -5
- data/lib/cybersource_rest_client/models/{tokenize_parameters.rb → tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb} +15 -23
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_personal_identification.rb → tmsv2customers__embedded_default_shipping_address.rb} +40 -16
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded__links.rb → tmsv2customers__embedded_default_shipping_address__links.rb} +14 -5
- data/lib/cybersource_rest_client/models/{pi_for_ii_link_last.rb → tmsv2customers__embedded_default_shipping_address__links_customer.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pi_for_ii_link_first.rb → tmsv2customers__embedded_default_shipping_address__links_self.rb} +2 -2
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_metadata.rb → tmsv2customers__embedded_default_shipping_address_metadata.rb} +2 -2
- data/lib/cybersource_rest_client/models/{riskv1authentications_order_information_ship_to.rb → tmsv2customers__embedded_default_shipping_address_ship_to.rb} +93 -202
- data/lib/cybersource_rest_client/models/{merchant_initiated_transaction.rb → tmsv2customers__embedded_merchant_initiated_transaction.rb} +2 -11
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_payment_instruments.rb +184 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_processing_information.rb → tmsv2customers__embedded_processing_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{instrument_identifier_tokenized_card.rb → tmsv2customers__embedded_tokenized_card.rb} +33 -50
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +217 -0
- data/lib/cybersource_rest_client/models/{error_links.rb → tmsv2customers__links.rb} +15 -19
- data/lib/cybersource_rest_client/models/tmsv2customers__links_payment_instruments.rb +184 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response__links_self.rb → tmsv2customers__links_self.rb} +2 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__links_shipping_address.rb +184 -0
- data/lib/cybersource_rest_client/models/{create_instrument_identifier_request.rb → tmsv2customers_buyer_information.rb} +28 -33
- data/lib/cybersource_rest_client/models/{self_link_bean.rb → tmsv2customers_client_reference_information.rb} +15 -17
- data/lib/cybersource_rest_client/models/tmsv2customers_default_payment_instrument.rb +184 -0
- data/lib/cybersource_rest_client/models/tmsv2customers_default_shipping_address.rb +184 -0
- data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +200 -0
- data/lib/cybersource_rest_client/models/{metadata.rb → tmsv2customers_metadata.rb} +2 -2
- data/lib/cybersource_rest_client/models/{link.rb → tmsv2customers_object_information.rb} +22 -20
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +14 -32
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +2 -20
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +1 -19
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +4 -58
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +10 -136
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +1 -46
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +8 -98
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +3 -30
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +4 -76
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +19 -12
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +19 -21
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +1 -37
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +18 -42
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +0 -90
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +226 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +8 -17
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information.rb +5 -15
- data/lib/cybersource_rest_client/models/{file_detail.rb → tss_v2_transactions_post201_response__embedded_application_information_applications.rb} +48 -48
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +1 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +1 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +1 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +5 -50
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +4 -49
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +2 -11
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +3 -21
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -19
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +2 -11
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_request.rb +2 -2
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +246 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response__links_payment_instruments.rb → vas_v2_payments_post201_response__links.rb} +8 -8
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_bank_account.rb → vas_v2_payments_post201_response_order_information.rb} +65 -54
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +318 -0
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +244 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bank_account.rb → vas_v2_payments_post201_response_order_information_tax_details.rb} +28 -6
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +194 -0
- data/lib/cybersource_rest_client/models/vas_v2_payments_post400_response.rb +225 -0
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +228 -0
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +200 -0
- data/lib/cybersource_rest_client/models/vas_v2_tax_voids_post400_response.rb +225 -0
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +190 -0
- data/lib/cybersource_rest_client/models/{riskv1authentications_client_reference_information.rb → vasv2tax_client_reference_information.rb} +25 -24
- data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +190 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information.rb +248 -0
- data/lib/cybersource_rest_client/models/{buyer_information.rb → vasv2tax_order_information_bill_to.rb} +74 -82
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +190 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +402 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +239 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +239 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +286 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_buyer_information.rb → vasv2tax_order_information_shipping_details.rb} +44 -84
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +260 -0
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +209 -0
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +206 -0
- data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
- data/lib/cybersource_rest_client/models/void_tax_request.rb +183 -0
- metadata +197 -132
- data/lib/cybersource_rest_client/models/bill_to.rb +0 -467
- data/lib/cybersource_rest_client/models/create_payment_instrument_request.rb +0 -246
- data/lib/cybersource_rest_client/models/error_response_with_hal.rb +0 -174
- data/lib/cybersource_rest_client/models/existing_instrument_identifier_id.rb +0 -175
- data/lib/cybersource_rest_client/models/key_parameters.rb +0 -199
- data/lib/cybersource_rest_client/models/payment_instrument_card.rb +0 -369
- data/lib/cybersource_rest_client/models/payment_instrument_instrument_identifier_request.rb +0 -246
- data/lib/cybersource_rest_client/models/payment_instruments_array.rb +0 -175
- data/lib/cybersource_rest_client/models/personal_identification_array.rb +0 -174
- data/lib/cybersource_rest_client/models/pi_for_ii_link_next.rb +0 -184
- data/lib/cybersource_rest_client/models/pi_for_ii_link_prev.rb +0 -184
- data/lib/cybersource_rest_client/models/processing_information.rb +0 -195
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_travel_information.rb +0 -201
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +0 -259
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response.rb +0 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response__links.rb +0 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded__links_self.rb +0 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bill_to.rb +0 -467
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_card.rb +0 -369
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_first.rb +0 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_last.rb +0 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_next.rb +0 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_prev.rb +0 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_self.rb +0 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_bank_transfer_options.rb +0 -184
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_information.rb +0 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_authorization_options_initiator.rb +0 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_card.rb +0 -208
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_issuer.rb +0 -208
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_merchant_initiated_transaction.rb +0 -199
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_processing_information_authorization_options.rb +0 -183
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card_card.rb +0 -253
- data/lib/cybersource_rest_client/models/update_payment_instrument_request.rb +0 -246
@@ -22,7 +22,7 @@ module CyberSource
|
|
22
22
|
# The value for this field is a four-digit number that the payment card industry uses to classify merchants into market segments. A payment card company assigned one or more of these values to your business when you started accepting the payment card company’s cards. When you do not include this field in your request, CyberSource uses the value in your CyberSource account. For processor-specific information, see the `merchant_category_code` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR4 - Position: 150-153 - Field: Merchant Category Code
|
23
23
|
attr_accessor :category_code
|
24
24
|
|
25
|
-
# Your government-assigned tax identification number. For CtV processors, the maximum length is 20. For other processor-specific information, see the `merchant_vat_registration_number` field description in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html)
|
25
|
+
# Your government-assigned tax identification number. #### Tax Calculation Required field for value added tax only. Not applicable to U.S. and Canadian taxes. #### CyberSource through VisaNet For CtV processors, the maximum length is 20. For other processor-specific information, see the `merchant_vat_registration_number` field description in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html)
|
26
26
|
attr_accessor :vat_registration_number
|
27
27
|
|
28
28
|
attr_accessor :service_fee_descriptor
|
@@ -91,42 +91,23 @@ module CyberSource
|
|
91
91
|
# @return Array for valid properties with the reasons
|
92
92
|
def list_invalid_properties
|
93
93
|
invalid_properties = Array.new
|
94
|
-
if !@card_acceptor_reference_number.nil? && @card_acceptor_reference_number.to_s.length > 25
|
95
|
-
invalid_properties.push('invalid value for "card_acceptor_reference_number", the character length must be smaller than or equal to 25.')
|
96
|
-
end
|
97
|
-
|
98
94
|
if !@category_code.nil? && @category_code > 9999
|
99
95
|
invalid_properties.push('invalid value for "category_code", must be smaller than or equal to 9999.')
|
100
96
|
end
|
101
97
|
|
102
|
-
if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 21
|
103
|
-
invalid_properties.push('invalid value for "vat_registration_number", the character length must be smaller than or equal to 21.')
|
104
|
-
end
|
105
|
-
|
106
|
-
if !@tax_id.nil? && @tax_id.to_s.length > 15
|
107
|
-
invalid_properties.push('invalid value for "tax_id", the character length must be smaller than or equal to 15.')
|
108
|
-
end
|
109
|
-
|
110
98
|
invalid_properties
|
111
99
|
end
|
112
100
|
|
113
101
|
# Check to see if the all the properties in the model are valid
|
114
102
|
# @return true if the model is valid
|
115
103
|
def valid?
|
116
|
-
return false if !@card_acceptor_reference_number.nil? && @card_acceptor_reference_number.to_s.length > 25
|
117
104
|
return false if !@category_code.nil? && @category_code > 9999
|
118
|
-
return false if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 21
|
119
|
-
return false if !@tax_id.nil? && @tax_id.to_s.length > 15
|
120
105
|
true
|
121
106
|
end
|
122
107
|
|
123
108
|
# Custom attribute writer method with validation
|
124
109
|
# @param [Object] card_acceptor_reference_number Value to be assigned
|
125
110
|
def card_acceptor_reference_number=(card_acceptor_reference_number)
|
126
|
-
if !card_acceptor_reference_number.nil? && card_acceptor_reference_number.to_s.length > 25
|
127
|
-
fail ArgumentError, 'invalid value for "card_acceptor_reference_number", the character length must be smaller than or equal to 25.'
|
128
|
-
end
|
129
|
-
|
130
111
|
@card_acceptor_reference_number = card_acceptor_reference_number
|
131
112
|
end
|
132
113
|
|
@@ -143,20 +124,12 @@ module CyberSource
|
|
143
124
|
# Custom attribute writer method with validation
|
144
125
|
# @param [Object] vat_registration_number Value to be assigned
|
145
126
|
def vat_registration_number=(vat_registration_number)
|
146
|
-
if !vat_registration_number.nil? && vat_registration_number.to_s.length > 21
|
147
|
-
fail ArgumentError, 'invalid value for "vat_registration_number", the character length must be smaller than or equal to 21.'
|
148
|
-
end
|
149
|
-
|
150
127
|
@vat_registration_number = vat_registration_number
|
151
128
|
end
|
152
129
|
|
153
130
|
# Custom attribute writer method with validation
|
154
131
|
# @param [Object] tax_id Value to be assigned
|
155
132
|
def tax_id=(tax_id)
|
156
|
-
if !tax_id.nil? && tax_id.to_s.length > 15
|
157
|
-
fail ArgumentError, 'invalid value for "tax_id", the character length must be smaller than or equal to 15.'
|
158
|
-
end
|
159
|
-
|
160
133
|
@tax_id = tax_id
|
161
134
|
end
|
162
135
|
|
data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb
CHANGED
@@ -14,34 +14,34 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsidcapturesOrderInformationAmountDetails
|
17
|
-
# 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. For details, see: - \"Authorization Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). - \"Capture Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). - \"Credit Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). 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. For details, see \"Zero Amount Authorizations,\" \"Credit Information for Specific Processors\" in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### 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. For details, see `grand_total_amount` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). #### FDMS South If you accept IDR or CLP currencies, see the entry for FDMS South in \"Authorization Information for Specific Processors\" of the [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### DCC for First Data Not used.
|
17
|
+
# 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. For details, see: - \"Authorization Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). - \"Capture Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). - \"Credit Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). 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. For details, see \"Zero Amount Authorizations,\" \"Credit Information for Specific Processors\" in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### 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. For details, see `grand_total_amount` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). #### FDMS South If you accept IDR or CLP currencies, see the entry for FDMS South in \"Authorization Information for Specific Processors\" of the [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### DCC for First Data Not used.
|
18
18
|
attr_accessor :total_amount
|
19
19
|
|
20
|
-
# Currency used for the order. Use the three-character
|
20
|
+
# 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. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency.
|
21
21
|
attr_accessor :currency
|
22
22
|
|
23
|
-
# Total discount amount applied to the order.
|
23
|
+
# Total discount amount applied to the order.
|
24
24
|
attr_accessor :discount_amount
|
25
25
|
|
26
|
-
# Total charges for any import or export duties included in the order.
|
26
|
+
# Total charges for any import or export duties included in the order.
|
27
27
|
attr_accessor :duty_amount
|
28
28
|
|
29
|
-
# Gratuity or tip amount for restaurants
|
29
|
+
# Gratuity or tip amount for restaurants. Allowed only when industryDatatype=restaurant. When your customer uses a debit card or prepaid card, and you receive a partial authorization, the payment networks recommend that you do not submit a capture amount that is higher than the authorized amount. When the capture amount exceeds the partial amount that was approved, the issuer has chargeback rights for the excess amount. Used by **Capture** Optional field. #### CyberSource through VisaNet Restaurant data is supported only on CyberSource through VisaNet when card is present.
|
30
30
|
attr_accessor :gratuity_amount
|
31
31
|
|
32
|
-
# Total tax amount for all the items in the order.
|
32
|
+
# Total tax amount for all the items in the order.
|
33
33
|
attr_accessor :tax_amount
|
34
34
|
|
35
|
-
# Flag that indicates whether a national tax is included in the order total. Possible values: - **0**: national tax not included - **1**: national tax included
|
35
|
+
# Flag that indicates whether a national tax is included in the order total. Possible values: - **0**: national tax not included - **1**: national tax included
|
36
36
|
attr_accessor :national_tax_included
|
37
37
|
|
38
|
-
# Flag that indicates how the merchant manages discounts. Possible values: - **0**: no invoice level discount included - **1**: tax calculated on the postdiscount invoice total - **2**: tax calculated on the prediscount invoice total
|
38
|
+
# Flag that indicates how the merchant manages discounts. Possible values: - **0**: no invoice level discount included - **1**: tax calculated on the postdiscount invoice total - **2**: tax calculated on the prediscount invoice total
|
39
39
|
attr_accessor :tax_applied_after_discount
|
40
40
|
|
41
|
-
# Flag that indicates how you calculate tax. Possible values: - **0**: net prices with tax calculated at line item level - **1**: net prices with tax calculated at invoice level - **2**: gross prices with tax provided at line item level - **3**: gross prices with tax provided at invoice level - **4**: no tax applies on the invoice for the transaction
|
41
|
+
# Flag that indicates how you calculate tax. Possible values: - **0**: net prices with tax calculated at line item level - **1**: net prices with tax calculated at invoice level - **2**: gross prices with tax provided at line item level - **3**: gross prices with tax provided at invoice level - **4**: no tax applies on the invoice for the transaction
|
42
42
|
attr_accessor :tax_applied_level
|
43
43
|
|
44
|
-
# For tax amounts that can be categorized as one tax type. This field contains the tax type code that corresponds to the entry in the _lineItems.taxAmount_ field. Possible values: - **056**: sales tax (U.S only) - **TX~**: all taxes (Canada only) Note ~ = space.
|
44
|
+
# For tax amounts that can be categorized as one tax type. This field contains the tax type code that corresponds to the entry in the _lineItems.taxAmount_ field. Possible values: - **056**: sales tax (U.S only) - **TX~**: all taxes (Canada only) Note ~ = space.
|
45
45
|
attr_accessor :tax_type_code
|
46
46
|
|
47
47
|
# Total freight or shipping and handling charges for the order. When you include this field in your request, you must also include the **totalAmount** field. For processor-specific information, see the freight_amount field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html)
|
@@ -50,13 +50,13 @@ module CyberSource
|
|
50
50
|
# Set this field to the converted amount that was returned by the DCC provider. For processor-specific information, see the `foreign_amount` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
51
51
|
attr_accessor :foreign_amount
|
52
52
|
|
53
|
-
# Set this field to the converted amount that was returned by the DCC provider.
|
53
|
+
# Set this field to the converted amount that was returned by the DCC provider.
|
54
54
|
attr_accessor :foreign_currency
|
55
55
|
|
56
|
-
# Exchange rate returned by the DCC service. Includes a decimal point and a maximum of 4 decimal places. For details, see `exchange_rate` request-level field description in the [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf)
|
56
|
+
# Exchange rate returned by the DCC service. Includes a decimal point and a maximum of 4 decimal places. For details, see `exchange_rate` request-level field description in the [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf)
|
57
57
|
attr_accessor :exchange_rate
|
58
58
|
|
59
|
-
# Time stamp for the exchange rate. This value is returned by the DCC service. Format: `YYYYMMDD~HH:MM` where ~ denotes a space.
|
59
|
+
# Time stamp for the exchange rate. This value is returned by the DCC service. Format: `YYYYMMDD~HH:MM` where ~ denotes a space.
|
60
60
|
attr_accessor :exchange_rate_time_stamp
|
61
61
|
|
62
62
|
attr_accessor :amex_additional_amounts
|
@@ -66,10 +66,10 @@ module CyberSource
|
|
66
66
|
# Service fee. Required for service fee transactions.
|
67
67
|
attr_accessor :service_fee_amount
|
68
68
|
|
69
|
-
# Your local pricing currency code. For the possible values, see the [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)
|
69
|
+
# Your local pricing currency code. For the possible values, see the [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)
|
70
70
|
attr_accessor :original_currency
|
71
71
|
|
72
|
-
# Cashback amount
|
72
|
+
# Cashback amount in the acquirer’s currency. If a cashback amount is included in the request, it must be included in the `orderInformation.amountDetails.totalAmount` value. This field is supported only on CyberSource through VisaNet. #### Used by **Authorization** Optional. **Authorization Reversal** Optional. #### PIN debit Required field for PIN debit purchase, PIN debit credit or PIN debit reversal.
|
73
73
|
attr_accessor :cashback_amount
|
74
74
|
|
75
75
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -221,282 +221,120 @@ module CyberSource
|
|
221
221
|
# @return Array for valid properties with the reasons
|
222
222
|
def list_invalid_properties
|
223
223
|
invalid_properties = Array.new
|
224
|
-
if !@total_amount.nil? && @total_amount.to_s.length > 19
|
225
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 19.')
|
226
|
-
end
|
227
|
-
|
228
|
-
if !@currency.nil? && @currency.to_s.length > 3
|
229
|
-
invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.')
|
230
|
-
end
|
231
|
-
|
232
|
-
if !@discount_amount.nil? && @discount_amount.to_s.length > 15
|
233
|
-
invalid_properties.push('invalid value for "discount_amount", the character length must be smaller than or equal to 15.')
|
234
|
-
end
|
235
|
-
|
236
|
-
if !@duty_amount.nil? && @duty_amount.to_s.length > 15
|
237
|
-
invalid_properties.push('invalid value for "duty_amount", the character length must be smaller than or equal to 15.')
|
238
|
-
end
|
239
|
-
|
240
|
-
if !@gratuity_amount.nil? && @gratuity_amount.to_s.length > 13
|
241
|
-
invalid_properties.push('invalid value for "gratuity_amount", the character length must be smaller than or equal to 13.')
|
242
|
-
end
|
243
|
-
|
244
|
-
if !@tax_amount.nil? && @tax_amount.to_s.length > 12
|
245
|
-
invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 12.')
|
246
|
-
end
|
247
|
-
|
248
|
-
if !@national_tax_included.nil? && @national_tax_included.to_s.length > 1
|
249
|
-
invalid_properties.push('invalid value for "national_tax_included", the character length must be smaller than or equal to 1.')
|
250
|
-
end
|
251
|
-
|
252
|
-
if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
253
|
-
invalid_properties.push('invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.')
|
254
|
-
end
|
255
|
-
|
256
|
-
if !@tax_applied_level.nil? && @tax_applied_level.to_s.length > 1
|
257
|
-
invalid_properties.push('invalid value for "tax_applied_level", the character length must be smaller than or equal to 1.')
|
258
|
-
end
|
259
|
-
|
260
|
-
if !@tax_type_code.nil? && @tax_type_code.to_s.length > 3
|
261
|
-
invalid_properties.push('invalid value for "tax_type_code", the character length must be smaller than or equal to 3.')
|
262
|
-
end
|
263
|
-
|
264
|
-
if !@freight_amount.nil? && @freight_amount.to_s.length > 13
|
265
|
-
invalid_properties.push('invalid value for "freight_amount", the character length must be smaller than or equal to 13.')
|
266
|
-
end
|
267
|
-
|
268
|
-
if !@foreign_amount.nil? && @foreign_amount.to_s.length > 15
|
269
|
-
invalid_properties.push('invalid value for "foreign_amount", the character length must be smaller than or equal to 15.')
|
270
|
-
end
|
271
|
-
|
272
|
-
if !@foreign_currency.nil? && @foreign_currency.to_s.length > 5
|
273
|
-
invalid_properties.push('invalid value for "foreign_currency", the character length must be smaller than or equal to 5.')
|
274
|
-
end
|
275
|
-
|
276
|
-
if !@exchange_rate.nil? && @exchange_rate.to_s.length > 13
|
277
|
-
invalid_properties.push('invalid value for "exchange_rate", the character length must be smaller than or equal to 13.')
|
278
|
-
end
|
279
|
-
|
280
|
-
if !@exchange_rate_time_stamp.nil? && @exchange_rate_time_stamp.to_s.length > 14
|
281
|
-
invalid_properties.push('invalid value for "exchange_rate_time_stamp", the character length must be smaller than or equal to 14.')
|
282
|
-
end
|
283
|
-
|
284
|
-
if !@service_fee_amount.nil? && @service_fee_amount.to_s.length > 15
|
285
|
-
invalid_properties.push('invalid value for "service_fee_amount", the character length must be smaller than or equal to 15.')
|
286
|
-
end
|
287
|
-
|
288
|
-
if !@original_currency.nil? && @original_currency.to_s.length > 15
|
289
|
-
invalid_properties.push('invalid value for "original_currency", the character length must be smaller than or equal to 15.')
|
290
|
-
end
|
291
|
-
|
292
|
-
if !@cashback_amount.nil? && @cashback_amount.to_s.length > 13
|
293
|
-
invalid_properties.push('invalid value for "cashback_amount", the character length must be smaller than or equal to 13.')
|
294
|
-
end
|
295
|
-
|
296
224
|
invalid_properties
|
297
225
|
end
|
298
226
|
|
299
227
|
# Check to see if the all the properties in the model are valid
|
300
228
|
# @return true if the model is valid
|
301
229
|
def valid?
|
302
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 19
|
303
|
-
return false if !@currency.nil? && @currency.to_s.length > 3
|
304
|
-
return false if !@discount_amount.nil? && @discount_amount.to_s.length > 15
|
305
|
-
return false if !@duty_amount.nil? && @duty_amount.to_s.length > 15
|
306
|
-
return false if !@gratuity_amount.nil? && @gratuity_amount.to_s.length > 13
|
307
|
-
return false if !@tax_amount.nil? && @tax_amount.to_s.length > 12
|
308
|
-
return false if !@national_tax_included.nil? && @national_tax_included.to_s.length > 1
|
309
|
-
return false if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
310
|
-
return false if !@tax_applied_level.nil? && @tax_applied_level.to_s.length > 1
|
311
|
-
return false if !@tax_type_code.nil? && @tax_type_code.to_s.length > 3
|
312
|
-
return false if !@freight_amount.nil? && @freight_amount.to_s.length > 13
|
313
|
-
return false if !@foreign_amount.nil? && @foreign_amount.to_s.length > 15
|
314
|
-
return false if !@foreign_currency.nil? && @foreign_currency.to_s.length > 5
|
315
|
-
return false if !@exchange_rate.nil? && @exchange_rate.to_s.length > 13
|
316
|
-
return false if !@exchange_rate_time_stamp.nil? && @exchange_rate_time_stamp.to_s.length > 14
|
317
|
-
return false if !@service_fee_amount.nil? && @service_fee_amount.to_s.length > 15
|
318
|
-
return false if !@original_currency.nil? && @original_currency.to_s.length > 15
|
319
|
-
return false if !@cashback_amount.nil? && @cashback_amount.to_s.length > 13
|
320
230
|
true
|
321
231
|
end
|
322
232
|
|
323
233
|
# Custom attribute writer method with validation
|
324
234
|
# @param [Object] total_amount Value to be assigned
|
325
235
|
def total_amount=(total_amount)
|
326
|
-
if !total_amount.nil? && total_amount.to_s.length > 19
|
327
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 19.'
|
328
|
-
end
|
329
|
-
|
330
236
|
@total_amount = total_amount
|
331
237
|
end
|
332
238
|
|
333
239
|
# Custom attribute writer method with validation
|
334
240
|
# @param [Object] currency Value to be assigned
|
335
241
|
def currency=(currency)
|
336
|
-
if !currency.nil? && currency.to_s.length > 3
|
337
|
-
fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.'
|
338
|
-
end
|
339
|
-
|
340
242
|
@currency = currency
|
341
243
|
end
|
342
244
|
|
343
245
|
# Custom attribute writer method with validation
|
344
246
|
# @param [Object] discount_amount Value to be assigned
|
345
247
|
def discount_amount=(discount_amount)
|
346
|
-
if !discount_amount.nil? && discount_amount.to_s.length > 15
|
347
|
-
fail ArgumentError, 'invalid value for "discount_amount", the character length must be smaller than or equal to 15.'
|
348
|
-
end
|
349
|
-
|
350
248
|
@discount_amount = discount_amount
|
351
249
|
end
|
352
250
|
|
353
251
|
# Custom attribute writer method with validation
|
354
252
|
# @param [Object] duty_amount Value to be assigned
|
355
253
|
def duty_amount=(duty_amount)
|
356
|
-
if !duty_amount.nil? && duty_amount.to_s.length > 15
|
357
|
-
fail ArgumentError, 'invalid value for "duty_amount", the character length must be smaller than or equal to 15.'
|
358
|
-
end
|
359
|
-
|
360
254
|
@duty_amount = duty_amount
|
361
255
|
end
|
362
256
|
|
363
257
|
# Custom attribute writer method with validation
|
364
258
|
# @param [Object] gratuity_amount Value to be assigned
|
365
259
|
def gratuity_amount=(gratuity_amount)
|
366
|
-
if !gratuity_amount.nil? && gratuity_amount.to_s.length > 13
|
367
|
-
fail ArgumentError, 'invalid value for "gratuity_amount", the character length must be smaller than or equal to 13.'
|
368
|
-
end
|
369
|
-
|
370
260
|
@gratuity_amount = gratuity_amount
|
371
261
|
end
|
372
262
|
|
373
263
|
# Custom attribute writer method with validation
|
374
264
|
# @param [Object] tax_amount Value to be assigned
|
375
265
|
def tax_amount=(tax_amount)
|
376
|
-
if !tax_amount.nil? && tax_amount.to_s.length > 12
|
377
|
-
fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 12.'
|
378
|
-
end
|
379
|
-
|
380
266
|
@tax_amount = tax_amount
|
381
267
|
end
|
382
268
|
|
383
269
|
# Custom attribute writer method with validation
|
384
270
|
# @param [Object] national_tax_included Value to be assigned
|
385
271
|
def national_tax_included=(national_tax_included)
|
386
|
-
if !national_tax_included.nil? && national_tax_included.to_s.length > 1
|
387
|
-
fail ArgumentError, 'invalid value for "national_tax_included", the character length must be smaller than or equal to 1.'
|
388
|
-
end
|
389
|
-
|
390
272
|
@national_tax_included = national_tax_included
|
391
273
|
end
|
392
274
|
|
393
275
|
# Custom attribute writer method with validation
|
394
276
|
# @param [Object] tax_applied_after_discount Value to be assigned
|
395
277
|
def tax_applied_after_discount=(tax_applied_after_discount)
|
396
|
-
if !tax_applied_after_discount.nil? && tax_applied_after_discount.to_s.length > 1
|
397
|
-
fail ArgumentError, 'invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.'
|
398
|
-
end
|
399
|
-
|
400
278
|
@tax_applied_after_discount = tax_applied_after_discount
|
401
279
|
end
|
402
280
|
|
403
281
|
# Custom attribute writer method with validation
|
404
282
|
# @param [Object] tax_applied_level Value to be assigned
|
405
283
|
def tax_applied_level=(tax_applied_level)
|
406
|
-
if !tax_applied_level.nil? && tax_applied_level.to_s.length > 1
|
407
|
-
fail ArgumentError, 'invalid value for "tax_applied_level", the character length must be smaller than or equal to 1.'
|
408
|
-
end
|
409
|
-
|
410
284
|
@tax_applied_level = tax_applied_level
|
411
285
|
end
|
412
286
|
|
413
287
|
# Custom attribute writer method with validation
|
414
288
|
# @param [Object] tax_type_code Value to be assigned
|
415
289
|
def tax_type_code=(tax_type_code)
|
416
|
-
if !tax_type_code.nil? && tax_type_code.to_s.length > 3
|
417
|
-
fail ArgumentError, 'invalid value for "tax_type_code", the character length must be smaller than or equal to 3.'
|
418
|
-
end
|
419
|
-
|
420
290
|
@tax_type_code = tax_type_code
|
421
291
|
end
|
422
292
|
|
423
293
|
# Custom attribute writer method with validation
|
424
294
|
# @param [Object] freight_amount Value to be assigned
|
425
295
|
def freight_amount=(freight_amount)
|
426
|
-
if !freight_amount.nil? && freight_amount.to_s.length > 13
|
427
|
-
fail ArgumentError, 'invalid value for "freight_amount", the character length must be smaller than or equal to 13.'
|
428
|
-
end
|
429
|
-
|
430
296
|
@freight_amount = freight_amount
|
431
297
|
end
|
432
298
|
|
433
299
|
# Custom attribute writer method with validation
|
434
300
|
# @param [Object] foreign_amount Value to be assigned
|
435
301
|
def foreign_amount=(foreign_amount)
|
436
|
-
if !foreign_amount.nil? && foreign_amount.to_s.length > 15
|
437
|
-
fail ArgumentError, 'invalid value for "foreign_amount", the character length must be smaller than or equal to 15.'
|
438
|
-
end
|
439
|
-
|
440
302
|
@foreign_amount = foreign_amount
|
441
303
|
end
|
442
304
|
|
443
305
|
# Custom attribute writer method with validation
|
444
306
|
# @param [Object] foreign_currency Value to be assigned
|
445
307
|
def foreign_currency=(foreign_currency)
|
446
|
-
if !foreign_currency.nil? && foreign_currency.to_s.length > 5
|
447
|
-
fail ArgumentError, 'invalid value for "foreign_currency", the character length must be smaller than or equal to 5.'
|
448
|
-
end
|
449
|
-
|
450
308
|
@foreign_currency = foreign_currency
|
451
309
|
end
|
452
310
|
|
453
311
|
# Custom attribute writer method with validation
|
454
312
|
# @param [Object] exchange_rate Value to be assigned
|
455
313
|
def exchange_rate=(exchange_rate)
|
456
|
-
if !exchange_rate.nil? && exchange_rate.to_s.length > 13
|
457
|
-
fail ArgumentError, 'invalid value for "exchange_rate", the character length must be smaller than or equal to 13.'
|
458
|
-
end
|
459
|
-
|
460
314
|
@exchange_rate = exchange_rate
|
461
315
|
end
|
462
316
|
|
463
317
|
# Custom attribute writer method with validation
|
464
318
|
# @param [Object] exchange_rate_time_stamp Value to be assigned
|
465
319
|
def exchange_rate_time_stamp=(exchange_rate_time_stamp)
|
466
|
-
if !exchange_rate_time_stamp.nil? && exchange_rate_time_stamp.to_s.length > 14
|
467
|
-
fail ArgumentError, 'invalid value for "exchange_rate_time_stamp", the character length must be smaller than or equal to 14.'
|
468
|
-
end
|
469
|
-
|
470
320
|
@exchange_rate_time_stamp = exchange_rate_time_stamp
|
471
321
|
end
|
472
322
|
|
473
323
|
# Custom attribute writer method with validation
|
474
324
|
# @param [Object] service_fee_amount Value to be assigned
|
475
325
|
def service_fee_amount=(service_fee_amount)
|
476
|
-
if !service_fee_amount.nil? && service_fee_amount.to_s.length > 15
|
477
|
-
fail ArgumentError, 'invalid value for "service_fee_amount", the character length must be smaller than or equal to 15.'
|
478
|
-
end
|
479
|
-
|
480
326
|
@service_fee_amount = service_fee_amount
|
481
327
|
end
|
482
328
|
|
483
329
|
# Custom attribute writer method with validation
|
484
330
|
# @param [Object] original_currency Value to be assigned
|
485
331
|
def original_currency=(original_currency)
|
486
|
-
if !original_currency.nil? && original_currency.to_s.length > 15
|
487
|
-
fail ArgumentError, 'invalid value for "original_currency", the character length must be smaller than or equal to 15.'
|
488
|
-
end
|
489
|
-
|
490
332
|
@original_currency = original_currency
|
491
333
|
end
|
492
334
|
|
493
335
|
# Custom attribute writer method with validation
|
494
336
|
# @param [Object] cashback_amount Value to be assigned
|
495
337
|
def cashback_amount=(cashback_amount)
|
496
|
-
if !cashback_amount.nil? && cashback_amount.to_s.length > 13
|
497
|
-
fail ArgumentError, 'invalid value for "cashback_amount", the character length must be smaller than or equal to 13.'
|
498
|
-
end
|
499
|
-
|
500
338
|
@cashback_amount = cashback_amount
|
501
339
|
end
|
502
340
|
|
data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb
CHANGED
@@ -14,36 +14,36 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsidcapturesOrderInformationBillTo
|
17
|
-
# Customer’s first name. This name must be the same as the name on the card. #### 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.
|
17
|
+
# 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. #### 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.
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
20
|
-
# Customer’s last name. This name must be the same as the name on the card. #### 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.
|
20
|
+
# Customer’s last 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. #### Chase Paymentech Solutions Optional field. #### Credit Mutuel-CIC Optional field. #### 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. #### OmniPay Direct Optional field. #### RBS WorldPay Atlanta 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.
|
21
21
|
attr_accessor :last_name
|
22
22
|
|
23
23
|
attr_accessor :company
|
24
24
|
|
25
|
-
# Payment card billing street address as it appears on the credit card issuer’s records. #### Atos This field must not contain colons (:). #### CyberSource through VisaNet **Important** When you populate
|
25
|
+
# Payment card billing street address as it appears on the credit card issuer’s records. #### Atos This field must not contain colons (:). #### CyberSource through VisaNet **Important** When you populate orderInformation.billTo.address1 and orderInformation.billTo.address2, CyberSource through VisaNet concatenates the two values. If the concatenated value exceeds 40 characters, CyberSource through VisaNet truncates the value at 40 characters before sending it to Visa and the issuing bank. Truncating this value affects AVS results and therefore might also affect risk decisions and chargebacks. 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. #### FDMS Nashville When the street name is numeric, it must be sent in numeric format. For example, if the address is _One First Street_, it must be sent as _1 1st Street_. Required if keyed; not used if swiped. String (20) #### TSYS Acquiring Solutions Required when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`. #### All other processors: Optional. String (60) #### For Payouts This field may be sent only for FDC Compass. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
26
26
|
attr_accessor :address1
|
27
27
|
|
28
|
-
#
|
28
|
+
# Used for additional address information. For example: _Attention: Accounts Payable_ Optional field. For Payouts: This field may be sent only for FDC Compass. #### Atos This field must not contain colons (:). #### CyberSource through VisaNet **Important** When you populate `orderInformation.billTo.address1` and `orderInformation.billTo.address2`, CyberSource through VisaNet concatenates the two values. If the concatenated value exceeds 40 characters, CyberSource through VisaNet truncates the value at 40 characters before sending it to Visa and the issuing bank. Truncating this value affects AVS results and therefore might also affect risk decisions and chargebacks. 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. #### Chase Paymentech Solutions, FDC Compass, and TSYS Acquiring Solutions This value is used for AVS. #### FDMS Nashville `orderInformation.billTo.address1` and `orderInformation.billTo.address2` together cannot exceed 20 characters. String (20) #### All Other Processors String (60)
|
29
29
|
attr_accessor :address2
|
30
30
|
|
31
|
-
# Payment card billing city. #### Atos This field must not contain colons (:). #### 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.
|
31
|
+
# Payment card billing city. #### Atos This field must not contain colons (:). #### 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.
|
32
32
|
attr_accessor :locality
|
33
33
|
|
34
|
-
# State or province of the billing address. Use the State, Province, and Territory Codes for the United States and Canada. For Payouts: This field may be sent only for FDC Compass. ##### 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.
|
34
|
+
# State or province of the billing address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf). For Payouts: This field may be sent only for FDC Compass. ##### 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. #### 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.
|
35
35
|
attr_accessor :administrative_area
|
36
36
|
|
37
|
-
# Postal code for the billing address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] **Example** `12345-6789` When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] **Example** `A1B 2C3` **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### For Payouts: This field may be sent only for FDC Compass. #### American Express Direct Before sending the postal code to the processor, CyberSource removes all nonalphanumeric characters and, if the remaining value is longer than nine characters, truncates the value starting from the right side. #### Atos This field must not contain colons (:). #### 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.
|
37
|
+
# Postal code for the billing address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] **Example** `12345-6789` When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] **Example** `A1B 2C3` **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### For Payouts: This field may be sent only for FDC Compass. #### American Express Direct Before sending the postal code to the processor, CyberSource removes all nonalphanumeric characters and, if the remaining value is longer than nine characters, truncates the value starting from the right side. #### Atos This field must not contain colons (:). #### 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. #### FDMS Nashville Required if `pointOfSaleInformation.entryMode=keyed` and the address is in the U.S. or Canada. Optional if `pointOfSaleInformation.entryMode=keyed` and the address is **not** in the U.S. or Canada. Not used if swiped. #### RBS WorldPay Atlanta: For best card-present keyed rates, send the postal code if `pointOfSaleInformation.entryMode=keyed`. #### TSYS Acquiring Solutions Required when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`. #### All other processors: Optional field.
|
38
38
|
attr_accessor :postal_code
|
39
39
|
|
40
|
-
# Payment card billing country. Use the two-character ISO Standard Country Codes. #### 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
|
+
# Payment card billing country. Use the two-character [ISO Standard Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf). #### 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. #### 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 :country
|
42
42
|
|
43
|
-
# 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. For processor-specific information, see the `customer_email` request-level field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) #### 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.
|
43
|
+
# 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. For processor-specific information, see the `customer_email` request-level field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) #### 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.
|
44
44
|
attr_accessor :email
|
45
45
|
|
46
|
-
# Customer’s phone number.
|
46
|
+
# Customer’s phone number. It is recommended that you include the country code when the order is from outside the U.S. #### Chase Paymentech Solutions Optional field. #### Credit Mutuel-CIC Optional field. #### 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. #### OmniPay Direct Optional field. #### SIX Optional field. #### TSYS Acquiring Solutions Optional field. #### Worldpay VAP Optional field. #### All other processors Not used.
|
47
47
|
attr_accessor :phone_number
|
48
48
|
|
49
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -137,162 +137,72 @@ module CyberSource
|
|
137
137
|
# @return Array for valid properties with the reasons
|
138
138
|
def list_invalid_properties
|
139
139
|
invalid_properties = Array.new
|
140
|
-
if !@first_name.nil? && @first_name.to_s.length > 60
|
141
|
-
invalid_properties.push('invalid value for "first_name", the character length must be smaller than or equal to 60.')
|
142
|
-
end
|
143
|
-
|
144
|
-
if !@last_name.nil? && @last_name.to_s.length > 60
|
145
|
-
invalid_properties.push('invalid value for "last_name", the character length must be smaller than or equal to 60.')
|
146
|
-
end
|
147
|
-
|
148
|
-
if !@address1.nil? && @address1.to_s.length > 60
|
149
|
-
invalid_properties.push('invalid value for "address1", the character length must be smaller than or equal to 60.')
|
150
|
-
end
|
151
|
-
|
152
|
-
if !@address2.nil? && @address2.to_s.length > 60
|
153
|
-
invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 60.')
|
154
|
-
end
|
155
|
-
|
156
|
-
if !@locality.nil? && @locality.to_s.length > 50
|
157
|
-
invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 50.')
|
158
|
-
end
|
159
|
-
|
160
|
-
if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
161
|
-
invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 20.')
|
162
|
-
end
|
163
|
-
|
164
|
-
if !@postal_code.nil? && @postal_code.to_s.length > 10
|
165
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
|
166
|
-
end
|
167
|
-
|
168
|
-
if !@country.nil? && @country.to_s.length > 2
|
169
|
-
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
|
170
|
-
end
|
171
|
-
|
172
|
-
if !@email.nil? && @email.to_s.length > 255
|
173
|
-
invalid_properties.push('invalid value for "email", the character length must be smaller than or equal to 255.')
|
174
|
-
end
|
175
|
-
|
176
|
-
if !@phone_number.nil? && @phone_number.to_s.length > 15
|
177
|
-
invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 15.')
|
178
|
-
end
|
179
|
-
|
180
140
|
invalid_properties
|
181
141
|
end
|
182
142
|
|
183
143
|
# Check to see if the all the properties in the model are valid
|
184
144
|
# @return true if the model is valid
|
185
145
|
def valid?
|
186
|
-
return false if !@first_name.nil? && @first_name.to_s.length > 60
|
187
|
-
return false if !@last_name.nil? && @last_name.to_s.length > 60
|
188
|
-
return false if !@address1.nil? && @address1.to_s.length > 60
|
189
|
-
return false if !@address2.nil? && @address2.to_s.length > 60
|
190
|
-
return false if !@locality.nil? && @locality.to_s.length > 50
|
191
|
-
return false if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
192
|
-
return false if !@postal_code.nil? && @postal_code.to_s.length > 10
|
193
|
-
return false if !@country.nil? && @country.to_s.length > 2
|
194
|
-
return false if !@email.nil? && @email.to_s.length > 255
|
195
|
-
return false if !@phone_number.nil? && @phone_number.to_s.length > 15
|
196
146
|
true
|
197
147
|
end
|
198
148
|
|
199
149
|
# Custom attribute writer method with validation
|
200
150
|
# @param [Object] first_name Value to be assigned
|
201
151
|
def first_name=(first_name)
|
202
|
-
if !first_name.nil? && first_name.to_s.length > 60
|
203
|
-
fail ArgumentError, 'invalid value for "first_name", the character length must be smaller than or equal to 60.'
|
204
|
-
end
|
205
|
-
|
206
152
|
@first_name = first_name
|
207
153
|
end
|
208
154
|
|
209
155
|
# Custom attribute writer method with validation
|
210
156
|
# @param [Object] last_name Value to be assigned
|
211
157
|
def last_name=(last_name)
|
212
|
-
if !last_name.nil? && last_name.to_s.length > 60
|
213
|
-
fail ArgumentError, 'invalid value for "last_name", the character length must be smaller than or equal to 60.'
|
214
|
-
end
|
215
|
-
|
216
158
|
@last_name = last_name
|
217
159
|
end
|
218
160
|
|
219
161
|
# Custom attribute writer method with validation
|
220
162
|
# @param [Object] address1 Value to be assigned
|
221
163
|
def address1=(address1)
|
222
|
-
if !address1.nil? && address1.to_s.length > 60
|
223
|
-
fail ArgumentError, 'invalid value for "address1", the character length must be smaller than or equal to 60.'
|
224
|
-
end
|
225
|
-
|
226
164
|
@address1 = address1
|
227
165
|
end
|
228
166
|
|
229
167
|
# Custom attribute writer method with validation
|
230
168
|
# @param [Object] address2 Value to be assigned
|
231
169
|
def address2=(address2)
|
232
|
-
if !address2.nil? && address2.to_s.length > 60
|
233
|
-
fail ArgumentError, 'invalid value for "address2", the character length must be smaller than or equal to 60.'
|
234
|
-
end
|
235
|
-
|
236
170
|
@address2 = address2
|
237
171
|
end
|
238
172
|
|
239
173
|
# Custom attribute writer method with validation
|
240
174
|
# @param [Object] locality Value to be assigned
|
241
175
|
def locality=(locality)
|
242
|
-
if !locality.nil? && locality.to_s.length > 50
|
243
|
-
fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 50.'
|
244
|
-
end
|
245
|
-
|
246
176
|
@locality = locality
|
247
177
|
end
|
248
178
|
|
249
179
|
# Custom attribute writer method with validation
|
250
180
|
# @param [Object] administrative_area Value to be assigned
|
251
181
|
def administrative_area=(administrative_area)
|
252
|
-
if !administrative_area.nil? && administrative_area.to_s.length > 20
|
253
|
-
fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 20.'
|
254
|
-
end
|
255
|
-
|
256
182
|
@administrative_area = administrative_area
|
257
183
|
end
|
258
184
|
|
259
185
|
# Custom attribute writer method with validation
|
260
186
|
# @param [Object] postal_code Value to be assigned
|
261
187
|
def postal_code=(postal_code)
|
262
|
-
if !postal_code.nil? && postal_code.to_s.length > 10
|
263
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 10.'
|
264
|
-
end
|
265
|
-
|
266
188
|
@postal_code = postal_code
|
267
189
|
end
|
268
190
|
|
269
191
|
# Custom attribute writer method with validation
|
270
192
|
# @param [Object] country Value to be assigned
|
271
193
|
def country=(country)
|
272
|
-
if !country.nil? && country.to_s.length > 2
|
273
|
-
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
|
274
|
-
end
|
275
|
-
|
276
194
|
@country = country
|
277
195
|
end
|
278
196
|
|
279
197
|
# Custom attribute writer method with validation
|
280
198
|
# @param [Object] email Value to be assigned
|
281
199
|
def email=(email)
|
282
|
-
if !email.nil? && email.to_s.length > 255
|
283
|
-
fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 255.'
|
284
|
-
end
|
285
|
-
|
286
200
|
@email = email
|
287
201
|
end
|
288
202
|
|
289
203
|
# Custom attribute writer method with validation
|
290
204
|
# @param [Object] phone_number Value to be assigned
|
291
205
|
def phone_number=(phone_number)
|
292
|
-
if !phone_number.nil? && phone_number.to_s.length > 15
|
293
|
-
fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to 15.'
|
294
|
-
end
|
295
|
-
|
296
206
|
@phone_number = phone_number
|
297
207
|
end
|
298
208
|
|