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
@@ -13,35 +13,43 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
# Contains recipient shipping information.
|
17
16
|
class Riskv1decisionsOrderInformationShipTo
|
18
|
-
# First line of the shipping address.
|
17
|
+
# First line of the shipping address. Required field for authorization if any shipping address information is included in the request; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
19
18
|
attr_accessor :address1
|
20
19
|
|
21
|
-
# Second line of the shipping address.
|
20
|
+
# Second line of the shipping address. Optional field. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
22
21
|
attr_accessor :address2
|
23
22
|
|
24
|
-
# State or province of the shipping address. Use the State, Province, and Territory Codes for the United States and Canada.
|
23
|
+
# State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
25
24
|
attr_accessor :administrative_area
|
26
25
|
|
27
|
-
# Country of the shipping address. Use the two-character ISO Standard Country Codes.
|
26
|
+
# Country of the shipping address. Use the two-character [ISO Standard Country Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) Required field for authorization if any shipping address information is included in the request; otherwise, optional. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
28
27
|
attr_accessor :country
|
29
28
|
|
30
|
-
#
|
29
|
+
# Shipping destination of item. Example: Commercial, Residential, Store
|
30
|
+
attr_accessor :destination_types
|
31
|
+
|
32
|
+
# City of the shipping address. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
31
33
|
attr_accessor :locality
|
32
34
|
|
33
|
-
# First name of the recipient.
|
35
|
+
# First name of the recipient. #### Litle Maximum length: 25 #### All other processors Maximum length: 60 Optional field.
|
34
36
|
attr_accessor :first_name
|
35
37
|
|
36
|
-
# Last name of the recipient.
|
38
|
+
# Last name of the recipient. #### Litle Maximum length: 25 #### All other processors Maximum length: 60 Optional field.
|
37
39
|
attr_accessor :last_name
|
38
40
|
|
39
41
|
# Phone number associated with the shipping address.
|
40
42
|
attr_accessor :phone_number
|
41
43
|
|
42
|
-
# Postal code for the shipping address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3
|
44
|
+
# Postal code for the shipping address. The postal code must consist of 5 to 9 digits. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 #### American Express Direct Before sending the postal code to the processor, all nonalphanumeric characters are removed and, if the remaining value is longer than nine characters, the value is truncated starting from the right side. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
43
45
|
attr_accessor :postal_code
|
44
46
|
|
47
|
+
# Indicates destination chosen for the transaction. Possible values: - 01- Ship to cardholder billing address - 02- Ship to another verified address on file with merchant - 03- Ship to address that is different than billing address - 04- Ship to store (store address should be populated on request) - 05- Digital goods - 06- Travel and event tickets, not shipped - 07- Other
|
48
|
+
attr_accessor :destination_code
|
49
|
+
|
50
|
+
# Shipping method for the product. Possible values: - lowcost: Lowest-cost service - sameday: Courier or same-day service - oneday: Next-day or overnight service - twoday: Two-day service - threeday: Three-day service - pickup: Store pick-up - other: Other shipping method - none: No shipping method because product is a service or subscription Required for American Express SafeKey (U.S.).
|
51
|
+
attr_accessor :method
|
52
|
+
|
45
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
46
54
|
def self.attribute_map
|
47
55
|
{
|
@@ -49,11 +57,14 @@ module CyberSource
|
|
49
57
|
:'address2' => :'address2',
|
50
58
|
:'administrative_area' => :'administrativeArea',
|
51
59
|
:'country' => :'country',
|
60
|
+
:'destination_types' => :'destinationTypes',
|
52
61
|
:'locality' => :'locality',
|
53
62
|
:'first_name' => :'firstName',
|
54
63
|
:'last_name' => :'lastName',
|
55
64
|
:'phone_number' => :'phoneNumber',
|
56
|
-
:'postal_code' => :'postalCode'
|
65
|
+
:'postal_code' => :'postalCode',
|
66
|
+
:'destination_code' => :'destinationCode',
|
67
|
+
:'method' => :'method'
|
57
68
|
}
|
58
69
|
end
|
59
70
|
|
@@ -64,11 +75,14 @@ module CyberSource
|
|
64
75
|
:'address2' => :'String',
|
65
76
|
:'administrative_area' => :'String',
|
66
77
|
:'country' => :'String',
|
78
|
+
:'destination_types' => :'String',
|
67
79
|
:'locality' => :'String',
|
68
80
|
:'first_name' => :'String',
|
69
81
|
:'last_name' => :'String',
|
70
82
|
:'phone_number' => :'String',
|
71
|
-
:'postal_code' => :'String'
|
83
|
+
:'postal_code' => :'String',
|
84
|
+
:'destination_code' => :'Integer',
|
85
|
+
:'method' => :'String'
|
72
86
|
}
|
73
87
|
end
|
74
88
|
|
@@ -96,6 +110,10 @@ module CyberSource
|
|
96
110
|
self.country = attributes[:'country']
|
97
111
|
end
|
98
112
|
|
113
|
+
if attributes.has_key?(:'destinationTypes')
|
114
|
+
self.destination_types = attributes[:'destinationTypes']
|
115
|
+
end
|
116
|
+
|
99
117
|
if attributes.has_key?(:'locality')
|
100
118
|
self.locality = attributes[:'locality']
|
101
119
|
end
|
@@ -115,156 +133,95 @@ module CyberSource
|
|
115
133
|
if attributes.has_key?(:'postalCode')
|
116
134
|
self.postal_code = attributes[:'postalCode']
|
117
135
|
end
|
136
|
+
|
137
|
+
if attributes.has_key?(:'destinationCode')
|
138
|
+
self.destination_code = attributes[:'destinationCode']
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.has_key?(:'method')
|
142
|
+
self.method = attributes[:'method']
|
143
|
+
end
|
118
144
|
end
|
119
145
|
|
120
146
|
# Show invalid properties with the reasons. Usually used together with valid?
|
121
147
|
# @return Array for valid properties with the reasons
|
122
148
|
def list_invalid_properties
|
123
149
|
invalid_properties = Array.new
|
124
|
-
if !@address1.nil? && @address1.to_s.length > 60
|
125
|
-
invalid_properties.push('invalid value for "address1", the character length must be smaller than or equal to 60.')
|
126
|
-
end
|
127
|
-
|
128
|
-
if !@address2.nil? && @address2.to_s.length > 60
|
129
|
-
invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 60.')
|
130
|
-
end
|
131
|
-
|
132
|
-
if !@administrative_area.nil? && @administrative_area.to_s.length > 2
|
133
|
-
invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 2.')
|
134
|
-
end
|
135
|
-
|
136
|
-
if !@country.nil? && @country.to_s.length > 2
|
137
|
-
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
|
138
|
-
end
|
139
|
-
|
140
|
-
if !@locality.nil? && @locality.to_s.length > 50
|
141
|
-
invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 50.')
|
142
|
-
end
|
143
|
-
|
144
|
-
if !@first_name.nil? && @first_name.to_s.length > 60
|
145
|
-
invalid_properties.push('invalid value for "first_name", the character length must be smaller than or equal to 60.')
|
146
|
-
end
|
147
|
-
|
148
|
-
if !@last_name.nil? && @last_name.to_s.length > 60
|
149
|
-
invalid_properties.push('invalid value for "last_name", the character length must be smaller than or equal to 60.')
|
150
|
-
end
|
151
|
-
|
152
|
-
if !@phone_number.nil? && @phone_number.to_s.length > 15
|
153
|
-
invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 15.')
|
154
|
-
end
|
155
|
-
|
156
|
-
if !@postal_code.nil? && @postal_code.to_s.length > 10
|
157
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
|
158
|
-
end
|
159
|
-
|
160
150
|
invalid_properties
|
161
151
|
end
|
162
152
|
|
163
153
|
# Check to see if the all the properties in the model are valid
|
164
154
|
# @return true if the model is valid
|
165
155
|
def valid?
|
166
|
-
return false if !@address1.nil? && @address1.to_s.length > 60
|
167
|
-
return false if !@address2.nil? && @address2.to_s.length > 60
|
168
|
-
return false if !@administrative_area.nil? && @administrative_area.to_s.length > 2
|
169
|
-
return false if !@country.nil? && @country.to_s.length > 2
|
170
|
-
return false if !@locality.nil? && @locality.to_s.length > 50
|
171
|
-
return false if !@first_name.nil? && @first_name.to_s.length > 60
|
172
|
-
return false if !@last_name.nil? && @last_name.to_s.length > 60
|
173
|
-
return false if !@phone_number.nil? && @phone_number.to_s.length > 15
|
174
|
-
return false if !@postal_code.nil? && @postal_code.to_s.length > 10
|
175
156
|
true
|
176
157
|
end
|
177
158
|
|
178
159
|
# Custom attribute writer method with validation
|
179
160
|
# @param [Object] address1 Value to be assigned
|
180
161
|
def address1=(address1)
|
181
|
-
if !address1.nil? && address1.to_s.length > 60
|
182
|
-
fail ArgumentError, 'invalid value for "address1", the character length must be smaller than or equal to 60.'
|
183
|
-
end
|
184
|
-
|
185
162
|
@address1 = address1
|
186
163
|
end
|
187
164
|
|
188
165
|
# Custom attribute writer method with validation
|
189
166
|
# @param [Object] address2 Value to be assigned
|
190
167
|
def address2=(address2)
|
191
|
-
if !address2.nil? && address2.to_s.length > 60
|
192
|
-
fail ArgumentError, 'invalid value for "address2", the character length must be smaller than or equal to 60.'
|
193
|
-
end
|
194
|
-
|
195
168
|
@address2 = address2
|
196
169
|
end
|
197
170
|
|
198
171
|
# Custom attribute writer method with validation
|
199
172
|
# @param [Object] administrative_area Value to be assigned
|
200
173
|
def administrative_area=(administrative_area)
|
201
|
-
if !administrative_area.nil? && administrative_area.to_s.length > 2
|
202
|
-
fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 2.'
|
203
|
-
end
|
204
|
-
|
205
174
|
@administrative_area = administrative_area
|
206
175
|
end
|
207
176
|
|
208
177
|
# Custom attribute writer method with validation
|
209
178
|
# @param [Object] country Value to be assigned
|
210
179
|
def country=(country)
|
211
|
-
if !country.nil? && country.to_s.length > 2
|
212
|
-
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
|
213
|
-
end
|
214
|
-
|
215
180
|
@country = country
|
216
181
|
end
|
217
182
|
|
183
|
+
# Custom attribute writer method with validation
|
184
|
+
# @param [Object] destination_types Value to be assigned
|
185
|
+
def destination_types=(destination_types)
|
186
|
+
@destination_types = destination_types
|
187
|
+
end
|
188
|
+
|
218
189
|
# Custom attribute writer method with validation
|
219
190
|
# @param [Object] locality Value to be assigned
|
220
191
|
def locality=(locality)
|
221
|
-
if !locality.nil? && locality.to_s.length > 50
|
222
|
-
fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 50.'
|
223
|
-
end
|
224
|
-
|
225
192
|
@locality = locality
|
226
193
|
end
|
227
194
|
|
228
195
|
# Custom attribute writer method with validation
|
229
196
|
# @param [Object] first_name Value to be assigned
|
230
197
|
def first_name=(first_name)
|
231
|
-
if !first_name.nil? && first_name.to_s.length > 60
|
232
|
-
fail ArgumentError, 'invalid value for "first_name", the character length must be smaller than or equal to 60.'
|
233
|
-
end
|
234
|
-
|
235
198
|
@first_name = first_name
|
236
199
|
end
|
237
200
|
|
238
201
|
# Custom attribute writer method with validation
|
239
202
|
# @param [Object] last_name Value to be assigned
|
240
203
|
def last_name=(last_name)
|
241
|
-
if !last_name.nil? && last_name.to_s.length > 60
|
242
|
-
fail ArgumentError, 'invalid value for "last_name", the character length must be smaller than or equal to 60.'
|
243
|
-
end
|
244
|
-
|
245
204
|
@last_name = last_name
|
246
205
|
end
|
247
206
|
|
248
207
|
# Custom attribute writer method with validation
|
249
208
|
# @param [Object] phone_number Value to be assigned
|
250
209
|
def phone_number=(phone_number)
|
251
|
-
if !phone_number.nil? && phone_number.to_s.length > 15
|
252
|
-
fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to 15.'
|
253
|
-
end
|
254
|
-
|
255
210
|
@phone_number = phone_number
|
256
211
|
end
|
257
212
|
|
258
213
|
# Custom attribute writer method with validation
|
259
214
|
# @param [Object] postal_code Value to be assigned
|
260
215
|
def postal_code=(postal_code)
|
261
|
-
if !postal_code.nil? && postal_code.to_s.length > 10
|
262
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 10.'
|
263
|
-
end
|
264
|
-
|
265
216
|
@postal_code = postal_code
|
266
217
|
end
|
267
218
|
|
219
|
+
# Custom attribute writer method with validation
|
220
|
+
# @param [Object] method Value to be assigned
|
221
|
+
def method=(method)
|
222
|
+
@method = method
|
223
|
+
end
|
224
|
+
|
268
225
|
# Checks equality by comparing each attribute.
|
269
226
|
# @param [Object] Object to be compared
|
270
227
|
def ==(o)
|
@@ -274,11 +231,14 @@ module CyberSource
|
|
274
231
|
address2 == o.address2 &&
|
275
232
|
administrative_area == o.administrative_area &&
|
276
233
|
country == o.country &&
|
234
|
+
destination_types == o.destination_types &&
|
277
235
|
locality == o.locality &&
|
278
236
|
first_name == o.first_name &&
|
279
237
|
last_name == o.last_name &&
|
280
238
|
phone_number == o.phone_number &&
|
281
|
-
postal_code == o.postal_code
|
239
|
+
postal_code == o.postal_code &&
|
240
|
+
destination_code == o.destination_code &&
|
241
|
+
method == o.method
|
282
242
|
end
|
283
243
|
|
284
244
|
# @see the `==` method
|
@@ -290,7 +250,7 @@ module CyberSource
|
|
290
250
|
# Calculates hash code according to all attributes.
|
291
251
|
# @return [Fixnum] Hash code
|
292
252
|
def hash
|
293
|
-
[address1, address2, administrative_area, country, locality, first_name, last_name, phone_number, postal_code].hash
|
253
|
+
[address1, address2, administrative_area, country, destination_types, locality, first_name, last_name, phone_number, postal_code, destination_code, method].hash
|
294
254
|
end
|
295
255
|
|
296
256
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb
CHANGED
@@ -58,27 +58,18 @@ module CyberSource
|
|
58
58
|
# @return Array for valid properties with the reasons
|
59
59
|
def list_invalid_properties
|
60
60
|
invalid_properties = Array.new
|
61
|
-
if !@shipping_method.nil? && @shipping_method.to_s.length > 10
|
62
|
-
invalid_properties.push('invalid value for "shipping_method", the character length must be smaller than or equal to 10.')
|
63
|
-
end
|
64
|
-
|
65
61
|
invalid_properties
|
66
62
|
end
|
67
63
|
|
68
64
|
# Check to see if the all the properties in the model are valid
|
69
65
|
# @return true if the model is valid
|
70
66
|
def valid?
|
71
|
-
return false if !@shipping_method.nil? && @shipping_method.to_s.length > 10
|
72
67
|
true
|
73
68
|
end
|
74
69
|
|
75
70
|
# Custom attribute writer method with validation
|
76
71
|
# @param [Object] shipping_method Value to be assigned
|
77
72
|
def shipping_method=(shipping_method)
|
78
|
-
if !shipping_method.nil? && shipping_method.to_s.length > 10
|
79
|
-
fail ArgumentError, 'invalid value for "shipping_method", the character length must be smaller than or equal to 10.'
|
80
|
-
end
|
81
|
-
|
82
73
|
@shipping_method = shipping_method
|
83
74
|
end
|
84
75
|
|
@@ -19,11 +19,21 @@ module CyberSource
|
|
19
19
|
|
20
20
|
attr_accessor :tokenized_card
|
21
21
|
|
22
|
+
attr_accessor :customer
|
23
|
+
|
24
|
+
attr_accessor :bank
|
25
|
+
|
26
|
+
# Method of payment used for the order. This field can contain one of the following values: - `consumer` (default): Customer credit card - `corporate`: Corporate credit card - `debit`: Debit card, such as a Maestro (UK Domestic) card - `cod`: Collect on delivery - `check`: Electronic check - `p2p`: Person-to-person payment - `private1`: Private label credit card - `other`: Other payment method
|
27
|
+
attr_accessor :method
|
28
|
+
|
22
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
30
|
def self.attribute_map
|
24
31
|
{
|
25
32
|
:'card' => :'card',
|
26
|
-
:'tokenized_card' => :'tokenizedCard'
|
33
|
+
:'tokenized_card' => :'tokenizedCard',
|
34
|
+
:'customer' => :'customer',
|
35
|
+
:'bank' => :'bank',
|
36
|
+
:'method' => :'method'
|
27
37
|
}
|
28
38
|
end
|
29
39
|
|
@@ -31,7 +41,10 @@ module CyberSource
|
|
31
41
|
def self.swagger_types
|
32
42
|
{
|
33
43
|
:'card' => :'Riskv1decisionsPaymentInformationCard',
|
34
|
-
:'tokenized_card' => :'Riskv1decisionsPaymentInformationTokenizedCard'
|
44
|
+
:'tokenized_card' => :'Riskv1decisionsPaymentInformationTokenizedCard',
|
45
|
+
:'customer' => :'Ptsv2paymentsPaymentInformationCustomer',
|
46
|
+
:'bank' => :'Ptsv2paymentsPaymentInformationBank',
|
47
|
+
:'method' => :'String'
|
35
48
|
}
|
36
49
|
end
|
37
50
|
|
@@ -50,6 +63,18 @@ module CyberSource
|
|
50
63
|
if attributes.has_key?(:'tokenizedCard')
|
51
64
|
self.tokenized_card = attributes[:'tokenizedCard']
|
52
65
|
end
|
66
|
+
|
67
|
+
if attributes.has_key?(:'customer')
|
68
|
+
self.customer = attributes[:'customer']
|
69
|
+
end
|
70
|
+
|
71
|
+
if attributes.has_key?(:'bank')
|
72
|
+
self.bank = attributes[:'bank']
|
73
|
+
end
|
74
|
+
|
75
|
+
if attributes.has_key?(:'method')
|
76
|
+
self.method = attributes[:'method']
|
77
|
+
end
|
53
78
|
end
|
54
79
|
|
55
80
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -65,13 +90,22 @@ module CyberSource
|
|
65
90
|
true
|
66
91
|
end
|
67
92
|
|
93
|
+
# Custom attribute writer method with validation
|
94
|
+
# @param [Object] method Value to be assigned
|
95
|
+
def method=(method)
|
96
|
+
@method = method
|
97
|
+
end
|
98
|
+
|
68
99
|
# Checks equality by comparing each attribute.
|
69
100
|
# @param [Object] Object to be compared
|
70
101
|
def ==(o)
|
71
102
|
return true if self.equal?(o)
|
72
103
|
self.class == o.class &&
|
73
104
|
card == o.card &&
|
74
|
-
tokenized_card == o.tokenized_card
|
105
|
+
tokenized_card == o.tokenized_card &&
|
106
|
+
customer == o.customer &&
|
107
|
+
bank == o.bank &&
|
108
|
+
method == o.method
|
75
109
|
end
|
76
110
|
|
77
111
|
# @see the `==` method
|
@@ -83,7 +117,7 @@ module CyberSource
|
|
83
117
|
# Calculates hash code according to all attributes.
|
84
118
|
# @return [Fixnum] Hash code
|
85
119
|
def hash
|
86
|
-
[card, tokenized_card].hash
|
120
|
+
[card, tokenized_card, customer, bank, method].hash
|
87
121
|
end
|
88
122
|
|
89
123
|
# Builds the object from hash
|
@@ -15,19 +15,19 @@ require 'date'
|
|
15
15
|
module CyberSource
|
16
16
|
# Use this for a non-tokenized payment card.
|
17
17
|
class Riskv1decisionsPaymentInformationCard
|
18
|
-
# The customer’s payment card number, also known as the Primary Account Number (PAN). You can also use this field for encoded account numbers.
|
18
|
+
# The customer’s payment card number, also known as the Primary Account Number (PAN). You can also use this field for encoded account numbers. #### FDMS Nashville Required. String (19) #### GPX Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
19
19
|
attr_accessor :number
|
20
20
|
|
21
|
-
# Three-digit value that indicates the card type.
|
21
|
+
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
22
22
|
attr_accessor :type
|
23
23
|
|
24
24
|
# description: The BIN is the first six digits of the card's Primary Account Number (PAN).
|
25
25
|
attr_accessor :bin
|
26
26
|
|
27
|
-
# Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (_type_=039), if there is no expiration date on the card, use `12`. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
27
|
+
# Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. Leading 0 is required. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (_type_=039), if there is no expiration date on the card, use `12`. #### FDMS Nashville Required field. #### GPX Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
28
28
|
attr_accessor :expiration_month
|
29
29
|
|
30
|
-
# Four-digit year in which the
|
30
|
+
# Four-digit year in which the payment card expires. Format: `YYYY`. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`1900` through `3000`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (**_type_**`=039`), if there is no expiration date on the card, use `2021`. #### FDMS Nashville Required field. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. If you send in 2 digits, they must be the last 2 digits of the year. #### GPX Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
31
31
|
attr_accessor :expiration_year
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -85,72 +85,36 @@ module CyberSource
|
|
85
85
|
# @return Array for valid properties with the reasons
|
86
86
|
def list_invalid_properties
|
87
87
|
invalid_properties = Array.new
|
88
|
-
if !@number.nil? && @number.to_s.length > 20
|
89
|
-
invalid_properties.push('invalid value for "number", the character length must be smaller than or equal to 20.')
|
90
|
-
end
|
91
|
-
|
92
|
-
if !@bin.nil? && @bin.to_s.length > 6
|
93
|
-
invalid_properties.push('invalid value for "bin", the character length must be smaller than or equal to 6.')
|
94
|
-
end
|
95
|
-
|
96
|
-
if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
97
|
-
invalid_properties.push('invalid value for "expiration_month", the character length must be smaller than or equal to 2.')
|
98
|
-
end
|
99
|
-
|
100
|
-
if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
101
|
-
invalid_properties.push('invalid value for "expiration_year", the character length must be smaller than or equal to 4.')
|
102
|
-
end
|
103
|
-
|
104
88
|
invalid_properties
|
105
89
|
end
|
106
90
|
|
107
91
|
# Check to see if the all the properties in the model are valid
|
108
92
|
# @return true if the model is valid
|
109
93
|
def valid?
|
110
|
-
return false if !@number.nil? && @number.to_s.length > 20
|
111
|
-
return false if !@bin.nil? && @bin.to_s.length > 6
|
112
|
-
return false if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
113
|
-
return false if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
114
94
|
true
|
115
95
|
end
|
116
96
|
|
117
97
|
# Custom attribute writer method with validation
|
118
98
|
# @param [Object] number Value to be assigned
|
119
99
|
def number=(number)
|
120
|
-
if !number.nil? && number.to_s.length > 20
|
121
|
-
fail ArgumentError, 'invalid value for "number", the character length must be smaller than or equal to 20.'
|
122
|
-
end
|
123
|
-
|
124
100
|
@number = number
|
125
101
|
end
|
126
102
|
|
127
103
|
# Custom attribute writer method with validation
|
128
104
|
# @param [Object] bin Value to be assigned
|
129
105
|
def bin=(bin)
|
130
|
-
if !bin.nil? && bin.to_s.length > 6
|
131
|
-
fail ArgumentError, 'invalid value for "bin", the character length must be smaller than or equal to 6.'
|
132
|
-
end
|
133
|
-
|
134
106
|
@bin = bin
|
135
107
|
end
|
136
108
|
|
137
109
|
# Custom attribute writer method with validation
|
138
110
|
# @param [Object] expiration_month Value to be assigned
|
139
111
|
def expiration_month=(expiration_month)
|
140
|
-
if !expiration_month.nil? && expiration_month.to_s.length > 2
|
141
|
-
fail ArgumentError, 'invalid value for "expiration_month", the character length must be smaller than or equal to 2.'
|
142
|
-
end
|
143
|
-
|
144
112
|
@expiration_month = expiration_month
|
145
113
|
end
|
146
114
|
|
147
115
|
# Custom attribute writer method with validation
|
148
116
|
# @param [Object] expiration_year Value to be assigned
|
149
117
|
def expiration_year=(expiration_year)
|
150
|
-
if !expiration_year.nil? && expiration_year.to_s.length > 4
|
151
|
-
fail ArgumentError, 'invalid value for "expiration_year", the character length must be smaller than or equal to 4.'
|
152
|
-
end
|
153
|
-
|
154
118
|
@expiration_year = expiration_year
|
155
119
|
end
|
156
120
|
|