cybersource_rest_client 0.0.22 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client.rb +197 -108
- 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 +516 -0
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +516 -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 +165 -174
- 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 +131 -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_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_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/customer.rb +292 -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/inline_response_200.rb +203 -0
- data/lib/cybersource_rest_client/models/inline_response_200_1.rb +214 -0
- data/lib/cybersource_rest_client/models/inline_response_200_1_key_information.rb +224 -0
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +193 -0
- data/lib/cybersource_rest_client/models/{flex_v1_tokens_post200_response.rb → inline_response_200_2_key_information.rb} +55 -56
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +204 -0
- data/lib/cybersource_rest_client/models/inline_response_200_3_key_information.rb +234 -0
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_bill_to.rb → inline_response_200_key_information.rb} +44 -44
- data/lib/cybersource_rest_client/models/inline_response_201.rb +214 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_certificate_information.rb +214 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_key_information.rb +264 -0
- data/lib/cybersource_rest_client/models/inline_response_201_error_information.rb +195 -0
- data/lib/cybersource_rest_client/models/{instrument_identifier_bank_account.rb → inline_response_201_key_information.rb} +73 -61
- 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/{tmsv1instrumentidentifiers_details.rb → inline_response_400_details.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_instrument_bank_account.rb → inline_response_400_errors.rb} +27 -6
- data/lib/cybersource_rest_client/models/{instrument_identifier_response.rb → instrument_identifier.rb} +39 -20
- 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 +54 -4
- 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_invoices.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_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 -2
- 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 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +4 -4
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +4 -4
- data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +215 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_card.rb → kmsv2keyssym_client_reference_information.rb} +36 -26
- data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +200 -0
- data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +215 -0
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +318 -0
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +292 -0
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +235 -0
- data/lib/cybersource_rest_client/models/{embedded_instrument_identifier_response.rb → patch_instrument_identifier_request.rb} +45 -50
- data/lib/cybersource_rest_client/models/{payment_instrument_instrument_identifier_request.rb → patch_payment_instrument_request.rb} +92 -20
- 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_instrument.rb +51 -18
- 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/payment_instrument_list_for_customer__links_next.rb +184 -0
- 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/{tms_v1_instrument_identifiers_payment_instruments_get200_response.rb → payment_instrument_paginated.rb} +9 -19
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +318 -0
- data/lib/cybersource_rest_client/models/post_customer_request.rb +292 -0
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +235 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response.rb → post_instrument_identifier_request.rb} +39 -20
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments.rb → post_payment_instrument_request.rb} +52 -19
- 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_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_v2_credits_post201_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +2 -2
- 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_incremental_authorization_patch201_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +4 -4
- 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 -16
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_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 -1
- 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_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +14 -5
- 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 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +1 -1
- 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_issuer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +40 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +16 -16
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/{embedded_instrument_identifier_request.rb → pts_v2_payments_post201_response_payment_information_instrument_identifier.rb} +15 -23
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
- 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_processor_information.rb +8 -8
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +8 -8
- 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 +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information.rb +220 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_customer.rb +208 -0
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_instrument_identifier.rb → pts_v2_payments_post201_response_token_information_instrument_identifier.rb} +15 -23
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +208 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +208 -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 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +3 -3
- 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 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +2 -2
- 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 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_purchase_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +27 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{instrument_identifier_update.rb → ptsv2payments_health_care_information.rb} +11 -8
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_bank_account.rb → ptsv2payments_health_care_information_amount_details.rb} +32 -50
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +16 -16
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +31 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +47 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +38 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +208 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +208 -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/ptsv2payments_payment_information_shipping_address.rb +208 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +18 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +31 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +55 -15
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +22 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information_payment_instrument.rb +186 -0
- data/lib/cybersource_rest_client/models/{authorization_options.rb → ptsv2payments_token_information_shipping_address.rb} +11 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +11 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +1146 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +349 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +299 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +309 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +25 -25
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +19 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +15 -15
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +38 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -1
- 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 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +2 -2
- 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/risk_v1_address_verifications_post201_response.rb +4 -14
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +5 -15
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +1 -1
- 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 +249 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +7 -17
- 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 -5
- data/lib/cybersource_rest_client/models/{risk_v1_authentications_post201_response_consumer_authentication_information.rb → risk_v1_decisions_post201_response_consumer_authentication_information.rb} +28 -3
- 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_authentications_post201_response_order_information_amount_details.rb → risk_v1_decisions_post201_response_order_information_amount_details.rb} +2 -2
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response.rb +3 -3
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response_1.rb +225 -0
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +4 -14
- 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_update_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +5 -5
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +7 -7
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +26 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +5 -5
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information.rb +2 -2
- data/lib/cybersource_rest_client/models/{riskv1authentications_client_reference_information.rb → riskv1authenticationsetups_client_reference_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 +286 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +199 -0
- data/lib/cybersource_rest_client/models/{riskv1authentications_payment_information_fluid_data.rb → riskv1authenticationsetups_payment_information_fluid_data.rb} +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +325 -0
- data/lib/cybersource_rest_client/models/{riskv1authentications_processing_information.rb → riskv1authenticationsetups_processing_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb +184 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +2 -2
- data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information.rb → riskv1decisions_consumer_authentication_information.rb} +29 -4
- data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information_strong_authentication.rb → riskv1decisions_consumer_authentication_information_strong_authentication.rb} +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +236 -5
- data/lib/cybersource_rest_client/models/{riskv1authentications_merchant_information.rb → riskv1decisions_merchant_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{riskv1authentications_merchant_information_merchant_descriptor.rb → riskv1decisions_merchant_information_merchant_descriptor.rb} +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +74 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +104 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +72 -13
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +47 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_processing_information.rb +187 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information.rb +13 -4
- data/lib/cybersource_rest_client/models/{riskv1decisions_card_verification.rb → riskv1decisions_processor_information_card_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +25 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +26 -16
- data/lib/cybersource_rest_client/models/{riskv1authentications_travel_information_passengers.rb → riskv1decisions_travel_information_passengers.rb} +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +9 -9
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +5 -5
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/search_request.rb +214 -0
- data/lib/cybersource_rest_client/models/shipping_address.rb +235 -0
- data/lib/cybersource_rest_client/models/shipping_address_list_for_customer.rb +233 -0
- 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/{instrument_identifier_payment_instruments_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/{tms_v1_instrument_identifiers_delete409_response.rb → shipping_address_paginated.rb} +55 -5
- data/lib/cybersource_rest_client/models/tax_request.rb +219 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bank_account.rb → tms_error.rb} +27 -6
- data/lib/cybersource_rest_client/models/{detail.rb → tms_error_details.rb} +3 -3
- data/lib/cybersource_rest_client/models/tms_error_response.rb +185 -0
- data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +292 -0
- data/lib/cybersource_rest_client/models/{tokenize_request.rb → tmsv2customers__embedded.rb} +15 -20
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_processing_information_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 +318 -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} +21 -20
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +325 -0
- data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_card.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb} +6 -32
- data/lib/cybersource_rest_client/models/{issuer.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb} +7 -16
- 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/{create_instrument_identifier_request.rb → tmsv2customers__embedded_default_payment_instrument_bank_account.rb} +21 -33
- data/lib/cybersource_rest_client/models/{bill_to.rb → tmsv2customers__embedded_default_payment_instrument_bill_to.rb} +27 -45
- data/lib/cybersource_rest_client/models/{buyer_information.rb → tmsv2customers__embedded_default_payment_instrument_buyer_information.rb} +6 -39
- 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} +17 -2
- data/lib/cybersource_rest_client/models/{personal_identification.rb → tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb} +19 -4
- data/lib/cybersource_rest_client/models/{payment_instrument_card.rb → tmsv2customers__embedded_default_payment_instrument_card.rb} +21 -62
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +224 -0
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_personal_identification.rb → tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb} +30 -25
- 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} +17 -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/{merchant_initiated_transaction.rb → tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb} +17 -17
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +235 -0
- 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} +140 -150
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_merchant_initiated_transaction.rb → tmsv2customers__embedded_merchant_initiated_transaction.rb} +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_payment_instruments.rb +184 -0
- data/lib/cybersource_rest_client/models/{instrument_identifier_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 -32
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_tokenized_card_card.rb → tmsv2customers__embedded_tokenized_card_card.rb} +5 -23
- data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response__links.rb → tmsv2customers__links.rb} +10 -19
- data/lib/cybersource_rest_client/models/tmsv2customers__links_payment_instruments.rb +184 -0
- data/lib/cybersource_rest_client/models/{model_409_link.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/tmsv2customers_buyer_information.rb +224 -0
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidcaptures_travel_information.rb → tmsv2customers_client_reference_information.rb} +24 -26
- 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 +209 -0
- data/lib/cybersource_rest_client/models/{metadata.rb → tmsv2customers_metadata.rb} +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +224 -0
- data/lib/cybersource_rest_client/models/tokenize_parameters.rb +1 -1
- data/lib/cybersource_rest_client/models/{flexv1tokens_card_info.rb → tokenize_parameters_card_info.rb} +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +4 -4
- 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_client_reference_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +1 -1
- 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 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +10 -10
- 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 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +8 -8
- 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 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +4 -4
- 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 +28 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_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 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +8 -8
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information.rb +5 -15
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information_applications.rb +244 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +4 -4
- 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 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
- 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_transaction_summaries.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.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 +255 -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/{tms_v1_instrument_identifiers_post200_response_tokenized_card.rb → vas_v2_payments_post201_response_order_information.rb} +75 -67
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +384 -0
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +271 -0
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +224 -0
- 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 +237 -0
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +209 -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 +199 -0
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +218 -0
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information_partner.rb +224 -0
- data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +199 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information.rb +248 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +324 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +199 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +501 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +275 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +275 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +349 -0
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +274 -0
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +278 -0
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +218 -0
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +224 -0
- data/lib/cybersource_rest_client/models/void_tax_request.rb +183 -0
- metadata +199 -110
- data/lib/cybersource_rest_client/api/tokenization_api.rb +0 -89
- 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/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/riskv1authentications_travel_information_legs.rb +0 -259
- 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_buyer_information.rb +0 -278
- 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__links_self.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_issuer.rb +0 -208
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_processing_information.rb +0 -183
- data/lib/cybersource_rest_client/models/update_payment_instrument_request.rb +0 -246
@@ -13,33 +13,21 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
#
|
16
|
+
class Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount
|
17
|
+
# Account type. Valid values: - checking : C - general ledger : G This value is supported only on Wells Fargo ACH - savings : S (U.S. dollars only) - corporate checking : X (U.S. dollars only)
|
18
18
|
attr_accessor :type
|
19
19
|
|
20
|
-
attr_accessor :card
|
21
|
-
|
22
|
-
attr_accessor :bank_account
|
23
|
-
|
24
|
-
attr_accessor :bill_to
|
25
|
-
|
26
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
21
|
def self.attribute_map
|
28
22
|
{
|
29
|
-
:'type' => :'type'
|
30
|
-
:'card' => :'card',
|
31
|
-
:'bank_account' => :'BankAccount',
|
32
|
-
:'bill_to' => :'billTo'
|
23
|
+
:'type' => :'type'
|
33
24
|
}
|
34
25
|
end
|
35
26
|
|
36
27
|
# Attribute type mapping.
|
37
28
|
def self.swagger_types
|
38
29
|
{
|
39
|
-
:'type' => :'String'
|
40
|
-
:'card' => :'Tmsv1instrumentidentifiersCard',
|
41
|
-
:'bank_account' => :'Tmsv1instrumentidentifiersBankAccount',
|
42
|
-
:'bill_to' => :'Tmsv1instrumentidentifiersBillTo'
|
30
|
+
:'type' => :'String'
|
43
31
|
}
|
44
32
|
end
|
45
33
|
|
@@ -54,42 +42,42 @@ module CyberSource
|
|
54
42
|
if attributes.has_key?(:'type')
|
55
43
|
self.type = attributes[:'type']
|
56
44
|
end
|
57
|
-
|
58
|
-
if attributes.has_key?(:'card')
|
59
|
-
self.card = attributes[:'card']
|
60
|
-
end
|
61
|
-
|
62
|
-
if attributes.has_key?(:'BankAccount')
|
63
|
-
self.bank_account = attributes[:'BankAccount']
|
64
|
-
end
|
65
|
-
|
66
|
-
if attributes.has_key?(:'billTo')
|
67
|
-
self.bill_to = attributes[:'billTo']
|
68
|
-
end
|
69
45
|
end
|
70
46
|
|
71
47
|
# Show invalid properties with the reasons. Usually used together with valid?
|
72
48
|
# @return Array for valid properties with the reasons
|
73
49
|
def list_invalid_properties
|
74
50
|
invalid_properties = Array.new
|
51
|
+
# if !@type.nil? && @type.to_s.length > 1
|
52
|
+
# invalid_properties.push('invalid value for "type", the character length must be smaller than or equal to 1.')
|
53
|
+
# end
|
54
|
+
|
75
55
|
invalid_properties
|
76
56
|
end
|
77
57
|
|
78
58
|
# Check to see if the all the properties in the model are valid
|
79
59
|
# @return true if the model is valid
|
80
60
|
def valid?
|
61
|
+
# return false if !@type.nil? && @type.to_s.length > 1
|
81
62
|
true
|
82
63
|
end
|
83
64
|
|
65
|
+
# Custom attribute writer method with validation
|
66
|
+
# @param [Object] type Value to be assigned
|
67
|
+
def type=(type)
|
68
|
+
# if !type.nil? && type.to_s.length > 1
|
69
|
+
# fail ArgumentError, 'invalid value for "type", the character length must be smaller than or equal to 1.'
|
70
|
+
# end
|
71
|
+
|
72
|
+
@type = type
|
73
|
+
end
|
74
|
+
|
84
75
|
# Checks equality by comparing each attribute.
|
85
76
|
# @param [Object] Object to be compared
|
86
77
|
def ==(o)
|
87
78
|
return true if self.equal?(o)
|
88
79
|
self.class == o.class &&
|
89
|
-
type == o.type
|
90
|
-
card == o.card &&
|
91
|
-
bank_account == o.bank_account &&
|
92
|
-
bill_to == o.bill_to
|
80
|
+
type == o.type
|
93
81
|
end
|
94
82
|
|
95
83
|
# @see the `==` method
|
@@ -101,7 +89,7 @@ module CyberSource
|
|
101
89
|
# Calculates hash code according to all attributes.
|
102
90
|
# @return [Fixnum] Hash code
|
103
91
|
def hash
|
104
|
-
[type
|
92
|
+
[type].hash
|
105
93
|
end
|
106
94
|
|
107
95
|
# Builds the object from hash
|
@@ -13,38 +13,38 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
# Customer’s first name.
|
16
|
+
class Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo
|
17
|
+
# Customer’s first name. This name must be the same as the name on the card.
|
18
18
|
attr_accessor :first_name
|
19
19
|
|
20
|
-
# Customer’s last name.
|
20
|
+
# Customer’s last name. This name must be the same as the name on the card.
|
21
21
|
attr_accessor :last_name
|
22
22
|
|
23
|
-
# Name of the customer’s company.
|
23
|
+
# Name of the customer’s company.
|
24
24
|
attr_accessor :company
|
25
25
|
|
26
|
-
#
|
26
|
+
# Payment card billing street address as it appears on the credit card issuer’s records.
|
27
27
|
attr_accessor :address1
|
28
28
|
|
29
|
-
# Additional address information.
|
29
|
+
# Additional address information.
|
30
30
|
attr_accessor :address2
|
31
31
|
|
32
|
-
#
|
32
|
+
# Payment card billing city.
|
33
33
|
attr_accessor :locality
|
34
34
|
|
35
|
-
# State or province of the billing address.
|
35
|
+
# State or province of the billing address. Use the State, Province, and Territory Codes for the United States and Canada.
|
36
36
|
attr_accessor :administrative_area
|
37
37
|
|
38
|
-
# Postal code for the billing address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits]
|
38
|
+
# Postal code for the billing address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] **Example** `12345-6789` When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] **Example** `A1B 2C3`
|
39
39
|
attr_accessor :postal_code
|
40
40
|
|
41
|
-
#
|
41
|
+
# Payment card billing country. Use the two-character ISO Standard Country Codes.
|
42
42
|
attr_accessor :country
|
43
43
|
|
44
|
-
# Customer
|
44
|
+
# Customer's email address, including the full domain name.
|
45
45
|
attr_accessor :email
|
46
46
|
|
47
|
-
# Customer phone number.
|
47
|
+
# Customer’s phone number.
|
48
48
|
attr_accessor :phone_number
|
49
49
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -170,24 +170,16 @@ module CyberSource
|
|
170
170
|
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
|
171
171
|
end
|
172
172
|
|
173
|
-
if !@country.nil? && @country.to_s.length >
|
174
|
-
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to
|
173
|
+
if !@country.nil? && @country.to_s.length > 2
|
174
|
+
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
|
175
175
|
end
|
176
176
|
|
177
|
-
if !@
|
178
|
-
invalid_properties.push('invalid value for "
|
177
|
+
if !@email.nil? && @email.to_s.length > 255
|
178
|
+
invalid_properties.push('invalid value for "email", the character length must be smaller than or equal to 255.')
|
179
179
|
end
|
180
180
|
|
181
|
-
if !@
|
182
|
-
invalid_properties.push('invalid value for "
|
183
|
-
end
|
184
|
-
|
185
|
-
if !@phone_number.nil? && @phone_number.to_s.length > 32
|
186
|
-
invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 32.')
|
187
|
-
end
|
188
|
-
|
189
|
-
if !@phone_number.nil? && @phone_number.to_s.length < 6
|
190
|
-
invalid_properties.push('invalid value for "phone_number", the character length must be great than or equal to 6.')
|
181
|
+
if !@phone_number.nil? && @phone_number.to_s.length > 15
|
182
|
+
invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 15.')
|
191
183
|
end
|
192
184
|
|
193
185
|
invalid_properties
|
@@ -204,11 +196,9 @@ module CyberSource
|
|
204
196
|
return false if !@locality.nil? && @locality.to_s.length > 50
|
205
197
|
return false if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
206
198
|
return false if !@postal_code.nil? && @postal_code.to_s.length > 10
|
207
|
-
return false if !@country.nil? && @country.to_s.length >
|
208
|
-
return false if !@
|
209
|
-
return false if !@
|
210
|
-
return false if !@phone_number.nil? && @phone_number.to_s.length > 32
|
211
|
-
return false if !@phone_number.nil? && @phone_number.to_s.length < 6
|
199
|
+
return false if !@country.nil? && @country.to_s.length > 2
|
200
|
+
return false if !@email.nil? && @email.to_s.length > 255
|
201
|
+
return false if !@phone_number.nil? && @phone_number.to_s.length > 15
|
212
202
|
true
|
213
203
|
end
|
214
204
|
|
@@ -295,12 +285,8 @@ module CyberSource
|
|
295
285
|
# Custom attribute writer method with validation
|
296
286
|
# @param [Object] country Value to be assigned
|
297
287
|
def country=(country)
|
298
|
-
if !country.nil? && country.to_s.length >
|
299
|
-
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to
|
300
|
-
end
|
301
|
-
|
302
|
-
if !country.nil? && country.to_s.length < 2
|
303
|
-
fail ArgumentError, 'invalid value for "country", the character length must be great than or equal to 2.'
|
288
|
+
if !country.nil? && country.to_s.length > 2
|
289
|
+
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
|
304
290
|
end
|
305
291
|
|
306
292
|
@country = country
|
@@ -309,8 +295,8 @@ module CyberSource
|
|
309
295
|
# Custom attribute writer method with validation
|
310
296
|
# @param [Object] email Value to be assigned
|
311
297
|
def email=(email)
|
312
|
-
if !email.nil? && email.to_s.length >
|
313
|
-
fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to
|
298
|
+
if !email.nil? && email.to_s.length > 255
|
299
|
+
fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 255.'
|
314
300
|
end
|
315
301
|
|
316
302
|
@email = email
|
@@ -319,12 +305,8 @@ module CyberSource
|
|
319
305
|
# Custom attribute writer method with validation
|
320
306
|
# @param [Object] phone_number Value to be assigned
|
321
307
|
def phone_number=(phone_number)
|
322
|
-
if !phone_number.nil? && phone_number.to_s.length >
|
323
|
-
fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to
|
324
|
-
end
|
325
|
-
|
326
|
-
if !phone_number.nil? && phone_number.to_s.length < 6
|
327
|
-
fail ArgumentError, 'invalid value for "phone_number", the character length must be great than or equal to 6.'
|
308
|
+
if !phone_number.nil? && phone_number.to_s.length > 15
|
309
|
+
fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to 15.'
|
328
310
|
end
|
329
311
|
|
330
312
|
@phone_number = phone_number
|
@@ -13,14 +13,14 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
#
|
16
|
+
class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation
|
17
|
+
# Company’s tax identifier. This is only used for eCheck service.
|
18
18
|
attr_accessor :company_tax_id
|
19
19
|
|
20
|
-
# Currency used
|
20
|
+
# Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).
|
21
21
|
attr_accessor :currency
|
22
22
|
|
23
|
-
# Date of birth of the customer.
|
23
|
+
# Date of birth of the customer. Format: YYYY-MM-DD
|
24
24
|
attr_accessor :date_of_birth
|
25
25
|
|
26
26
|
attr_accessor :personal_identification
|
@@ -40,8 +40,8 @@ module CyberSource
|
|
40
40
|
{
|
41
41
|
:'company_tax_id' => :'String',
|
42
42
|
:'currency' => :'String',
|
43
|
-
:'date_of_birth' => :'
|
44
|
-
:'personal_identification' => :'Array<
|
43
|
+
:'date_of_birth' => :'Date',
|
44
|
+
:'personal_identification' => :'Array<Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification>'
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
@@ -84,18 +84,6 @@ module CyberSource
|
|
84
84
|
invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.')
|
85
85
|
end
|
86
86
|
|
87
|
-
if !@currency.nil? && @currency.to_s.length < 3
|
88
|
-
invalid_properties.push('invalid value for "currency", the character length must be great than or equal to 3.')
|
89
|
-
end
|
90
|
-
|
91
|
-
if !@date_of_birth.nil? && @date_of_birth.to_s.length > 10
|
92
|
-
invalid_properties.push('invalid value for "date_of_birth", the character length must be smaller than or equal to 10.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if !@date_of_birth.nil? && @date_of_birth.to_s.length < 8
|
96
|
-
invalid_properties.push('invalid value for "date_of_birth", the character length must be great than or equal to 8.')
|
97
|
-
end
|
98
|
-
|
99
87
|
invalid_properties
|
100
88
|
end
|
101
89
|
|
@@ -104,9 +92,6 @@ module CyberSource
|
|
104
92
|
def valid?
|
105
93
|
return false if !@company_tax_id.nil? && @company_tax_id.to_s.length > 9
|
106
94
|
return false if !@currency.nil? && @currency.to_s.length > 3
|
107
|
-
return false if !@currency.nil? && @currency.to_s.length < 3
|
108
|
-
return false if !@date_of_birth.nil? && @date_of_birth.to_s.length > 10
|
109
|
-
return false if !@date_of_birth.nil? && @date_of_birth.to_s.length < 8
|
110
95
|
true
|
111
96
|
end
|
112
97
|
|
@@ -127,27 +112,9 @@ module CyberSource
|
|
127
112
|
fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.'
|
128
113
|
end
|
129
114
|
|
130
|
-
if !currency.nil? && currency.to_s.length < 3
|
131
|
-
fail ArgumentError, 'invalid value for "currency", the character length must be great than or equal to 3.'
|
132
|
-
end
|
133
|
-
|
134
115
|
@currency = currency
|
135
116
|
end
|
136
117
|
|
137
|
-
# Custom attribute writer method with validation
|
138
|
-
# @param [Object] date_of_birth Value to be assigned
|
139
|
-
def date_of_birth=(date_of_birth)
|
140
|
-
if !date_of_birth.nil? && date_of_birth.to_s.length > 10
|
141
|
-
fail ArgumentError, 'invalid value for "date_of_birth", the character length must be smaller than or equal to 10.'
|
142
|
-
end
|
143
|
-
|
144
|
-
if !date_of_birth.nil? && date_of_birth.to_s.length < 8
|
145
|
-
fail ArgumentError, 'invalid value for "date_of_birth", the character length must be great than or equal to 8.'
|
146
|
-
end
|
147
|
-
|
148
|
-
@date_of_birth = date_of_birth
|
149
|
-
end
|
150
|
-
|
151
118
|
# Checks equality by comparing each attribute.
|
152
119
|
# @param [Object] Object to be compared
|
153
120
|
def ==(o)
|
@@ -13,8 +13,8 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
# State or province
|
16
|
+
class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy
|
17
|
+
# The State or province where the customer’s driver’s license was issued. Use the two-character State, Province, and Territory Codes for the United States and Canada.
|
18
18
|
attr_accessor :administrative_area
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -48,15 +48,30 @@ module CyberSource
|
|
48
48
|
# @return Array for valid properties with the reasons
|
49
49
|
def list_invalid_properties
|
50
50
|
invalid_properties = Array.new
|
51
|
+
if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
52
|
+
invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 20.')
|
53
|
+
end
|
54
|
+
|
51
55
|
invalid_properties
|
52
56
|
end
|
53
57
|
|
54
58
|
# Check to see if the all the properties in the model are valid
|
55
59
|
# @return true if the model is valid
|
56
60
|
def valid?
|
61
|
+
return false if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
57
62
|
true
|
58
63
|
end
|
59
64
|
|
65
|
+
# Custom attribute writer method with validation
|
66
|
+
# @param [Object] administrative_area Value to be assigned
|
67
|
+
def administrative_area=(administrative_area)
|
68
|
+
if !administrative_area.nil? && administrative_area.to_s.length > 20
|
69
|
+
fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 20.'
|
70
|
+
end
|
71
|
+
|
72
|
+
@administrative_area = administrative_area
|
73
|
+
end
|
74
|
+
|
60
75
|
# Checks equality by comparing each attribute.
|
61
76
|
# @param [Object] Object to be compared
|
62
77
|
def ==(o)
|
@@ -13,11 +13,11 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
#
|
16
|
+
class Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationPersonalIdentification
|
17
|
+
# The value of the identification type.
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
|
-
#
|
20
|
+
# The type of the identification. Valid values: - driver license
|
21
21
|
attr_accessor :type
|
22
22
|
|
23
23
|
attr_accessor :issued_by
|
@@ -36,7 +36,7 @@ module CyberSource
|
|
36
36
|
{
|
37
37
|
:'id' => :'String',
|
38
38
|
:'type' => :'String',
|
39
|
-
:'issued_by' => :'
|
39
|
+
:'issued_by' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformationIssuedBy'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -65,15 +65,30 @@ module CyberSource
|
|
65
65
|
# @return Array for valid properties with the reasons
|
66
66
|
def list_invalid_properties
|
67
67
|
invalid_properties = Array.new
|
68
|
+
if !@id.nil? && @id.to_s.length > 26
|
69
|
+
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
|
70
|
+
end
|
71
|
+
|
68
72
|
invalid_properties
|
69
73
|
end
|
70
74
|
|
71
75
|
# Check to see if the all the properties in the model are valid
|
72
76
|
# @return true if the model is valid
|
73
77
|
def valid?
|
78
|
+
return false if !@id.nil? && @id.to_s.length > 26
|
74
79
|
true
|
75
80
|
end
|
76
81
|
|
82
|
+
# Custom attribute writer method with validation
|
83
|
+
# @param [Object] id Value to be assigned
|
84
|
+
def id=(id)
|
85
|
+
if !id.nil? && id.to_s.length > 26
|
86
|
+
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
|
87
|
+
end
|
88
|
+
|
89
|
+
@id = id
|
90
|
+
end
|
91
|
+
|
77
92
|
# Checks equality by comparing each attribute.
|
78
93
|
# @param [Object] Object to be compared
|
79
94
|
def ==(o)
|
@@ -13,28 +13,30 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
# Two-digit month in which the
|
16
|
+
class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard
|
17
|
+
# Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`.
|
18
18
|
attr_accessor :expiration_month
|
19
19
|
|
20
|
-
# Four-digit year in which the credit card expires.
|
20
|
+
# Four-digit year in which the credit card expires. Format: `YYYY`.
|
21
21
|
attr_accessor :expiration_year
|
22
22
|
|
23
|
-
#
|
23
|
+
# Value that indicates the card type. Valid v2 : v1 - description values: * 001 : visa * 002 : mastercard - Eurocard—European regional brand of Mastercard * 003 : american express * 004 : discover * 005 : diners club * 006 : carte blanche * 007 : jcb * 008 : optima * 011 : twinpay credit * 012 : twinpay debit * 013 : walmart * 014 : enRoute * 015 : lowes consumer * 016 : home depot consumer * 017 : mbna * 018 : dicks sportswear * 019 : casual corner * 020 : sears * 021 : jal * 023 : disney * 024 : maestro uk domestic * 025 : sams club consumer * 026 : sams club business * 028 : bill me later * 029 : bebe * 030 : restoration hardware * 031 : delta online — use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types. * 032 : solo * 033 : visa electron * 034 : dankort * 035 : laser * 036 : carte bleue — formerly Cartes Bancaires * 037 : carta si * 038 : pinless debit * 039 : encoded account * 040 : uatp * 041 : household * 042 : maestro international * 043 : ge money uk * 044 : korean cards * 045 : style * 046 : jcrew * 047 : payease china processing ewallet * 048 : payease china processing bank transfer * 049 : meijer private label * 050 : hipercard — supported only by the Comercio Latino processor. * 051 : aura — supported only by the Comercio Latino processor. * 052 : redecard * 054 : elo — supported only by the Comercio Latino processor. * 055 : capital one private label * 056 : synchrony private label * 057 : costco private label * 060 : mada * 062 : china union pay * 063 : falabella private label
|
24
24
|
attr_accessor :type
|
25
25
|
|
26
|
-
# Number of times a Maestro (UK Domestic) card has been issued to the account holder.
|
26
|
+
# Number of times a Maestro (UK Domestic) card has been issued to the account holder. The card might or might not have an issue number. The number can consist of one or two digits, and the first digit might be a zero. When you include this value in your request, include exactly what is printed on the card. A value of 2 is different than a value of 02. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. **Note** The issue number is not required for Maestro (UK Domestic) transactions.
|
27
27
|
attr_accessor :issue_number
|
28
28
|
|
29
|
-
# Month of the start of the Maestro (UK Domestic) card validity period. Format:
|
29
|
+
# Month of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: MM`. Valid values: 01 through 12. **Note** The start date is not required for Maestro (UK Domestic) transactions.
|
30
30
|
attr_accessor :start_month
|
31
31
|
|
32
|
-
# Year of the start of the Maestro (UK Domestic) card validity period.
|
32
|
+
# Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`. **Note** The start date is not required for Maestro (UK Domestic) transactions.
|
33
33
|
attr_accessor :start_year
|
34
34
|
|
35
|
-
#
|
35
|
+
# 'Payment Instrument was created / updated as part of a pinless debit transaction.'
|
36
36
|
attr_accessor :use_as
|
37
37
|
|
38
|
+
attr_accessor :tokenized_information
|
39
|
+
|
38
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
41
|
def self.attribute_map
|
40
42
|
{
|
@@ -44,7 +46,8 @@ module CyberSource
|
|
44
46
|
:'issue_number' => :'issueNumber',
|
45
47
|
:'start_month' => :'startMonth',
|
46
48
|
:'start_year' => :'startYear',
|
47
|
-
:'use_as' => :'useAs'
|
49
|
+
:'use_as' => :'useAs',
|
50
|
+
:'tokenized_information' => :'tokenizedInformation'
|
48
51
|
}
|
49
52
|
end
|
50
53
|
|
@@ -57,7 +60,8 @@ module CyberSource
|
|
57
60
|
:'issue_number' => :'String',
|
58
61
|
:'start_month' => :'String',
|
59
62
|
:'start_year' => :'String',
|
60
|
-
:'use_as' => :'String'
|
63
|
+
:'use_as' => :'String',
|
64
|
+
:'tokenized_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation'
|
61
65
|
}
|
62
66
|
end
|
63
67
|
|
@@ -96,6 +100,10 @@ module CyberSource
|
|
96
100
|
if attributes.has_key?(:'useAs')
|
97
101
|
self.use_as = attributes[:'useAs']
|
98
102
|
end
|
103
|
+
|
104
|
+
if attributes.has_key?(:'tokenizedInformation')
|
105
|
+
self.tokenized_information = attributes[:'tokenizedInformation']
|
106
|
+
end
|
99
107
|
end
|
100
108
|
|
101
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -106,46 +114,22 @@ module CyberSource
|
|
106
114
|
invalid_properties.push('invalid value for "expiration_month", the character length must be smaller than or equal to 2.')
|
107
115
|
end
|
108
116
|
|
109
|
-
if !@expiration_month.nil? && @expiration_month.to_s.length < 2
|
110
|
-
invalid_properties.push('invalid value for "expiration_month", the character length must be great than or equal to 2.')
|
111
|
-
end
|
112
|
-
|
113
117
|
if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
114
118
|
invalid_properties.push('invalid value for "expiration_year", the character length must be smaller than or equal to 4.')
|
115
119
|
end
|
116
120
|
|
117
|
-
if !@expiration_year.nil? && @expiration_year.to_s.length < 4
|
118
|
-
invalid_properties.push('invalid value for "expiration_year", the character length must be great than or equal to 4.')
|
119
|
-
end
|
120
|
-
|
121
|
-
if @type.nil?
|
122
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
123
|
-
end
|
124
|
-
|
125
121
|
if !@issue_number.nil? && @issue_number.to_s.length > 2
|
126
122
|
invalid_properties.push('invalid value for "issue_number", the character length must be smaller than or equal to 2.')
|
127
123
|
end
|
128
124
|
|
129
|
-
if !@issue_number.nil? && @issue_number.to_s.length < 1
|
130
|
-
invalid_properties.push('invalid value for "issue_number", the character length must be great than or equal to 1.')
|
131
|
-
end
|
132
|
-
|
133
125
|
if !@start_month.nil? && @start_month.to_s.length > 2
|
134
126
|
invalid_properties.push('invalid value for "start_month", the character length must be smaller than or equal to 2.')
|
135
127
|
end
|
136
128
|
|
137
|
-
if !@start_month.nil? && @start_month.to_s.length < 2
|
138
|
-
invalid_properties.push('invalid value for "start_month", the character length must be great than or equal to 2.')
|
139
|
-
end
|
140
|
-
|
141
129
|
if !@start_year.nil? && @start_year.to_s.length > 4
|
142
130
|
invalid_properties.push('invalid value for "start_year", the character length must be smaller than or equal to 4.')
|
143
131
|
end
|
144
132
|
|
145
|
-
if !@start_year.nil? && @start_year.to_s.length < 4
|
146
|
-
invalid_properties.push('invalid value for "start_year", the character length must be great than or equal to 4.')
|
147
|
-
end
|
148
|
-
|
149
133
|
invalid_properties
|
150
134
|
end
|
151
135
|
|
@@ -153,16 +137,10 @@ module CyberSource
|
|
153
137
|
# @return true if the model is valid
|
154
138
|
def valid?
|
155
139
|
return false if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
156
|
-
return false if !@expiration_month.nil? && @expiration_month.to_s.length < 2
|
157
140
|
return false if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
158
|
-
return false if !@expiration_year.nil? && @expiration_year.to_s.length < 4
|
159
|
-
return false if @type.nil?
|
160
141
|
return false if !@issue_number.nil? && @issue_number.to_s.length > 2
|
161
|
-
return false if !@issue_number.nil? && @issue_number.to_s.length < 1
|
162
142
|
return false if !@start_month.nil? && @start_month.to_s.length > 2
|
163
|
-
return false if !@start_month.nil? && @start_month.to_s.length < 2
|
164
143
|
return false if !@start_year.nil? && @start_year.to_s.length > 4
|
165
|
-
return false if !@start_year.nil? && @start_year.to_s.length < 4
|
166
144
|
true
|
167
145
|
end
|
168
146
|
|
@@ -173,10 +151,6 @@ module CyberSource
|
|
173
151
|
fail ArgumentError, 'invalid value for "expiration_month", the character length must be smaller than or equal to 2.'
|
174
152
|
end
|
175
153
|
|
176
|
-
if !expiration_month.nil? && expiration_month.to_s.length < 2
|
177
|
-
fail ArgumentError, 'invalid value for "expiration_month", the character length must be great than or equal to 2.'
|
178
|
-
end
|
179
|
-
|
180
154
|
@expiration_month = expiration_month
|
181
155
|
end
|
182
156
|
|
@@ -187,10 +161,6 @@ module CyberSource
|
|
187
161
|
fail ArgumentError, 'invalid value for "expiration_year", the character length must be smaller than or equal to 4.'
|
188
162
|
end
|
189
163
|
|
190
|
-
if !expiration_year.nil? && expiration_year.to_s.length < 4
|
191
|
-
fail ArgumentError, 'invalid value for "expiration_year", the character length must be great than or equal to 4.'
|
192
|
-
end
|
193
|
-
|
194
164
|
@expiration_year = expiration_year
|
195
165
|
end
|
196
166
|
|
@@ -201,10 +171,6 @@ module CyberSource
|
|
201
171
|
fail ArgumentError, 'invalid value for "issue_number", the character length must be smaller than or equal to 2.'
|
202
172
|
end
|
203
173
|
|
204
|
-
if !issue_number.nil? && issue_number.to_s.length < 1
|
205
|
-
fail ArgumentError, 'invalid value for "issue_number", the character length must be great than or equal to 1.'
|
206
|
-
end
|
207
|
-
|
208
174
|
@issue_number = issue_number
|
209
175
|
end
|
210
176
|
|
@@ -215,10 +181,6 @@ module CyberSource
|
|
215
181
|
fail ArgumentError, 'invalid value for "start_month", the character length must be smaller than or equal to 2.'
|
216
182
|
end
|
217
183
|
|
218
|
-
if !start_month.nil? && start_month.to_s.length < 2
|
219
|
-
fail ArgumentError, 'invalid value for "start_month", the character length must be great than or equal to 2.'
|
220
|
-
end
|
221
|
-
|
222
184
|
@start_month = start_month
|
223
185
|
end
|
224
186
|
|
@@ -229,10 +191,6 @@ module CyberSource
|
|
229
191
|
fail ArgumentError, 'invalid value for "start_year", the character length must be smaller than or equal to 4.'
|
230
192
|
end
|
231
193
|
|
232
|
-
if !start_year.nil? && start_year.to_s.length < 4
|
233
|
-
fail ArgumentError, 'invalid value for "start_year", the character length must be great than or equal to 4.'
|
234
|
-
end
|
235
|
-
|
236
194
|
@start_year = start_year
|
237
195
|
end
|
238
196
|
|
@@ -247,7 +205,8 @@ module CyberSource
|
|
247
205
|
issue_number == o.issue_number &&
|
248
206
|
start_month == o.start_month &&
|
249
207
|
start_year == o.start_year &&
|
250
|
-
use_as == o.use_as
|
208
|
+
use_as == o.use_as &&
|
209
|
+
tokenized_information == o.tokenized_information
|
251
210
|
end
|
252
211
|
|
253
212
|
# @see the `==` method
|
@@ -259,7 +218,7 @@ module CyberSource
|
|
259
218
|
# Calculates hash code according to all attributes.
|
260
219
|
# @return [Fixnum] Hash code
|
261
220
|
def hash
|
262
|
-
[expiration_month, expiration_year, type, issue_number, start_month, start_year, use_as].hash
|
221
|
+
[expiration_month, expiration_year, type, issue_number, start_month, start_year, use_as, tokenized_information].hash
|
263
222
|
end
|
264
223
|
|
265
224
|
# Builds the object from hash
|