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