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
data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb
CHANGED
@@ -66,42 +66,24 @@ module CyberSource
|
|
66
66
|
# @return Array for valid properties with the reasons
|
67
67
|
def list_invalid_properties
|
68
68
|
invalid_properties = Array.new
|
69
|
-
if !@ip_address.nil? && @ip_address.to_s.length > 45
|
70
|
-
invalid_properties.push('invalid value for "ip_address", the character length must be smaller than or equal to 45.')
|
71
|
-
end
|
72
|
-
|
73
|
-
if !@host_name.nil? && @host_name.to_s.length > 60
|
74
|
-
invalid_properties.push('invalid value for "host_name", the character length must be smaller than or equal to 60.')
|
75
|
-
end
|
76
|
-
|
77
69
|
invalid_properties
|
78
70
|
end
|
79
71
|
|
80
72
|
# Check to see if the all the properties in the model are valid
|
81
73
|
# @return true if the model is valid
|
82
74
|
def valid?
|
83
|
-
return false if !@ip_address.nil? && @ip_address.to_s.length > 45
|
84
|
-
return false if !@host_name.nil? && @host_name.to_s.length > 60
|
85
75
|
true
|
86
76
|
end
|
87
77
|
|
88
78
|
# Custom attribute writer method with validation
|
89
79
|
# @param [Object] ip_address Value to be assigned
|
90
80
|
def ip_address=(ip_address)
|
91
|
-
if !ip_address.nil? && ip_address.to_s.length > 45
|
92
|
-
fail ArgumentError, 'invalid value for "ip_address", the character length must be smaller than or equal to 45.'
|
93
|
-
end
|
94
|
-
|
95
81
|
@ip_address = ip_address
|
96
82
|
end
|
97
83
|
|
98
84
|
# Custom attribute writer method with validation
|
99
85
|
# @param [Object] host_name Value to be assigned
|
100
86
|
def host_name=(host_name)
|
101
|
-
if !host_name.nil? && host_name.to_s.length > 60
|
102
|
-
fail ArgumentError, 'invalid value for "host_name", the character length must be smaller than or equal to 60.'
|
103
|
-
end
|
104
|
-
|
105
87
|
@host_name = host_name
|
106
88
|
end
|
107
89
|
|
@@ -93,102 +93,48 @@ module CyberSource
|
|
93
93
|
# @return Array for valid properties with the reasons
|
94
94
|
def list_invalid_properties
|
95
95
|
invalid_properties = Array.new
|
96
|
-
if !@total_amount.nil? && @total_amount.to_s.length > 19
|
97
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 19.')
|
98
|
-
end
|
99
|
-
|
100
|
-
if !@currency.nil? && @currency.to_s.length > 3
|
101
|
-
invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.')
|
102
|
-
end
|
103
|
-
|
104
|
-
if !@tax_amount.nil? && @tax_amount.to_s.length > 12
|
105
|
-
invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 12.')
|
106
|
-
end
|
107
|
-
|
108
|
-
if !@authorized_amount.nil? && @authorized_amount.to_s.length > 15
|
109
|
-
invalid_properties.push('invalid value for "authorized_amount", the character length must be smaller than or equal to 15.')
|
110
|
-
end
|
111
|
-
|
112
|
-
if !@settlement_amount.nil? && @settlement_amount.to_s.length > 12
|
113
|
-
invalid_properties.push('invalid value for "settlement_amount", the character length must be smaller than or equal to 12.')
|
114
|
-
end
|
115
|
-
|
116
|
-
if !@settlement_currency.nil? && @settlement_currency.to_s.length > 3
|
117
|
-
invalid_properties.push('invalid value for "settlement_currency", the character length must be smaller than or equal to 3.')
|
118
|
-
end
|
119
|
-
|
120
96
|
invalid_properties
|
121
97
|
end
|
122
98
|
|
123
99
|
# Check to see if the all the properties in the model are valid
|
124
100
|
# @return true if the model is valid
|
125
101
|
def valid?
|
126
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 19
|
127
|
-
return false if !@currency.nil? && @currency.to_s.length > 3
|
128
|
-
return false if !@tax_amount.nil? && @tax_amount.to_s.length > 12
|
129
|
-
return false if !@authorized_amount.nil? && @authorized_amount.to_s.length > 15
|
130
|
-
return false if !@settlement_amount.nil? && @settlement_amount.to_s.length > 12
|
131
|
-
return false if !@settlement_currency.nil? && @settlement_currency.to_s.length > 3
|
132
102
|
true
|
133
103
|
end
|
134
104
|
|
135
105
|
# Custom attribute writer method with validation
|
136
106
|
# @param [Object] total_amount Value to be assigned
|
137
107
|
def total_amount=(total_amount)
|
138
|
-
if !total_amount.nil? && total_amount.to_s.length > 19
|
139
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 19.'
|
140
|
-
end
|
141
|
-
|
142
108
|
@total_amount = total_amount
|
143
109
|
end
|
144
110
|
|
145
111
|
# Custom attribute writer method with validation
|
146
112
|
# @param [Object] currency Value to be assigned
|
147
113
|
def currency=(currency)
|
148
|
-
if !currency.nil? && currency.to_s.length > 3
|
149
|
-
fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.'
|
150
|
-
end
|
151
|
-
|
152
114
|
@currency = currency
|
153
115
|
end
|
154
116
|
|
155
117
|
# Custom attribute writer method with validation
|
156
118
|
# @param [Object] tax_amount Value to be assigned
|
157
119
|
def tax_amount=(tax_amount)
|
158
|
-
if !tax_amount.nil? && tax_amount.to_s.length > 12
|
159
|
-
fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 12.'
|
160
|
-
end
|
161
|
-
|
162
120
|
@tax_amount = tax_amount
|
163
121
|
end
|
164
122
|
|
165
123
|
# Custom attribute writer method with validation
|
166
124
|
# @param [Object] authorized_amount Value to be assigned
|
167
125
|
def authorized_amount=(authorized_amount)
|
168
|
-
if !authorized_amount.nil? && authorized_amount.to_s.length > 15
|
169
|
-
fail ArgumentError, 'invalid value for "authorized_amount", the character length must be smaller than or equal to 15.'
|
170
|
-
end
|
171
|
-
|
172
126
|
@authorized_amount = authorized_amount
|
173
127
|
end
|
174
128
|
|
175
129
|
# Custom attribute writer method with validation
|
176
130
|
# @param [Object] settlement_amount Value to be assigned
|
177
131
|
def settlement_amount=(settlement_amount)
|
178
|
-
if !settlement_amount.nil? && settlement_amount.to_s.length > 12
|
179
|
-
fail ArgumentError, 'invalid value for "settlement_amount", the character length must be smaller than or equal to 12.'
|
180
|
-
end
|
181
|
-
|
182
132
|
@settlement_amount = settlement_amount
|
183
133
|
end
|
184
134
|
|
185
135
|
# Custom attribute writer method with validation
|
186
136
|
# @param [Object] settlement_currency Value to be assigned
|
187
137
|
def settlement_currency=(settlement_currency)
|
188
|
-
if !settlement_currency.nil? && settlement_currency.to_s.length > 3
|
189
|
-
fail ArgumentError, 'invalid value for "settlement_currency", the character length must be smaller than or equal to 3.'
|
190
|
-
end
|
191
|
-
|
192
138
|
@settlement_currency = settlement_currency
|
193
139
|
end
|
194
140
|
|
@@ -165,222 +165,96 @@ module CyberSource
|
|
165
165
|
# @return Array for valid properties with the reasons
|
166
166
|
def list_invalid_properties
|
167
167
|
invalid_properties = Array.new
|
168
|
-
if !@first_name.nil? && @first_name.to_s.length > 60
|
169
|
-
invalid_properties.push('invalid value for "first_name", the character length must be smaller than or equal to 60.')
|
170
|
-
end
|
171
|
-
|
172
|
-
if !@last_name.nil? && @last_name.to_s.length > 60
|
173
|
-
invalid_properties.push('invalid value for "last_name", the character length must be smaller than or equal to 60.')
|
174
|
-
end
|
175
|
-
|
176
|
-
if !@middle_name.nil? && @middle_name.to_s.length > 60
|
177
|
-
invalid_properties.push('invalid value for "middle_name", the character length must be smaller than or equal to 60.')
|
178
|
-
end
|
179
|
-
|
180
|
-
if !@name_suffix.nil? && @name_suffix.to_s.length > 60
|
181
|
-
invalid_properties.push('invalid value for "name_suffix", the character length must be smaller than or equal to 60.')
|
182
|
-
end
|
183
|
-
|
184
|
-
if !@address1.nil? && @address1.to_s.length > 60
|
185
|
-
invalid_properties.push('invalid value for "address1", the character length must be smaller than or equal to 60.')
|
186
|
-
end
|
187
|
-
|
188
|
-
if !@address2.nil? && @address2.to_s.length > 60
|
189
|
-
invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 60.')
|
190
|
-
end
|
191
|
-
|
192
|
-
if !@locality.nil? && @locality.to_s.length > 50
|
193
|
-
invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 50.')
|
194
|
-
end
|
195
|
-
|
196
|
-
if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
197
|
-
invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 20.')
|
198
|
-
end
|
199
|
-
|
200
|
-
if !@postal_code.nil? && @postal_code.to_s.length > 10
|
201
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
|
202
|
-
end
|
203
|
-
|
204
|
-
if !@company.nil? && @company.to_s.length > 60
|
205
|
-
invalid_properties.push('invalid value for "company", the character length must be smaller than or equal to 60.')
|
206
|
-
end
|
207
|
-
|
208
|
-
if !@email.nil? && @email.to_s.length > 255
|
209
|
-
invalid_properties.push('invalid value for "email", the character length must be smaller than or equal to 255.')
|
210
|
-
end
|
211
|
-
|
212
|
-
if !@country.nil? && @country.to_s.length > 2
|
213
|
-
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
|
214
|
-
end
|
215
|
-
|
216
|
-
if !@title.nil? && @title.to_s.length > 60
|
217
|
-
invalid_properties.push('invalid value for "title", the character length must be smaller than or equal to 60.')
|
218
|
-
end
|
219
|
-
|
220
|
-
if !@phone_number.nil? && @phone_number.to_s.length > 15
|
221
|
-
invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 15.')
|
222
|
-
end
|
223
|
-
|
224
168
|
invalid_properties
|
225
169
|
end
|
226
170
|
|
227
171
|
# Check to see if the all the properties in the model are valid
|
228
172
|
# @return true if the model is valid
|
229
173
|
def valid?
|
230
|
-
return false if !@first_name.nil? && @first_name.to_s.length > 60
|
231
|
-
return false if !@last_name.nil? && @last_name.to_s.length > 60
|
232
|
-
return false if !@middle_name.nil? && @middle_name.to_s.length > 60
|
233
|
-
return false if !@name_suffix.nil? && @name_suffix.to_s.length > 60
|
234
|
-
return false if !@address1.nil? && @address1.to_s.length > 60
|
235
|
-
return false if !@address2.nil? && @address2.to_s.length > 60
|
236
|
-
return false if !@locality.nil? && @locality.to_s.length > 50
|
237
|
-
return false if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
238
|
-
return false if !@postal_code.nil? && @postal_code.to_s.length > 10
|
239
|
-
return false if !@company.nil? && @company.to_s.length > 60
|
240
|
-
return false if !@email.nil? && @email.to_s.length > 255
|
241
|
-
return false if !@country.nil? && @country.to_s.length > 2
|
242
|
-
return false if !@title.nil? && @title.to_s.length > 60
|
243
|
-
return false if !@phone_number.nil? && @phone_number.to_s.length > 15
|
244
174
|
true
|
245
175
|
end
|
246
176
|
|
247
177
|
# Custom attribute writer method with validation
|
248
178
|
# @param [Object] first_name Value to be assigned
|
249
179
|
def first_name=(first_name)
|
250
|
-
if !first_name.nil? && first_name.to_s.length > 60
|
251
|
-
fail ArgumentError, 'invalid value for "first_name", the character length must be smaller than or equal to 60.'
|
252
|
-
end
|
253
|
-
|
254
180
|
@first_name = first_name
|
255
181
|
end
|
256
182
|
|
257
183
|
# Custom attribute writer method with validation
|
258
184
|
# @param [Object] last_name Value to be assigned
|
259
185
|
def last_name=(last_name)
|
260
|
-
if !last_name.nil? && last_name.to_s.length > 60
|
261
|
-
fail ArgumentError, 'invalid value for "last_name", the character length must be smaller than or equal to 60.'
|
262
|
-
end
|
263
|
-
|
264
186
|
@last_name = last_name
|
265
187
|
end
|
266
188
|
|
267
189
|
# Custom attribute writer method with validation
|
268
190
|
# @param [Object] middle_name Value to be assigned
|
269
191
|
def middle_name=(middle_name)
|
270
|
-
if !middle_name.nil? && middle_name.to_s.length > 60
|
271
|
-
fail ArgumentError, 'invalid value for "middle_name", the character length must be smaller than or equal to 60.'
|
272
|
-
end
|
273
|
-
|
274
192
|
@middle_name = middle_name
|
275
193
|
end
|
276
194
|
|
277
195
|
# Custom attribute writer method with validation
|
278
196
|
# @param [Object] name_suffix Value to be assigned
|
279
197
|
def name_suffix=(name_suffix)
|
280
|
-
if !name_suffix.nil? && name_suffix.to_s.length > 60
|
281
|
-
fail ArgumentError, 'invalid value for "name_suffix", the character length must be smaller than or equal to 60.'
|
282
|
-
end
|
283
|
-
|
284
198
|
@name_suffix = name_suffix
|
285
199
|
end
|
286
200
|
|
287
201
|
# Custom attribute writer method with validation
|
288
202
|
# @param [Object] address1 Value to be assigned
|
289
203
|
def address1=(address1)
|
290
|
-
if !address1.nil? && address1.to_s.length > 60
|
291
|
-
fail ArgumentError, 'invalid value for "address1", the character length must be smaller than or equal to 60.'
|
292
|
-
end
|
293
|
-
|
294
204
|
@address1 = address1
|
295
205
|
end
|
296
206
|
|
297
207
|
# Custom attribute writer method with validation
|
298
208
|
# @param [Object] address2 Value to be assigned
|
299
209
|
def address2=(address2)
|
300
|
-
if !address2.nil? && address2.to_s.length > 60
|
301
|
-
fail ArgumentError, 'invalid value for "address2", the character length must be smaller than or equal to 60.'
|
302
|
-
end
|
303
|
-
|
304
210
|
@address2 = address2
|
305
211
|
end
|
306
212
|
|
307
213
|
# Custom attribute writer method with validation
|
308
214
|
# @param [Object] locality Value to be assigned
|
309
215
|
def locality=(locality)
|
310
|
-
if !locality.nil? && locality.to_s.length > 50
|
311
|
-
fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 50.'
|
312
|
-
end
|
313
|
-
|
314
216
|
@locality = locality
|
315
217
|
end
|
316
218
|
|
317
219
|
# Custom attribute writer method with validation
|
318
220
|
# @param [Object] administrative_area Value to be assigned
|
319
221
|
def administrative_area=(administrative_area)
|
320
|
-
if !administrative_area.nil? && administrative_area.to_s.length > 20
|
321
|
-
fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 20.'
|
322
|
-
end
|
323
|
-
|
324
222
|
@administrative_area = administrative_area
|
325
223
|
end
|
326
224
|
|
327
225
|
# Custom attribute writer method with validation
|
328
226
|
# @param [Object] postal_code Value to be assigned
|
329
227
|
def postal_code=(postal_code)
|
330
|
-
if !postal_code.nil? && postal_code.to_s.length > 10
|
331
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 10.'
|
332
|
-
end
|
333
|
-
|
334
228
|
@postal_code = postal_code
|
335
229
|
end
|
336
230
|
|
337
231
|
# Custom attribute writer method with validation
|
338
232
|
# @param [Object] company Value to be assigned
|
339
233
|
def company=(company)
|
340
|
-
if !company.nil? && company.to_s.length > 60
|
341
|
-
fail ArgumentError, 'invalid value for "company", the character length must be smaller than or equal to 60.'
|
342
|
-
end
|
343
|
-
|
344
234
|
@company = company
|
345
235
|
end
|
346
236
|
|
347
237
|
# Custom attribute writer method with validation
|
348
238
|
# @param [Object] email Value to be assigned
|
349
239
|
def email=(email)
|
350
|
-
if !email.nil? && email.to_s.length > 255
|
351
|
-
fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 255.'
|
352
|
-
end
|
353
|
-
|
354
240
|
@email = email
|
355
241
|
end
|
356
242
|
|
357
243
|
# Custom attribute writer method with validation
|
358
244
|
# @param [Object] country Value to be assigned
|
359
245
|
def country=(country)
|
360
|
-
if !country.nil? && country.to_s.length > 2
|
361
|
-
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
|
362
|
-
end
|
363
|
-
|
364
246
|
@country = country
|
365
247
|
end
|
366
248
|
|
367
249
|
# Custom attribute writer method with validation
|
368
250
|
# @param [Object] title Value to be assigned
|
369
251
|
def title=(title)
|
370
|
-
if !title.nil? && title.to_s.length > 60
|
371
|
-
fail ArgumentError, 'invalid value for "title", the character length must be smaller than or equal to 60.'
|
372
|
-
end
|
373
|
-
|
374
252
|
@title = title
|
375
253
|
end
|
376
254
|
|
377
255
|
# Custom attribute writer method with validation
|
378
256
|
# @param [Object] phone_number Value to be assigned
|
379
257
|
def phone_number=(phone_number)
|
380
|
-
if !phone_number.nil? && phone_number.to_s.length > 15
|
381
|
-
fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to 15.'
|
382
|
-
end
|
383
|
-
|
384
258
|
@phone_number = phone_number
|
385
259
|
end
|
386
260
|
|
@@ -102,22 +102,6 @@ module CyberSource
|
|
102
102
|
# @return Array for valid properties with the reasons
|
103
103
|
def list_invalid_properties
|
104
104
|
invalid_properties = Array.new
|
105
|
-
if !@product_code.nil? && @product_code.to_s.length > 255
|
106
|
-
invalid_properties.push('invalid value for "product_code", the character length must be smaller than or equal to 255.')
|
107
|
-
end
|
108
|
-
|
109
|
-
if !@product_name.nil? && @product_name.to_s.length > 255
|
110
|
-
invalid_properties.push('invalid value for "product_name", the character length must be smaller than or equal to 255.')
|
111
|
-
end
|
112
|
-
|
113
|
-
if !@product_sku.nil? && @product_sku.to_s.length > 255
|
114
|
-
invalid_properties.push('invalid value for "product_sku", the character length must be smaller than or equal to 255.')
|
115
|
-
end
|
116
|
-
|
117
|
-
if !@tax_amount.nil? && @tax_amount.to_s.length > 15
|
118
|
-
invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 15.')
|
119
|
-
end
|
120
|
-
|
121
105
|
if !@quantity.nil? && @quantity > 999999999
|
122
106
|
invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
|
123
107
|
end
|
@@ -126,63 +110,38 @@ module CyberSource
|
|
126
110
|
invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
|
127
111
|
end
|
128
112
|
|
129
|
-
if !@unit_price.nil? && @unit_price.to_s.length > 15
|
130
|
-
invalid_properties.push('invalid value for "unit_price", the character length must be smaller than or equal to 15.')
|
131
|
-
end
|
132
|
-
|
133
113
|
invalid_properties
|
134
114
|
end
|
135
115
|
|
136
116
|
# Check to see if the all the properties in the model are valid
|
137
117
|
# @return true if the model is valid
|
138
118
|
def valid?
|
139
|
-
return false if !@product_code.nil? && @product_code.to_s.length > 255
|
140
|
-
return false if !@product_name.nil? && @product_name.to_s.length > 255
|
141
|
-
return false if !@product_sku.nil? && @product_sku.to_s.length > 255
|
142
|
-
return false if !@tax_amount.nil? && @tax_amount.to_s.length > 15
|
143
119
|
return false if !@quantity.nil? && @quantity > 999999999
|
144
120
|
return false if !@quantity.nil? && @quantity < 1
|
145
|
-
return false if !@unit_price.nil? && @unit_price.to_s.length > 15
|
146
121
|
true
|
147
122
|
end
|
148
123
|
|
149
124
|
# Custom attribute writer method with validation
|
150
125
|
# @param [Object] product_code Value to be assigned
|
151
126
|
def product_code=(product_code)
|
152
|
-
if !product_code.nil? && product_code.to_s.length > 255
|
153
|
-
fail ArgumentError, 'invalid value for "product_code", the character length must be smaller than or equal to 255.'
|
154
|
-
end
|
155
|
-
|
156
127
|
@product_code = product_code
|
157
128
|
end
|
158
129
|
|
159
130
|
# Custom attribute writer method with validation
|
160
131
|
# @param [Object] product_name Value to be assigned
|
161
132
|
def product_name=(product_name)
|
162
|
-
if !product_name.nil? && product_name.to_s.length > 255
|
163
|
-
fail ArgumentError, 'invalid value for "product_name", the character length must be smaller than or equal to 255.'
|
164
|
-
end
|
165
|
-
|
166
133
|
@product_name = product_name
|
167
134
|
end
|
168
135
|
|
169
136
|
# Custom attribute writer method with validation
|
170
137
|
# @param [Object] product_sku Value to be assigned
|
171
138
|
def product_sku=(product_sku)
|
172
|
-
if !product_sku.nil? && product_sku.to_s.length > 255
|
173
|
-
fail ArgumentError, 'invalid value for "product_sku", the character length must be smaller than or equal to 255.'
|
174
|
-
end
|
175
|
-
|
176
139
|
@product_sku = product_sku
|
177
140
|
end
|
178
141
|
|
179
142
|
# Custom attribute writer method with validation
|
180
143
|
# @param [Object] tax_amount Value to be assigned
|
181
144
|
def tax_amount=(tax_amount)
|
182
|
-
if !tax_amount.nil? && tax_amount.to_s.length > 15
|
183
|
-
fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 15.'
|
184
|
-
end
|
185
|
-
|
186
145
|
@tax_amount = tax_amount
|
187
146
|
end
|
188
147
|
|
@@ -203,10 +162,6 @@ module CyberSource
|
|
203
162
|
# Custom attribute writer method with validation
|
204
163
|
# @param [Object] unit_price Value to be assigned
|
205
164
|
def unit_price=(unit_price)
|
206
|
-
if !unit_price.nil? && unit_price.to_s.length > 15
|
207
|
-
fail ArgumentError, 'invalid value for "unit_price", the character length must be smaller than or equal to 15.'
|
208
|
-
end
|
209
|
-
|
210
165
|
@unit_price = unit_price
|
211
166
|
end
|
212
167
|
|