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
@@ -175,127 +175,59 @@ module CyberSource
|
|
175
175
|
# @return Array for valid properties with the reasons
|
176
176
|
def list_invalid_properties
|
177
177
|
invalid_properties = Array.new
|
178
|
-
if !@purchase_order_number.nil? && @purchase_order_number.to_s.length > 25
|
179
|
-
invalid_properties.push('invalid value for "purchase_order_number", the character length must be smaller than or equal to 25.')
|
180
|
-
end
|
181
|
-
|
182
|
-
if !@purchase_order_date.nil? && @purchase_order_date.to_s.length > 10
|
183
|
-
invalid_properties.push('invalid value for "purchase_order_date", the character length must be smaller than or equal to 10.')
|
184
|
-
end
|
185
|
-
|
186
|
-
if !@purchase_contact_name.nil? && @purchase_contact_name.to_s.length > 36
|
187
|
-
invalid_properties.push('invalid value for "purchase_contact_name", the character length must be smaller than or equal to 36.')
|
188
|
-
end
|
189
|
-
|
190
|
-
if !@vat_invoice_reference_number.nil? && @vat_invoice_reference_number.to_s.length > 15
|
191
|
-
invalid_properties.push('invalid value for "vat_invoice_reference_number", the character length must be smaller than or equal to 15.')
|
192
|
-
end
|
193
|
-
|
194
|
-
if !@commodity_code.nil? && @commodity_code.to_s.length > 4
|
195
|
-
invalid_properties.push('invalid value for "commodity_code", the character length must be smaller than or equal to 4.')
|
196
|
-
end
|
197
|
-
|
198
|
-
if !@reference_data_code.nil? && @reference_data_code.to_s.length > 3
|
199
|
-
invalid_properties.push('invalid value for "reference_data_code", the character length must be smaller than or equal to 3.')
|
200
|
-
end
|
201
|
-
|
202
|
-
if !@reference_data_number.nil? && @reference_data_number.to_s.length > 30
|
203
|
-
invalid_properties.push('invalid value for "reference_data_number", the character length must be smaller than or equal to 30.')
|
204
|
-
end
|
205
|
-
|
206
178
|
if !@sales_slip_number.nil? && @sales_slip_number > 99999
|
207
179
|
invalid_properties.push('invalid value for "sales_slip_number", must be smaller than or equal to 99999.')
|
208
180
|
end
|
209
181
|
|
210
|
-
if !@invoice_date.nil? && @invoice_date.to_s.length > 8
|
211
|
-
invalid_properties.push('invalid value for "invoice_date", the character length must be smaller than or equal to 8.')
|
212
|
-
end
|
213
|
-
|
214
182
|
invalid_properties
|
215
183
|
end
|
216
184
|
|
217
185
|
# Check to see if the all the properties in the model are valid
|
218
186
|
# @return true if the model is valid
|
219
187
|
def valid?
|
220
|
-
return false if !@purchase_order_number.nil? && @purchase_order_number.to_s.length > 25
|
221
|
-
return false if !@purchase_order_date.nil? && @purchase_order_date.to_s.length > 10
|
222
|
-
return false if !@purchase_contact_name.nil? && @purchase_contact_name.to_s.length > 36
|
223
|
-
return false if !@vat_invoice_reference_number.nil? && @vat_invoice_reference_number.to_s.length > 15
|
224
|
-
return false if !@commodity_code.nil? && @commodity_code.to_s.length > 4
|
225
|
-
return false if !@reference_data_code.nil? && @reference_data_code.to_s.length > 3
|
226
|
-
return false if !@reference_data_number.nil? && @reference_data_number.to_s.length > 30
|
227
188
|
return false if !@sales_slip_number.nil? && @sales_slip_number > 99999
|
228
|
-
return false if !@invoice_date.nil? && @invoice_date.to_s.length > 8
|
229
189
|
true
|
230
190
|
end
|
231
191
|
|
232
192
|
# Custom attribute writer method with validation
|
233
193
|
# @param [Object] purchase_order_number Value to be assigned
|
234
194
|
def purchase_order_number=(purchase_order_number)
|
235
|
-
if !purchase_order_number.nil? && purchase_order_number.to_s.length > 25
|
236
|
-
fail ArgumentError, 'invalid value for "purchase_order_number", the character length must be smaller than or equal to 25.'
|
237
|
-
end
|
238
|
-
|
239
195
|
@purchase_order_number = purchase_order_number
|
240
196
|
end
|
241
197
|
|
242
198
|
# Custom attribute writer method with validation
|
243
199
|
# @param [Object] purchase_order_date Value to be assigned
|
244
200
|
def purchase_order_date=(purchase_order_date)
|
245
|
-
if !purchase_order_date.nil? && purchase_order_date.to_s.length > 10
|
246
|
-
fail ArgumentError, 'invalid value for "purchase_order_date", the character length must be smaller than or equal to 10.'
|
247
|
-
end
|
248
|
-
|
249
201
|
@purchase_order_date = purchase_order_date
|
250
202
|
end
|
251
203
|
|
252
204
|
# Custom attribute writer method with validation
|
253
205
|
# @param [Object] purchase_contact_name Value to be assigned
|
254
206
|
def purchase_contact_name=(purchase_contact_name)
|
255
|
-
if !purchase_contact_name.nil? && purchase_contact_name.to_s.length > 36
|
256
|
-
fail ArgumentError, 'invalid value for "purchase_contact_name", the character length must be smaller than or equal to 36.'
|
257
|
-
end
|
258
|
-
|
259
207
|
@purchase_contact_name = purchase_contact_name
|
260
208
|
end
|
261
209
|
|
262
210
|
# Custom attribute writer method with validation
|
263
211
|
# @param [Object] vat_invoice_reference_number Value to be assigned
|
264
212
|
def vat_invoice_reference_number=(vat_invoice_reference_number)
|
265
|
-
if !vat_invoice_reference_number.nil? && vat_invoice_reference_number.to_s.length > 15
|
266
|
-
fail ArgumentError, 'invalid value for "vat_invoice_reference_number", the character length must be smaller than or equal to 15.'
|
267
|
-
end
|
268
|
-
|
269
213
|
@vat_invoice_reference_number = vat_invoice_reference_number
|
270
214
|
end
|
271
215
|
|
272
216
|
# Custom attribute writer method with validation
|
273
217
|
# @param [Object] commodity_code Value to be assigned
|
274
218
|
def commodity_code=(commodity_code)
|
275
|
-
if !commodity_code.nil? && commodity_code.to_s.length > 4
|
276
|
-
fail ArgumentError, 'invalid value for "commodity_code", the character length must be smaller than or equal to 4.'
|
277
|
-
end
|
278
|
-
|
279
219
|
@commodity_code = commodity_code
|
280
220
|
end
|
281
221
|
|
282
222
|
# Custom attribute writer method with validation
|
283
223
|
# @param [Object] reference_data_code Value to be assigned
|
284
224
|
def reference_data_code=(reference_data_code)
|
285
|
-
if !reference_data_code.nil? && reference_data_code.to_s.length > 3
|
286
|
-
fail ArgumentError, 'invalid value for "reference_data_code", the character length must be smaller than or equal to 3.'
|
287
|
-
end
|
288
|
-
|
289
225
|
@reference_data_code = reference_data_code
|
290
226
|
end
|
291
227
|
|
292
228
|
# Custom attribute writer method with validation
|
293
229
|
# @param [Object] reference_data_number Value to be assigned
|
294
230
|
def reference_data_number=(reference_data_number)
|
295
|
-
if !reference_data_number.nil? && reference_data_number.to_s.length > 30
|
296
|
-
fail ArgumentError, 'invalid value for "reference_data_number", the character length must be smaller than or equal to 30.'
|
297
|
-
end
|
298
|
-
|
299
231
|
@reference_data_number = reference_data_number
|
300
232
|
end
|
301
233
|
|
@@ -312,10 +244,6 @@ module CyberSource
|
|
312
244
|
# Custom attribute writer method with validation
|
313
245
|
# @param [Object] invoice_date Value to be assigned
|
314
246
|
def invoice_date=(invoice_date)
|
315
|
-
if !invoice_date.nil? && invoice_date.to_s.length > 8
|
316
|
-
fail ArgumentError, 'invalid value for "invoice_date", the character length must be smaller than or equal to 8.'
|
317
|
-
end
|
318
|
-
|
319
247
|
@invoice_date = invoice_date
|
320
248
|
end
|
321
249
|
|
@@ -48,27 +48,18 @@ module CyberSource
|
|
48
48
|
# @return Array for valid properties with the reasons
|
49
49
|
def list_invalid_properties
|
50
50
|
invalid_properties = Array.new
|
51
|
-
if !@data.nil? && @data.to_s.length > 40
|
52
|
-
invalid_properties.push('invalid value for "data", the character length must be smaller than or equal to 40.')
|
53
|
-
end
|
54
|
-
|
55
51
|
invalid_properties
|
56
52
|
end
|
57
53
|
|
58
54
|
# Check to see if the all the properties in the model are valid
|
59
55
|
# @return true if the model is valid
|
60
56
|
def valid?
|
61
|
-
return false if !@data.nil? && @data.to_s.length > 40
|
62
57
|
true
|
63
58
|
end
|
64
59
|
|
65
60
|
# Custom attribute writer method with validation
|
66
61
|
# @param [Object] data Value to be assigned
|
67
62
|
def data=(data)
|
68
|
-
if !data.nil? && data.to_s.length > 40
|
69
|
-
fail ArgumentError, 'invalid value for "data", the character length must be smaller than or equal to 40.'
|
70
|
-
end
|
71
|
-
|
72
63
|
@data = data
|
73
64
|
end
|
74
65
|
|
@@ -318,18 +318,6 @@ module CyberSource
|
|
318
318
|
# @return Array for valid properties with the reasons
|
319
319
|
def list_invalid_properties
|
320
320
|
invalid_properties = Array.new
|
321
|
-
if !@product_code.nil? && @product_code.to_s.length > 255
|
322
|
-
invalid_properties.push('invalid value for "product_code", the character length must be smaller than or equal to 255.')
|
323
|
-
end
|
324
|
-
|
325
|
-
if !@product_name.nil? && @product_name.to_s.length > 255
|
326
|
-
invalid_properties.push('invalid value for "product_name", the character length must be smaller than or equal to 255.')
|
327
|
-
end
|
328
|
-
|
329
|
-
if !@product_sku.nil? && @product_sku.to_s.length > 255
|
330
|
-
invalid_properties.push('invalid value for "product_sku", the character length must be smaller than or equal to 255.')
|
331
|
-
end
|
332
|
-
|
333
321
|
if !@quantity.nil? && @quantity > 999999999
|
334
322
|
invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
|
335
323
|
end
|
@@ -338,142 +326,32 @@ module CyberSource
|
|
338
326
|
invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
|
339
327
|
end
|
340
328
|
|
341
|
-
if !@unit_price.nil? && @unit_price.to_s.length > 15
|
342
|
-
invalid_properties.push('invalid value for "unit_price", the character length must be smaller than or equal to 15.')
|
343
|
-
end
|
344
|
-
|
345
|
-
if !@unit_of_measure.nil? && @unit_of_measure.to_s.length > 12
|
346
|
-
invalid_properties.push('invalid value for "unit_of_measure", the character length must be smaller than or equal to 12.')
|
347
|
-
end
|
348
|
-
|
349
|
-
if !@total_amount.nil? && @total_amount.to_s.length > 13
|
350
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 13.')
|
351
|
-
end
|
352
|
-
|
353
|
-
if !@tax_amount.nil? && @tax_amount.to_s.length > 15
|
354
|
-
invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 15.')
|
355
|
-
end
|
356
|
-
|
357
|
-
if !@tax_rate.nil? && @tax_rate.to_s.length > 7
|
358
|
-
invalid_properties.push('invalid value for "tax_rate", the character length must be smaller than or equal to 7.')
|
359
|
-
end
|
360
|
-
|
361
|
-
if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
362
|
-
invalid_properties.push('invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.')
|
363
|
-
end
|
364
|
-
|
365
|
-
if !@tax_status_indicator.nil? && @tax_status_indicator.to_s.length > 1
|
366
|
-
invalid_properties.push('invalid value for "tax_status_indicator", the character length must be smaller than or equal to 1.')
|
367
|
-
end
|
368
|
-
|
369
|
-
if !@tax_type_code.nil? && @tax_type_code.to_s.length > 4
|
370
|
-
invalid_properties.push('invalid value for "tax_type_code", the character length must be smaller than or equal to 4.')
|
371
|
-
end
|
372
|
-
|
373
|
-
if !@type_of_supply.nil? && @type_of_supply.to_s.length > 2
|
374
|
-
invalid_properties.push('invalid value for "type_of_supply", the character length must be smaller than or equal to 2.')
|
375
|
-
end
|
376
|
-
|
377
|
-
if !@commodity_code.nil? && @commodity_code.to_s.length > 15
|
378
|
-
invalid_properties.push('invalid value for "commodity_code", the character length must be smaller than or equal to 15.')
|
379
|
-
end
|
380
|
-
|
381
|
-
if !@discount_amount.nil? && @discount_amount.to_s.length > 13
|
382
|
-
invalid_properties.push('invalid value for "discount_amount", the character length must be smaller than or equal to 13.')
|
383
|
-
end
|
384
|
-
|
385
|
-
if !@discount_rate.nil? && @discount_rate.to_s.length > 6
|
386
|
-
invalid_properties.push('invalid value for "discount_rate", the character length must be smaller than or equal to 6.')
|
387
|
-
end
|
388
|
-
|
389
|
-
if !@invoice_number.nil? && @invoice_number.to_s.length > 23
|
390
|
-
invalid_properties.push('invalid value for "invoice_number", the character length must be smaller than or equal to 23.')
|
391
|
-
end
|
392
|
-
|
393
|
-
if !@weight.nil? && @weight.to_s.length > 9
|
394
|
-
invalid_properties.push('invalid value for "weight", the character length must be smaller than or equal to 9.')
|
395
|
-
end
|
396
|
-
|
397
|
-
if !@weight_identifier.nil? && @weight_identifier.to_s.length > 1
|
398
|
-
invalid_properties.push('invalid value for "weight_identifier", the character length must be smaller than or equal to 1.')
|
399
|
-
end
|
400
|
-
|
401
|
-
if !@weight_unit.nil? && @weight_unit.to_s.length > 2
|
402
|
-
invalid_properties.push('invalid value for "weight_unit", the character length must be smaller than or equal to 2.')
|
403
|
-
end
|
404
|
-
|
405
|
-
if !@reference_data_code.nil? && @reference_data_code.to_s.length > 2
|
406
|
-
invalid_properties.push('invalid value for "reference_data_code", the character length must be smaller than or equal to 2.')
|
407
|
-
end
|
408
|
-
|
409
|
-
if !@reference_data_number.nil? && @reference_data_number.to_s.length > 30
|
410
|
-
invalid_properties.push('invalid value for "reference_data_number", the character length must be smaller than or equal to 30.')
|
411
|
-
end
|
412
|
-
|
413
|
-
if !@shipping_destination_types.nil? && @shipping_destination_types.to_s.length > 50
|
414
|
-
invalid_properties.push('invalid value for "shipping_destination_types", the character length must be smaller than or equal to 50.')
|
415
|
-
end
|
416
|
-
|
417
329
|
invalid_properties
|
418
330
|
end
|
419
331
|
|
420
332
|
# Check to see if the all the properties in the model are valid
|
421
333
|
# @return true if the model is valid
|
422
334
|
def valid?
|
423
|
-
return false if !@product_code.nil? && @product_code.to_s.length > 255
|
424
|
-
return false if !@product_name.nil? && @product_name.to_s.length > 255
|
425
|
-
return false if !@product_sku.nil? && @product_sku.to_s.length > 255
|
426
335
|
return false if !@quantity.nil? && @quantity > 999999999
|
427
336
|
return false if !@quantity.nil? && @quantity < 1
|
428
|
-
return false if !@unit_price.nil? && @unit_price.to_s.length > 15
|
429
|
-
return false if !@unit_of_measure.nil? && @unit_of_measure.to_s.length > 12
|
430
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 13
|
431
|
-
return false if !@tax_amount.nil? && @tax_amount.to_s.length > 15
|
432
|
-
return false if !@tax_rate.nil? && @tax_rate.to_s.length > 7
|
433
|
-
return false if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
|
434
|
-
return false if !@tax_status_indicator.nil? && @tax_status_indicator.to_s.length > 1
|
435
|
-
return false if !@tax_type_code.nil? && @tax_type_code.to_s.length > 4
|
436
|
-
return false if !@type_of_supply.nil? && @type_of_supply.to_s.length > 2
|
437
|
-
return false if !@commodity_code.nil? && @commodity_code.to_s.length > 15
|
438
|
-
return false if !@discount_amount.nil? && @discount_amount.to_s.length > 13
|
439
|
-
return false if !@discount_rate.nil? && @discount_rate.to_s.length > 6
|
440
|
-
return false if !@invoice_number.nil? && @invoice_number.to_s.length > 23
|
441
|
-
return false if !@weight.nil? && @weight.to_s.length > 9
|
442
|
-
return false if !@weight_identifier.nil? && @weight_identifier.to_s.length > 1
|
443
|
-
return false if !@weight_unit.nil? && @weight_unit.to_s.length > 2
|
444
|
-
return false if !@reference_data_code.nil? && @reference_data_code.to_s.length > 2
|
445
|
-
return false if !@reference_data_number.nil? && @reference_data_number.to_s.length > 30
|
446
|
-
return false if !@shipping_destination_types.nil? && @shipping_destination_types.to_s.length > 50
|
447
337
|
true
|
448
338
|
end
|
449
339
|
|
450
340
|
# Custom attribute writer method with validation
|
451
341
|
# @param [Object] product_code Value to be assigned
|
452
342
|
def product_code=(product_code)
|
453
|
-
if !product_code.nil? && product_code.to_s.length > 255
|
454
|
-
fail ArgumentError, 'invalid value for "product_code", the character length must be smaller than or equal to 255.'
|
455
|
-
end
|
456
|
-
|
457
343
|
@product_code = product_code
|
458
344
|
end
|
459
345
|
|
460
346
|
# Custom attribute writer method with validation
|
461
347
|
# @param [Object] product_name Value to be assigned
|
462
348
|
def product_name=(product_name)
|
463
|
-
if !product_name.nil? && product_name.to_s.length > 255
|
464
|
-
fail ArgumentError, 'invalid value for "product_name", the character length must be smaller than or equal to 255.'
|
465
|
-
end
|
466
|
-
|
467
349
|
@product_name = product_name
|
468
350
|
end
|
469
351
|
|
470
352
|
# Custom attribute writer method with validation
|
471
353
|
# @param [Object] product_sku Value to be assigned
|
472
354
|
def product_sku=(product_sku)
|
473
|
-
if !product_sku.nil? && product_sku.to_s.length > 255
|
474
|
-
fail ArgumentError, 'invalid value for "product_sku", the character length must be smaller than or equal to 255.'
|
475
|
-
end
|
476
|
-
|
477
355
|
@product_sku = product_sku
|
478
356
|
end
|
479
357
|
|
@@ -494,190 +372,114 @@ module CyberSource
|
|
494
372
|
# Custom attribute writer method with validation
|
495
373
|
# @param [Object] unit_price Value to be assigned
|
496
374
|
def unit_price=(unit_price)
|
497
|
-
if !unit_price.nil? && unit_price.to_s.length > 15
|
498
|
-
fail ArgumentError, 'invalid value for "unit_price", the character length must be smaller than or equal to 15.'
|
499
|
-
end
|
500
|
-
|
501
375
|
@unit_price = unit_price
|
502
376
|
end
|
503
377
|
|
504
378
|
# Custom attribute writer method with validation
|
505
379
|
# @param [Object] unit_of_measure Value to be assigned
|
506
380
|
def unit_of_measure=(unit_of_measure)
|
507
|
-
if !unit_of_measure.nil? && unit_of_measure.to_s.length > 12
|
508
|
-
fail ArgumentError, 'invalid value for "unit_of_measure", the character length must be smaller than or equal to 12.'
|
509
|
-
end
|
510
|
-
|
511
381
|
@unit_of_measure = unit_of_measure
|
512
382
|
end
|
513
383
|
|
514
384
|
# Custom attribute writer method with validation
|
515
385
|
# @param [Object] total_amount Value to be assigned
|
516
386
|
def total_amount=(total_amount)
|
517
|
-
if !total_amount.nil? && total_amount.to_s.length > 13
|
518
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 13.'
|
519
|
-
end
|
520
|
-
|
521
387
|
@total_amount = total_amount
|
522
388
|
end
|
523
389
|
|
524
390
|
# Custom attribute writer method with validation
|
525
391
|
# @param [Object] tax_amount Value to be assigned
|
526
392
|
def tax_amount=(tax_amount)
|
527
|
-
if !tax_amount.nil? && tax_amount.to_s.length > 15
|
528
|
-
fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 15.'
|
529
|
-
end
|
530
|
-
|
531
393
|
@tax_amount = tax_amount
|
532
394
|
end
|
533
395
|
|
534
396
|
# Custom attribute writer method with validation
|
535
397
|
# @param [Object] tax_rate Value to be assigned
|
536
398
|
def tax_rate=(tax_rate)
|
537
|
-
if !tax_rate.nil? && tax_rate.to_s.length > 7
|
538
|
-
fail ArgumentError, 'invalid value for "tax_rate", the character length must be smaller than or equal to 7.'
|
539
|
-
end
|
540
|
-
|
541
399
|
@tax_rate = tax_rate
|
542
400
|
end
|
543
401
|
|
544
402
|
# Custom attribute writer method with validation
|
545
403
|
# @param [Object] tax_applied_after_discount Value to be assigned
|
546
404
|
def tax_applied_after_discount=(tax_applied_after_discount)
|
547
|
-
if !tax_applied_after_discount.nil? && tax_applied_after_discount.to_s.length > 1
|
548
|
-
fail ArgumentError, 'invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.'
|
549
|
-
end
|
550
|
-
|
551
405
|
@tax_applied_after_discount = tax_applied_after_discount
|
552
406
|
end
|
553
407
|
|
554
408
|
# Custom attribute writer method with validation
|
555
409
|
# @param [Object] tax_status_indicator Value to be assigned
|
556
410
|
def tax_status_indicator=(tax_status_indicator)
|
557
|
-
if !tax_status_indicator.nil? && tax_status_indicator.to_s.length > 1
|
558
|
-
fail ArgumentError, 'invalid value for "tax_status_indicator", the character length must be smaller than or equal to 1.'
|
559
|
-
end
|
560
|
-
|
561
411
|
@tax_status_indicator = tax_status_indicator
|
562
412
|
end
|
563
413
|
|
564
414
|
# Custom attribute writer method with validation
|
565
415
|
# @param [Object] tax_type_code Value to be assigned
|
566
416
|
def tax_type_code=(tax_type_code)
|
567
|
-
if !tax_type_code.nil? && tax_type_code.to_s.length > 4
|
568
|
-
fail ArgumentError, 'invalid value for "tax_type_code", the character length must be smaller than or equal to 4.'
|
569
|
-
end
|
570
|
-
|
571
417
|
@tax_type_code = tax_type_code
|
572
418
|
end
|
573
419
|
|
574
420
|
# Custom attribute writer method with validation
|
575
421
|
# @param [Object] type_of_supply Value to be assigned
|
576
422
|
def type_of_supply=(type_of_supply)
|
577
|
-
if !type_of_supply.nil? && type_of_supply.to_s.length > 2
|
578
|
-
fail ArgumentError, 'invalid value for "type_of_supply", the character length must be smaller than or equal to 2.'
|
579
|
-
end
|
580
|
-
|
581
423
|
@type_of_supply = type_of_supply
|
582
424
|
end
|
583
425
|
|
584
426
|
# Custom attribute writer method with validation
|
585
427
|
# @param [Object] commodity_code Value to be assigned
|
586
428
|
def commodity_code=(commodity_code)
|
587
|
-
if !commodity_code.nil? && commodity_code.to_s.length > 15
|
588
|
-
fail ArgumentError, 'invalid value for "commodity_code", the character length must be smaller than or equal to 15.'
|
589
|
-
end
|
590
|
-
|
591
429
|
@commodity_code = commodity_code
|
592
430
|
end
|
593
431
|
|
594
432
|
# Custom attribute writer method with validation
|
595
433
|
# @param [Object] discount_amount Value to be assigned
|
596
434
|
def discount_amount=(discount_amount)
|
597
|
-
if !discount_amount.nil? && discount_amount.to_s.length > 13
|
598
|
-
fail ArgumentError, 'invalid value for "discount_amount", the character length must be smaller than or equal to 13.'
|
599
|
-
end
|
600
|
-
|
601
435
|
@discount_amount = discount_amount
|
602
436
|
end
|
603
437
|
|
604
438
|
# Custom attribute writer method with validation
|
605
439
|
# @param [Object] discount_rate Value to be assigned
|
606
440
|
def discount_rate=(discount_rate)
|
607
|
-
if !discount_rate.nil? && discount_rate.to_s.length > 6
|
608
|
-
fail ArgumentError, 'invalid value for "discount_rate", the character length must be smaller than or equal to 6.'
|
609
|
-
end
|
610
|
-
|
611
441
|
@discount_rate = discount_rate
|
612
442
|
end
|
613
443
|
|
614
444
|
# Custom attribute writer method with validation
|
615
445
|
# @param [Object] invoice_number Value to be assigned
|
616
446
|
def invoice_number=(invoice_number)
|
617
|
-
if !invoice_number.nil? && invoice_number.to_s.length > 23
|
618
|
-
fail ArgumentError, 'invalid value for "invoice_number", the character length must be smaller than or equal to 23.'
|
619
|
-
end
|
620
|
-
|
621
447
|
@invoice_number = invoice_number
|
622
448
|
end
|
623
449
|
|
624
450
|
# Custom attribute writer method with validation
|
625
451
|
# @param [Object] weight Value to be assigned
|
626
452
|
def weight=(weight)
|
627
|
-
if !weight.nil? && weight.to_s.length > 9
|
628
|
-
fail ArgumentError, 'invalid value for "weight", the character length must be smaller than or equal to 9.'
|
629
|
-
end
|
630
|
-
|
631
453
|
@weight = weight
|
632
454
|
end
|
633
455
|
|
634
456
|
# Custom attribute writer method with validation
|
635
457
|
# @param [Object] weight_identifier Value to be assigned
|
636
458
|
def weight_identifier=(weight_identifier)
|
637
|
-
if !weight_identifier.nil? && weight_identifier.to_s.length > 1
|
638
|
-
fail ArgumentError, 'invalid value for "weight_identifier", the character length must be smaller than or equal to 1.'
|
639
|
-
end
|
640
|
-
|
641
459
|
@weight_identifier = weight_identifier
|
642
460
|
end
|
643
461
|
|
644
462
|
# Custom attribute writer method with validation
|
645
463
|
# @param [Object] weight_unit Value to be assigned
|
646
464
|
def weight_unit=(weight_unit)
|
647
|
-
if !weight_unit.nil? && weight_unit.to_s.length > 2
|
648
|
-
fail ArgumentError, 'invalid value for "weight_unit", the character length must be smaller than or equal to 2.'
|
649
|
-
end
|
650
|
-
|
651
465
|
@weight_unit = weight_unit
|
652
466
|
end
|
653
467
|
|
654
468
|
# Custom attribute writer method with validation
|
655
469
|
# @param [Object] reference_data_code Value to be assigned
|
656
470
|
def reference_data_code=(reference_data_code)
|
657
|
-
if !reference_data_code.nil? && reference_data_code.to_s.length > 2
|
658
|
-
fail ArgumentError, 'invalid value for "reference_data_code", the character length must be smaller than or equal to 2.'
|
659
|
-
end
|
660
|
-
|
661
471
|
@reference_data_code = reference_data_code
|
662
472
|
end
|
663
473
|
|
664
474
|
# Custom attribute writer method with validation
|
665
475
|
# @param [Object] reference_data_number Value to be assigned
|
666
476
|
def reference_data_number=(reference_data_number)
|
667
|
-
if !reference_data_number.nil? && reference_data_number.to_s.length > 30
|
668
|
-
fail ArgumentError, 'invalid value for "reference_data_number", the character length must be smaller than or equal to 30.'
|
669
|
-
end
|
670
|
-
|
671
477
|
@reference_data_number = reference_data_number
|
672
478
|
end
|
673
479
|
|
674
480
|
# Custom attribute writer method with validation
|
675
481
|
# @param [Object] shipping_destination_types Value to be assigned
|
676
482
|
def shipping_destination_types=(shipping_destination_types)
|
677
|
-
if !shipping_destination_types.nil? && shipping_destination_types.to_s.length > 50
|
678
|
-
fail ArgumentError, 'invalid value for "shipping_destination_types", the character length must be smaller than or equal to 50.'
|
679
|
-
end
|
680
|
-
|
681
483
|
@shipping_destination_types = shipping_destination_types
|
682
484
|
end
|
683
485
|
|