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,14 +13,14 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
# Represents the encrypted payment data BLOB. The entry for this field is dependent on the payment solution a merchant uses.
|
16
|
+
class Riskv1authenticationsetupsPaymentInformationFluidData
|
17
|
+
# Represents the encrypted payment data BLOB. The entry for this field is dependent on the payment solution a merchant uses. #### Used by **Authorization and Standalone Credits** Required for authorizations and standalone credits that use Bluefin PCI P2PE. #### Card Present processing This field represents the encrypted Bluefin PCI P2PE payment data. Obtain the encrypted payment data from a Bluefin-supported device.
|
18
18
|
attr_accessor :value
|
19
19
|
|
20
20
|
# The encoded or encrypted value that a payment solution returns for an authorization request. For details about the valid values for a key, see [Creating an Online Authorization](https://developer.cybersource.com/api/developer-guides/dita-payments/CreatingOnlineAuth.html)
|
21
21
|
attr_accessor :key_serial_number
|
22
22
|
|
23
|
-
# The identifier for a payment solution, which is sending the encrypted payment data
|
23
|
+
# The identifier for a payment solution, which is sending the encrypted payment data for decryption. Valid values: - Samsung Pay: `RklEPUNPTU1PTi5TQU1TVU5HLklOQVBQLlBBWU1FTlQ=` **Note**: For other payment solutions, the value may be specific to the customer's mobile device. For example, the descriptor for a Bluefin payment encryption would be a device-generated descriptor. #### Used by **Authorization and Standalone Credits** Required for authorizations and standalone credits that use Bluefin PCI P2PE. #### Card Present processing Format of the encrypted payment data. The value for Bluefin PCI P2PE is `Ymx1ZWZpbg==`.
|
24
24
|
attr_accessor :descriptor
|
25
25
|
|
26
26
|
# Encoding method used to encrypt the payment data. Valid value: Base64
|
@@ -79,18 +79,6 @@ module CyberSource
|
|
79
79
|
invalid_properties.push('invalid value for "value", value cannot be nil.')
|
80
80
|
end
|
81
81
|
|
82
|
-
if @value.to_s.length > 3072
|
83
|
-
invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to 3072.')
|
84
|
-
end
|
85
|
-
|
86
|
-
if !@descriptor.nil? && @descriptor.to_s.length > 128
|
87
|
-
invalid_properties.push('invalid value for "descriptor", the character length must be smaller than or equal to 128.')
|
88
|
-
end
|
89
|
-
|
90
|
-
if !@encoding.nil? && @encoding.to_s.length > 6
|
91
|
-
invalid_properties.push('invalid value for "encoding", the character length must be smaller than or equal to 6.')
|
92
|
-
end
|
93
|
-
|
94
82
|
invalid_properties
|
95
83
|
end
|
96
84
|
|
@@ -98,9 +86,6 @@ module CyberSource
|
|
98
86
|
# @return true if the model is valid
|
99
87
|
def valid?
|
100
88
|
return false if @value.nil?
|
101
|
-
return false if @value.to_s.length > 3072
|
102
|
-
return false if !@descriptor.nil? && @descriptor.to_s.length > 128
|
103
|
-
return false if !@encoding.nil? && @encoding.to_s.length > 6
|
104
89
|
true
|
105
90
|
end
|
106
91
|
|
@@ -111,30 +96,18 @@ module CyberSource
|
|
111
96
|
fail ArgumentError, 'value cannot be nil'
|
112
97
|
end
|
113
98
|
|
114
|
-
if value.to_s.length > 3072
|
115
|
-
fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to 3072.'
|
116
|
-
end
|
117
|
-
|
118
99
|
@value = value
|
119
100
|
end
|
120
101
|
|
121
102
|
# Custom attribute writer method with validation
|
122
103
|
# @param [Object] descriptor Value to be assigned
|
123
104
|
def descriptor=(descriptor)
|
124
|
-
if !descriptor.nil? && descriptor.to_s.length > 128
|
125
|
-
fail ArgumentError, 'invalid value for "descriptor", the character length must be smaller than or equal to 128.'
|
126
|
-
end
|
127
|
-
|
128
105
|
@descriptor = descriptor
|
129
106
|
end
|
130
107
|
|
131
108
|
# Custom attribute writer method with validation
|
132
109
|
# @param [Object] encoding Value to be assigned
|
133
110
|
def encoding=(encoding)
|
134
|
-
if !encoding.nil? && encoding.to_s.length > 6
|
135
|
-
fail ArgumentError, 'invalid value for "encoding", the character length must be smaller than or equal to 6.'
|
136
|
-
end
|
137
|
-
|
138
111
|
@encoding = encoding
|
139
112
|
end
|
140
113
|
|
@@ -0,0 +1,289 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class Riskv1authenticationsetupsPaymentInformationTokenizedCard
|
17
|
+
# Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.
|
18
|
+
attr_accessor :transaction_type
|
19
|
+
|
20
|
+
# 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
|
21
|
+
attr_accessor :type
|
22
|
+
|
23
|
+
# One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### 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 (`card_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. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
24
|
+
attr_accessor :expiration_month
|
25
|
+
|
26
|
+
# One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### 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 (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
27
|
+
attr_accessor :expiration_year
|
28
|
+
|
29
|
+
# Customer’s payment network token value.
|
30
|
+
attr_accessor :number
|
31
|
+
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
33
|
+
def self.attribute_map
|
34
|
+
{
|
35
|
+
:'transaction_type' => :'transactionType',
|
36
|
+
:'type' => :'type',
|
37
|
+
:'expiration_month' => :'expirationMonth',
|
38
|
+
:'expiration_year' => :'expirationYear',
|
39
|
+
:'number' => :'number'
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
# Attribute type mapping.
|
44
|
+
def self.swagger_types
|
45
|
+
{
|
46
|
+
:'transaction_type' => :'String',
|
47
|
+
:'type' => :'String',
|
48
|
+
:'expiration_month' => :'String',
|
49
|
+
:'expiration_year' => :'String',
|
50
|
+
:'number' => :'String'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Initializes the object
|
55
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
56
|
+
def initialize(attributes = {})
|
57
|
+
return unless attributes.is_a?(Hash)
|
58
|
+
|
59
|
+
# convert string to symbol for hash key
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
61
|
+
|
62
|
+
if attributes.has_key?(:'transactionType')
|
63
|
+
self.transaction_type = attributes[:'transactionType']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes.has_key?(:'type')
|
67
|
+
self.type = attributes[:'type']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.has_key?(:'expirationMonth')
|
71
|
+
self.expiration_month = attributes[:'expirationMonth']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes.has_key?(:'expirationYear')
|
75
|
+
self.expiration_year = attributes[:'expirationYear']
|
76
|
+
end
|
77
|
+
|
78
|
+
if attributes.has_key?(:'number')
|
79
|
+
self.number = attributes[:'number']
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
84
|
+
# @return Array for valid properties with the reasons
|
85
|
+
def list_invalid_properties
|
86
|
+
invalid_properties = Array.new
|
87
|
+
if @transaction_type.nil?
|
88
|
+
invalid_properties.push('invalid value for "transaction_type", transaction_type cannot be nil.')
|
89
|
+
end
|
90
|
+
|
91
|
+
if @type.nil?
|
92
|
+
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @expiration_month.nil?
|
96
|
+
invalid_properties.push('invalid value for "expiration_month", expiration_month cannot be nil.')
|
97
|
+
end
|
98
|
+
|
99
|
+
if @expiration_year.nil?
|
100
|
+
invalid_properties.push('invalid value for "expiration_year", expiration_year cannot be nil.')
|
101
|
+
end
|
102
|
+
|
103
|
+
if @number.nil?
|
104
|
+
invalid_properties.push('invalid value for "number", number cannot be nil.')
|
105
|
+
end
|
106
|
+
|
107
|
+
invalid_properties
|
108
|
+
end
|
109
|
+
|
110
|
+
# Check to see if the all the properties in the model are valid
|
111
|
+
# @return true if the model is valid
|
112
|
+
def valid?
|
113
|
+
return false if @transaction_type.nil?
|
114
|
+
return false if @type.nil?
|
115
|
+
return false if @expiration_month.nil?
|
116
|
+
return false if @expiration_year.nil?
|
117
|
+
return false if @number.nil?
|
118
|
+
true
|
119
|
+
end
|
120
|
+
|
121
|
+
# Custom attribute writer method with validation
|
122
|
+
# @param [Object] transaction_type Value to be assigned
|
123
|
+
def transaction_type=(transaction_type)
|
124
|
+
if transaction_type.nil?
|
125
|
+
fail ArgumentError, 'transaction_type cannot be nil'
|
126
|
+
end
|
127
|
+
|
128
|
+
@transaction_type = transaction_type
|
129
|
+
end
|
130
|
+
|
131
|
+
# Custom attribute writer method with validation
|
132
|
+
# @param [Object] expiration_month Value to be assigned
|
133
|
+
def expiration_month=(expiration_month)
|
134
|
+
if expiration_month.nil?
|
135
|
+
fail ArgumentError, 'expiration_month cannot be nil'
|
136
|
+
end
|
137
|
+
|
138
|
+
@expiration_month = expiration_month
|
139
|
+
end
|
140
|
+
|
141
|
+
# Custom attribute writer method with validation
|
142
|
+
# @param [Object] expiration_year Value to be assigned
|
143
|
+
def expiration_year=(expiration_year)
|
144
|
+
if expiration_year.nil?
|
145
|
+
fail ArgumentError, 'expiration_year cannot be nil'
|
146
|
+
end
|
147
|
+
|
148
|
+
@expiration_year = expiration_year
|
149
|
+
end
|
150
|
+
|
151
|
+
# Custom attribute writer method with validation
|
152
|
+
# @param [Object] number Value to be assigned
|
153
|
+
def number=(number)
|
154
|
+
if number.nil?
|
155
|
+
fail ArgumentError, 'number cannot be nil'
|
156
|
+
end
|
157
|
+
|
158
|
+
@number = number
|
159
|
+
end
|
160
|
+
|
161
|
+
# Checks equality by comparing each attribute.
|
162
|
+
# @param [Object] Object to be compared
|
163
|
+
def ==(o)
|
164
|
+
return true if self.equal?(o)
|
165
|
+
self.class == o.class &&
|
166
|
+
transaction_type == o.transaction_type &&
|
167
|
+
type == o.type &&
|
168
|
+
expiration_month == o.expiration_month &&
|
169
|
+
expiration_year == o.expiration_year &&
|
170
|
+
number == o.number
|
171
|
+
end
|
172
|
+
|
173
|
+
# @see the `==` method
|
174
|
+
# @param [Object] Object to be compared
|
175
|
+
def eql?(o)
|
176
|
+
self == o
|
177
|
+
end
|
178
|
+
|
179
|
+
# Calculates hash code according to all attributes.
|
180
|
+
# @return [Fixnum] Hash code
|
181
|
+
def hash
|
182
|
+
[transaction_type, type, expiration_month, expiration_year, number].hash
|
183
|
+
end
|
184
|
+
|
185
|
+
# Builds the object from hash
|
186
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
187
|
+
# @return [Object] Returns the model itself
|
188
|
+
def build_from_hash(attributes)
|
189
|
+
return nil unless attributes.is_a?(Hash)
|
190
|
+
self.class.swagger_types.each_pair do |key, type|
|
191
|
+
if type =~ /\AArray<(.*)>/i
|
192
|
+
# check to ensure the input is an array given that the the attribute
|
193
|
+
# is documented as an array but the input is not
|
194
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
195
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
196
|
+
end
|
197
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
198
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
199
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
200
|
+
end
|
201
|
+
|
202
|
+
self
|
203
|
+
end
|
204
|
+
|
205
|
+
# Deserializes the data based on type
|
206
|
+
# @param string type Data type
|
207
|
+
# @param string value Value to be deserialized
|
208
|
+
# @return [Object] Deserialized data
|
209
|
+
def _deserialize(type, value)
|
210
|
+
case type.to_sym
|
211
|
+
when :DateTime
|
212
|
+
DateTime.parse(value)
|
213
|
+
when :Date
|
214
|
+
Date.parse(value)
|
215
|
+
when :String
|
216
|
+
value.to_s
|
217
|
+
when :Integer
|
218
|
+
value.to_i
|
219
|
+
when :Float
|
220
|
+
value.to_f
|
221
|
+
when :BOOLEAN
|
222
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
223
|
+
true
|
224
|
+
else
|
225
|
+
false
|
226
|
+
end
|
227
|
+
when :Object
|
228
|
+
# generic object (usually a Hash), return directly
|
229
|
+
value
|
230
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
231
|
+
inner_type = Regexp.last_match[:inner_type]
|
232
|
+
value.map { |v| _deserialize(inner_type, v) }
|
233
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
234
|
+
k_type = Regexp.last_match[:k_type]
|
235
|
+
v_type = Regexp.last_match[:v_type]
|
236
|
+
{}.tap do |hash|
|
237
|
+
value.each do |k, v|
|
238
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
239
|
+
end
|
240
|
+
end
|
241
|
+
else # model
|
242
|
+
temp_model = CyberSource.const_get(type).new
|
243
|
+
temp_model.build_from_hash(value)
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
# Returns the string representation of the object
|
248
|
+
# @return [String] String presentation of the object
|
249
|
+
def to_s
|
250
|
+
to_hash.to_s
|
251
|
+
end
|
252
|
+
|
253
|
+
# to_body is an alias to to_hash (backward compatibility)
|
254
|
+
# @return [Hash] Returns the object in the form of hash
|
255
|
+
def to_body
|
256
|
+
to_hash
|
257
|
+
end
|
258
|
+
|
259
|
+
# Returns the object in the form of hash
|
260
|
+
# @return [Hash] Returns the object in the form of hash
|
261
|
+
def to_hash
|
262
|
+
hash = {}
|
263
|
+
self.class.attribute_map.each_pair do |attr, param|
|
264
|
+
value = self.send(attr)
|
265
|
+
next if value.nil?
|
266
|
+
hash[param] = _to_hash(value)
|
267
|
+
end
|
268
|
+
hash
|
269
|
+
end
|
270
|
+
|
271
|
+
# Outputs non-array value in the form of hash
|
272
|
+
# For object, use to_hash. Otherwise, just return the value
|
273
|
+
# @param [Object] value Any valid value
|
274
|
+
# @return [Hash] Returns the value in the form of hash
|
275
|
+
def _to_hash(value)
|
276
|
+
if value.is_a?(Array)
|
277
|
+
value.compact.map { |v| _to_hash(v) }
|
278
|
+
elsif value.is_a?(Hash)
|
279
|
+
{}.tap do |hash|
|
280
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
281
|
+
end
|
282
|
+
elsif value.respond_to? :to_hash
|
283
|
+
value.to_hash
|
284
|
+
else
|
285
|
+
value
|
286
|
+
end
|
287
|
+
end
|
288
|
+
end
|
289
|
+
end
|
@@ -13,11 +13,11 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
16
|
+
class Riskv1authenticationsetupsProcessingInformation
|
17
17
|
# Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay.
|
18
18
|
attr_accessor :payment_solution
|
19
19
|
|
20
|
-
# Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field.
|
20
|
+
# Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field.
|
21
21
|
attr_accessor :visa_checkout_id
|
22
22
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -57,42 +57,24 @@ module CyberSource
|
|
57
57
|
# @return Array for valid properties with the reasons
|
58
58
|
def list_invalid_properties
|
59
59
|
invalid_properties = Array.new
|
60
|
-
if !@payment_solution.nil? && @payment_solution.to_s.length > 12
|
61
|
-
invalid_properties.push('invalid value for "payment_solution", the character length must be smaller than or equal to 12.')
|
62
|
-
end
|
63
|
-
|
64
|
-
if !@visa_checkout_id.nil? && @visa_checkout_id.to_s.length > 48
|
65
|
-
invalid_properties.push('invalid value for "visa_checkout_id", the character length must be smaller than or equal to 48.')
|
66
|
-
end
|
67
|
-
|
68
60
|
invalid_properties
|
69
61
|
end
|
70
62
|
|
71
63
|
# Check to see if the all the properties in the model are valid
|
72
64
|
# @return true if the model is valid
|
73
65
|
def valid?
|
74
|
-
return false if !@payment_solution.nil? && @payment_solution.to_s.length > 12
|
75
|
-
return false if !@visa_checkout_id.nil? && @visa_checkout_id.to_s.length > 48
|
76
66
|
true
|
77
67
|
end
|
78
68
|
|
79
69
|
# Custom attribute writer method with validation
|
80
70
|
# @param [Object] payment_solution Value to be assigned
|
81
71
|
def payment_solution=(payment_solution)
|
82
|
-
if !payment_solution.nil? && payment_solution.to_s.length > 12
|
83
|
-
fail ArgumentError, 'invalid value for "payment_solution", the character length must be smaller than or equal to 12.'
|
84
|
-
end
|
85
|
-
|
86
72
|
@payment_solution = payment_solution
|
87
73
|
end
|
88
74
|
|
89
75
|
# Custom attribute writer method with validation
|
90
76
|
# @param [Object] visa_checkout_id Value to be assigned
|
91
77
|
def visa_checkout_id=(visa_checkout_id)
|
92
|
-
if !visa_checkout_id.nil? && visa_checkout_id.to_s.length > 48
|
93
|
-
fail ArgumentError, 'invalid value for "visa_checkout_id", the character length must be smaller than or equal to 48.'
|
94
|
-
end
|
95
|
-
|
96
78
|
@visa_checkout_id = visa_checkout_id
|
97
79
|
end
|
98
80
|
|
@@ -0,0 +1,184 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CyberSource
|
16
|
+
class Riskv1authenticationsetupsTokenInformation
|
17
|
+
# A temporary ID that represents the customer's payment data (which is securely stored in Visa Data Centers). Flex Microform generates this ID and sets it to expire within 15 minutes from when the ID is generated or until the first payment authorization is carried out (whichever occurs first). Valid value for the ID is a 64-character, alphanumeric string. Example: 1D08M4YB968R1F7YVL4TBBKYVNRIR02VZFH9CBYSQIJJXORPI1NK5C98D7F6EB53
|
18
|
+
attr_accessor :transient_token
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'transient_token' => :'transientToken'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'transient_token' => :'String'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# Initializes the object
|
35
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
41
|
+
|
42
|
+
if attributes.has_key?(:'transientToken')
|
43
|
+
self.transient_token = attributes[:'transientToken']
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
48
|
+
# @return Array for valid properties with the reasons
|
49
|
+
def list_invalid_properties
|
50
|
+
invalid_properties = Array.new
|
51
|
+
invalid_properties
|
52
|
+
end
|
53
|
+
|
54
|
+
# Check to see if the all the properties in the model are valid
|
55
|
+
# @return true if the model is valid
|
56
|
+
def valid?
|
57
|
+
true
|
58
|
+
end
|
59
|
+
|
60
|
+
# Checks equality by comparing each attribute.
|
61
|
+
# @param [Object] Object to be compared
|
62
|
+
def ==(o)
|
63
|
+
return true if self.equal?(o)
|
64
|
+
self.class == o.class &&
|
65
|
+
transient_token == o.transient_token
|
66
|
+
end
|
67
|
+
|
68
|
+
# @see the `==` method
|
69
|
+
# @param [Object] Object to be compared
|
70
|
+
def eql?(o)
|
71
|
+
self == o
|
72
|
+
end
|
73
|
+
|
74
|
+
# Calculates hash code according to all attributes.
|
75
|
+
# @return [Fixnum] Hash code
|
76
|
+
def hash
|
77
|
+
[transient_token].hash
|
78
|
+
end
|
79
|
+
|
80
|
+
# Builds the object from hash
|
81
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
82
|
+
# @return [Object] Returns the model itself
|
83
|
+
def build_from_hash(attributes)
|
84
|
+
return nil unless attributes.is_a?(Hash)
|
85
|
+
self.class.swagger_types.each_pair do |key, type|
|
86
|
+
if type =~ /\AArray<(.*)>/i
|
87
|
+
# check to ensure the input is an array given that the the attribute
|
88
|
+
# is documented as an array but the input is not
|
89
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
90
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
91
|
+
end
|
92
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
93
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
94
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
95
|
+
end
|
96
|
+
|
97
|
+
self
|
98
|
+
end
|
99
|
+
|
100
|
+
# Deserializes the data based on type
|
101
|
+
# @param string type Data type
|
102
|
+
# @param string value Value to be deserialized
|
103
|
+
# @return [Object] Deserialized data
|
104
|
+
def _deserialize(type, value)
|
105
|
+
case type.to_sym
|
106
|
+
when :DateTime
|
107
|
+
DateTime.parse(value)
|
108
|
+
when :Date
|
109
|
+
Date.parse(value)
|
110
|
+
when :String
|
111
|
+
value.to_s
|
112
|
+
when :Integer
|
113
|
+
value.to_i
|
114
|
+
when :Float
|
115
|
+
value.to_f
|
116
|
+
when :BOOLEAN
|
117
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
118
|
+
true
|
119
|
+
else
|
120
|
+
false
|
121
|
+
end
|
122
|
+
when :Object
|
123
|
+
# generic object (usually a Hash), return directly
|
124
|
+
value
|
125
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
126
|
+
inner_type = Regexp.last_match[:inner_type]
|
127
|
+
value.map { |v| _deserialize(inner_type, v) }
|
128
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
129
|
+
k_type = Regexp.last_match[:k_type]
|
130
|
+
v_type = Regexp.last_match[:v_type]
|
131
|
+
{}.tap do |hash|
|
132
|
+
value.each do |k, v|
|
133
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
else # model
|
137
|
+
temp_model = CyberSource.const_get(type).new
|
138
|
+
temp_model.build_from_hash(value)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
# Returns the string representation of the object
|
143
|
+
# @return [String] String presentation of the object
|
144
|
+
def to_s
|
145
|
+
to_hash.to_s
|
146
|
+
end
|
147
|
+
|
148
|
+
# to_body is an alias to to_hash (backward compatibility)
|
149
|
+
# @return [Hash] Returns the object in the form of hash
|
150
|
+
def to_body
|
151
|
+
to_hash
|
152
|
+
end
|
153
|
+
|
154
|
+
# Returns the object in the form of hash
|
155
|
+
# @return [Hash] Returns the object in the form of hash
|
156
|
+
def to_hash
|
157
|
+
hash = {}
|
158
|
+
self.class.attribute_map.each_pair do |attr, param|
|
159
|
+
value = self.send(attr)
|
160
|
+
next if value.nil?
|
161
|
+
hash[param] = _to_hash(value)
|
162
|
+
end
|
163
|
+
hash
|
164
|
+
end
|
165
|
+
|
166
|
+
# Outputs non-array value in the form of hash
|
167
|
+
# For object, use to_hash. Otherwise, just return the value
|
168
|
+
# @param [Object] value Any valid value
|
169
|
+
# @return [Hash] Returns the value in the form of hash
|
170
|
+
def _to_hash(value)
|
171
|
+
if value.is_a?(Array)
|
172
|
+
value.compact.map { |v| _to_hash(v) }
|
173
|
+
elsif value.is_a?(Hash)
|
174
|
+
{}.tap do |hash|
|
175
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
176
|
+
end
|
177
|
+
elsif value.respond_to? :to_hash
|
178
|
+
value.to_hash
|
179
|
+
else
|
180
|
+
value
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|