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
@@ -93,102 +93,48 @@ module CyberSource
|
|
93
93
|
# @return Array for valid properties with the reasons
|
94
94
|
def list_invalid_properties
|
95
95
|
invalid_properties = Array.new
|
96
|
-
if !@low_value_exemption_indicator.nil? && @low_value_exemption_indicator.to_s.length > 1
|
97
|
-
invalid_properties.push('invalid value for "low_value_exemption_indicator", the character length must be smaller than or equal to 1.')
|
98
|
-
end
|
99
|
-
|
100
|
-
if !@risk_analysis_exemption_indicator.nil? && @risk_analysis_exemption_indicator.to_s.length > 1
|
101
|
-
invalid_properties.push('invalid value for "risk_analysis_exemption_indicator", the character length must be smaller than or equal to 1.')
|
102
|
-
end
|
103
|
-
|
104
|
-
if !@trusted_merchant_exemption_indicator.nil? && @trusted_merchant_exemption_indicator.to_s.length > 1
|
105
|
-
invalid_properties.push('invalid value for "trusted_merchant_exemption_indicator", the character length must be smaller than or equal to 1.')
|
106
|
-
end
|
107
|
-
|
108
|
-
if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
|
109
|
-
invalid_properties.push('invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.')
|
110
|
-
end
|
111
|
-
|
112
|
-
if !@delegated_authentication_exemption_indicator.nil? && @delegated_authentication_exemption_indicator.to_s.length > 1
|
113
|
-
invalid_properties.push('invalid value for "delegated_authentication_exemption_indicator", the character length must be smaller than or equal to 1.')
|
114
|
-
end
|
115
|
-
|
116
|
-
if !@authentication_indicator.nil? && @authentication_indicator.to_s.length > 2
|
117
|
-
invalid_properties.push('invalid value for "authentication_indicator", the character length must be smaller than or equal to 2.')
|
118
|
-
end
|
119
|
-
|
120
96
|
invalid_properties
|
121
97
|
end
|
122
98
|
|
123
99
|
# Check to see if the all the properties in the model are valid
|
124
100
|
# @return true if the model is valid
|
125
101
|
def valid?
|
126
|
-
return false if !@low_value_exemption_indicator.nil? && @low_value_exemption_indicator.to_s.length > 1
|
127
|
-
return false if !@risk_analysis_exemption_indicator.nil? && @risk_analysis_exemption_indicator.to_s.length > 1
|
128
|
-
return false if !@trusted_merchant_exemption_indicator.nil? && @trusted_merchant_exemption_indicator.to_s.length > 1
|
129
|
-
return false if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
|
130
|
-
return false if !@delegated_authentication_exemption_indicator.nil? && @delegated_authentication_exemption_indicator.to_s.length > 1
|
131
|
-
return false if !@authentication_indicator.nil? && @authentication_indicator.to_s.length > 2
|
132
102
|
true
|
133
103
|
end
|
134
104
|
|
135
105
|
# Custom attribute writer method with validation
|
136
106
|
# @param [Object] low_value_exemption_indicator Value to be assigned
|
137
107
|
def low_value_exemption_indicator=(low_value_exemption_indicator)
|
138
|
-
if !low_value_exemption_indicator.nil? && low_value_exemption_indicator.to_s.length > 1
|
139
|
-
fail ArgumentError, 'invalid value for "low_value_exemption_indicator", the character length must be smaller than or equal to 1.'
|
140
|
-
end
|
141
|
-
|
142
108
|
@low_value_exemption_indicator = low_value_exemption_indicator
|
143
109
|
end
|
144
110
|
|
145
111
|
# Custom attribute writer method with validation
|
146
112
|
# @param [Object] risk_analysis_exemption_indicator Value to be assigned
|
147
113
|
def risk_analysis_exemption_indicator=(risk_analysis_exemption_indicator)
|
148
|
-
if !risk_analysis_exemption_indicator.nil? && risk_analysis_exemption_indicator.to_s.length > 1
|
149
|
-
fail ArgumentError, 'invalid value for "risk_analysis_exemption_indicator", the character length must be smaller than or equal to 1.'
|
150
|
-
end
|
151
|
-
|
152
114
|
@risk_analysis_exemption_indicator = risk_analysis_exemption_indicator
|
153
115
|
end
|
154
116
|
|
155
117
|
# Custom attribute writer method with validation
|
156
118
|
# @param [Object] trusted_merchant_exemption_indicator Value to be assigned
|
157
119
|
def trusted_merchant_exemption_indicator=(trusted_merchant_exemption_indicator)
|
158
|
-
if !trusted_merchant_exemption_indicator.nil? && trusted_merchant_exemption_indicator.to_s.length > 1
|
159
|
-
fail ArgumentError, 'invalid value for "trusted_merchant_exemption_indicator", the character length must be smaller than or equal to 1.'
|
160
|
-
end
|
161
|
-
|
162
120
|
@trusted_merchant_exemption_indicator = trusted_merchant_exemption_indicator
|
163
121
|
end
|
164
122
|
|
165
123
|
# Custom attribute writer method with validation
|
166
124
|
# @param [Object] secure_corporate_payment_indicator Value to be assigned
|
167
125
|
def secure_corporate_payment_indicator=(secure_corporate_payment_indicator)
|
168
|
-
if !secure_corporate_payment_indicator.nil? && secure_corporate_payment_indicator.to_s.length > 1
|
169
|
-
fail ArgumentError, 'invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.'
|
170
|
-
end
|
171
|
-
|
172
126
|
@secure_corporate_payment_indicator = secure_corporate_payment_indicator
|
173
127
|
end
|
174
128
|
|
175
129
|
# Custom attribute writer method with validation
|
176
130
|
# @param [Object] delegated_authentication_exemption_indicator Value to be assigned
|
177
131
|
def delegated_authentication_exemption_indicator=(delegated_authentication_exemption_indicator)
|
178
|
-
if !delegated_authentication_exemption_indicator.nil? && delegated_authentication_exemption_indicator.to_s.length > 1
|
179
|
-
fail ArgumentError, 'invalid value for "delegated_authentication_exemption_indicator", the character length must be smaller than or equal to 1.'
|
180
|
-
end
|
181
|
-
|
182
132
|
@delegated_authentication_exemption_indicator = delegated_authentication_exemption_indicator
|
183
133
|
end
|
184
134
|
|
185
135
|
# Custom attribute writer method with validation
|
186
136
|
# @param [Object] authentication_indicator Value to be assigned
|
187
137
|
def authentication_indicator=(authentication_indicator)
|
188
|
-
if !authentication_indicator.nil? && authentication_indicator.to_s.length > 2
|
189
|
-
fail ArgumentError, 'invalid value for "authentication_indicator", the character length must be smaller than or equal to 2.'
|
190
|
-
end
|
191
|
-
|
192
138
|
@authentication_indicator = authentication_indicator
|
193
139
|
end
|
194
140
|
|
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# DNS resolved hostname from `ipAddress`.
|
18
18
|
attr_accessor :host_name
|
19
19
|
|
20
|
-
# IP address of the customer.
|
20
|
+
# IP address of the customer. #### Used by **Authorization, Capture, and Credit** Optional field.
|
21
21
|
attr_accessor :ip_address
|
22
22
|
|
23
23
|
# Customer’s browser as identified from the HTTP header data. For example, `Mozilla` is the value that identifies the Netscape browser.
|
@@ -184,177 +184,78 @@ module CyberSource
|
|
184
184
|
# @return Array for valid properties with the reasons
|
185
185
|
def list_invalid_properties
|
186
186
|
invalid_properties = Array.new
|
187
|
-
if !@host_name.nil? && @host_name.to_s.length > 60
|
188
|
-
invalid_properties.push('invalid value for "host_name", the character length must be smaller than or equal to 60.')
|
189
|
-
end
|
190
|
-
|
191
|
-
if !@ip_address.nil? && @ip_address.to_s.length > 48
|
192
|
-
invalid_properties.push('invalid value for "ip_address", the character length must be smaller than or equal to 48.')
|
193
|
-
end
|
194
|
-
|
195
|
-
if !@user_agent.nil? && @user_agent.to_s.length > 40
|
196
|
-
invalid_properties.push('invalid value for "user_agent", the character length must be smaller than or equal to 40.')
|
197
|
-
end
|
198
|
-
|
199
|
-
if !@http_accept_browser_value.nil? && @http_accept_browser_value.to_s.length > 255
|
200
|
-
invalid_properties.push('invalid value for "http_accept_browser_value", the character length must be smaller than or equal to 255.')
|
201
|
-
end
|
202
|
-
|
203
|
-
if !@http_accept_content.nil? && @http_accept_content.to_s.length > 256
|
204
|
-
invalid_properties.push('invalid value for "http_accept_content", the character length must be smaller than or equal to 256.')
|
205
|
-
end
|
206
|
-
|
207
|
-
if !@http_browser_language.nil? && @http_browser_language.to_s.length > 8
|
208
|
-
invalid_properties.push('invalid value for "http_browser_language", the character length must be smaller than or equal to 8.')
|
209
|
-
end
|
210
|
-
|
211
|
-
if !@http_browser_color_depth.nil? && @http_browser_color_depth.to_s.length > 2
|
212
|
-
invalid_properties.push('invalid value for "http_browser_color_depth", the character length must be smaller than or equal to 2.')
|
213
|
-
end
|
214
|
-
|
215
|
-
if !@http_browser_screen_height.nil? && @http_browser_screen_height.to_s.length > 6
|
216
|
-
invalid_properties.push('invalid value for "http_browser_screen_height", the character length must be smaller than or equal to 6.')
|
217
|
-
end
|
218
|
-
|
219
|
-
if !@http_browser_screen_width.nil? && @http_browser_screen_width.to_s.length > 6
|
220
|
-
invalid_properties.push('invalid value for "http_browser_screen_width", the character length must be smaller than or equal to 6.')
|
221
|
-
end
|
222
|
-
|
223
|
-
if !@http_browser_time_difference.nil? && @http_browser_time_difference.to_s.length > 5
|
224
|
-
invalid_properties.push('invalid value for "http_browser_time_difference", the character length must be smaller than or equal to 5.')
|
225
|
-
end
|
226
|
-
|
227
|
-
if !@user_agent_browser_value.nil? && @user_agent_browser_value.to_s.length > 255
|
228
|
-
invalid_properties.push('invalid value for "user_agent_browser_value", the character length must be smaller than or equal to 255.')
|
229
|
-
end
|
230
|
-
|
231
187
|
invalid_properties
|
232
188
|
end
|
233
189
|
|
234
190
|
# Check to see if the all the properties in the model are valid
|
235
191
|
# @return true if the model is valid
|
236
192
|
def valid?
|
237
|
-
return false if !@host_name.nil? && @host_name.to_s.length > 60
|
238
|
-
return false if !@ip_address.nil? && @ip_address.to_s.length > 48
|
239
|
-
return false if !@user_agent.nil? && @user_agent.to_s.length > 40
|
240
|
-
return false if !@http_accept_browser_value.nil? && @http_accept_browser_value.to_s.length > 255
|
241
|
-
return false if !@http_accept_content.nil? && @http_accept_content.to_s.length > 256
|
242
|
-
return false if !@http_browser_language.nil? && @http_browser_language.to_s.length > 8
|
243
|
-
return false if !@http_browser_color_depth.nil? && @http_browser_color_depth.to_s.length > 2
|
244
|
-
return false if !@http_browser_screen_height.nil? && @http_browser_screen_height.to_s.length > 6
|
245
|
-
return false if !@http_browser_screen_width.nil? && @http_browser_screen_width.to_s.length > 6
|
246
|
-
return false if !@http_browser_time_difference.nil? && @http_browser_time_difference.to_s.length > 5
|
247
|
-
return false if !@user_agent_browser_value.nil? && @user_agent_browser_value.to_s.length > 255
|
248
193
|
true
|
249
194
|
end
|
250
195
|
|
251
196
|
# Custom attribute writer method with validation
|
252
197
|
# @param [Object] host_name Value to be assigned
|
253
198
|
def host_name=(host_name)
|
254
|
-
if !host_name.nil? && host_name.to_s.length > 60
|
255
|
-
fail ArgumentError, 'invalid value for "host_name", the character length must be smaller than or equal to 60.'
|
256
|
-
end
|
257
|
-
|
258
199
|
@host_name = host_name
|
259
200
|
end
|
260
201
|
|
261
202
|
# Custom attribute writer method with validation
|
262
203
|
# @param [Object] ip_address Value to be assigned
|
263
204
|
def ip_address=(ip_address)
|
264
|
-
if !ip_address.nil? && ip_address.to_s.length > 48
|
265
|
-
fail ArgumentError, 'invalid value for "ip_address", the character length must be smaller than or equal to 48.'
|
266
|
-
end
|
267
|
-
|
268
205
|
@ip_address = ip_address
|
269
206
|
end
|
270
207
|
|
271
208
|
# Custom attribute writer method with validation
|
272
209
|
# @param [Object] user_agent Value to be assigned
|
273
210
|
def user_agent=(user_agent)
|
274
|
-
if !user_agent.nil? && user_agent.to_s.length > 40
|
275
|
-
fail ArgumentError, 'invalid value for "user_agent", the character length must be smaller than or equal to 40.'
|
276
|
-
end
|
277
|
-
|
278
211
|
@user_agent = user_agent
|
279
212
|
end
|
280
213
|
|
281
214
|
# Custom attribute writer method with validation
|
282
215
|
# @param [Object] http_accept_browser_value Value to be assigned
|
283
216
|
def http_accept_browser_value=(http_accept_browser_value)
|
284
|
-
if !http_accept_browser_value.nil? && http_accept_browser_value.to_s.length > 255
|
285
|
-
fail ArgumentError, 'invalid value for "http_accept_browser_value", the character length must be smaller than or equal to 255.'
|
286
|
-
end
|
287
|
-
|
288
217
|
@http_accept_browser_value = http_accept_browser_value
|
289
218
|
end
|
290
219
|
|
291
220
|
# Custom attribute writer method with validation
|
292
221
|
# @param [Object] http_accept_content Value to be assigned
|
293
222
|
def http_accept_content=(http_accept_content)
|
294
|
-
if !http_accept_content.nil? && http_accept_content.to_s.length > 256
|
295
|
-
fail ArgumentError, 'invalid value for "http_accept_content", the character length must be smaller than or equal to 256.'
|
296
|
-
end
|
297
|
-
|
298
223
|
@http_accept_content = http_accept_content
|
299
224
|
end
|
300
225
|
|
301
226
|
# Custom attribute writer method with validation
|
302
227
|
# @param [Object] http_browser_language Value to be assigned
|
303
228
|
def http_browser_language=(http_browser_language)
|
304
|
-
if !http_browser_language.nil? && http_browser_language.to_s.length > 8
|
305
|
-
fail ArgumentError, 'invalid value for "http_browser_language", the character length must be smaller than or equal to 8.'
|
306
|
-
end
|
307
|
-
|
308
229
|
@http_browser_language = http_browser_language
|
309
230
|
end
|
310
231
|
|
311
232
|
# Custom attribute writer method with validation
|
312
233
|
# @param [Object] http_browser_color_depth Value to be assigned
|
313
234
|
def http_browser_color_depth=(http_browser_color_depth)
|
314
|
-
if !http_browser_color_depth.nil? && http_browser_color_depth.to_s.length > 2
|
315
|
-
fail ArgumentError, 'invalid value for "http_browser_color_depth", the character length must be smaller than or equal to 2.'
|
316
|
-
end
|
317
|
-
|
318
235
|
@http_browser_color_depth = http_browser_color_depth
|
319
236
|
end
|
320
237
|
|
321
238
|
# Custom attribute writer method with validation
|
322
239
|
# @param [Object] http_browser_screen_height Value to be assigned
|
323
240
|
def http_browser_screen_height=(http_browser_screen_height)
|
324
|
-
if !http_browser_screen_height.nil? && http_browser_screen_height.to_s.length > 6
|
325
|
-
fail ArgumentError, 'invalid value for "http_browser_screen_height", the character length must be smaller than or equal to 6.'
|
326
|
-
end
|
327
|
-
|
328
241
|
@http_browser_screen_height = http_browser_screen_height
|
329
242
|
end
|
330
243
|
|
331
244
|
# Custom attribute writer method with validation
|
332
245
|
# @param [Object] http_browser_screen_width Value to be assigned
|
333
246
|
def http_browser_screen_width=(http_browser_screen_width)
|
334
|
-
if !http_browser_screen_width.nil? && http_browser_screen_width.to_s.length > 6
|
335
|
-
fail ArgumentError, 'invalid value for "http_browser_screen_width", the character length must be smaller than or equal to 6.'
|
336
|
-
end
|
337
|
-
|
338
247
|
@http_browser_screen_width = http_browser_screen_width
|
339
248
|
end
|
340
249
|
|
341
250
|
# Custom attribute writer method with validation
|
342
251
|
# @param [Object] http_browser_time_difference Value to be assigned
|
343
252
|
def http_browser_time_difference=(http_browser_time_difference)
|
344
|
-
if !http_browser_time_difference.nil? && http_browser_time_difference.to_s.length > 5
|
345
|
-
fail ArgumentError, 'invalid value for "http_browser_time_difference", the character length must be smaller than or equal to 5.'
|
346
|
-
end
|
347
|
-
|
348
253
|
@http_browser_time_difference = http_browser_time_difference
|
349
254
|
end
|
350
255
|
|
351
256
|
# Custom attribute writer method with validation
|
352
257
|
# @param [Object] user_agent_browser_value Value to be assigned
|
353
258
|
def user_agent_browser_value=(user_agent_browser_value)
|
354
|
-
if !user_agent_browser_value.nil? && user_agent_browser_value.to_s.length > 255
|
355
|
-
fail ArgumentError, 'invalid value for "user_agent_browser_value", the character length must be smaller than or equal to 255.'
|
356
|
-
end
|
357
|
-
|
358
259
|
@user_agent_browser_value = user_agent_browser_value
|
359
260
|
end
|
360
261
|
|
@@ -57,27 +57,18 @@ 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 !@provider.nil? && @provider.to_s.length > 32
|
61
|
-
invalid_properties.push('invalid value for "provider", the character length must be smaller than or equal to 32.')
|
62
|
-
end
|
63
|
-
|
64
60
|
invalid_properties
|
65
61
|
end
|
66
62
|
|
67
63
|
# Check to see if the all the properties in the model are valid
|
68
64
|
# @return true if the model is valid
|
69
65
|
def valid?
|
70
|
-
return false if !@provider.nil? && @provider.to_s.length > 32
|
71
66
|
true
|
72
67
|
end
|
73
68
|
|
74
69
|
# Custom attribute writer method with validation
|
75
70
|
# @param [Object] provider Value to be assigned
|
76
71
|
def provider=(provider)
|
77
|
-
if !provider.nil? && provider.to_s.length > 32
|
78
|
-
fail ArgumentError, 'invalid value for "provider", the character length must be smaller than or equal to 32.'
|
79
|
-
end
|
80
|
-
|
81
72
|
@provider = provider
|
82
73
|
end
|
83
74
|
|
@@ -13,20 +13,21 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
|
16
|
+
class Ptsv2paymentsHealthCareInformation
|
17
|
+
# array for Healthcare fields
|
18
|
+
attr_accessor :amount_details
|
18
19
|
|
19
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
21
|
def self.attribute_map
|
21
22
|
{
|
22
|
-
:'
|
23
|
+
:'amount_details' => :'amountDetails'
|
23
24
|
}
|
24
25
|
end
|
25
26
|
|
26
27
|
# Attribute type mapping.
|
27
28
|
def self.swagger_types
|
28
29
|
{
|
29
|
-
:'
|
30
|
+
:'amount_details' => :'Array<Ptsv2paymentsHealthCareInformationAmountDetails>'
|
30
31
|
}
|
31
32
|
end
|
32
33
|
|
@@ -38,8 +39,10 @@ module CyberSource
|
|
38
39
|
# convert string to symbol for hash key
|
39
40
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
41
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
|
42
|
+
if attributes.has_key?(:'amountDetails')
|
43
|
+
if (value = attributes[:'amountDetails']).is_a?(Array)
|
44
|
+
self.amount_details = value
|
45
|
+
end
|
43
46
|
end
|
44
47
|
end
|
45
48
|
|
@@ -61,7 +64,7 @@ module CyberSource
|
|
61
64
|
def ==(o)
|
62
65
|
return true if self.equal?(o)
|
63
66
|
self.class == o.class &&
|
64
|
-
|
67
|
+
amount_details == o.amount_details
|
65
68
|
end
|
66
69
|
|
67
70
|
# @see the `==` method
|
@@ -73,7 +76,7 @@ module CyberSource
|
|
73
76
|
# Calculates hash code according to all attributes.
|
74
77
|
# @return [Fixnum] Hash code
|
75
78
|
def hash
|
76
|
-
[
|
79
|
+
[amount_details].hash
|
77
80
|
end
|
78
81
|
|
79
82
|
# Builds the object from hash
|
@@ -13,21 +13,26 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
#
|
18
|
-
attr_accessor :
|
16
|
+
class Ptsv2paymentsHealthCareInformationAmountDetails
|
17
|
+
# Total amount that has been spent on healthcare in a transaction. Valid Values for **Visa**: - `healthcare` - Total Amount Healthcare - `healthcare-transit` - Amount Transit - `vision` - Amount Vision/Optical - `prescription` - Amount Prescription/RX - `clinic` - Amount Clinic/Other Qualified Medical - `dental` - Amount Dental `Note:` - Prescription, Clinic and dental amounts must be preceded with the total healthcare amount and cannot occur individually. Vision and Transit must be sent individually and cannot be combined with total healthcare amount or any other amounts. Total Healthcare amount can be sent individually. Valid Values for **MasterCard**: - `prescription` - Amount Prescription/RX - `eligible-total` - Total Amount Healthcare `Note:` - Prescription must be preceded with the total healthcare amount and cannot occur individually. Total Healthcare amount can be sent individually.
|
18
|
+
attr_accessor :amount_type
|
19
|
+
|
20
|
+
# Total Amount that has been spent on transit healthcare. This is 13 byte field including sign. If the amount is positive, then it is a debit for the customer. If the amount is negative, then it is a credit for the customer.
|
21
|
+
attr_accessor :amount
|
19
22
|
|
20
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
24
|
def self.attribute_map
|
22
25
|
{
|
23
|
-
:'
|
26
|
+
:'amount_type' => :'amountType',
|
27
|
+
:'amount' => :'amount'
|
24
28
|
}
|
25
29
|
end
|
26
30
|
|
27
31
|
# Attribute type mapping.
|
28
32
|
def self.swagger_types
|
29
33
|
{
|
30
|
-
:'
|
34
|
+
:'amount_type' => :'String',
|
35
|
+
:'amount' => :'String'
|
31
36
|
}
|
32
37
|
end
|
33
38
|
|
@@ -39,8 +44,12 @@ module CyberSource
|
|
39
44
|
# convert string to symbol for hash key
|
40
45
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
41
46
|
|
42
|
-
if attributes.has_key?(:'
|
43
|
-
self.
|
47
|
+
if attributes.has_key?(:'amountType')
|
48
|
+
self.amount_type = attributes[:'amountType']
|
49
|
+
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'amount')
|
52
|
+
self.amount = attributes[:'amount']
|
44
53
|
end
|
45
54
|
end
|
46
55
|
|
@@ -48,37 +57,25 @@ module CyberSource
|
|
48
57
|
# @return Array for valid properties with the reasons
|
49
58
|
def list_invalid_properties
|
50
59
|
invalid_properties = Array.new
|
51
|
-
if !@payment_account_reference.nil? && @payment_account_reference.to_s.length > 29
|
52
|
-
invalid_properties.push('invalid value for "payment_account_reference", the character length must be smaller than or equal to 29.')
|
53
|
-
end
|
54
|
-
|
55
|
-
if !@payment_account_reference.nil? && @payment_account_reference.to_s.length < 29
|
56
|
-
invalid_properties.push('invalid value for "payment_account_reference", the character length must be great than or equal to 29.')
|
57
|
-
end
|
58
|
-
|
59
60
|
invalid_properties
|
60
61
|
end
|
61
62
|
|
62
63
|
# Check to see if the all the properties in the model are valid
|
63
64
|
# @return true if the model is valid
|
64
65
|
def valid?
|
65
|
-
return false if !@payment_account_reference.nil? && @payment_account_reference.to_s.length > 29
|
66
|
-
return false if !@payment_account_reference.nil? && @payment_account_reference.to_s.length < 29
|
67
66
|
true
|
68
67
|
end
|
69
68
|
|
70
69
|
# Custom attribute writer method with validation
|
71
|
-
# @param [Object]
|
72
|
-
def
|
73
|
-
|
74
|
-
|
75
|
-
end
|
76
|
-
|
77
|
-
if !payment_account_reference.nil? && payment_account_reference.to_s.length < 29
|
78
|
-
fail ArgumentError, 'invalid value for "payment_account_reference", the character length must be great than or equal to 29.'
|
79
|
-
end
|
70
|
+
# @param [Object] amount_type Value to be assigned
|
71
|
+
def amount_type=(amount_type)
|
72
|
+
@amount_type = amount_type
|
73
|
+
end
|
80
74
|
|
81
|
-
|
75
|
+
# Custom attribute writer method with validation
|
76
|
+
# @param [Object] amount Value to be assigned
|
77
|
+
def amount=(amount)
|
78
|
+
@amount = amount
|
82
79
|
end
|
83
80
|
|
84
81
|
# Checks equality by comparing each attribute.
|
@@ -86,7 +83,8 @@ module CyberSource
|
|
86
83
|
def ==(o)
|
87
84
|
return true if self.equal?(o)
|
88
85
|
self.class == o.class &&
|
89
|
-
|
86
|
+
amount_type == o.amount_type &&
|
87
|
+
amount == o.amount
|
90
88
|
end
|
91
89
|
|
92
90
|
# @see the `==` method
|
@@ -98,7 +96,7 @@ module CyberSource
|
|
98
96
|
# Calculates hash code according to all attributes.
|
99
97
|
# @return [Fixnum] Hash code
|
100
98
|
def hash
|
101
|
-
[
|
99
|
+
[amount_type, amount].hash
|
102
100
|
end
|
103
101
|
|
104
102
|
# Builds the object from hash
|