cybersource_rest_client 0.0.26 → 0.0.27
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 +1 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +89 -2
- data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +0 -36
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -36
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +0 -54
- 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_customer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +0 -9
- 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 +0 -36
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +0 -54
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +0 -27
- 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 +0 -18
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -27
- data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +286 -0
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +0 -18
- 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_transaction_batches.rb +0 -18
- 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 +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +0 -18
- 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 +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +0 -9
- 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_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +0 -189
- 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_installment_information.rb +0 -198
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +0 -153
- 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_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +0 -54
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +0 -27
- 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 +0 -144
- 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 +0 -18
- 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 +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +0 -9
- 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 +0 -27
- 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_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_morphing.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_customer.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -18
- 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 +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +0 -54
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +0 -45
- 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 +0 -108
- 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 +0 -9
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +0 -9
- 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 +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +0 -369
- 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 +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information_raw_data.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +0 -18
- 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 +0 -54
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +0 -63
- 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 +0 -189
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +0 -18
- 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 +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +0 -162
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -72
- 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 +0 -198
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +0 -72
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +0 -9
- 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 +0 -117
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +0 -36
- 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 +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +0 -63
- 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 +0 -9
- 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 +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +0 -333
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -351
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +0 -261
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +0 -18
- 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 +0 -81
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -207
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +0 -162
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +0 -90
- 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 +0 -27
- 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 +0 -18
- 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 +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +0 -27
- 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 +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +0 -36
- 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 +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +0 -27
- 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 +0 -9
- 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 +0 -45
- 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/risk_v1_authentication_results_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -90
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +0 -18
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +0 -171
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +0 -45
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +0 -9
- 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 +0 -9
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +0 -72
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +0 -72
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -45
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -81
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +0 -270
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information_strong_authentication.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +0 -81
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_passengers.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +0 -18
- 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 +0 -99
- 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 +0 -45
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +0 -18
- 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 +0 -99
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +0 -27
- data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +0 -54
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +0 -45
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +0 -45
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +0 -99
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +0 -27
- 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 +0 -18
- 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 +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +0 -54
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +0 -126
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +0 -90
- 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_account_features.rb +0 -27
- 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 +0 -72
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -19
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +0 -36
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +0 -36
- 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 +0 -18
- 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 +0 -9
- 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 +0 -9
- 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 +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +0 -18
- 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 +0 -18
- 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 +0 -9
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -1
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information.rb +0 -27
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +6 -72
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +0 -27
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +0 -18
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +0 -9
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information_partner.rb +0 -18
- data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +0 -54
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +0 -99
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +0 -63
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +0 -18
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +0 -18
- metadata +3 -2
@@ -264,167 +264,40 @@ module CyberSource
|
|
264
264
|
# @return Array for valid properties with the reasons
|
265
265
|
def list_invalid_properties
|
266
266
|
invalid_properties = Array.new
|
267
|
-
if !@amount.nil? && @amount.to_s.length > 12
|
268
|
-
invalid_properties.push('invalid value for "amount", the character length must be smaller than or equal to 12.')
|
269
|
-
end
|
270
|
-
|
271
|
-
if !@frequency.nil? && @frequency.to_s.length > 1
|
272
|
-
invalid_properties.push('invalid value for "frequency", the character length must be smaller than or equal to 1.')
|
273
|
-
end
|
274
|
-
|
275
|
-
if !@plan_type.nil? && @plan_type.to_s.length > 1
|
276
|
-
invalid_properties.push('invalid value for "plan_type", the character length must be smaller than or equal to 1.')
|
277
|
-
end
|
278
|
-
|
279
267
|
if !@sequence.nil? && @sequence > 99
|
280
268
|
invalid_properties.push('invalid value for "sequence", must be smaller than or equal to 99.')
|
281
269
|
end
|
282
270
|
|
283
|
-
if !@total_amount.nil? && @total_amount.to_s.length > 12
|
284
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 12.')
|
285
|
-
end
|
286
|
-
|
287
271
|
if !@total_count.nil? && @total_count > 99
|
288
272
|
invalid_properties.push('invalid value for "total_count", must be smaller than or equal to 99.')
|
289
273
|
end
|
290
274
|
|
291
|
-
if !@first_installment_date.nil? && @first_installment_date.to_s.length > 6
|
292
|
-
invalid_properties.push('invalid value for "first_installment_date", the character length must be smaller than or equal to 6.')
|
293
|
-
end
|
294
|
-
|
295
|
-
if !@first_installment_amount.nil? && @first_installment_amount.to_s.length > 13
|
296
|
-
invalid_properties.push('invalid value for "first_installment_amount", the character length must be smaller than or equal to 13.')
|
297
|
-
end
|
298
|
-
|
299
|
-
if !@invoice_data.nil? && @invoice_data.to_s.length > 20
|
300
|
-
invalid_properties.push('invalid value for "invoice_data", the character length must be smaller than or equal to 20.')
|
301
|
-
end
|
302
|
-
|
303
|
-
if !@payment_type.nil? && @payment_type.to_s.length > 1
|
304
|
-
invalid_properties.push('invalid value for "payment_type", the character length must be smaller than or equal to 1.')
|
305
|
-
end
|
306
|
-
|
307
|
-
if !@additional_costs.nil? && @additional_costs.to_s.length > 12
|
308
|
-
invalid_properties.push('invalid value for "additional_costs", the character length must be smaller than or equal to 12.')
|
309
|
-
end
|
310
|
-
|
311
|
-
if !@additional_costs_percentage.nil? && @additional_costs_percentage.to_s.length > 4
|
312
|
-
invalid_properties.push('invalid value for "additional_costs_percentage", the character length must be smaller than or equal to 4.')
|
313
|
-
end
|
314
|
-
|
315
|
-
if !@amount_funded.nil? && @amount_funded.to_s.length > 12
|
316
|
-
invalid_properties.push('invalid value for "amount_funded", the character length must be smaller than or equal to 12.')
|
317
|
-
end
|
318
|
-
|
319
|
-
if !@amount_requested_percentage.nil? && @amount_requested_percentage.to_s.length > 4
|
320
|
-
invalid_properties.push('invalid value for "amount_requested_percentage", the character length must be smaller than or equal to 4.')
|
321
|
-
end
|
322
|
-
|
323
|
-
if !@annual_financing_cost.nil? && @annual_financing_cost.to_s.length > 7
|
324
|
-
invalid_properties.push('invalid value for "annual_financing_cost", the character length must be smaller than or equal to 7.')
|
325
|
-
end
|
326
|
-
|
327
|
-
if !@annual_interest_rate.nil? && @annual_interest_rate.to_s.length > 7
|
328
|
-
invalid_properties.push('invalid value for "annual_interest_rate", the character length must be smaller than or equal to 7.')
|
329
|
-
end
|
330
|
-
|
331
|
-
if !@expenses.nil? && @expenses.to_s.length > 12
|
332
|
-
invalid_properties.push('invalid value for "expenses", the character length must be smaller than or equal to 12.')
|
333
|
-
end
|
334
|
-
|
335
|
-
if !@expenses_percentage.nil? && @expenses_percentage.to_s.length > 4
|
336
|
-
invalid_properties.push('invalid value for "expenses_percentage", the character length must be smaller than or equal to 4.')
|
337
|
-
end
|
338
|
-
|
339
|
-
if !@fees.nil? && @fees.to_s.length > 12
|
340
|
-
invalid_properties.push('invalid value for "fees", the character length must be smaller than or equal to 12.')
|
341
|
-
end
|
342
|
-
|
343
|
-
if !@fees_percentage.nil? && @fees_percentage.to_s.length > 4
|
344
|
-
invalid_properties.push('invalid value for "fees_percentage", the character length must be smaller than or equal to 4.')
|
345
|
-
end
|
346
|
-
|
347
|
-
if !@insurance.nil? && @insurance.to_s.length > 12
|
348
|
-
invalid_properties.push('invalid value for "insurance", the character length must be smaller than or equal to 12.')
|
349
|
-
end
|
350
|
-
|
351
|
-
if !@insurance_percentage.nil? && @insurance_percentage.to_s.length > 4
|
352
|
-
invalid_properties.push('invalid value for "insurance_percentage", the character length must be smaller than or equal to 4.')
|
353
|
-
end
|
354
|
-
|
355
|
-
if !@monthly_interest_rate.nil? && @monthly_interest_rate.to_s.length > 7
|
356
|
-
invalid_properties.push('invalid value for "monthly_interest_rate", the character length must be smaller than or equal to 7.')
|
357
|
-
end
|
358
|
-
|
359
|
-
if !@taxes.nil? && @taxes.to_s.length > 12
|
360
|
-
invalid_properties.push('invalid value for "taxes", the character length must be smaller than or equal to 12.')
|
361
|
-
end
|
362
|
-
|
363
|
-
if !@taxes_percentage.nil? && @taxes_percentage.to_s.length > 4
|
364
|
-
invalid_properties.push('invalid value for "taxes_percentage", the character length must be smaller than or equal to 4.')
|
365
|
-
end
|
366
|
-
|
367
275
|
invalid_properties
|
368
276
|
end
|
369
277
|
|
370
278
|
# Check to see if the all the properties in the model are valid
|
371
279
|
# @return true if the model is valid
|
372
280
|
def valid?
|
373
|
-
return false if !@amount.nil? && @amount.to_s.length > 12
|
374
|
-
return false if !@frequency.nil? && @frequency.to_s.length > 1
|
375
|
-
return false if !@plan_type.nil? && @plan_type.to_s.length > 1
|
376
281
|
return false if !@sequence.nil? && @sequence > 99
|
377
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 12
|
378
282
|
return false if !@total_count.nil? && @total_count > 99
|
379
|
-
return false if !@first_installment_date.nil? && @first_installment_date.to_s.length > 6
|
380
|
-
return false if !@first_installment_amount.nil? && @first_installment_amount.to_s.length > 13
|
381
|
-
return false if !@invoice_data.nil? && @invoice_data.to_s.length > 20
|
382
|
-
return false if !@payment_type.nil? && @payment_type.to_s.length > 1
|
383
|
-
return false if !@additional_costs.nil? && @additional_costs.to_s.length > 12
|
384
|
-
return false if !@additional_costs_percentage.nil? && @additional_costs_percentage.to_s.length > 4
|
385
|
-
return false if !@amount_funded.nil? && @amount_funded.to_s.length > 12
|
386
|
-
return false if !@amount_requested_percentage.nil? && @amount_requested_percentage.to_s.length > 4
|
387
|
-
return false if !@annual_financing_cost.nil? && @annual_financing_cost.to_s.length > 7
|
388
|
-
return false if !@annual_interest_rate.nil? && @annual_interest_rate.to_s.length > 7
|
389
|
-
return false if !@expenses.nil? && @expenses.to_s.length > 12
|
390
|
-
return false if !@expenses_percentage.nil? && @expenses_percentage.to_s.length > 4
|
391
|
-
return false if !@fees.nil? && @fees.to_s.length > 12
|
392
|
-
return false if !@fees_percentage.nil? && @fees_percentage.to_s.length > 4
|
393
|
-
return false if !@insurance.nil? && @insurance.to_s.length > 12
|
394
|
-
return false if !@insurance_percentage.nil? && @insurance_percentage.to_s.length > 4
|
395
|
-
return false if !@monthly_interest_rate.nil? && @monthly_interest_rate.to_s.length > 7
|
396
|
-
return false if !@taxes.nil? && @taxes.to_s.length > 12
|
397
|
-
return false if !@taxes_percentage.nil? && @taxes_percentage.to_s.length > 4
|
398
283
|
true
|
399
284
|
end
|
400
285
|
|
401
286
|
# Custom attribute writer method with validation
|
402
287
|
# @param [Object] amount Value to be assigned
|
403
288
|
def amount=(amount)
|
404
|
-
if !amount.nil? && amount.to_s.length > 12
|
405
|
-
fail ArgumentError, 'invalid value for "amount", the character length must be smaller than or equal to 12.'
|
406
|
-
end
|
407
|
-
|
408
289
|
@amount = amount
|
409
290
|
end
|
410
291
|
|
411
292
|
# Custom attribute writer method with validation
|
412
293
|
# @param [Object] frequency Value to be assigned
|
413
294
|
def frequency=(frequency)
|
414
|
-
if !frequency.nil? && frequency.to_s.length > 1
|
415
|
-
fail ArgumentError, 'invalid value for "frequency", the character length must be smaller than or equal to 1.'
|
416
|
-
end
|
417
|
-
|
418
295
|
@frequency = frequency
|
419
296
|
end
|
420
297
|
|
421
298
|
# Custom attribute writer method with validation
|
422
299
|
# @param [Object] plan_type Value to be assigned
|
423
300
|
def plan_type=(plan_type)
|
424
|
-
if !plan_type.nil? && plan_type.to_s.length > 1
|
425
|
-
fail ArgumentError, 'invalid value for "plan_type", the character length must be smaller than or equal to 1.'
|
426
|
-
end
|
427
|
-
|
428
301
|
@plan_type = plan_type
|
429
302
|
end
|
430
303
|
|
@@ -441,10 +314,6 @@ module CyberSource
|
|
441
314
|
# Custom attribute writer method with validation
|
442
315
|
# @param [Object] total_amount Value to be assigned
|
443
316
|
def total_amount=(total_amount)
|
444
|
-
if !total_amount.nil? && total_amount.to_s.length > 12
|
445
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 12.'
|
446
|
-
end
|
447
|
-
|
448
317
|
@total_amount = total_amount
|
449
318
|
end
|
450
319
|
|
@@ -461,190 +330,114 @@ module CyberSource
|
|
461
330
|
# Custom attribute writer method with validation
|
462
331
|
# @param [Object] first_installment_date Value to be assigned
|
463
332
|
def first_installment_date=(first_installment_date)
|
464
|
-
if !first_installment_date.nil? && first_installment_date.to_s.length > 6
|
465
|
-
fail ArgumentError, 'invalid value for "first_installment_date", the character length must be smaller than or equal to 6.'
|
466
|
-
end
|
467
|
-
|
468
333
|
@first_installment_date = first_installment_date
|
469
334
|
end
|
470
335
|
|
471
336
|
# Custom attribute writer method with validation
|
472
337
|
# @param [Object] first_installment_amount Value to be assigned
|
473
338
|
def first_installment_amount=(first_installment_amount)
|
474
|
-
if !first_installment_amount.nil? && first_installment_amount.to_s.length > 13
|
475
|
-
fail ArgumentError, 'invalid value for "first_installment_amount", the character length must be smaller than or equal to 13.'
|
476
|
-
end
|
477
|
-
|
478
339
|
@first_installment_amount = first_installment_amount
|
479
340
|
end
|
480
341
|
|
481
342
|
# Custom attribute writer method with validation
|
482
343
|
# @param [Object] invoice_data Value to be assigned
|
483
344
|
def invoice_data=(invoice_data)
|
484
|
-
if !invoice_data.nil? && invoice_data.to_s.length > 20
|
485
|
-
fail ArgumentError, 'invalid value for "invoice_data", the character length must be smaller than or equal to 20.'
|
486
|
-
end
|
487
|
-
|
488
345
|
@invoice_data = invoice_data
|
489
346
|
end
|
490
347
|
|
491
348
|
# Custom attribute writer method with validation
|
492
349
|
# @param [Object] payment_type Value to be assigned
|
493
350
|
def payment_type=(payment_type)
|
494
|
-
if !payment_type.nil? && payment_type.to_s.length > 1
|
495
|
-
fail ArgumentError, 'invalid value for "payment_type", the character length must be smaller than or equal to 1.'
|
496
|
-
end
|
497
|
-
|
498
351
|
@payment_type = payment_type
|
499
352
|
end
|
500
353
|
|
501
354
|
# Custom attribute writer method with validation
|
502
355
|
# @param [Object] additional_costs Value to be assigned
|
503
356
|
def additional_costs=(additional_costs)
|
504
|
-
if !additional_costs.nil? && additional_costs.to_s.length > 12
|
505
|
-
fail ArgumentError, 'invalid value for "additional_costs", the character length must be smaller than or equal to 12.'
|
506
|
-
end
|
507
|
-
|
508
357
|
@additional_costs = additional_costs
|
509
358
|
end
|
510
359
|
|
511
360
|
# Custom attribute writer method with validation
|
512
361
|
# @param [Object] additional_costs_percentage Value to be assigned
|
513
362
|
def additional_costs_percentage=(additional_costs_percentage)
|
514
|
-
if !additional_costs_percentage.nil? && additional_costs_percentage.to_s.length > 4
|
515
|
-
fail ArgumentError, 'invalid value for "additional_costs_percentage", the character length must be smaller than or equal to 4.'
|
516
|
-
end
|
517
|
-
|
518
363
|
@additional_costs_percentage = additional_costs_percentage
|
519
364
|
end
|
520
365
|
|
521
366
|
# Custom attribute writer method with validation
|
522
367
|
# @param [Object] amount_funded Value to be assigned
|
523
368
|
def amount_funded=(amount_funded)
|
524
|
-
if !amount_funded.nil? && amount_funded.to_s.length > 12
|
525
|
-
fail ArgumentError, 'invalid value for "amount_funded", the character length must be smaller than or equal to 12.'
|
526
|
-
end
|
527
|
-
|
528
369
|
@amount_funded = amount_funded
|
529
370
|
end
|
530
371
|
|
531
372
|
# Custom attribute writer method with validation
|
532
373
|
# @param [Object] amount_requested_percentage Value to be assigned
|
533
374
|
def amount_requested_percentage=(amount_requested_percentage)
|
534
|
-
if !amount_requested_percentage.nil? && amount_requested_percentage.to_s.length > 4
|
535
|
-
fail ArgumentError, 'invalid value for "amount_requested_percentage", the character length must be smaller than or equal to 4.'
|
536
|
-
end
|
537
|
-
|
538
375
|
@amount_requested_percentage = amount_requested_percentage
|
539
376
|
end
|
540
377
|
|
541
378
|
# Custom attribute writer method with validation
|
542
379
|
# @param [Object] annual_financing_cost Value to be assigned
|
543
380
|
def annual_financing_cost=(annual_financing_cost)
|
544
|
-
if !annual_financing_cost.nil? && annual_financing_cost.to_s.length > 7
|
545
|
-
fail ArgumentError, 'invalid value for "annual_financing_cost", the character length must be smaller than or equal to 7.'
|
546
|
-
end
|
547
|
-
|
548
381
|
@annual_financing_cost = annual_financing_cost
|
549
382
|
end
|
550
383
|
|
551
384
|
# Custom attribute writer method with validation
|
552
385
|
# @param [Object] annual_interest_rate Value to be assigned
|
553
386
|
def annual_interest_rate=(annual_interest_rate)
|
554
|
-
if !annual_interest_rate.nil? && annual_interest_rate.to_s.length > 7
|
555
|
-
fail ArgumentError, 'invalid value for "annual_interest_rate", the character length must be smaller than or equal to 7.'
|
556
|
-
end
|
557
|
-
|
558
387
|
@annual_interest_rate = annual_interest_rate
|
559
388
|
end
|
560
389
|
|
561
390
|
# Custom attribute writer method with validation
|
562
391
|
# @param [Object] expenses Value to be assigned
|
563
392
|
def expenses=(expenses)
|
564
|
-
if !expenses.nil? && expenses.to_s.length > 12
|
565
|
-
fail ArgumentError, 'invalid value for "expenses", the character length must be smaller than or equal to 12.'
|
566
|
-
end
|
567
|
-
|
568
393
|
@expenses = expenses
|
569
394
|
end
|
570
395
|
|
571
396
|
# Custom attribute writer method with validation
|
572
397
|
# @param [Object] expenses_percentage Value to be assigned
|
573
398
|
def expenses_percentage=(expenses_percentage)
|
574
|
-
if !expenses_percentage.nil? && expenses_percentage.to_s.length > 4
|
575
|
-
fail ArgumentError, 'invalid value for "expenses_percentage", the character length must be smaller than or equal to 4.'
|
576
|
-
end
|
577
|
-
|
578
399
|
@expenses_percentage = expenses_percentage
|
579
400
|
end
|
580
401
|
|
581
402
|
# Custom attribute writer method with validation
|
582
403
|
# @param [Object] fees Value to be assigned
|
583
404
|
def fees=(fees)
|
584
|
-
if !fees.nil? && fees.to_s.length > 12
|
585
|
-
fail ArgumentError, 'invalid value for "fees", the character length must be smaller than or equal to 12.'
|
586
|
-
end
|
587
|
-
|
588
405
|
@fees = fees
|
589
406
|
end
|
590
407
|
|
591
408
|
# Custom attribute writer method with validation
|
592
409
|
# @param [Object] fees_percentage Value to be assigned
|
593
410
|
def fees_percentage=(fees_percentage)
|
594
|
-
if !fees_percentage.nil? && fees_percentage.to_s.length > 4
|
595
|
-
fail ArgumentError, 'invalid value for "fees_percentage", the character length must be smaller than or equal to 4.'
|
596
|
-
end
|
597
|
-
|
598
411
|
@fees_percentage = fees_percentage
|
599
412
|
end
|
600
413
|
|
601
414
|
# Custom attribute writer method with validation
|
602
415
|
# @param [Object] insurance Value to be assigned
|
603
416
|
def insurance=(insurance)
|
604
|
-
if !insurance.nil? && insurance.to_s.length > 12
|
605
|
-
fail ArgumentError, 'invalid value for "insurance", the character length must be smaller than or equal to 12.'
|
606
|
-
end
|
607
|
-
|
608
417
|
@insurance = insurance
|
609
418
|
end
|
610
419
|
|
611
420
|
# Custom attribute writer method with validation
|
612
421
|
# @param [Object] insurance_percentage Value to be assigned
|
613
422
|
def insurance_percentage=(insurance_percentage)
|
614
|
-
if !insurance_percentage.nil? && insurance_percentage.to_s.length > 4
|
615
|
-
fail ArgumentError, 'invalid value for "insurance_percentage", the character length must be smaller than or equal to 4.'
|
616
|
-
end
|
617
|
-
|
618
423
|
@insurance_percentage = insurance_percentage
|
619
424
|
end
|
620
425
|
|
621
426
|
# Custom attribute writer method with validation
|
622
427
|
# @param [Object] monthly_interest_rate Value to be assigned
|
623
428
|
def monthly_interest_rate=(monthly_interest_rate)
|
624
|
-
if !monthly_interest_rate.nil? && monthly_interest_rate.to_s.length > 7
|
625
|
-
fail ArgumentError, 'invalid value for "monthly_interest_rate", the character length must be smaller than or equal to 7.'
|
626
|
-
end
|
627
|
-
|
628
429
|
@monthly_interest_rate = monthly_interest_rate
|
629
430
|
end
|
630
431
|
|
631
432
|
# Custom attribute writer method with validation
|
632
433
|
# @param [Object] taxes Value to be assigned
|
633
434
|
def taxes=(taxes)
|
634
|
-
if !taxes.nil? && taxes.to_s.length > 12
|
635
|
-
fail ArgumentError, 'invalid value for "taxes", the character length must be smaller than or equal to 12.'
|
636
|
-
end
|
637
|
-
|
638
435
|
@taxes = taxes
|
639
436
|
end
|
640
437
|
|
641
438
|
# Custom attribute writer method with validation
|
642
439
|
# @param [Object] taxes_percentage Value to be assigned
|
643
440
|
def taxes_percentage=(taxes_percentage)
|
644
|
-
if !taxes_percentage.nil? && taxes_percentage.to_s.length > 4
|
645
|
-
fail ArgumentError, 'invalid value for "taxes_percentage", the character length must be smaller than or equal to 4.'
|
646
|
-
end
|
647
|
-
|
648
441
|
@taxes_percentage = taxes_percentage
|
649
442
|
end
|
650
443
|
|
@@ -91,42 +91,23 @@ module CyberSource
|
|
91
91
|
# @return Array for valid properties with the reasons
|
92
92
|
def list_invalid_properties
|
93
93
|
invalid_properties = Array.new
|
94
|
-
if !@card_acceptor_reference_number.nil? && @card_acceptor_reference_number.to_s.length > 25
|
95
|
-
invalid_properties.push('invalid value for "card_acceptor_reference_number", the character length must be smaller than or equal to 25.')
|
96
|
-
end
|
97
|
-
|
98
94
|
if !@category_code.nil? && @category_code > 9999
|
99
95
|
invalid_properties.push('invalid value for "category_code", must be smaller than or equal to 9999.')
|
100
96
|
end
|
101
97
|
|
102
|
-
if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 21
|
103
|
-
invalid_properties.push('invalid value for "vat_registration_number", the character length must be smaller than or equal to 21.')
|
104
|
-
end
|
105
|
-
|
106
|
-
if !@tax_id.nil? && @tax_id.to_s.length > 15
|
107
|
-
invalid_properties.push('invalid value for "tax_id", the character length must be smaller than or equal to 15.')
|
108
|
-
end
|
109
|
-
|
110
98
|
invalid_properties
|
111
99
|
end
|
112
100
|
|
113
101
|
# Check to see if the all the properties in the model are valid
|
114
102
|
# @return true if the model is valid
|
115
103
|
def valid?
|
116
|
-
return false if !@card_acceptor_reference_number.nil? && @card_acceptor_reference_number.to_s.length > 25
|
117
104
|
return false if !@category_code.nil? && @category_code > 9999
|
118
|
-
return false if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 21
|
119
|
-
return false if !@tax_id.nil? && @tax_id.to_s.length > 15
|
120
105
|
true
|
121
106
|
end
|
122
107
|
|
123
108
|
# Custom attribute writer method with validation
|
124
109
|
# @param [Object] card_acceptor_reference_number Value to be assigned
|
125
110
|
def card_acceptor_reference_number=(card_acceptor_reference_number)
|
126
|
-
if !card_acceptor_reference_number.nil? && card_acceptor_reference_number.to_s.length > 25
|
127
|
-
fail ArgumentError, 'invalid value for "card_acceptor_reference_number", the character length must be smaller than or equal to 25.'
|
128
|
-
end
|
129
|
-
|
130
111
|
@card_acceptor_reference_number = card_acceptor_reference_number
|
131
112
|
end
|
132
113
|
|
@@ -143,20 +124,12 @@ module CyberSource
|
|
143
124
|
# Custom attribute writer method with validation
|
144
125
|
# @param [Object] vat_registration_number Value to be assigned
|
145
126
|
def vat_registration_number=(vat_registration_number)
|
146
|
-
if !vat_registration_number.nil? && vat_registration_number.to_s.length > 21
|
147
|
-
fail ArgumentError, 'invalid value for "vat_registration_number", the character length must be smaller than or equal to 21.'
|
148
|
-
end
|
149
|
-
|
150
127
|
@vat_registration_number = vat_registration_number
|
151
128
|
end
|
152
129
|
|
153
130
|
# Custom attribute writer method with validation
|
154
131
|
# @param [Object] tax_id Value to be assigned
|
155
132
|
def tax_id=(tax_id)
|
156
|
-
if !tax_id.nil? && tax_id.to_s.length > 15
|
157
|
-
fail ArgumentError, 'invalid value for "tax_id", the character length must be smaller than or equal to 15.'
|
158
|
-
end
|
159
|
-
|
160
133
|
@tax_id = tax_id
|
161
134
|
end
|
162
135
|
|
data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb
CHANGED
@@ -221,282 +221,120 @@ module CyberSource
|
|
221
221
|
# @return Array for valid properties with the reasons
|
222
222
|
def list_invalid_properties
|
223
223
|
invalid_properties = Array.new
|
224
|
-
if !@total_amount.nil? && @total_amount.to_s.length > 19
|
225
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 19.')
|
226
|
-
end
|
227
|
-
|
228
|
-
if !@currency.nil? && @currency.to_s.length > 3
|
229
|
-
invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.')
|
230
|
-
end
|
231
|
-
|
232
|
-
if !@discount_amount.nil? && @discount_amount.to_s.length > 15
|
233
|
-
invalid_properties.push('invalid value for "discount_amount", the character length must be smaller than or equal to 15.')
|
234
|
-
end
|
235
|
-
|
236
|
-
if !@duty_amount.nil? && @duty_amount.to_s.length > 15
|
237
|
-
invalid_properties.push('invalid value for "duty_amount", the character length must be smaller than or equal to 15.')
|
238
|
-
end
|
239
|
-
|
240
|
-
if !@gratuity_amount.nil? && @gratuity_amount.to_s.length > 13
|
241
|
-
invalid_properties.push('invalid value for "gratuity_amount", the character length must be smaller than or equal to 13.')
|
242
|
-
end
|
243
|
-
|
244
|
-
if !@tax_amount.nil? && @tax_amount.to_s.length > 12
|
245
|
-
invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 12.')
|
246
|
-
end
|
247
|
-
|
248
|
-
if !@national_tax_included.nil? && @national_tax_included.to_s.length > 1
|
249
|
-
invalid_properties.push('invalid value for "national_tax_included", the character length must be smaller than or equal to 1.')
|
250
|
-
end
|
251
|
-
|
252
|
-
if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
253
|
-
invalid_properties.push('invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.')
|
254
|
-
end
|
255
|
-
|
256
|
-
if !@tax_applied_level.nil? && @tax_applied_level.to_s.length > 1
|
257
|
-
invalid_properties.push('invalid value for "tax_applied_level", the character length must be smaller than or equal to 1.')
|
258
|
-
end
|
259
|
-
|
260
|
-
if !@tax_type_code.nil? && @tax_type_code.to_s.length > 3
|
261
|
-
invalid_properties.push('invalid value for "tax_type_code", the character length must be smaller than or equal to 3.')
|
262
|
-
end
|
263
|
-
|
264
|
-
if !@freight_amount.nil? && @freight_amount.to_s.length > 13
|
265
|
-
invalid_properties.push('invalid value for "freight_amount", the character length must be smaller than or equal to 13.')
|
266
|
-
end
|
267
|
-
|
268
|
-
if !@foreign_amount.nil? && @foreign_amount.to_s.length > 15
|
269
|
-
invalid_properties.push('invalid value for "foreign_amount", the character length must be smaller than or equal to 15.')
|
270
|
-
end
|
271
|
-
|
272
|
-
if !@foreign_currency.nil? && @foreign_currency.to_s.length > 5
|
273
|
-
invalid_properties.push('invalid value for "foreign_currency", the character length must be smaller than or equal to 5.')
|
274
|
-
end
|
275
|
-
|
276
|
-
if !@exchange_rate.nil? && @exchange_rate.to_s.length > 13
|
277
|
-
invalid_properties.push('invalid value for "exchange_rate", the character length must be smaller than or equal to 13.')
|
278
|
-
end
|
279
|
-
|
280
|
-
if !@exchange_rate_time_stamp.nil? && @exchange_rate_time_stamp.to_s.length > 14
|
281
|
-
invalid_properties.push('invalid value for "exchange_rate_time_stamp", the character length must be smaller than or equal to 14.')
|
282
|
-
end
|
283
|
-
|
284
|
-
if !@service_fee_amount.nil? && @service_fee_amount.to_s.length > 15
|
285
|
-
invalid_properties.push('invalid value for "service_fee_amount", the character length must be smaller than or equal to 15.')
|
286
|
-
end
|
287
|
-
|
288
|
-
if !@original_currency.nil? && @original_currency.to_s.length > 15
|
289
|
-
invalid_properties.push('invalid value for "original_currency", the character length must be smaller than or equal to 15.')
|
290
|
-
end
|
291
|
-
|
292
|
-
if !@cashback_amount.nil? && @cashback_amount.to_s.length > 13
|
293
|
-
invalid_properties.push('invalid value for "cashback_amount", the character length must be smaller than or equal to 13.')
|
294
|
-
end
|
295
|
-
|
296
224
|
invalid_properties
|
297
225
|
end
|
298
226
|
|
299
227
|
# Check to see if the all the properties in the model are valid
|
300
228
|
# @return true if the model is valid
|
301
229
|
def valid?
|
302
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 19
|
303
|
-
return false if !@currency.nil? && @currency.to_s.length > 3
|
304
|
-
return false if !@discount_amount.nil? && @discount_amount.to_s.length > 15
|
305
|
-
return false if !@duty_amount.nil? && @duty_amount.to_s.length > 15
|
306
|
-
return false if !@gratuity_amount.nil? && @gratuity_amount.to_s.length > 13
|
307
|
-
return false if !@tax_amount.nil? && @tax_amount.to_s.length > 12
|
308
|
-
return false if !@national_tax_included.nil? && @national_tax_included.to_s.length > 1
|
309
|
-
return false if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
310
|
-
return false if !@tax_applied_level.nil? && @tax_applied_level.to_s.length > 1
|
311
|
-
return false if !@tax_type_code.nil? && @tax_type_code.to_s.length > 3
|
312
|
-
return false if !@freight_amount.nil? && @freight_amount.to_s.length > 13
|
313
|
-
return false if !@foreign_amount.nil? && @foreign_amount.to_s.length > 15
|
314
|
-
return false if !@foreign_currency.nil? && @foreign_currency.to_s.length > 5
|
315
|
-
return false if !@exchange_rate.nil? && @exchange_rate.to_s.length > 13
|
316
|
-
return false if !@exchange_rate_time_stamp.nil? && @exchange_rate_time_stamp.to_s.length > 14
|
317
|
-
return false if !@service_fee_amount.nil? && @service_fee_amount.to_s.length > 15
|
318
|
-
return false if !@original_currency.nil? && @original_currency.to_s.length > 15
|
319
|
-
return false if !@cashback_amount.nil? && @cashback_amount.to_s.length > 13
|
320
230
|
true
|
321
231
|
end
|
322
232
|
|
323
233
|
# Custom attribute writer method with validation
|
324
234
|
# @param [Object] total_amount Value to be assigned
|
325
235
|
def total_amount=(total_amount)
|
326
|
-
if !total_amount.nil? && total_amount.to_s.length > 19
|
327
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 19.'
|
328
|
-
end
|
329
|
-
|
330
236
|
@total_amount = total_amount
|
331
237
|
end
|
332
238
|
|
333
239
|
# Custom attribute writer method with validation
|
334
240
|
# @param [Object] currency Value to be assigned
|
335
241
|
def currency=(currency)
|
336
|
-
if !currency.nil? && currency.to_s.length > 3
|
337
|
-
fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.'
|
338
|
-
end
|
339
|
-
|
340
242
|
@currency = currency
|
341
243
|
end
|
342
244
|
|
343
245
|
# Custom attribute writer method with validation
|
344
246
|
# @param [Object] discount_amount Value to be assigned
|
345
247
|
def discount_amount=(discount_amount)
|
346
|
-
if !discount_amount.nil? && discount_amount.to_s.length > 15
|
347
|
-
fail ArgumentError, 'invalid value for "discount_amount", the character length must be smaller than or equal to 15.'
|
348
|
-
end
|
349
|
-
|
350
248
|
@discount_amount = discount_amount
|
351
249
|
end
|
352
250
|
|
353
251
|
# Custom attribute writer method with validation
|
354
252
|
# @param [Object] duty_amount Value to be assigned
|
355
253
|
def duty_amount=(duty_amount)
|
356
|
-
if !duty_amount.nil? && duty_amount.to_s.length > 15
|
357
|
-
fail ArgumentError, 'invalid value for "duty_amount", the character length must be smaller than or equal to 15.'
|
358
|
-
end
|
359
|
-
|
360
254
|
@duty_amount = duty_amount
|
361
255
|
end
|
362
256
|
|
363
257
|
# Custom attribute writer method with validation
|
364
258
|
# @param [Object] gratuity_amount Value to be assigned
|
365
259
|
def gratuity_amount=(gratuity_amount)
|
366
|
-
if !gratuity_amount.nil? && gratuity_amount.to_s.length > 13
|
367
|
-
fail ArgumentError, 'invalid value for "gratuity_amount", the character length must be smaller than or equal to 13.'
|
368
|
-
end
|
369
|
-
|
370
260
|
@gratuity_amount = gratuity_amount
|
371
261
|
end
|
372
262
|
|
373
263
|
# Custom attribute writer method with validation
|
374
264
|
# @param [Object] tax_amount Value to be assigned
|
375
265
|
def tax_amount=(tax_amount)
|
376
|
-
if !tax_amount.nil? && tax_amount.to_s.length > 12
|
377
|
-
fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 12.'
|
378
|
-
end
|
379
|
-
|
380
266
|
@tax_amount = tax_amount
|
381
267
|
end
|
382
268
|
|
383
269
|
# Custom attribute writer method with validation
|
384
270
|
# @param [Object] national_tax_included Value to be assigned
|
385
271
|
def national_tax_included=(national_tax_included)
|
386
|
-
if !national_tax_included.nil? && national_tax_included.to_s.length > 1
|
387
|
-
fail ArgumentError, 'invalid value for "national_tax_included", the character length must be smaller than or equal to 1.'
|
388
|
-
end
|
389
|
-
|
390
272
|
@national_tax_included = national_tax_included
|
391
273
|
end
|
392
274
|
|
393
275
|
# Custom attribute writer method with validation
|
394
276
|
# @param [Object] tax_applied_after_discount Value to be assigned
|
395
277
|
def tax_applied_after_discount=(tax_applied_after_discount)
|
396
|
-
if !tax_applied_after_discount.nil? && tax_applied_after_discount.to_s.length > 1
|
397
|
-
fail ArgumentError, 'invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.'
|
398
|
-
end
|
399
|
-
|
400
278
|
@tax_applied_after_discount = tax_applied_after_discount
|
401
279
|
end
|
402
280
|
|
403
281
|
# Custom attribute writer method with validation
|
404
282
|
# @param [Object] tax_applied_level Value to be assigned
|
405
283
|
def tax_applied_level=(tax_applied_level)
|
406
|
-
if !tax_applied_level.nil? && tax_applied_level.to_s.length > 1
|
407
|
-
fail ArgumentError, 'invalid value for "tax_applied_level", the character length must be smaller than or equal to 1.'
|
408
|
-
end
|
409
|
-
|
410
284
|
@tax_applied_level = tax_applied_level
|
411
285
|
end
|
412
286
|
|
413
287
|
# Custom attribute writer method with validation
|
414
288
|
# @param [Object] tax_type_code Value to be assigned
|
415
289
|
def tax_type_code=(tax_type_code)
|
416
|
-
if !tax_type_code.nil? && tax_type_code.to_s.length > 3
|
417
|
-
fail ArgumentError, 'invalid value for "tax_type_code", the character length must be smaller than or equal to 3.'
|
418
|
-
end
|
419
|
-
|
420
290
|
@tax_type_code = tax_type_code
|
421
291
|
end
|
422
292
|
|
423
293
|
# Custom attribute writer method with validation
|
424
294
|
# @param [Object] freight_amount Value to be assigned
|
425
295
|
def freight_amount=(freight_amount)
|
426
|
-
if !freight_amount.nil? && freight_amount.to_s.length > 13
|
427
|
-
fail ArgumentError, 'invalid value for "freight_amount", the character length must be smaller than or equal to 13.'
|
428
|
-
end
|
429
|
-
|
430
296
|
@freight_amount = freight_amount
|
431
297
|
end
|
432
298
|
|
433
299
|
# Custom attribute writer method with validation
|
434
300
|
# @param [Object] foreign_amount Value to be assigned
|
435
301
|
def foreign_amount=(foreign_amount)
|
436
|
-
if !foreign_amount.nil? && foreign_amount.to_s.length > 15
|
437
|
-
fail ArgumentError, 'invalid value for "foreign_amount", the character length must be smaller than or equal to 15.'
|
438
|
-
end
|
439
|
-
|
440
302
|
@foreign_amount = foreign_amount
|
441
303
|
end
|
442
304
|
|
443
305
|
# Custom attribute writer method with validation
|
444
306
|
# @param [Object] foreign_currency Value to be assigned
|
445
307
|
def foreign_currency=(foreign_currency)
|
446
|
-
if !foreign_currency.nil? && foreign_currency.to_s.length > 5
|
447
|
-
fail ArgumentError, 'invalid value for "foreign_currency", the character length must be smaller than or equal to 5.'
|
448
|
-
end
|
449
|
-
|
450
308
|
@foreign_currency = foreign_currency
|
451
309
|
end
|
452
310
|
|
453
311
|
# Custom attribute writer method with validation
|
454
312
|
# @param [Object] exchange_rate Value to be assigned
|
455
313
|
def exchange_rate=(exchange_rate)
|
456
|
-
if !exchange_rate.nil? && exchange_rate.to_s.length > 13
|
457
|
-
fail ArgumentError, 'invalid value for "exchange_rate", the character length must be smaller than or equal to 13.'
|
458
|
-
end
|
459
|
-
|
460
314
|
@exchange_rate = exchange_rate
|
461
315
|
end
|
462
316
|
|
463
317
|
# Custom attribute writer method with validation
|
464
318
|
# @param [Object] exchange_rate_time_stamp Value to be assigned
|
465
319
|
def exchange_rate_time_stamp=(exchange_rate_time_stamp)
|
466
|
-
if !exchange_rate_time_stamp.nil? && exchange_rate_time_stamp.to_s.length > 14
|
467
|
-
fail ArgumentError, 'invalid value for "exchange_rate_time_stamp", the character length must be smaller than or equal to 14.'
|
468
|
-
end
|
469
|
-
|
470
320
|
@exchange_rate_time_stamp = exchange_rate_time_stamp
|
471
321
|
end
|
472
322
|
|
473
323
|
# Custom attribute writer method with validation
|
474
324
|
# @param [Object] service_fee_amount Value to be assigned
|
475
325
|
def service_fee_amount=(service_fee_amount)
|
476
|
-
if !service_fee_amount.nil? && service_fee_amount.to_s.length > 15
|
477
|
-
fail ArgumentError, 'invalid value for "service_fee_amount", the character length must be smaller than or equal to 15.'
|
478
|
-
end
|
479
|
-
|
480
326
|
@service_fee_amount = service_fee_amount
|
481
327
|
end
|
482
328
|
|
483
329
|
# Custom attribute writer method with validation
|
484
330
|
# @param [Object] original_currency Value to be assigned
|
485
331
|
def original_currency=(original_currency)
|
486
|
-
if !original_currency.nil? && original_currency.to_s.length > 15
|
487
|
-
fail ArgumentError, 'invalid value for "original_currency", the character length must be smaller than or equal to 15.'
|
488
|
-
end
|
489
|
-
|
490
332
|
@original_currency = original_currency
|
491
333
|
end
|
492
334
|
|
493
335
|
# Custom attribute writer method with validation
|
494
336
|
# @param [Object] cashback_amount Value to be assigned
|
495
337
|
def cashback_amount=(cashback_amount)
|
496
|
-
if !cashback_amount.nil? && cashback_amount.to_s.length > 13
|
497
|
-
fail ArgumentError, 'invalid value for "cashback_amount", the character length must be smaller than or equal to 13.'
|
498
|
-
end
|
499
|
-
|
500
338
|
@cashback_amount = cashback_amount
|
501
339
|
end
|
502
340
|
|