cybersource_rest_client 0.0.26 → 0.0.31
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 +3 -1
- data/lib/cybersource_rest_client.rb +11 -11
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +92 -5
- data/lib/cybersource_rest_client/api_client.rb +3 -3
- data/lib/cybersource_rest_client/configuration.rb +2 -2
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
- 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/fraud_marking_action_request.rb +13 -4
- 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 +1 -10
- 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/payer_auth_setup_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer.rb → payment_instrument_list.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__embedded.rb → payment_instrument_list__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links.rb → payment_instrument_list__links.rb} +6 -6
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_first.rb → payment_instrument_list__links_first.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_last.rb → payment_instrument_list__links_last.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_next.rb → payment_instrument_list__links_next.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_prev.rb → payment_instrument_list__links_prev.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_self.rb → payment_instrument_list__links_self.rb} +1 -1
- 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/{riskv1addressverifications_client_reference_information.rb → post_instrument_identifier_enrollment_request.rb} +105 -52
- 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_error_information.rb +1 -1
- 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 +1 -55
- 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.rb +17 -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 +17 -145
- 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 +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_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 +1 -109
- 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 +1 -19
- 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 +34 -371
- 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 +11 -100
- 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 +1 -19
- 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 +1 -118
- 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 +1 -82
- 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 +1 -127
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +7 -43
- 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 +24 -22
- 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 +14 -13
- 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 +1 -64
- 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 +1 -82
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -64
- 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 +1 -46
- 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 +1 -37
- 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 +1 -10
- 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 +1 -10
- 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 +10 -10
- 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 +1 -10
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/{riskv1authenticationsetups_client_reference_information.rb → risk_v1_decisions_post201_response_client_reference_information.rb} +30 -23
- 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_error_information.rb +1 -1
- 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 +1 -10
- 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 +1 -10
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
- 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 -50
- 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 +1 -37
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +17 -1
- 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 +1 -37
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -28
- 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 +1 -37
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +18 -18
- data/lib/cybersource_rest_client/models/{vasv2tax_client_reference_information_partner.rb → riskv1decisions_client_reference_information_partner.rb} +1 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -271
- 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 +11 -100
- 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 +1 -37
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -28
- 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 +1 -19
- 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 +10 -28
- 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 +1 -73
- 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 +18 -20
- 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 +1 -10
- 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 +1 -19
- 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/validate_export_compliance_request.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_request.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 +1 -10
- 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
- data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
- metadata +105 -86
@@ -264,327 +264,138 @@ 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 !@total_amount.nil? && @total_amount.to_s.length > 19
|
268
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 19.')
|
269
|
-
end
|
270
|
-
|
271
|
-
if !@currency.nil? && @currency.to_s.length > 3
|
272
|
-
invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.')
|
273
|
-
end
|
274
|
-
|
275
|
-
if !@discount_amount.nil? && @discount_amount.to_s.length > 15
|
276
|
-
invalid_properties.push('invalid value for "discount_amount", the character length must be smaller than or equal to 15.')
|
277
|
-
end
|
278
|
-
|
279
|
-
if !@duty_amount.nil? && @duty_amount.to_s.length > 15
|
280
|
-
invalid_properties.push('invalid value for "duty_amount", the character length must be smaller than or equal to 15.')
|
281
|
-
end
|
282
|
-
|
283
|
-
if !@gratuity_amount.nil? && @gratuity_amount.to_s.length > 13
|
284
|
-
invalid_properties.push('invalid value for "gratuity_amount", the character length must be smaller than or equal to 13.')
|
285
|
-
end
|
286
|
-
|
287
|
-
if !@tax_amount.nil? && @tax_amount.to_s.length > 12
|
288
|
-
invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 12.')
|
289
|
-
end
|
290
|
-
|
291
|
-
if !@national_tax_included.nil? && @national_tax_included.to_s.length > 1
|
292
|
-
invalid_properties.push('invalid value for "national_tax_included", the character length must be smaller than or equal to 1.')
|
293
|
-
end
|
294
|
-
|
295
|
-
if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
296
|
-
invalid_properties.push('invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.')
|
297
|
-
end
|
298
|
-
|
299
|
-
if !@tax_applied_level.nil? && @tax_applied_level.to_s.length > 1
|
300
|
-
invalid_properties.push('invalid value for "tax_applied_level", the character length must be smaller than or equal to 1.')
|
301
|
-
end
|
302
|
-
|
303
|
-
if !@tax_type_code.nil? && @tax_type_code.to_s.length > 3
|
304
|
-
invalid_properties.push('invalid value for "tax_type_code", the character length must be smaller than or equal to 3.')
|
305
|
-
end
|
306
|
-
|
307
|
-
if !@freight_amount.nil? && @freight_amount.to_s.length > 13
|
308
|
-
invalid_properties.push('invalid value for "freight_amount", the character length must be smaller than or equal to 13.')
|
309
|
-
end
|
310
|
-
|
311
|
-
if !@foreign_amount.nil? && @foreign_amount.to_s.length > 15
|
312
|
-
invalid_properties.push('invalid value for "foreign_amount", the character length must be smaller than or equal to 15.')
|
313
|
-
end
|
314
|
-
|
315
|
-
if !@foreign_currency.nil? && @foreign_currency.to_s.length > 5
|
316
|
-
invalid_properties.push('invalid value for "foreign_currency", the character length must be smaller than or equal to 5.')
|
317
|
-
end
|
318
|
-
|
319
|
-
if !@exchange_rate.nil? && @exchange_rate.to_s.length > 13
|
320
|
-
invalid_properties.push('invalid value for "exchange_rate", the character length must be smaller than or equal to 13.')
|
321
|
-
end
|
322
|
-
|
323
|
-
if !@exchange_rate_time_stamp.nil? && @exchange_rate_time_stamp.to_s.length > 14
|
324
|
-
invalid_properties.push('invalid value for "exchange_rate_time_stamp", the character length must be smaller than or equal to 14.')
|
325
|
-
end
|
326
|
-
|
327
|
-
if !@settlement_amount.nil? && @settlement_amount.to_s.length > 12
|
328
|
-
invalid_properties.push('invalid value for "settlement_amount", the character length must be smaller than or equal to 12.')
|
329
|
-
end
|
330
|
-
|
331
|
-
if !@settlement_currency.nil? && @settlement_currency.to_s.length > 3
|
332
|
-
invalid_properties.push('invalid value for "settlement_currency", the character length must be smaller than or equal to 3.')
|
333
|
-
end
|
334
|
-
|
335
|
-
if !@service_fee_amount.nil? && @service_fee_amount.to_s.length > 15
|
336
|
-
invalid_properties.push('invalid value for "service_fee_amount", the character length must be smaller than or equal to 15.')
|
337
|
-
end
|
338
|
-
|
339
|
-
if !@original_amount.nil? && @original_amount.to_s.length > 15
|
340
|
-
invalid_properties.push('invalid value for "original_amount", the character length must be smaller than or equal to 15.')
|
341
|
-
end
|
342
|
-
|
343
|
-
if !@original_currency.nil? && @original_currency.to_s.length > 15
|
344
|
-
invalid_properties.push('invalid value for "original_currency", the character length must be smaller than or equal to 15.')
|
345
|
-
end
|
346
|
-
|
347
|
-
if !@cashback_amount.nil? && @cashback_amount.to_s.length > 13
|
348
|
-
invalid_properties.push('invalid value for "cashback_amount", the character length must be smaller than or equal to 13.')
|
349
|
-
end
|
350
|
-
|
351
267
|
invalid_properties
|
352
268
|
end
|
353
269
|
|
354
270
|
# Check to see if the all the properties in the model are valid
|
355
271
|
# @return true if the model is valid
|
356
272
|
def valid?
|
357
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 19
|
358
|
-
return false if !@currency.nil? && @currency.to_s.length > 3
|
359
|
-
return false if !@discount_amount.nil? && @discount_amount.to_s.length > 15
|
360
|
-
return false if !@duty_amount.nil? && @duty_amount.to_s.length > 15
|
361
|
-
return false if !@gratuity_amount.nil? && @gratuity_amount.to_s.length > 13
|
362
|
-
return false if !@tax_amount.nil? && @tax_amount.to_s.length > 12
|
363
|
-
return false if !@national_tax_included.nil? && @national_tax_included.to_s.length > 1
|
364
|
-
return false if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
365
|
-
return false if !@tax_applied_level.nil? && @tax_applied_level.to_s.length > 1
|
366
|
-
return false if !@tax_type_code.nil? && @tax_type_code.to_s.length > 3
|
367
|
-
return false if !@freight_amount.nil? && @freight_amount.to_s.length > 13
|
368
|
-
return false if !@foreign_amount.nil? && @foreign_amount.to_s.length > 15
|
369
|
-
return false if !@foreign_currency.nil? && @foreign_currency.to_s.length > 5
|
370
|
-
return false if !@exchange_rate.nil? && @exchange_rate.to_s.length > 13
|
371
|
-
return false if !@exchange_rate_time_stamp.nil? && @exchange_rate_time_stamp.to_s.length > 14
|
372
|
-
return false if !@settlement_amount.nil? && @settlement_amount.to_s.length > 12
|
373
|
-
return false if !@settlement_currency.nil? && @settlement_currency.to_s.length > 3
|
374
|
-
return false if !@service_fee_amount.nil? && @service_fee_amount.to_s.length > 15
|
375
|
-
return false if !@original_amount.nil? && @original_amount.to_s.length > 15
|
376
|
-
return false if !@original_currency.nil? && @original_currency.to_s.length > 15
|
377
|
-
return false if !@cashback_amount.nil? && @cashback_amount.to_s.length > 13
|
378
273
|
true
|
379
274
|
end
|
380
275
|
|
381
276
|
# Custom attribute writer method with validation
|
382
277
|
# @param [Object] total_amount Value to be assigned
|
383
278
|
def total_amount=(total_amount)
|
384
|
-
if !total_amount.nil? && total_amount.to_s.length > 19
|
385
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 19.'
|
386
|
-
end
|
387
|
-
|
388
279
|
@total_amount = total_amount
|
389
280
|
end
|
390
281
|
|
391
282
|
# Custom attribute writer method with validation
|
392
283
|
# @param [Object] currency Value to be assigned
|
393
284
|
def currency=(currency)
|
394
|
-
if !currency.nil? && currency.to_s.length > 3
|
395
|
-
fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.'
|
396
|
-
end
|
397
|
-
|
398
285
|
@currency = currency
|
399
286
|
end
|
400
287
|
|
401
288
|
# Custom attribute writer method with validation
|
402
289
|
# @param [Object] discount_amount Value to be assigned
|
403
290
|
def discount_amount=(discount_amount)
|
404
|
-
if !discount_amount.nil? && discount_amount.to_s.length > 15
|
405
|
-
fail ArgumentError, 'invalid value for "discount_amount", the character length must be smaller than or equal to 15.'
|
406
|
-
end
|
407
|
-
|
408
291
|
@discount_amount = discount_amount
|
409
292
|
end
|
410
293
|
|
411
294
|
# Custom attribute writer method with validation
|
412
295
|
# @param [Object] duty_amount Value to be assigned
|
413
296
|
def duty_amount=(duty_amount)
|
414
|
-
if !duty_amount.nil? && duty_amount.to_s.length > 15
|
415
|
-
fail ArgumentError, 'invalid value for "duty_amount", the character length must be smaller than or equal to 15.'
|
416
|
-
end
|
417
|
-
|
418
297
|
@duty_amount = duty_amount
|
419
298
|
end
|
420
299
|
|
421
300
|
# Custom attribute writer method with validation
|
422
301
|
# @param [Object] gratuity_amount Value to be assigned
|
423
302
|
def gratuity_amount=(gratuity_amount)
|
424
|
-
if !gratuity_amount.nil? && gratuity_amount.to_s.length > 13
|
425
|
-
fail ArgumentError, 'invalid value for "gratuity_amount", the character length must be smaller than or equal to 13.'
|
426
|
-
end
|
427
|
-
|
428
303
|
@gratuity_amount = gratuity_amount
|
429
304
|
end
|
430
305
|
|
431
306
|
# Custom attribute writer method with validation
|
432
307
|
# @param [Object] tax_amount Value to be assigned
|
433
308
|
def tax_amount=(tax_amount)
|
434
|
-
if !tax_amount.nil? && tax_amount.to_s.length > 12
|
435
|
-
fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 12.'
|
436
|
-
end
|
437
|
-
|
438
309
|
@tax_amount = tax_amount
|
439
310
|
end
|
440
311
|
|
441
312
|
# Custom attribute writer method with validation
|
442
313
|
# @param [Object] national_tax_included Value to be assigned
|
443
314
|
def national_tax_included=(national_tax_included)
|
444
|
-
if !national_tax_included.nil? && national_tax_included.to_s.length > 1
|
445
|
-
fail ArgumentError, 'invalid value for "national_tax_included", the character length must be smaller than or equal to 1.'
|
446
|
-
end
|
447
|
-
|
448
315
|
@national_tax_included = national_tax_included
|
449
316
|
end
|
450
317
|
|
451
318
|
# Custom attribute writer method with validation
|
452
319
|
# @param [Object] tax_applied_after_discount Value to be assigned
|
453
320
|
def tax_applied_after_discount=(tax_applied_after_discount)
|
454
|
-
if !tax_applied_after_discount.nil? && tax_applied_after_discount.to_s.length > 1
|
455
|
-
fail ArgumentError, 'invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.'
|
456
|
-
end
|
457
|
-
|
458
321
|
@tax_applied_after_discount = tax_applied_after_discount
|
459
322
|
end
|
460
323
|
|
461
324
|
# Custom attribute writer method with validation
|
462
325
|
# @param [Object] tax_applied_level Value to be assigned
|
463
326
|
def tax_applied_level=(tax_applied_level)
|
464
|
-
if !tax_applied_level.nil? && tax_applied_level.to_s.length > 1
|
465
|
-
fail ArgumentError, 'invalid value for "tax_applied_level", the character length must be smaller than or equal to 1.'
|
466
|
-
end
|
467
|
-
|
468
327
|
@tax_applied_level = tax_applied_level
|
469
328
|
end
|
470
329
|
|
471
330
|
# Custom attribute writer method with validation
|
472
331
|
# @param [Object] tax_type_code Value to be assigned
|
473
332
|
def tax_type_code=(tax_type_code)
|
474
|
-
if !tax_type_code.nil? && tax_type_code.to_s.length > 3
|
475
|
-
fail ArgumentError, 'invalid value for "tax_type_code", the character length must be smaller than or equal to 3.'
|
476
|
-
end
|
477
|
-
|
478
333
|
@tax_type_code = tax_type_code
|
479
334
|
end
|
480
335
|
|
481
336
|
# Custom attribute writer method with validation
|
482
337
|
# @param [Object] freight_amount Value to be assigned
|
483
338
|
def freight_amount=(freight_amount)
|
484
|
-
if !freight_amount.nil? && freight_amount.to_s.length > 13
|
485
|
-
fail ArgumentError, 'invalid value for "freight_amount", the character length must be smaller than or equal to 13.'
|
486
|
-
end
|
487
|
-
|
488
339
|
@freight_amount = freight_amount
|
489
340
|
end
|
490
341
|
|
491
342
|
# Custom attribute writer method with validation
|
492
343
|
# @param [Object] foreign_amount Value to be assigned
|
493
344
|
def foreign_amount=(foreign_amount)
|
494
|
-
if !foreign_amount.nil? && foreign_amount.to_s.length > 15
|
495
|
-
fail ArgumentError, 'invalid value for "foreign_amount", the character length must be smaller than or equal to 15.'
|
496
|
-
end
|
497
|
-
|
498
345
|
@foreign_amount = foreign_amount
|
499
346
|
end
|
500
347
|
|
501
348
|
# Custom attribute writer method with validation
|
502
349
|
# @param [Object] foreign_currency Value to be assigned
|
503
350
|
def foreign_currency=(foreign_currency)
|
504
|
-
if !foreign_currency.nil? && foreign_currency.to_s.length > 5
|
505
|
-
fail ArgumentError, 'invalid value for "foreign_currency", the character length must be smaller than or equal to 5.'
|
506
|
-
end
|
507
|
-
|
508
351
|
@foreign_currency = foreign_currency
|
509
352
|
end
|
510
353
|
|
511
354
|
# Custom attribute writer method with validation
|
512
355
|
# @param [Object] exchange_rate Value to be assigned
|
513
356
|
def exchange_rate=(exchange_rate)
|
514
|
-
if !exchange_rate.nil? && exchange_rate.to_s.length > 13
|
515
|
-
fail ArgumentError, 'invalid value for "exchange_rate", the character length must be smaller than or equal to 13.'
|
516
|
-
end
|
517
|
-
|
518
357
|
@exchange_rate = exchange_rate
|
519
358
|
end
|
520
359
|
|
521
360
|
# Custom attribute writer method with validation
|
522
361
|
# @param [Object] exchange_rate_time_stamp Value to be assigned
|
523
362
|
def exchange_rate_time_stamp=(exchange_rate_time_stamp)
|
524
|
-
if !exchange_rate_time_stamp.nil? && exchange_rate_time_stamp.to_s.length > 14
|
525
|
-
fail ArgumentError, 'invalid value for "exchange_rate_time_stamp", the character length must be smaller than or equal to 14.'
|
526
|
-
end
|
527
|
-
|
528
363
|
@exchange_rate_time_stamp = exchange_rate_time_stamp
|
529
364
|
end
|
530
365
|
|
531
366
|
# Custom attribute writer method with validation
|
532
367
|
# @param [Object] settlement_amount Value to be assigned
|
533
368
|
def settlement_amount=(settlement_amount)
|
534
|
-
if !settlement_amount.nil? && settlement_amount.to_s.length > 12
|
535
|
-
fail ArgumentError, 'invalid value for "settlement_amount", the character length must be smaller than or equal to 12.'
|
536
|
-
end
|
537
|
-
|
538
369
|
@settlement_amount = settlement_amount
|
539
370
|
end
|
540
371
|
|
541
372
|
# Custom attribute writer method with validation
|
542
373
|
# @param [Object] settlement_currency Value to be assigned
|
543
374
|
def settlement_currency=(settlement_currency)
|
544
|
-
if !settlement_currency.nil? && settlement_currency.to_s.length > 3
|
545
|
-
fail ArgumentError, 'invalid value for "settlement_currency", the character length must be smaller than or equal to 3.'
|
546
|
-
end
|
547
|
-
|
548
375
|
@settlement_currency = settlement_currency
|
549
376
|
end
|
550
377
|
|
551
378
|
# Custom attribute writer method with validation
|
552
379
|
# @param [Object] service_fee_amount Value to be assigned
|
553
380
|
def service_fee_amount=(service_fee_amount)
|
554
|
-
if !service_fee_amount.nil? && service_fee_amount.to_s.length > 15
|
555
|
-
fail ArgumentError, 'invalid value for "service_fee_amount", the character length must be smaller than or equal to 15.'
|
556
|
-
end
|
557
|
-
|
558
381
|
@service_fee_amount = service_fee_amount
|
559
382
|
end
|
560
383
|
|
561
384
|
# Custom attribute writer method with validation
|
562
385
|
# @param [Object] original_amount Value to be assigned
|
563
386
|
def original_amount=(original_amount)
|
564
|
-
if !original_amount.nil? && original_amount.to_s.length > 15
|
565
|
-
fail ArgumentError, 'invalid value for "original_amount", the character length must be smaller than or equal to 15.'
|
566
|
-
end
|
567
|
-
|
568
387
|
@original_amount = original_amount
|
569
388
|
end
|
570
389
|
|
571
390
|
# Custom attribute writer method with validation
|
572
391
|
# @param [Object] original_currency Value to be assigned
|
573
392
|
def original_currency=(original_currency)
|
574
|
-
if !original_currency.nil? && original_currency.to_s.length > 15
|
575
|
-
fail ArgumentError, 'invalid value for "original_currency", the character length must be smaller than or equal to 15.'
|
576
|
-
end
|
577
|
-
|
578
393
|
@original_currency = original_currency
|
579
394
|
end
|
580
395
|
|
581
396
|
# Custom attribute writer method with validation
|
582
397
|
# @param [Object] cashback_amount Value to be assigned
|
583
398
|
def cashback_amount=(cashback_amount)
|
584
|
-
if !cashback_amount.nil? && cashback_amount.to_s.length > 13
|
585
|
-
fail ArgumentError, 'invalid value for "cashback_amount", the character length must be smaller than or equal to 13.'
|
586
|
-
end
|
587
|
-
|
588
399
|
@cashback_amount = cashback_amount
|
589
400
|
end
|
590
401
|
|
@@ -57,42 +57,24 @@ module CyberSource
|
|
57
57
|
# @return Array for valid properties with the reasons
|
58
58
|
def list_invalid_properties
|
59
59
|
invalid_properties = Array.new
|
60
|
-
if !@code.nil? && @code.to_s.length > 3
|
61
|
-
invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 3.')
|
62
|
-
end
|
63
|
-
|
64
|
-
if !@amount.nil? && @amount.to_s.length > 12
|
65
|
-
invalid_properties.push('invalid value for "amount", the character length must be smaller than or equal to 12.')
|
66
|
-
end
|
67
|
-
|
68
60
|
invalid_properties
|
69
61
|
end
|
70
62
|
|
71
63
|
# Check to see if the all the properties in the model are valid
|
72
64
|
# @return true if the model is valid
|
73
65
|
def valid?
|
74
|
-
return false if !@code.nil? && @code.to_s.length > 3
|
75
|
-
return false if !@amount.nil? && @amount.to_s.length > 12
|
76
66
|
true
|
77
67
|
end
|
78
68
|
|
79
69
|
# Custom attribute writer method with validation
|
80
70
|
# @param [Object] code Value to be assigned
|
81
71
|
def code=(code)
|
82
|
-
if !code.nil? && code.to_s.length > 3
|
83
|
-
fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 3.'
|
84
|
-
end
|
85
|
-
|
86
72
|
@code = code
|
87
73
|
end
|
88
74
|
|
89
75
|
# Custom attribute writer method with validation
|
90
76
|
# @param [Object] amount Value to be assigned
|
91
77
|
def amount=(amount)
|
92
|
-
if !amount.nil? && amount.to_s.length > 12
|
93
|
-
fail ArgumentError, 'invalid value for "amount", the character length must be smaller than or equal to 12.'
|
94
|
-
end
|
95
|
-
|
96
78
|
@amount = amount
|
97
79
|
end
|
98
80
|
|
@@ -66,57 +66,30 @@ module CyberSource
|
|
66
66
|
# @return Array for valid properties with the reasons
|
67
67
|
def list_invalid_properties
|
68
68
|
invalid_properties = Array.new
|
69
|
-
if !@indicator.nil? && @indicator.to_s.length > 1
|
70
|
-
invalid_properties.push('invalid value for "indicator", the character length must be smaller than or equal to 1.')
|
71
|
-
end
|
72
|
-
|
73
|
-
if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
|
74
|
-
invalid_properties.push('invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.')
|
75
|
-
end
|
76
|
-
|
77
|
-
if !@id.nil? && @id.to_s.length > 26
|
78
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
|
79
|
-
end
|
80
|
-
|
81
69
|
invalid_properties
|
82
70
|
end
|
83
71
|
|
84
72
|
# Check to see if the all the properties in the model are valid
|
85
73
|
# @return true if the model is valid
|
86
74
|
def valid?
|
87
|
-
return false if !@indicator.nil? && @indicator.to_s.length > 1
|
88
|
-
return false if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
|
89
|
-
return false if !@id.nil? && @id.to_s.length > 26
|
90
75
|
true
|
91
76
|
end
|
92
77
|
|
93
78
|
# Custom attribute writer method with validation
|
94
79
|
# @param [Object] indicator Value to be assigned
|
95
80
|
def indicator=(indicator)
|
96
|
-
if !indicator.nil? && indicator.to_s.length > 1
|
97
|
-
fail ArgumentError, 'invalid value for "indicator", the character length must be smaller than or equal to 1.'
|
98
|
-
end
|
99
|
-
|
100
81
|
@indicator = indicator
|
101
82
|
end
|
102
83
|
|
103
84
|
# Custom attribute writer method with validation
|
104
85
|
# @param [Object] reconciliation_id Value to be assigned
|
105
86
|
def reconciliation_id=(reconciliation_id)
|
106
|
-
if !reconciliation_id.nil? && reconciliation_id.to_s.length > 60
|
107
|
-
fail ArgumentError, 'invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.'
|
108
|
-
end
|
109
|
-
|
110
87
|
@reconciliation_id = reconciliation_id
|
111
88
|
end
|
112
89
|
|
113
90
|
# Custom attribute writer method with validation
|
114
91
|
# @param [Object] id Value to be assigned
|
115
92
|
def id=(id)
|
116
|
-
if !id.nil? && id.to_s.length > 26
|
117
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
|
118
|
-
end
|
119
|
-
|
120
93
|
@id = id
|
121
94
|
end
|
122
95
|
|
data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb
CHANGED
@@ -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 !@amount.nil? && @amount.to_s.length > 15
|
61
|
-
invalid_properties.push('invalid value for "amount", the character length must be smaller than or equal to 15.')
|
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 !@amount.nil? && @amount.to_s.length > 15
|
71
66
|
true
|
72
67
|
end
|
73
68
|
|
74
69
|
# Custom attribute writer method with validation
|
75
70
|
# @param [Object] amount Value to be assigned
|
76
71
|
def amount=(amount)
|
77
|
-
if !amount.nil? && amount.to_s.length > 15
|
78
|
-
fail ArgumentError, 'invalid value for "amount", the character length must be smaller than or equal to 15.'
|
79
|
-
end
|
80
|
-
|
81
72
|
@amount = amount
|
82
73
|
end
|
83
74
|
|