cybersource_rest_client 0.0.26 → 0.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client.rb +1 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +89 -2
- data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +0 -36
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -36
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +0 -54
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information_header_style.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +0 -36
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +0 -54
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -27
- data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +286 -0
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +0 -189
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -198
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +0 -153
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +0 -54
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +0 -144
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +0 -108
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_ip_address.rb +0 -63
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_profile.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_rules.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_actual_final_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_departure.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_last_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity_morphing.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_customer.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +0 -54
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +0 -108
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +0 -369
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +0 -54
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information_raw_data.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -90
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +0 -54
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +0 -189
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +0 -162
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -72
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +0 -198
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +0 -72
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +0 -117
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_profile.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +0 -333
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -351
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +0 -261
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -207
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +0 -162
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +0 -27
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +0 -9
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +0 -9
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +0 -18
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +0 -45
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +0 -90
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -90
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +0 -18
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +0 -171
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +0 -45
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +0 -72
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +0 -72
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -45
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -81
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +0 -270
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information_strong_authentication.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +0 -81
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_passengers.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +0 -27
- data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +0 -54
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +0 -45
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +0 -45
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +0 -99
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +0 -54
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +0 -126
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +0 -90
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +0 -72
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -19
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +0 -36
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +0 -90
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +0 -9
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -1
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information.rb +0 -27
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +6 -72
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +0 -27
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +0 -18
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +0 -9
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information_partner.rb +0 -18
- data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +0 -54
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +0 -99
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +0 -63
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +0 -18
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +0 -18
- metadata +3 -2
@@ -78,10 +78,6 @@ module CyberSource
|
|
78
78
|
invalid_properties.push('invalid value for "category_code", must be smaller than or equal to 9999.')
|
79
79
|
end
|
80
80
|
|
81
|
-
if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 21
|
82
|
-
invalid_properties.push('invalid value for "vat_registration_number", the character length must be smaller than or equal to 21.')
|
83
|
-
end
|
84
|
-
|
85
81
|
invalid_properties
|
86
82
|
end
|
87
83
|
|
@@ -89,7 +85,6 @@ module CyberSource
|
|
89
85
|
# @return true if the model is valid
|
90
86
|
def valid?
|
91
87
|
return false if !@category_code.nil? && @category_code > 9999
|
92
|
-
return false if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 21
|
93
88
|
true
|
94
89
|
end
|
95
90
|
|
@@ -106,10 +101,6 @@ module CyberSource
|
|
106
101
|
# Custom attribute writer method with validation
|
107
102
|
# @param [Object] vat_registration_number Value to be assigned
|
108
103
|
def vat_registration_number=(vat_registration_number)
|
109
|
-
if !vat_registration_number.nil? && vat_registration_number.to_s.length > 21
|
110
|
-
fail ArgumentError, 'invalid value for "vat_registration_number", the character length must be smaller than or equal to 21.'
|
111
|
-
end
|
112
|
-
|
113
104
|
@vat_registration_number = vat_registration_number
|
114
105
|
end
|
115
106
|
|
data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb
CHANGED
@@ -93,57 +93,30 @@ module CyberSource
|
|
93
93
|
# @return Array for valid properties with the reasons
|
94
94
|
def list_invalid_properties
|
95
95
|
invalid_properties = Array.new
|
96
|
-
if !@locality.nil? && @locality.to_s.length > 13
|
97
|
-
invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 13.')
|
98
|
-
end
|
99
|
-
|
100
|
-
if !@postal_code.nil? && @postal_code.to_s.length > 14
|
101
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 14.')
|
102
|
-
end
|
103
|
-
|
104
|
-
if !@contact.nil? && @contact.to_s.length > 14
|
105
|
-
invalid_properties.push('invalid value for "contact", the character length must be smaller than or equal to 14.')
|
106
|
-
end
|
107
|
-
|
108
96
|
invalid_properties
|
109
97
|
end
|
110
98
|
|
111
99
|
# Check to see if the all the properties in the model are valid
|
112
100
|
# @return true if the model is valid
|
113
101
|
def valid?
|
114
|
-
return false if !@locality.nil? && @locality.to_s.length > 13
|
115
|
-
return false if !@postal_code.nil? && @postal_code.to_s.length > 14
|
116
|
-
return false if !@contact.nil? && @contact.to_s.length > 14
|
117
102
|
true
|
118
103
|
end
|
119
104
|
|
120
105
|
# Custom attribute writer method with validation
|
121
106
|
# @param [Object] locality Value to be assigned
|
122
107
|
def locality=(locality)
|
123
|
-
if !locality.nil? && locality.to_s.length > 13
|
124
|
-
fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 13.'
|
125
|
-
end
|
126
|
-
|
127
108
|
@locality = locality
|
128
109
|
end
|
129
110
|
|
130
111
|
# Custom attribute writer method with validation
|
131
112
|
# @param [Object] postal_code Value to be assigned
|
132
113
|
def postal_code=(postal_code)
|
133
|
-
if !postal_code.nil? && postal_code.to_s.length > 14
|
134
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 14.'
|
135
|
-
end
|
136
|
-
|
137
114
|
@postal_code = postal_code
|
138
115
|
end
|
139
116
|
|
140
117
|
# Custom attribute writer method with validation
|
141
118
|
# @param [Object] contact Value to be assigned
|
142
119
|
def contact=(contact)
|
143
|
-
if !contact.nil? && contact.to_s.length > 14
|
144
|
-
fail ArgumentError, 'invalid value for "contact", the character length must be smaller than or equal to 14.'
|
145
|
-
end
|
146
|
-
|
147
120
|
@contact = contact
|
148
121
|
end
|
149
122
|
|
@@ -65,42 +65,24 @@ module CyberSource
|
|
65
65
|
# @return Array for valid properties with the reasons
|
66
66
|
def list_invalid_properties
|
67
67
|
invalid_properties = Array.new
|
68
|
-
if !@total_amount.nil? && @total_amount.to_s.length > 19
|
69
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 19.')
|
70
|
-
end
|
71
|
-
|
72
|
-
if !@currency.nil? && @currency.to_s.length > 3
|
73
|
-
invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.')
|
74
|
-
end
|
75
|
-
|
76
68
|
invalid_properties
|
77
69
|
end
|
78
70
|
|
79
71
|
# Check to see if the all the properties in the model are valid
|
80
72
|
# @return true if the model is valid
|
81
73
|
def valid?
|
82
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 19
|
83
|
-
return false if !@currency.nil? && @currency.to_s.length > 3
|
84
74
|
true
|
85
75
|
end
|
86
76
|
|
87
77
|
# Custom attribute writer method with validation
|
88
78
|
# @param [Object] total_amount Value to be assigned
|
89
79
|
def total_amount=(total_amount)
|
90
|
-
if !total_amount.nil? && total_amount.to_s.length > 19
|
91
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 19.'
|
92
|
-
end
|
93
|
-
|
94
80
|
@total_amount = total_amount
|
95
81
|
end
|
96
82
|
|
97
83
|
# Custom attribute writer method with validation
|
98
84
|
# @param [Object] currency Value to be assigned
|
99
85
|
def currency=(currency)
|
100
|
-
if !currency.nil? && currency.to_s.length > 3
|
101
|
-
fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.'
|
102
|
-
end
|
103
|
-
|
104
86
|
@currency = currency
|
105
87
|
end
|
106
88
|
|
data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb
CHANGED
@@ -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 !@amount.nil? && @amount.to_s.length > 15
|
52
|
-
invalid_properties.push('invalid value for "amount", the character length must be smaller than or equal to 15.')
|
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 !@amount.nil? && @amount.to_s.length > 15
|
62
57
|
true
|
63
58
|
end
|
64
59
|
|
65
60
|
# Custom attribute writer method with validation
|
66
61
|
# @param [Object] amount Value to be assigned
|
67
62
|
def amount=(amount)
|
68
|
-
if !amount.nil? && amount.to_s.length > 15
|
69
|
-
fail ArgumentError, 'invalid value for "amount", the character length must be smaller than or equal to 15.'
|
70
|
-
end
|
71
|
-
|
72
63
|
@amount = amount
|
73
64
|
end
|
74
65
|
|
@@ -129,147 +129,66 @@ module CyberSource
|
|
129
129
|
# @return Array for valid properties with the reasons
|
130
130
|
def list_invalid_properties
|
131
131
|
invalid_properties = Array.new
|
132
|
-
if !@first_name.nil? && @first_name.to_s.length > 60
|
133
|
-
invalid_properties.push('invalid value for "first_name", the character length must be smaller than or equal to 60.')
|
134
|
-
end
|
135
|
-
|
136
|
-
if !@last_name.nil? && @last_name.to_s.length > 60
|
137
|
-
invalid_properties.push('invalid value for "last_name", the character length must be smaller than or equal to 60.')
|
138
|
-
end
|
139
|
-
|
140
|
-
if !@address1.nil? && @address1.to_s.length > 60
|
141
|
-
invalid_properties.push('invalid value for "address1", the character length must be smaller than or equal to 60.')
|
142
|
-
end
|
143
|
-
|
144
|
-
if !@address2.nil? && @address2.to_s.length > 60
|
145
|
-
invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 60.')
|
146
|
-
end
|
147
|
-
|
148
|
-
if !@country.nil? && @country.to_s.length > 2
|
149
|
-
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
|
150
|
-
end
|
151
|
-
|
152
|
-
if !@locality.nil? && @locality.to_s.length > 50
|
153
|
-
invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 50.')
|
154
|
-
end
|
155
|
-
|
156
|
-
if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
157
|
-
invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 20.')
|
158
|
-
end
|
159
|
-
|
160
|
-
if !@postal_code.nil? && @postal_code.to_s.length > 10
|
161
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
|
162
|
-
end
|
163
|
-
|
164
|
-
if !@phone_number.nil? && @phone_number.to_s.length > 15
|
165
|
-
invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 15.')
|
166
|
-
end
|
167
|
-
|
168
132
|
invalid_properties
|
169
133
|
end
|
170
134
|
|
171
135
|
# Check to see if the all the properties in the model are valid
|
172
136
|
# @return true if the model is valid
|
173
137
|
def valid?
|
174
|
-
return false if !@first_name.nil? && @first_name.to_s.length > 60
|
175
|
-
return false if !@last_name.nil? && @last_name.to_s.length > 60
|
176
|
-
return false if !@address1.nil? && @address1.to_s.length > 60
|
177
|
-
return false if !@address2.nil? && @address2.to_s.length > 60
|
178
|
-
return false if !@country.nil? && @country.to_s.length > 2
|
179
|
-
return false if !@locality.nil? && @locality.to_s.length > 50
|
180
|
-
return false if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
181
|
-
return false if !@postal_code.nil? && @postal_code.to_s.length > 10
|
182
|
-
return false if !@phone_number.nil? && @phone_number.to_s.length > 15
|
183
138
|
true
|
184
139
|
end
|
185
140
|
|
186
141
|
# Custom attribute writer method with validation
|
187
142
|
# @param [Object] first_name Value to be assigned
|
188
143
|
def first_name=(first_name)
|
189
|
-
if !first_name.nil? && first_name.to_s.length > 60
|
190
|
-
fail ArgumentError, 'invalid value for "first_name", the character length must be smaller than or equal to 60.'
|
191
|
-
end
|
192
|
-
|
193
144
|
@first_name = first_name
|
194
145
|
end
|
195
146
|
|
196
147
|
# Custom attribute writer method with validation
|
197
148
|
# @param [Object] last_name Value to be assigned
|
198
149
|
def last_name=(last_name)
|
199
|
-
if !last_name.nil? && last_name.to_s.length > 60
|
200
|
-
fail ArgumentError, 'invalid value for "last_name", the character length must be smaller than or equal to 60.'
|
201
|
-
end
|
202
|
-
|
203
150
|
@last_name = last_name
|
204
151
|
end
|
205
152
|
|
206
153
|
# Custom attribute writer method with validation
|
207
154
|
# @param [Object] address1 Value to be assigned
|
208
155
|
def address1=(address1)
|
209
|
-
if !address1.nil? && address1.to_s.length > 60
|
210
|
-
fail ArgumentError, 'invalid value for "address1", the character length must be smaller than or equal to 60.'
|
211
|
-
end
|
212
|
-
|
213
156
|
@address1 = address1
|
214
157
|
end
|
215
158
|
|
216
159
|
# Custom attribute writer method with validation
|
217
160
|
# @param [Object] address2 Value to be assigned
|
218
161
|
def address2=(address2)
|
219
|
-
if !address2.nil? && address2.to_s.length > 60
|
220
|
-
fail ArgumentError, 'invalid value for "address2", the character length must be smaller than or equal to 60.'
|
221
|
-
end
|
222
|
-
|
223
162
|
@address2 = address2
|
224
163
|
end
|
225
164
|
|
226
165
|
# Custom attribute writer method with validation
|
227
166
|
# @param [Object] country Value to be assigned
|
228
167
|
def country=(country)
|
229
|
-
if !country.nil? && country.to_s.length > 2
|
230
|
-
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
|
231
|
-
end
|
232
|
-
|
233
168
|
@country = country
|
234
169
|
end
|
235
170
|
|
236
171
|
# Custom attribute writer method with validation
|
237
172
|
# @param [Object] locality Value to be assigned
|
238
173
|
def locality=(locality)
|
239
|
-
if !locality.nil? && locality.to_s.length > 50
|
240
|
-
fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 50.'
|
241
|
-
end
|
242
|
-
|
243
174
|
@locality = locality
|
244
175
|
end
|
245
176
|
|
246
177
|
# Custom attribute writer method with validation
|
247
178
|
# @param [Object] administrative_area Value to be assigned
|
248
179
|
def administrative_area=(administrative_area)
|
249
|
-
if !administrative_area.nil? && administrative_area.to_s.length > 20
|
250
|
-
fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 20.'
|
251
|
-
end
|
252
|
-
|
253
180
|
@administrative_area = administrative_area
|
254
181
|
end
|
255
182
|
|
256
183
|
# Custom attribute writer method with validation
|
257
184
|
# @param [Object] postal_code Value to be assigned
|
258
185
|
def postal_code=(postal_code)
|
259
|
-
if !postal_code.nil? && postal_code.to_s.length > 10
|
260
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 10.'
|
261
|
-
end
|
262
|
-
|
263
186
|
@postal_code = postal_code
|
264
187
|
end
|
265
188
|
|
266
189
|
# Custom attribute writer method with validation
|
267
190
|
# @param [Object] phone_number Value to be assigned
|
268
191
|
def phone_number=(phone_number)
|
269
|
-
if !phone_number.nil? && phone_number.to_s.length > 15
|
270
|
-
fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to 15.'
|
271
|
-
end
|
272
|
-
|
273
192
|
@phone_number = phone_number
|
274
193
|
end
|
275
194
|
|
@@ -84,72 +84,36 @@ module CyberSource
|
|
84
84
|
# @return Array for valid properties with the reasons
|
85
85
|
def list_invalid_properties
|
86
86
|
invalid_properties = Array.new
|
87
|
-
if !@number.nil? && @number.to_s.length > 20
|
88
|
-
invalid_properties.push('invalid value for "number", the character length must be smaller than or equal to 20.')
|
89
|
-
end
|
90
|
-
|
91
|
-
if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
92
|
-
invalid_properties.push('invalid value for "expiration_month", the character length must be smaller than or equal to 2.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
96
|
-
invalid_properties.push('invalid value for "expiration_year", the character length must be smaller than or equal to 4.')
|
97
|
-
end
|
98
|
-
|
99
|
-
if !@source_account_type.nil? && @source_account_type.to_s.length > 20
|
100
|
-
invalid_properties.push('invalid value for "source_account_type", the character length must be smaller than or equal to 20.')
|
101
|
-
end
|
102
|
-
|
103
87
|
invalid_properties
|
104
88
|
end
|
105
89
|
|
106
90
|
# Check to see if the all the properties in the model are valid
|
107
91
|
# @return true if the model is valid
|
108
92
|
def valid?
|
109
|
-
return false if !@number.nil? && @number.to_s.length > 20
|
110
|
-
return false if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
111
|
-
return false if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
112
|
-
return false if !@source_account_type.nil? && @source_account_type.to_s.length > 20
|
113
93
|
true
|
114
94
|
end
|
115
95
|
|
116
96
|
# Custom attribute writer method with validation
|
117
97
|
# @param [Object] number Value to be assigned
|
118
98
|
def number=(number)
|
119
|
-
if !number.nil? && number.to_s.length > 20
|
120
|
-
fail ArgumentError, 'invalid value for "number", the character length must be smaller than or equal to 20.'
|
121
|
-
end
|
122
|
-
|
123
99
|
@number = number
|
124
100
|
end
|
125
101
|
|
126
102
|
# Custom attribute writer method with validation
|
127
103
|
# @param [Object] expiration_month Value to be assigned
|
128
104
|
def expiration_month=(expiration_month)
|
129
|
-
if !expiration_month.nil? && expiration_month.to_s.length > 2
|
130
|
-
fail ArgumentError, 'invalid value for "expiration_month", the character length must be smaller than or equal to 2.'
|
131
|
-
end
|
132
|
-
|
133
105
|
@expiration_month = expiration_month
|
134
106
|
end
|
135
107
|
|
136
108
|
# Custom attribute writer method with validation
|
137
109
|
# @param [Object] expiration_year Value to be assigned
|
138
110
|
def expiration_year=(expiration_year)
|
139
|
-
if !expiration_year.nil? && expiration_year.to_s.length > 4
|
140
|
-
fail ArgumentError, 'invalid value for "expiration_year", the character length must be smaller than or equal to 4.'
|
141
|
-
end
|
142
|
-
|
143
111
|
@expiration_year = expiration_year
|
144
112
|
end
|
145
113
|
|
146
114
|
# Custom attribute writer method with validation
|
147
115
|
# @param [Object] source_account_type Value to be assigned
|
148
116
|
def source_account_type=(source_account_type)
|
149
|
-
if !source_account_type.nil? && source_account_type.to_s.length > 20
|
150
|
-
fail ArgumentError, 'invalid value for "source_account_type", the character length must be smaller than or equal to 20.'
|
151
|
-
end
|
152
|
-
|
153
117
|
@source_account_type = source_account_type
|
154
118
|
end
|
155
119
|
|
@@ -83,72 +83,36 @@ module CyberSource
|
|
83
83
|
# @return Array for valid properties with the reasons
|
84
84
|
def list_invalid_properties
|
85
85
|
invalid_properties = Array.new
|
86
|
-
if !@business_application_id.nil? && @business_application_id.to_s.length > 2
|
87
|
-
invalid_properties.push('invalid value for "business_application_id", the character length must be smaller than or equal to 2.')
|
88
|
-
end
|
89
|
-
|
90
|
-
if !@network_routing_order.nil? && @network_routing_order.to_s.length > 30
|
91
|
-
invalid_properties.push('invalid value for "network_routing_order", the character length must be smaller than or equal to 30.')
|
92
|
-
end
|
93
|
-
|
94
|
-
if !@commerce_indicator.nil? && @commerce_indicator.to_s.length > 13
|
95
|
-
invalid_properties.push('invalid value for "commerce_indicator", the character length must be smaller than or equal to 13.')
|
96
|
-
end
|
97
|
-
|
98
|
-
if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
|
99
|
-
invalid_properties.push('invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.')
|
100
|
-
end
|
101
|
-
|
102
86
|
invalid_properties
|
103
87
|
end
|
104
88
|
|
105
89
|
# Check to see if the all the properties in the model are valid
|
106
90
|
# @return true if the model is valid
|
107
91
|
def valid?
|
108
|
-
return false if !@business_application_id.nil? && @business_application_id.to_s.length > 2
|
109
|
-
return false if !@network_routing_order.nil? && @network_routing_order.to_s.length > 30
|
110
|
-
return false if !@commerce_indicator.nil? && @commerce_indicator.to_s.length > 13
|
111
|
-
return false if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
|
112
92
|
true
|
113
93
|
end
|
114
94
|
|
115
95
|
# Custom attribute writer method with validation
|
116
96
|
# @param [Object] business_application_id Value to be assigned
|
117
97
|
def business_application_id=(business_application_id)
|
118
|
-
if !business_application_id.nil? && business_application_id.to_s.length > 2
|
119
|
-
fail ArgumentError, 'invalid value for "business_application_id", the character length must be smaller than or equal to 2.'
|
120
|
-
end
|
121
|
-
|
122
98
|
@business_application_id = business_application_id
|
123
99
|
end
|
124
100
|
|
125
101
|
# Custom attribute writer method with validation
|
126
102
|
# @param [Object] network_routing_order Value to be assigned
|
127
103
|
def network_routing_order=(network_routing_order)
|
128
|
-
if !network_routing_order.nil? && network_routing_order.to_s.length > 30
|
129
|
-
fail ArgumentError, 'invalid value for "network_routing_order", the character length must be smaller than or equal to 30.'
|
130
|
-
end
|
131
|
-
|
132
104
|
@network_routing_order = network_routing_order
|
133
105
|
end
|
134
106
|
|
135
107
|
# Custom attribute writer method with validation
|
136
108
|
# @param [Object] commerce_indicator Value to be assigned
|
137
109
|
def commerce_indicator=(commerce_indicator)
|
138
|
-
if !commerce_indicator.nil? && commerce_indicator.to_s.length > 13
|
139
|
-
fail ArgumentError, 'invalid value for "commerce_indicator", the character length must be smaller than or equal to 13.'
|
140
|
-
end
|
141
|
-
|
142
110
|
@commerce_indicator = commerce_indicator
|
143
111
|
end
|
144
112
|
|
145
113
|
# Custom attribute writer method with validation
|
146
114
|
# @param [Object] reconciliation_id Value to be assigned
|
147
115
|
def reconciliation_id=(reconciliation_id)
|
148
|
-
if !reconciliation_id.nil? && reconciliation_id.to_s.length > 60
|
149
|
-
fail ArgumentError, 'invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.'
|
150
|
-
end
|
151
|
-
|
152
116
|
@reconciliation_id = reconciliation_id
|
153
117
|
end
|
154
118
|
|