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
@@ -32,7 +32,7 @@ module CyberSource
|
|
32
32
|
# Postal code in the address of the company purchasing the product. The postal code must consist of 5 to 9 digits. When the company country is the U.S., the 9-digit postal code must follow this format: **[5 digits][dash][4 digits]** #### Example `12345-6789` When the company country is Canada, the 6-digit postal code must follow this format: **[alpha][numeric][alpha][space][numeric][alpha][numeric]** #### Example `A1B 2C3`
|
33
33
|
attr_accessor :postal_code
|
34
34
|
|
35
|
-
# Country in the address of the company purchasing the product. Use the [ISO Standard Country Codes
|
35
|
+
# Country in the address of the company purchasing the product. Use the [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf).
|
36
36
|
attr_accessor :country
|
37
37
|
|
38
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -102,117 +102,54 @@ module CyberSource
|
|
102
102
|
# @return Array for valid properties with the reasons
|
103
103
|
def list_invalid_properties
|
104
104
|
invalid_properties = Array.new
|
105
|
-
if !@name.nil? && @name.to_s.length > 60
|
106
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 60.')
|
107
|
-
end
|
108
|
-
|
109
|
-
if !@address1.nil? && @address1.to_s.length > 40
|
110
|
-
invalid_properties.push('invalid value for "address1", the character length must be smaller than or equal to 40.')
|
111
|
-
end
|
112
|
-
|
113
|
-
if !@address2.nil? && @address2.to_s.length > 40
|
114
|
-
invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 40.')
|
115
|
-
end
|
116
|
-
|
117
|
-
if !@locality.nil? && @locality.to_s.length > 30
|
118
|
-
invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 30.')
|
119
|
-
end
|
120
|
-
|
121
|
-
if !@administrative_area.nil? && @administrative_area.to_s.length > 2
|
122
|
-
invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 2.')
|
123
|
-
end
|
124
|
-
|
125
|
-
if !@postal_code.nil? && @postal_code.to_s.length > 10
|
126
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
|
127
|
-
end
|
128
|
-
|
129
|
-
if !@country.nil? && @country.to_s.length > 2
|
130
|
-
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
|
131
|
-
end
|
132
|
-
|
133
105
|
invalid_properties
|
134
106
|
end
|
135
107
|
|
136
108
|
# Check to see if the all the properties in the model are valid
|
137
109
|
# @return true if the model is valid
|
138
110
|
def valid?
|
139
|
-
return false if !@name.nil? && @name.to_s.length > 60
|
140
|
-
return false if !@address1.nil? && @address1.to_s.length > 40
|
141
|
-
return false if !@address2.nil? && @address2.to_s.length > 40
|
142
|
-
return false if !@locality.nil? && @locality.to_s.length > 30
|
143
|
-
return false if !@administrative_area.nil? && @administrative_area.to_s.length > 2
|
144
|
-
return false if !@postal_code.nil? && @postal_code.to_s.length > 10
|
145
|
-
return false if !@country.nil? && @country.to_s.length > 2
|
146
111
|
true
|
147
112
|
end
|
148
113
|
|
149
114
|
# Custom attribute writer method with validation
|
150
115
|
# @param [Object] name Value to be assigned
|
151
116
|
def name=(name)
|
152
|
-
if !name.nil? && name.to_s.length > 60
|
153
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 60.'
|
154
|
-
end
|
155
|
-
|
156
117
|
@name = name
|
157
118
|
end
|
158
119
|
|
159
120
|
# Custom attribute writer method with validation
|
160
121
|
# @param [Object] address1 Value to be assigned
|
161
122
|
def address1=(address1)
|
162
|
-
if !address1.nil? && address1.to_s.length > 40
|
163
|
-
fail ArgumentError, 'invalid value for "address1", the character length must be smaller than or equal to 40.'
|
164
|
-
end
|
165
|
-
|
166
123
|
@address1 = address1
|
167
124
|
end
|
168
125
|
|
169
126
|
# Custom attribute writer method with validation
|
170
127
|
# @param [Object] address2 Value to be assigned
|
171
128
|
def address2=(address2)
|
172
|
-
if !address2.nil? && address2.to_s.length > 40
|
173
|
-
fail ArgumentError, 'invalid value for "address2", the character length must be smaller than or equal to 40.'
|
174
|
-
end
|
175
|
-
|
176
129
|
@address2 = address2
|
177
130
|
end
|
178
131
|
|
179
132
|
# Custom attribute writer method with validation
|
180
133
|
# @param [Object] locality Value to be assigned
|
181
134
|
def locality=(locality)
|
182
|
-
if !locality.nil? && locality.to_s.length > 30
|
183
|
-
fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 30.'
|
184
|
-
end
|
185
|
-
|
186
135
|
@locality = locality
|
187
136
|
end
|
188
137
|
|
189
138
|
# Custom attribute writer method with validation
|
190
139
|
# @param [Object] administrative_area Value to be assigned
|
191
140
|
def administrative_area=(administrative_area)
|
192
|
-
if !administrative_area.nil? && administrative_area.to_s.length > 2
|
193
|
-
fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 2.'
|
194
|
-
end
|
195
|
-
|
196
141
|
@administrative_area = administrative_area
|
197
142
|
end
|
198
143
|
|
199
144
|
# Custom attribute writer method with validation
|
200
145
|
# @param [Object] postal_code Value to be assigned
|
201
146
|
def postal_code=(postal_code)
|
202
|
-
if !postal_code.nil? && postal_code.to_s.length > 10
|
203
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 10.'
|
204
|
-
end
|
205
|
-
|
206
147
|
@postal_code = postal_code
|
207
148
|
end
|
208
149
|
|
209
150
|
# Custom attribute writer method with validation
|
210
151
|
# @param [Object] country Value to be assigned
|
211
152
|
def country=(country)
|
212
|
-
if !country.nil? && country.to_s.length > 2
|
213
|
-
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
|
214
|
-
end
|
215
|
-
|
216
153
|
@country = country
|
217
154
|
end
|
218
155
|
|
@@ -41,7 +41,7 @@ module CyberSource
|
|
41
41
|
# International description code of the overall order’s goods or services or the Categorizes purchases for VAT reporting. Contact your acquirer for a list of codes. For processor-specific information, see the `summary_commodity_code` 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)
|
42
42
|
attr_accessor :commodity_code
|
43
43
|
|
44
|
-
# Identifier for the merchandise. Possible value:
|
44
|
+
# Identifier for the merchandise. This field is supported only on the processors listed in this field description. #### American Express Direct Possible value: - 1000: Gift card #### CyberSource through VisaNet This value must be right justified. In Japan, this value is called a _goods code_. #### JCN Gateway This value must be right justified. In Japan, this value is called a _goods code_.
|
45
45
|
attr_accessor :merchandise_code
|
46
46
|
|
47
47
|
attr_accessor :transaction_advice_addendum
|
@@ -52,9 +52,12 @@ module CyberSource
|
|
52
52
|
# Reference number. The meaning of this value is identified by the value of the `referenceDataCode` field. This field is a pass-through, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor.
|
53
53
|
attr_accessor :reference_data_number
|
54
54
|
|
55
|
-
# Transaction identifier that
|
55
|
+
# Transaction identifier that is generated. You have the option of printing the sales slip number on the receipt. This field is supported only on Cybersource through Visanet and JCN gateway. Optional field. #### Card Present processing message If you included this field in the request, the returned value is the value that you sent in the request. If you did not include this field in the request, the system generated this value for you. The difference between this reply field and the `processorInformation.systemTraceAuditNumber` field is that the system generates the system trace audit number (STAN), and you must print the receipt number on the receipt; whereas you can generate the sales slip number, and you can choose to print the sales slip number on the receipt.
|
56
56
|
attr_accessor :sales_slip_number
|
57
57
|
|
58
|
+
# Date of the tax calculation. Use format YYYYMMDD. You can provide a date in the past if you are calculating tax for a refund and want to know what the tax was on the date the order was placed. You can provide a date in the future if you are calculating the tax for a future date, such as an upcoming tax holiday. The default is the date, in Pacific time, that the bank receives the request. Keep this in mind if you are in a different time zone and want the tax calculated with the rates that are applicable on a specific date. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes.
|
59
|
+
attr_accessor :invoice_date
|
60
|
+
|
58
61
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
62
|
def self.attribute_map
|
60
63
|
{
|
@@ -71,7 +74,8 @@ module CyberSource
|
|
71
74
|
:'transaction_advice_addendum' => :'transactionAdviceAddendum',
|
72
75
|
:'reference_data_code' => :'referenceDataCode',
|
73
76
|
:'reference_data_number' => :'referenceDataNumber',
|
74
|
-
:'sales_slip_number' => :'salesSlipNumber'
|
77
|
+
:'sales_slip_number' => :'salesSlipNumber',
|
78
|
+
:'invoice_date' => :'invoiceDate'
|
75
79
|
}
|
76
80
|
end
|
77
81
|
|
@@ -91,7 +95,8 @@ module CyberSource
|
|
91
95
|
:'transaction_advice_addendum' => :'Array<Ptsv2paymentsOrderInformationInvoiceDetailsTransactionAdviceAddendum>',
|
92
96
|
:'reference_data_code' => :'String',
|
93
97
|
:'reference_data_number' => :'String',
|
94
|
-
:'sales_slip_number' => :'Integer'
|
98
|
+
:'sales_slip_number' => :'Integer',
|
99
|
+
:'invoice_date' => :'String'
|
95
100
|
}
|
96
101
|
end
|
97
102
|
|
@@ -160,40 +165,16 @@ module CyberSource
|
|
160
165
|
if attributes.has_key?(:'salesSlipNumber')
|
161
166
|
self.sales_slip_number = attributes[:'salesSlipNumber']
|
162
167
|
end
|
168
|
+
|
169
|
+
if attributes.has_key?(:'invoiceDate')
|
170
|
+
self.invoice_date = attributes[:'invoiceDate']
|
171
|
+
end
|
163
172
|
end
|
164
173
|
|
165
174
|
# Show invalid properties with the reasons. Usually used together with valid?
|
166
175
|
# @return Array for valid properties with the reasons
|
167
176
|
def list_invalid_properties
|
168
177
|
invalid_properties = Array.new
|
169
|
-
if !@purchase_order_number.nil? && @purchase_order_number.to_s.length > 25
|
170
|
-
invalid_properties.push('invalid value for "purchase_order_number", the character length must be smaller than or equal to 25.')
|
171
|
-
end
|
172
|
-
|
173
|
-
if !@purchase_order_date.nil? && @purchase_order_date.to_s.length > 10
|
174
|
-
invalid_properties.push('invalid value for "purchase_order_date", the character length must be smaller than or equal to 10.')
|
175
|
-
end
|
176
|
-
|
177
|
-
if !@purchase_contact_name.nil? && @purchase_contact_name.to_s.length > 36
|
178
|
-
invalid_properties.push('invalid value for "purchase_contact_name", the character length must be smaller than or equal to 36.')
|
179
|
-
end
|
180
|
-
|
181
|
-
if !@vat_invoice_reference_number.nil? && @vat_invoice_reference_number.to_s.length > 15
|
182
|
-
invalid_properties.push('invalid value for "vat_invoice_reference_number", the character length must be smaller than or equal to 15.')
|
183
|
-
end
|
184
|
-
|
185
|
-
if !@commodity_code.nil? && @commodity_code.to_s.length > 4
|
186
|
-
invalid_properties.push('invalid value for "commodity_code", the character length must be smaller than or equal to 4.')
|
187
|
-
end
|
188
|
-
|
189
|
-
if !@reference_data_code.nil? && @reference_data_code.to_s.length > 3
|
190
|
-
invalid_properties.push('invalid value for "reference_data_code", the character length must be smaller than or equal to 3.')
|
191
|
-
end
|
192
|
-
|
193
|
-
if !@reference_data_number.nil? && @reference_data_number.to_s.length > 30
|
194
|
-
invalid_properties.push('invalid value for "reference_data_number", the character length must be smaller than or equal to 30.')
|
195
|
-
end
|
196
|
-
|
197
178
|
if !@sales_slip_number.nil? && @sales_slip_number > 99999
|
198
179
|
invalid_properties.push('invalid value for "sales_slip_number", must be smaller than or equal to 99999.')
|
199
180
|
end
|
@@ -204,13 +185,6 @@ module CyberSource
|
|
204
185
|
# Check to see if the all the properties in the model are valid
|
205
186
|
# @return true if the model is valid
|
206
187
|
def valid?
|
207
|
-
return false if !@purchase_order_number.nil? && @purchase_order_number.to_s.length > 25
|
208
|
-
return false if !@purchase_order_date.nil? && @purchase_order_date.to_s.length > 10
|
209
|
-
return false if !@purchase_contact_name.nil? && @purchase_contact_name.to_s.length > 36
|
210
|
-
return false if !@vat_invoice_reference_number.nil? && @vat_invoice_reference_number.to_s.length > 15
|
211
|
-
return false if !@commodity_code.nil? && @commodity_code.to_s.length > 4
|
212
|
-
return false if !@reference_data_code.nil? && @reference_data_code.to_s.length > 3
|
213
|
-
return false if !@reference_data_number.nil? && @reference_data_number.to_s.length > 30
|
214
188
|
return false if !@sales_slip_number.nil? && @sales_slip_number > 99999
|
215
189
|
true
|
216
190
|
end
|
@@ -218,70 +192,42 @@ module CyberSource
|
|
218
192
|
# Custom attribute writer method with validation
|
219
193
|
# @param [Object] purchase_order_number Value to be assigned
|
220
194
|
def purchase_order_number=(purchase_order_number)
|
221
|
-
if !purchase_order_number.nil? && purchase_order_number.to_s.length > 25
|
222
|
-
fail ArgumentError, 'invalid value for "purchase_order_number", the character length must be smaller than or equal to 25.'
|
223
|
-
end
|
224
|
-
|
225
195
|
@purchase_order_number = purchase_order_number
|
226
196
|
end
|
227
197
|
|
228
198
|
# Custom attribute writer method with validation
|
229
199
|
# @param [Object] purchase_order_date Value to be assigned
|
230
200
|
def purchase_order_date=(purchase_order_date)
|
231
|
-
if !purchase_order_date.nil? && purchase_order_date.to_s.length > 10
|
232
|
-
fail ArgumentError, 'invalid value for "purchase_order_date", the character length must be smaller than or equal to 10.'
|
233
|
-
end
|
234
|
-
|
235
201
|
@purchase_order_date = purchase_order_date
|
236
202
|
end
|
237
203
|
|
238
204
|
# Custom attribute writer method with validation
|
239
205
|
# @param [Object] purchase_contact_name Value to be assigned
|
240
206
|
def purchase_contact_name=(purchase_contact_name)
|
241
|
-
if !purchase_contact_name.nil? && purchase_contact_name.to_s.length > 36
|
242
|
-
fail ArgumentError, 'invalid value for "purchase_contact_name", the character length must be smaller than or equal to 36.'
|
243
|
-
end
|
244
|
-
|
245
207
|
@purchase_contact_name = purchase_contact_name
|
246
208
|
end
|
247
209
|
|
248
210
|
# Custom attribute writer method with validation
|
249
211
|
# @param [Object] vat_invoice_reference_number Value to be assigned
|
250
212
|
def vat_invoice_reference_number=(vat_invoice_reference_number)
|
251
|
-
if !vat_invoice_reference_number.nil? && vat_invoice_reference_number.to_s.length > 15
|
252
|
-
fail ArgumentError, 'invalid value for "vat_invoice_reference_number", the character length must be smaller than or equal to 15.'
|
253
|
-
end
|
254
|
-
|
255
213
|
@vat_invoice_reference_number = vat_invoice_reference_number
|
256
214
|
end
|
257
215
|
|
258
216
|
# Custom attribute writer method with validation
|
259
217
|
# @param [Object] commodity_code Value to be assigned
|
260
218
|
def commodity_code=(commodity_code)
|
261
|
-
if !commodity_code.nil? && commodity_code.to_s.length > 4
|
262
|
-
fail ArgumentError, 'invalid value for "commodity_code", the character length must be smaller than or equal to 4.'
|
263
|
-
end
|
264
|
-
|
265
219
|
@commodity_code = commodity_code
|
266
220
|
end
|
267
221
|
|
268
222
|
# Custom attribute writer method with validation
|
269
223
|
# @param [Object] reference_data_code Value to be assigned
|
270
224
|
def reference_data_code=(reference_data_code)
|
271
|
-
if !reference_data_code.nil? && reference_data_code.to_s.length > 3
|
272
|
-
fail ArgumentError, 'invalid value for "reference_data_code", the character length must be smaller than or equal to 3.'
|
273
|
-
end
|
274
|
-
|
275
225
|
@reference_data_code = reference_data_code
|
276
226
|
end
|
277
227
|
|
278
228
|
# Custom attribute writer method with validation
|
279
229
|
# @param [Object] reference_data_number Value to be assigned
|
280
230
|
def reference_data_number=(reference_data_number)
|
281
|
-
if !reference_data_number.nil? && reference_data_number.to_s.length > 30
|
282
|
-
fail ArgumentError, 'invalid value for "reference_data_number", the character length must be smaller than or equal to 30.'
|
283
|
-
end
|
284
|
-
|
285
231
|
@reference_data_number = reference_data_number
|
286
232
|
end
|
287
233
|
|
@@ -295,6 +241,12 @@ module CyberSource
|
|
295
241
|
@sales_slip_number = sales_slip_number
|
296
242
|
end
|
297
243
|
|
244
|
+
# Custom attribute writer method with validation
|
245
|
+
# @param [Object] invoice_date Value to be assigned
|
246
|
+
def invoice_date=(invoice_date)
|
247
|
+
@invoice_date = invoice_date
|
248
|
+
end
|
249
|
+
|
298
250
|
# Checks equality by comparing each attribute.
|
299
251
|
# @param [Object] Object to be compared
|
300
252
|
def ==(o)
|
@@ -313,7 +265,8 @@ module CyberSource
|
|
313
265
|
transaction_advice_addendum == o.transaction_advice_addendum &&
|
314
266
|
reference_data_code == o.reference_data_code &&
|
315
267
|
reference_data_number == o.reference_data_number &&
|
316
|
-
sales_slip_number == o.sales_slip_number
|
268
|
+
sales_slip_number == o.sales_slip_number &&
|
269
|
+
invoice_date == o.invoice_date
|
317
270
|
end
|
318
271
|
|
319
272
|
# @see the `==` method
|
@@ -325,7 +278,7 @@ module CyberSource
|
|
325
278
|
# Calculates hash code according to all attributes.
|
326
279
|
# @return [Fixnum] Hash code
|
327
280
|
def hash
|
328
|
-
[invoice_number, barcode_number, expiration_date, purchase_order_number, purchase_order_date, purchase_contact_name, taxable, vat_invoice_reference_number, commodity_code, merchandise_code, transaction_advice_addendum, reference_data_code, reference_data_number, sales_slip_number].hash
|
281
|
+
[invoice_number, barcode_number, expiration_date, purchase_order_number, purchase_order_date, purchase_contact_name, taxable, vat_invoice_reference_number, commodity_code, merchandise_code, transaction_advice_addendum, reference_data_code, reference_data_number, sales_slip_number, invoice_date].hash
|
329
282
|
end
|
330
283
|
|
331
284
|
# Builds the object from hash
|
@@ -48,27 +48,18 @@ module CyberSource
|
|
48
48
|
# @return Array for valid properties with the reasons
|
49
49
|
def list_invalid_properties
|
50
50
|
invalid_properties = Array.new
|
51
|
-
if !@data.nil? && @data.to_s.length > 40
|
52
|
-
invalid_properties.push('invalid value for "data", the character length must be smaller than or equal to 40.')
|
53
|
-
end
|
54
|
-
|
55
51
|
invalid_properties
|
56
52
|
end
|
57
53
|
|
58
54
|
# Check to see if the all the properties in the model are valid
|
59
55
|
# @return true if the model is valid
|
60
56
|
def valid?
|
61
|
-
return false if !@data.nil? && @data.to_s.length > 40
|
62
57
|
true
|
63
58
|
end
|
64
59
|
|
65
60
|
# Custom attribute writer method with validation
|
66
61
|
# @param [Object] data Value to be assigned
|
67
62
|
def data=(data)
|
68
|
-
if !data.nil? && data.to_s.length > 40
|
69
|
-
fail ArgumentError, 'invalid value for "data", the character length must be smaller than or equal to 40.'
|
70
|
-
end
|
71
|
-
|
72
63
|
@data = data
|
73
64
|
end
|
74
65
|
|
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsOrderInformationLineItems
|
17
|
-
# Type of product.
|
17
|
+
# Type of product. The value for this field is used to identify the product category (electronic, handling, physical, service, or shipping). The default value is `default`. If you are performing an authorization transaction (`processingOptions.capture` is set to `false`), and you set this field to a value other than `default` or one of the values related to shipping and/or handling, then `orderInformation.lineItems[].quantity`, `orderInformation.lineItems[].productName`, and `orderInformation.lineItems[].productSku` fields are required. Optional field. For details, see the `product_code` 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/). #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. To use the tax calculation service, use values listed in the Tax Product Code Guide. For information about this document, contact customer support. See \"Product Codes,\" page 14, for more information.
|
18
18
|
attr_accessor :product_code
|
19
19
|
|
20
|
-
# For an authorization or capture transaction (`processingOptions.capture` is
|
20
|
+
# For an authorization or capture transaction (`processingOptions.capture` is `true` or `false`), this field is required when `orderInformation.lineItems[].productCode` is not `default` or one of the other values that are related to shipping and/or handling. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes.
|
21
21
|
attr_accessor :product_name
|
22
22
|
|
23
|
-
# Stock Keeping Unit (SKU) code for the product. For an authorization or capture transaction (`processingOptions.capture` is set to `true` or `false`), this field is required when
|
23
|
+
# Product identifier code. Also known as the Stock Keeping Unit (SKU) code for the product. For an authorization or capture transaction (`processingOptions.capture` is set to `true` or `false`), this field is required when `orderInformation.lineItems[].productCode` is not set to **default** or one of the other values that are related to shipping and/or handling. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. For an authorization or capture transaction (`processingOptions.capture` is set to `true` or `false`), this field is required when `orderInformation.lineItems[].productCode` is not `default` or one of the values related to shipping and/or handling.
|
24
24
|
attr_accessor :product_sku
|
25
25
|
|
26
|
-
# Number of units for this order. The default is `1`. For an authorization or capture transaction (`processingOptions.capture` is set to `true` or `false`), this field is required when
|
26
|
+
# Number of units for this order. Must be a non-negative integer. The default is `1`. For an authorization or capture transaction (`processingOptions.capture` is set to `true` or `false`), this field is required when `orderInformation.lineItems[].productCode` is not `default` or one of the other values related to shipping and/or handling. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes.
|
27
27
|
attr_accessor :quantity
|
28
28
|
|
29
|
-
# Per-item price of the product. This value cannot be negative. You can include a decimal point (.), but you cannot include any other special characters.
|
29
|
+
# Per-item price of the product. This value for this field cannot be negative. You must include either this field or the request-level field `orderInformation.amountDetails.totalAmount` in your request. You can include a decimal point (.), but you cannot include any other special characters. The value is truncated to the correct number of decimal places. #### DCC with a Third-Party Provider Set this field to the converted amount that was returned by the DCC provider. You must include either the 1st line item in the order and this field, or the request-level field `orderInformation.amountDetails.totalAmount` in your request. #### FDMS South If you accept IDR or CLP currencies, see the entry for FDMS South in the [Merchant Descriptors Using the SCMP API Guide.] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/) #### Tax Calculation Required field for U.S., Canadian, international and value added taxes. #### Zero Amount Authorizations 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. #### Maximum Field Lengths For GPN and JCN Gateway: Decimal (10) All other processors: Decimal (15)
|
30
30
|
attr_accessor :unit_price
|
31
31
|
|
32
32
|
# Unit of measure, or unit of measure code, for the item.
|
@@ -35,7 +35,7 @@ module CyberSource
|
|
35
35
|
# Total amount for the item. Normally calculated as the unit price times quantity. When `orderInformation.lineItems[].productCode` is \"gift_card\", this is the purchase amount total for prepaid gift cards in major units. Example: 123.45 USD = 123
|
36
36
|
attr_accessor :total_amount
|
37
37
|
|
38
|
-
# Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included.
|
38
|
+
# Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. Optional field. #### Airlines processing Tax portion of the order amount. This value cannot exceed 99999999999999 (fourteen 9s). Format: English characters only. Optional request field for a line item. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Note if you send this field in your tax request, the value in the field will override the tax engine
|
39
39
|
attr_accessor :tax_amount
|
40
40
|
|
41
41
|
# Tax rate applied to the item. For details, see `tax_rate` field description in the [Level II and Level III Processing Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html/) **Visa**: Valid range is 0.01 to 0.99 (1% to 99%, with only whole percentage values accepted; values with additional decimal places will be truncated). **Mastercard**: Valid range is 0.00001 to 0.99999 (0.001% to 99.999%).
|
@@ -318,18 +318,6 @@ module CyberSource
|
|
318
318
|
# @return Array for valid properties with the reasons
|
319
319
|
def list_invalid_properties
|
320
320
|
invalid_properties = Array.new
|
321
|
-
if !@product_code.nil? && @product_code.to_s.length > 255
|
322
|
-
invalid_properties.push('invalid value for "product_code", the character length must be smaller than or equal to 255.')
|
323
|
-
end
|
324
|
-
|
325
|
-
if !@product_name.nil? && @product_name.to_s.length > 255
|
326
|
-
invalid_properties.push('invalid value for "product_name", the character length must be smaller than or equal to 255.')
|
327
|
-
end
|
328
|
-
|
329
|
-
if !@product_sku.nil? && @product_sku.to_s.length > 255
|
330
|
-
invalid_properties.push('invalid value for "product_sku", the character length must be smaller than or equal to 255.')
|
331
|
-
end
|
332
|
-
|
333
321
|
if !@quantity.nil? && @quantity > 999999999
|
334
322
|
invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
|
335
323
|
end
|
@@ -338,142 +326,32 @@ module CyberSource
|
|
338
326
|
invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
|
339
327
|
end
|
340
328
|
|
341
|
-
if !@unit_price.nil? && @unit_price.to_s.length > 15
|
342
|
-
invalid_properties.push('invalid value for "unit_price", the character length must be smaller than or equal to 15.')
|
343
|
-
end
|
344
|
-
|
345
|
-
if !@unit_of_measure.nil? && @unit_of_measure.to_s.length > 12
|
346
|
-
invalid_properties.push('invalid value for "unit_of_measure", the character length must be smaller than or equal to 12.')
|
347
|
-
end
|
348
|
-
|
349
|
-
if !@total_amount.nil? && @total_amount.to_s.length > 13
|
350
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 13.')
|
351
|
-
end
|
352
|
-
|
353
|
-
if !@tax_amount.nil? && @tax_amount.to_s.length > 15
|
354
|
-
invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 15.')
|
355
|
-
end
|
356
|
-
|
357
|
-
if !@tax_rate.nil? && @tax_rate.to_s.length > 7
|
358
|
-
invalid_properties.push('invalid value for "tax_rate", the character length must be smaller than or equal to 7.')
|
359
|
-
end
|
360
|
-
|
361
|
-
if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
362
|
-
invalid_properties.push('invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.')
|
363
|
-
end
|
364
|
-
|
365
|
-
if !@tax_status_indicator.nil? && @tax_status_indicator.to_s.length > 1
|
366
|
-
invalid_properties.push('invalid value for "tax_status_indicator", the character length must be smaller than or equal to 1.')
|
367
|
-
end
|
368
|
-
|
369
|
-
if !@tax_type_code.nil? && @tax_type_code.to_s.length > 4
|
370
|
-
invalid_properties.push('invalid value for "tax_type_code", the character length must be smaller than or equal to 4.')
|
371
|
-
end
|
372
|
-
|
373
|
-
if !@type_of_supply.nil? && @type_of_supply.to_s.length > 2
|
374
|
-
invalid_properties.push('invalid value for "type_of_supply", the character length must be smaller than or equal to 2.')
|
375
|
-
end
|
376
|
-
|
377
|
-
if !@commodity_code.nil? && @commodity_code.to_s.length > 15
|
378
|
-
invalid_properties.push('invalid value for "commodity_code", the character length must be smaller than or equal to 15.')
|
379
|
-
end
|
380
|
-
|
381
|
-
if !@discount_amount.nil? && @discount_amount.to_s.length > 13
|
382
|
-
invalid_properties.push('invalid value for "discount_amount", the character length must be smaller than or equal to 13.')
|
383
|
-
end
|
384
|
-
|
385
|
-
if !@discount_rate.nil? && @discount_rate.to_s.length > 6
|
386
|
-
invalid_properties.push('invalid value for "discount_rate", the character length must be smaller than or equal to 6.')
|
387
|
-
end
|
388
|
-
|
389
|
-
if !@invoice_number.nil? && @invoice_number.to_s.length > 23
|
390
|
-
invalid_properties.push('invalid value for "invoice_number", the character length must be smaller than or equal to 23.')
|
391
|
-
end
|
392
|
-
|
393
|
-
if !@weight.nil? && @weight.to_s.length > 9
|
394
|
-
invalid_properties.push('invalid value for "weight", the character length must be smaller than or equal to 9.')
|
395
|
-
end
|
396
|
-
|
397
|
-
if !@weight_identifier.nil? && @weight_identifier.to_s.length > 1
|
398
|
-
invalid_properties.push('invalid value for "weight_identifier", the character length must be smaller than or equal to 1.')
|
399
|
-
end
|
400
|
-
|
401
|
-
if !@weight_unit.nil? && @weight_unit.to_s.length > 2
|
402
|
-
invalid_properties.push('invalid value for "weight_unit", the character length must be smaller than or equal to 2.')
|
403
|
-
end
|
404
|
-
|
405
|
-
if !@reference_data_code.nil? && @reference_data_code.to_s.length > 2
|
406
|
-
invalid_properties.push('invalid value for "reference_data_code", the character length must be smaller than or equal to 2.')
|
407
|
-
end
|
408
|
-
|
409
|
-
if !@reference_data_number.nil? && @reference_data_number.to_s.length > 30
|
410
|
-
invalid_properties.push('invalid value for "reference_data_number", the character length must be smaller than or equal to 30.')
|
411
|
-
end
|
412
|
-
|
413
|
-
if !@shipping_destination_types.nil? && @shipping_destination_types.to_s.length > 50
|
414
|
-
invalid_properties.push('invalid value for "shipping_destination_types", the character length must be smaller than or equal to 50.')
|
415
|
-
end
|
416
|
-
|
417
329
|
invalid_properties
|
418
330
|
end
|
419
331
|
|
420
332
|
# Check to see if the all the properties in the model are valid
|
421
333
|
# @return true if the model is valid
|
422
334
|
def valid?
|
423
|
-
return false if !@product_code.nil? && @product_code.to_s.length > 255
|
424
|
-
return false if !@product_name.nil? && @product_name.to_s.length > 255
|
425
|
-
return false if !@product_sku.nil? && @product_sku.to_s.length > 255
|
426
335
|
return false if !@quantity.nil? && @quantity > 999999999
|
427
336
|
return false if !@quantity.nil? && @quantity < 1
|
428
|
-
return false if !@unit_price.nil? && @unit_price.to_s.length > 15
|
429
|
-
return false if !@unit_of_measure.nil? && @unit_of_measure.to_s.length > 12
|
430
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 13
|
431
|
-
return false if !@tax_amount.nil? && @tax_amount.to_s.length > 15
|
432
|
-
return false if !@tax_rate.nil? && @tax_rate.to_s.length > 7
|
433
|
-
return false if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
434
|
-
return false if !@tax_status_indicator.nil? && @tax_status_indicator.to_s.length > 1
|
435
|
-
return false if !@tax_type_code.nil? && @tax_type_code.to_s.length > 4
|
436
|
-
return false if !@type_of_supply.nil? && @type_of_supply.to_s.length > 2
|
437
|
-
return false if !@commodity_code.nil? && @commodity_code.to_s.length > 15
|
438
|
-
return false if !@discount_amount.nil? && @discount_amount.to_s.length > 13
|
439
|
-
return false if !@discount_rate.nil? && @discount_rate.to_s.length > 6
|
440
|
-
return false if !@invoice_number.nil? && @invoice_number.to_s.length > 23
|
441
|
-
return false if !@weight.nil? && @weight.to_s.length > 9
|
442
|
-
return false if !@weight_identifier.nil? && @weight_identifier.to_s.length > 1
|
443
|
-
return false if !@weight_unit.nil? && @weight_unit.to_s.length > 2
|
444
|
-
return false if !@reference_data_code.nil? && @reference_data_code.to_s.length > 2
|
445
|
-
return false if !@reference_data_number.nil? && @reference_data_number.to_s.length > 30
|
446
|
-
return false if !@shipping_destination_types.nil? && @shipping_destination_types.to_s.length > 50
|
447
337
|
true
|
448
338
|
end
|
449
339
|
|
450
340
|
# Custom attribute writer method with validation
|
451
341
|
# @param [Object] product_code Value to be assigned
|
452
342
|
def product_code=(product_code)
|
453
|
-
if !product_code.nil? && product_code.to_s.length > 255
|
454
|
-
fail ArgumentError, 'invalid value for "product_code", the character length must be smaller than or equal to 255.'
|
455
|
-
end
|
456
|
-
|
457
343
|
@product_code = product_code
|
458
344
|
end
|
459
345
|
|
460
346
|
# Custom attribute writer method with validation
|
461
347
|
# @param [Object] product_name Value to be assigned
|
462
348
|
def product_name=(product_name)
|
463
|
-
if !product_name.nil? && product_name.to_s.length > 255
|
464
|
-
fail ArgumentError, 'invalid value for "product_name", the character length must be smaller than or equal to 255.'
|
465
|
-
end
|
466
|
-
|
467
349
|
@product_name = product_name
|
468
350
|
end
|
469
351
|
|
470
352
|
# Custom attribute writer method with validation
|
471
353
|
# @param [Object] product_sku Value to be assigned
|
472
354
|
def product_sku=(product_sku)
|
473
|
-
if !product_sku.nil? && product_sku.to_s.length > 255
|
474
|
-
fail ArgumentError, 'invalid value for "product_sku", the character length must be smaller than or equal to 255.'
|
475
|
-
end
|
476
|
-
|
477
355
|
@product_sku = product_sku
|
478
356
|
end
|
479
357
|
|
@@ -494,190 +372,114 @@ module CyberSource
|
|
494
372
|
# Custom attribute writer method with validation
|
495
373
|
# @param [Object] unit_price Value to be assigned
|
496
374
|
def unit_price=(unit_price)
|
497
|
-
if !unit_price.nil? && unit_price.to_s.length > 15
|
498
|
-
fail ArgumentError, 'invalid value for "unit_price", the character length must be smaller than or equal to 15.'
|
499
|
-
end
|
500
|
-
|
501
375
|
@unit_price = unit_price
|
502
376
|
end
|
503
377
|
|
504
378
|
# Custom attribute writer method with validation
|
505
379
|
# @param [Object] unit_of_measure Value to be assigned
|
506
380
|
def unit_of_measure=(unit_of_measure)
|
507
|
-
if !unit_of_measure.nil? && unit_of_measure.to_s.length > 12
|
508
|
-
fail ArgumentError, 'invalid value for "unit_of_measure", the character length must be smaller than or equal to 12.'
|
509
|
-
end
|
510
|
-
|
511
381
|
@unit_of_measure = unit_of_measure
|
512
382
|
end
|
513
383
|
|
514
384
|
# Custom attribute writer method with validation
|
515
385
|
# @param [Object] total_amount Value to be assigned
|
516
386
|
def total_amount=(total_amount)
|
517
|
-
if !total_amount.nil? && total_amount.to_s.length > 13
|
518
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 13.'
|
519
|
-
end
|
520
|
-
|
521
387
|
@total_amount = total_amount
|
522
388
|
end
|
523
389
|
|
524
390
|
# Custom attribute writer method with validation
|
525
391
|
# @param [Object] tax_amount Value to be assigned
|
526
392
|
def tax_amount=(tax_amount)
|
527
|
-
if !tax_amount.nil? && tax_amount.to_s.length > 15
|
528
|
-
fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 15.'
|
529
|
-
end
|
530
|
-
|
531
393
|
@tax_amount = tax_amount
|
532
394
|
end
|
533
395
|
|
534
396
|
# Custom attribute writer method with validation
|
535
397
|
# @param [Object] tax_rate Value to be assigned
|
536
398
|
def tax_rate=(tax_rate)
|
537
|
-
if !tax_rate.nil? && tax_rate.to_s.length > 7
|
538
|
-
fail ArgumentError, 'invalid value for "tax_rate", the character length must be smaller than or equal to 7.'
|
539
|
-
end
|
540
|
-
|
541
399
|
@tax_rate = tax_rate
|
542
400
|
end
|
543
401
|
|
544
402
|
# Custom attribute writer method with validation
|
545
403
|
# @param [Object] tax_applied_after_discount Value to be assigned
|
546
404
|
def tax_applied_after_discount=(tax_applied_after_discount)
|
547
|
-
if !tax_applied_after_discount.nil? && tax_applied_after_discount.to_s.length > 1
|
548
|
-
fail ArgumentError, 'invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.'
|
549
|
-
end
|
550
|
-
|
551
405
|
@tax_applied_after_discount = tax_applied_after_discount
|
552
406
|
end
|
553
407
|
|
554
408
|
# Custom attribute writer method with validation
|
555
409
|
# @param [Object] tax_status_indicator Value to be assigned
|
556
410
|
def tax_status_indicator=(tax_status_indicator)
|
557
|
-
if !tax_status_indicator.nil? && tax_status_indicator.to_s.length > 1
|
558
|
-
fail ArgumentError, 'invalid value for "tax_status_indicator", the character length must be smaller than or equal to 1.'
|
559
|
-
end
|
560
|
-
|
561
411
|
@tax_status_indicator = tax_status_indicator
|
562
412
|
end
|
563
413
|
|
564
414
|
# Custom attribute writer method with validation
|
565
415
|
# @param [Object] tax_type_code Value to be assigned
|
566
416
|
def tax_type_code=(tax_type_code)
|
567
|
-
if !tax_type_code.nil? && tax_type_code.to_s.length > 4
|
568
|
-
fail ArgumentError, 'invalid value for "tax_type_code", the character length must be smaller than or equal to 4.'
|
569
|
-
end
|
570
|
-
|
571
417
|
@tax_type_code = tax_type_code
|
572
418
|
end
|
573
419
|
|
574
420
|
# Custom attribute writer method with validation
|
575
421
|
# @param [Object] type_of_supply Value to be assigned
|
576
422
|
def type_of_supply=(type_of_supply)
|
577
|
-
if !type_of_supply.nil? && type_of_supply.to_s.length > 2
|
578
|
-
fail ArgumentError, 'invalid value for "type_of_supply", the character length must be smaller than or equal to 2.'
|
579
|
-
end
|
580
|
-
|
581
423
|
@type_of_supply = type_of_supply
|
582
424
|
end
|
583
425
|
|
584
426
|
# Custom attribute writer method with validation
|
585
427
|
# @param [Object] commodity_code Value to be assigned
|
586
428
|
def commodity_code=(commodity_code)
|
587
|
-
if !commodity_code.nil? && commodity_code.to_s.length > 15
|
588
|
-
fail ArgumentError, 'invalid value for "commodity_code", the character length must be smaller than or equal to 15.'
|
589
|
-
end
|
590
|
-
|
591
429
|
@commodity_code = commodity_code
|
592
430
|
end
|
593
431
|
|
594
432
|
# Custom attribute writer method with validation
|
595
433
|
# @param [Object] discount_amount Value to be assigned
|
596
434
|
def discount_amount=(discount_amount)
|
597
|
-
if !discount_amount.nil? && discount_amount.to_s.length > 13
|
598
|
-
fail ArgumentError, 'invalid value for "discount_amount", the character length must be smaller than or equal to 13.'
|
599
|
-
end
|
600
|
-
|
601
435
|
@discount_amount = discount_amount
|
602
436
|
end
|
603
437
|
|
604
438
|
# Custom attribute writer method with validation
|
605
439
|
# @param [Object] discount_rate Value to be assigned
|
606
440
|
def discount_rate=(discount_rate)
|
607
|
-
if !discount_rate.nil? && discount_rate.to_s.length > 6
|
608
|
-
fail ArgumentError, 'invalid value for "discount_rate", the character length must be smaller than or equal to 6.'
|
609
|
-
end
|
610
|
-
|
611
441
|
@discount_rate = discount_rate
|
612
442
|
end
|
613
443
|
|
614
444
|
# Custom attribute writer method with validation
|
615
445
|
# @param [Object] invoice_number Value to be assigned
|
616
446
|
def invoice_number=(invoice_number)
|
617
|
-
if !invoice_number.nil? && invoice_number.to_s.length > 23
|
618
|
-
fail ArgumentError, 'invalid value for "invoice_number", the character length must be smaller than or equal to 23.'
|
619
|
-
end
|
620
|
-
|
621
447
|
@invoice_number = invoice_number
|
622
448
|
end
|
623
449
|
|
624
450
|
# Custom attribute writer method with validation
|
625
451
|
# @param [Object] weight Value to be assigned
|
626
452
|
def weight=(weight)
|
627
|
-
if !weight.nil? && weight.to_s.length > 9
|
628
|
-
fail ArgumentError, 'invalid value for "weight", the character length must be smaller than or equal to 9.'
|
629
|
-
end
|
630
|
-
|
631
453
|
@weight = weight
|
632
454
|
end
|
633
455
|
|
634
456
|
# Custom attribute writer method with validation
|
635
457
|
# @param [Object] weight_identifier Value to be assigned
|
636
458
|
def weight_identifier=(weight_identifier)
|
637
|
-
if !weight_identifier.nil? && weight_identifier.to_s.length > 1
|
638
|
-
fail ArgumentError, 'invalid value for "weight_identifier", the character length must be smaller than or equal to 1.'
|
639
|
-
end
|
640
|
-
|
641
459
|
@weight_identifier = weight_identifier
|
642
460
|
end
|
643
461
|
|
644
462
|
# Custom attribute writer method with validation
|
645
463
|
# @param [Object] weight_unit Value to be assigned
|
646
464
|
def weight_unit=(weight_unit)
|
647
|
-
if !weight_unit.nil? && weight_unit.to_s.length > 2
|
648
|
-
fail ArgumentError, 'invalid value for "weight_unit", the character length must be smaller than or equal to 2.'
|
649
|
-
end
|
650
|
-
|
651
465
|
@weight_unit = weight_unit
|
652
466
|
end
|
653
467
|
|
654
468
|
# Custom attribute writer method with validation
|
655
469
|
# @param [Object] reference_data_code Value to be assigned
|
656
470
|
def reference_data_code=(reference_data_code)
|
657
|
-
if !reference_data_code.nil? && reference_data_code.to_s.length > 2
|
658
|
-
fail ArgumentError, 'invalid value for "reference_data_code", the character length must be smaller than or equal to 2.'
|
659
|
-
end
|
660
|
-
|
661
471
|
@reference_data_code = reference_data_code
|
662
472
|
end
|
663
473
|
|
664
474
|
# Custom attribute writer method with validation
|
665
475
|
# @param [Object] reference_data_number Value to be assigned
|
666
476
|
def reference_data_number=(reference_data_number)
|
667
|
-
if !reference_data_number.nil? && reference_data_number.to_s.length > 30
|
668
|
-
fail ArgumentError, 'invalid value for "reference_data_number", the character length must be smaller than or equal to 30.'
|
669
|
-
end
|
670
|
-
|
671
477
|
@reference_data_number = reference_data_number
|
672
478
|
end
|
673
479
|
|
674
480
|
# Custom attribute writer method with validation
|
675
481
|
# @param [Object] shipping_destination_types Value to be assigned
|
676
482
|
def shipping_destination_types=(shipping_destination_types)
|
677
|
-
if !shipping_destination_types.nil? && shipping_destination_types.to_s.length > 50
|
678
|
-
fail ArgumentError, 'invalid value for "shipping_destination_types", the character length must be smaller than or equal to 50.'
|
679
|
-
end
|
680
|
-
|
681
483
|
@shipping_destination_types = shipping_destination_types
|
682
484
|
end
|
683
485
|
|