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
@@ -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 !@low_value_exemption_indicator.nil? && @low_value_exemption_indicator.to_s.length > 1
|
97
|
-
invalid_properties.push('invalid value for "low_value_exemption_indicator", the character length must be smaller than or equal to 1.')
|
98
|
-
end
|
99
|
-
|
100
|
-
if !@risk_analysis_exemption_indicator.nil? && @risk_analysis_exemption_indicator.to_s.length > 1
|
101
|
-
invalid_properties.push('invalid value for "risk_analysis_exemption_indicator", the character length must be smaller than or equal to 1.')
|
102
|
-
end
|
103
|
-
|
104
|
-
if !@trusted_merchant_exemption_indicator.nil? && @trusted_merchant_exemption_indicator.to_s.length > 1
|
105
|
-
invalid_properties.push('invalid value for "trusted_merchant_exemption_indicator", the character length must be smaller than or equal to 1.')
|
106
|
-
end
|
107
|
-
|
108
|
-
if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
|
109
|
-
invalid_properties.push('invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.')
|
110
|
-
end
|
111
|
-
|
112
|
-
if !@delegated_authentication_exemption_indicator.nil? && @delegated_authentication_exemption_indicator.to_s.length > 1
|
113
|
-
invalid_properties.push('invalid value for "delegated_authentication_exemption_indicator", the character length must be smaller than or equal to 1.')
|
114
|
-
end
|
115
|
-
|
116
|
-
if !@authentication_indicator.nil? && @authentication_indicator.to_s.length > 2
|
117
|
-
invalid_properties.push('invalid value for "authentication_indicator", the character length must be smaller than or equal to 2.')
|
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 !@low_value_exemption_indicator.nil? && @low_value_exemption_indicator.to_s.length > 1
|
127
|
-
return false if !@risk_analysis_exemption_indicator.nil? && @risk_analysis_exemption_indicator.to_s.length > 1
|
128
|
-
return false if !@trusted_merchant_exemption_indicator.nil? && @trusted_merchant_exemption_indicator.to_s.length > 1
|
129
|
-
return false if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
|
130
|
-
return false if !@delegated_authentication_exemption_indicator.nil? && @delegated_authentication_exemption_indicator.to_s.length > 1
|
131
|
-
return false if !@authentication_indicator.nil? && @authentication_indicator.to_s.length > 2
|
132
102
|
true
|
133
103
|
end
|
134
104
|
|
135
105
|
# Custom attribute writer method with validation
|
136
106
|
# @param [Object] low_value_exemption_indicator Value to be assigned
|
137
107
|
def low_value_exemption_indicator=(low_value_exemption_indicator)
|
138
|
-
if !low_value_exemption_indicator.nil? && low_value_exemption_indicator.to_s.length > 1
|
139
|
-
fail ArgumentError, 'invalid value for "low_value_exemption_indicator", the character length must be smaller than or equal to 1.'
|
140
|
-
end
|
141
|
-
|
142
108
|
@low_value_exemption_indicator = low_value_exemption_indicator
|
143
109
|
end
|
144
110
|
|
145
111
|
# Custom attribute writer method with validation
|
146
112
|
# @param [Object] risk_analysis_exemption_indicator Value to be assigned
|
147
113
|
def risk_analysis_exemption_indicator=(risk_analysis_exemption_indicator)
|
148
|
-
if !risk_analysis_exemption_indicator.nil? && risk_analysis_exemption_indicator.to_s.length > 1
|
149
|
-
fail ArgumentError, 'invalid value for "risk_analysis_exemption_indicator", the character length must be smaller than or equal to 1.'
|
150
|
-
end
|
151
|
-
|
152
114
|
@risk_analysis_exemption_indicator = risk_analysis_exemption_indicator
|
153
115
|
end
|
154
116
|
|
155
117
|
# Custom attribute writer method with validation
|
156
118
|
# @param [Object] trusted_merchant_exemption_indicator Value to be assigned
|
157
119
|
def trusted_merchant_exemption_indicator=(trusted_merchant_exemption_indicator)
|
158
|
-
if !trusted_merchant_exemption_indicator.nil? && trusted_merchant_exemption_indicator.to_s.length > 1
|
159
|
-
fail ArgumentError, 'invalid value for "trusted_merchant_exemption_indicator", the character length must be smaller than or equal to 1.'
|
160
|
-
end
|
161
|
-
|
162
120
|
@trusted_merchant_exemption_indicator = trusted_merchant_exemption_indicator
|
163
121
|
end
|
164
122
|
|
165
123
|
# Custom attribute writer method with validation
|
166
124
|
# @param [Object] secure_corporate_payment_indicator Value to be assigned
|
167
125
|
def secure_corporate_payment_indicator=(secure_corporate_payment_indicator)
|
168
|
-
if !secure_corporate_payment_indicator.nil? && secure_corporate_payment_indicator.to_s.length > 1
|
169
|
-
fail ArgumentError, 'invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.'
|
170
|
-
end
|
171
|
-
|
172
126
|
@secure_corporate_payment_indicator = secure_corporate_payment_indicator
|
173
127
|
end
|
174
128
|
|
175
129
|
# Custom attribute writer method with validation
|
176
130
|
# @param [Object] delegated_authentication_exemption_indicator Value to be assigned
|
177
131
|
def delegated_authentication_exemption_indicator=(delegated_authentication_exemption_indicator)
|
178
|
-
if !delegated_authentication_exemption_indicator.nil? && delegated_authentication_exemption_indicator.to_s.length > 1
|
179
|
-
fail ArgumentError, 'invalid value for "delegated_authentication_exemption_indicator", the character length must be smaller than or equal to 1.'
|
180
|
-
end
|
181
|
-
|
182
132
|
@delegated_authentication_exemption_indicator = delegated_authentication_exemption_indicator
|
183
133
|
end
|
184
134
|
|
185
135
|
# Custom attribute writer method with validation
|
186
136
|
# @param [Object] authentication_indicator Value to be assigned
|
187
137
|
def authentication_indicator=(authentication_indicator)
|
188
|
-
if !authentication_indicator.nil? && authentication_indicator.to_s.length > 2
|
189
|
-
fail ArgumentError, 'invalid value for "authentication_indicator", the character length must be smaller than or equal to 2.'
|
190
|
-
end
|
191
|
-
|
192
138
|
@authentication_indicator = authentication_indicator
|
193
139
|
end
|
194
140
|
|
@@ -26,6 +26,9 @@ module CyberSource
|
|
26
26
|
# Field that contains the session ID that you send to Decision Manager to obtain the device fingerprint information. The string can contain uppercase and lowercase letters, digits, hyphen (-), and underscore (_). However, do not use the same uppercase and lowercase letters to indicate different session IDs. The session ID must be unique for each merchant ID. You can use any string that you are already generating, such as an order number or web session ID. The session ID must be unique for each page load, regardless of an individual’s web session ID. If a user navigates to a profiled page and is assigned a web session, navigates away from the profiled page, then navigates back to the profiled page, the generated session ID should be different and unique. You may use a web session ID, but it is preferable to use an application GUID (Globally Unique Identifier). This measure ensures that a unique ID is generated every time the page is loaded, even if it is the same user reloading the page.
|
27
27
|
attr_accessor :fingerprint_session_id
|
28
28
|
|
29
|
+
# Boolean that indicates whether request contains the device fingerprint information. Values: - `true`: Use raw fingerprintSessionId when looking up device details. - `false` (default): Use merchant id + fingerprintSessionId as the session id for Device detail collection.
|
30
|
+
attr_accessor :use_raw_fingerprint_session_id
|
31
|
+
|
29
32
|
attr_accessor :raw_data
|
30
33
|
|
31
34
|
# Value of the Accept header sent by the customer’s web browser. **Note** If the customer’s browser provides a value, you must include it in your request.
|
@@ -68,6 +71,7 @@ module CyberSource
|
|
68
71
|
:'ip_address' => :'ipAddress',
|
69
72
|
:'user_agent' => :'userAgent',
|
70
73
|
:'fingerprint_session_id' => :'fingerprintSessionId',
|
74
|
+
:'use_raw_fingerprint_session_id' => :'useRawFingerprintSessionId',
|
71
75
|
:'raw_data' => :'rawData',
|
72
76
|
:'http_accept_browser_value' => :'httpAcceptBrowserValue',
|
73
77
|
:'http_accept_content' => :'httpAcceptContent',
|
@@ -90,6 +94,7 @@ module CyberSource
|
|
90
94
|
:'ip_address' => :'String',
|
91
95
|
:'user_agent' => :'String',
|
92
96
|
:'fingerprint_session_id' => :'String',
|
97
|
+
:'use_raw_fingerprint_session_id' => :'BOOLEAN',
|
93
98
|
:'raw_data' => :'Array<Ptsv2paymentsDeviceInformationRawData>',
|
94
99
|
:'http_accept_browser_value' => :'String',
|
95
100
|
:'http_accept_content' => :'String',
|
@@ -129,6 +134,10 @@ module CyberSource
|
|
129
134
|
self.fingerprint_session_id = attributes[:'fingerprintSessionId']
|
130
135
|
end
|
131
136
|
|
137
|
+
if attributes.has_key?(:'useRawFingerprintSessionId')
|
138
|
+
self.use_raw_fingerprint_session_id = attributes[:'useRawFingerprintSessionId']
|
139
|
+
end
|
140
|
+
|
132
141
|
if attributes.has_key?(:'rawData')
|
133
142
|
if (value = attributes[:'rawData']).is_a?(Array)
|
134
143
|
self.raw_data = value
|
@@ -184,177 +193,78 @@ module CyberSource
|
|
184
193
|
# @return Array for valid properties with the reasons
|
185
194
|
def list_invalid_properties
|
186
195
|
invalid_properties = Array.new
|
187
|
-
if !@host_name.nil? && @host_name.to_s.length > 60
|
188
|
-
invalid_properties.push('invalid value for "host_name", the character length must be smaller than or equal to 60.')
|
189
|
-
end
|
190
|
-
|
191
|
-
if !@ip_address.nil? && @ip_address.to_s.length > 45
|
192
|
-
invalid_properties.push('invalid value for "ip_address", the character length must be smaller than or equal to 45.')
|
193
|
-
end
|
194
|
-
|
195
|
-
if !@user_agent.nil? && @user_agent.to_s.length > 40
|
196
|
-
invalid_properties.push('invalid value for "user_agent", the character length must be smaller than or equal to 40.')
|
197
|
-
end
|
198
|
-
|
199
|
-
if !@http_accept_browser_value.nil? && @http_accept_browser_value.to_s.length > 255
|
200
|
-
invalid_properties.push('invalid value for "http_accept_browser_value", the character length must be smaller than or equal to 255.')
|
201
|
-
end
|
202
|
-
|
203
|
-
if !@http_accept_content.nil? && @http_accept_content.to_s.length > 256
|
204
|
-
invalid_properties.push('invalid value for "http_accept_content", the character length must be smaller than or equal to 256.')
|
205
|
-
end
|
206
|
-
|
207
|
-
if !@http_browser_language.nil? && @http_browser_language.to_s.length > 8
|
208
|
-
invalid_properties.push('invalid value for "http_browser_language", the character length must be smaller than or equal to 8.')
|
209
|
-
end
|
210
|
-
|
211
|
-
if !@http_browser_color_depth.nil? && @http_browser_color_depth.to_s.length > 2
|
212
|
-
invalid_properties.push('invalid value for "http_browser_color_depth", the character length must be smaller than or equal to 2.')
|
213
|
-
end
|
214
|
-
|
215
|
-
if !@http_browser_screen_height.nil? && @http_browser_screen_height.to_s.length > 6
|
216
|
-
invalid_properties.push('invalid value for "http_browser_screen_height", the character length must be smaller than or equal to 6.')
|
217
|
-
end
|
218
|
-
|
219
|
-
if !@http_browser_screen_width.nil? && @http_browser_screen_width.to_s.length > 6
|
220
|
-
invalid_properties.push('invalid value for "http_browser_screen_width", the character length must be smaller than or equal to 6.')
|
221
|
-
end
|
222
|
-
|
223
|
-
if !@http_browser_time_difference.nil? && @http_browser_time_difference.to_s.length > 5
|
224
|
-
invalid_properties.push('invalid value for "http_browser_time_difference", the character length must be smaller than or equal to 5.')
|
225
|
-
end
|
226
|
-
|
227
|
-
if !@user_agent_browser_value.nil? && @user_agent_browser_value.to_s.length > 255
|
228
|
-
invalid_properties.push('invalid value for "user_agent_browser_value", the character length must be smaller than or equal to 255.')
|
229
|
-
end
|
230
|
-
|
231
196
|
invalid_properties
|
232
197
|
end
|
233
198
|
|
234
199
|
# Check to see if the all the properties in the model are valid
|
235
200
|
# @return true if the model is valid
|
236
201
|
def valid?
|
237
|
-
return false if !@host_name.nil? && @host_name.to_s.length > 60
|
238
|
-
return false if !@ip_address.nil? && @ip_address.to_s.length > 45
|
239
|
-
return false if !@user_agent.nil? && @user_agent.to_s.length > 40
|
240
|
-
return false if !@http_accept_browser_value.nil? && @http_accept_browser_value.to_s.length > 255
|
241
|
-
return false if !@http_accept_content.nil? && @http_accept_content.to_s.length > 256
|
242
|
-
return false if !@http_browser_language.nil? && @http_browser_language.to_s.length > 8
|
243
|
-
return false if !@http_browser_color_depth.nil? && @http_browser_color_depth.to_s.length > 2
|
244
|
-
return false if !@http_browser_screen_height.nil? && @http_browser_screen_height.to_s.length > 6
|
245
|
-
return false if !@http_browser_screen_width.nil? && @http_browser_screen_width.to_s.length > 6
|
246
|
-
return false if !@http_browser_time_difference.nil? && @http_browser_time_difference.to_s.length > 5
|
247
|
-
return false if !@user_agent_browser_value.nil? && @user_agent_browser_value.to_s.length > 255
|
248
202
|
true
|
249
203
|
end
|
250
204
|
|
251
205
|
# Custom attribute writer method with validation
|
252
206
|
# @param [Object] host_name Value to be assigned
|
253
207
|
def host_name=(host_name)
|
254
|
-
if !host_name.nil? && host_name.to_s.length > 60
|
255
|
-
fail ArgumentError, 'invalid value for "host_name", the character length must be smaller than or equal to 60.'
|
256
|
-
end
|
257
|
-
|
258
208
|
@host_name = host_name
|
259
209
|
end
|
260
210
|
|
261
211
|
# Custom attribute writer method with validation
|
262
212
|
# @param [Object] ip_address Value to be assigned
|
263
213
|
def ip_address=(ip_address)
|
264
|
-
if !ip_address.nil? && ip_address.to_s.length > 45
|
265
|
-
fail ArgumentError, 'invalid value for "ip_address", the character length must be smaller than or equal to 45.'
|
266
|
-
end
|
267
|
-
|
268
214
|
@ip_address = ip_address
|
269
215
|
end
|
270
216
|
|
271
217
|
# Custom attribute writer method with validation
|
272
218
|
# @param [Object] user_agent Value to be assigned
|
273
219
|
def user_agent=(user_agent)
|
274
|
-
if !user_agent.nil? && user_agent.to_s.length > 40
|
275
|
-
fail ArgumentError, 'invalid value for "user_agent", the character length must be smaller than or equal to 40.'
|
276
|
-
end
|
277
|
-
|
278
220
|
@user_agent = user_agent
|
279
221
|
end
|
280
222
|
|
281
223
|
# Custom attribute writer method with validation
|
282
224
|
# @param [Object] http_accept_browser_value Value to be assigned
|
283
225
|
def http_accept_browser_value=(http_accept_browser_value)
|
284
|
-
if !http_accept_browser_value.nil? && http_accept_browser_value.to_s.length > 255
|
285
|
-
fail ArgumentError, 'invalid value for "http_accept_browser_value", the character length must be smaller than or equal to 255.'
|
286
|
-
end
|
287
|
-
|
288
226
|
@http_accept_browser_value = http_accept_browser_value
|
289
227
|
end
|
290
228
|
|
291
229
|
# Custom attribute writer method with validation
|
292
230
|
# @param [Object] http_accept_content Value to be assigned
|
293
231
|
def http_accept_content=(http_accept_content)
|
294
|
-
if !http_accept_content.nil? && http_accept_content.to_s.length > 256
|
295
|
-
fail ArgumentError, 'invalid value for "http_accept_content", the character length must be smaller than or equal to 256.'
|
296
|
-
end
|
297
|
-
|
298
232
|
@http_accept_content = http_accept_content
|
299
233
|
end
|
300
234
|
|
301
235
|
# Custom attribute writer method with validation
|
302
236
|
# @param [Object] http_browser_language Value to be assigned
|
303
237
|
def http_browser_language=(http_browser_language)
|
304
|
-
if !http_browser_language.nil? && http_browser_language.to_s.length > 8
|
305
|
-
fail ArgumentError, 'invalid value for "http_browser_language", the character length must be smaller than or equal to 8.'
|
306
|
-
end
|
307
|
-
|
308
238
|
@http_browser_language = http_browser_language
|
309
239
|
end
|
310
240
|
|
311
241
|
# Custom attribute writer method with validation
|
312
242
|
# @param [Object] http_browser_color_depth Value to be assigned
|
313
243
|
def http_browser_color_depth=(http_browser_color_depth)
|
314
|
-
if !http_browser_color_depth.nil? && http_browser_color_depth.to_s.length > 2
|
315
|
-
fail ArgumentError, 'invalid value for "http_browser_color_depth", the character length must be smaller than or equal to 2.'
|
316
|
-
end
|
317
|
-
|
318
244
|
@http_browser_color_depth = http_browser_color_depth
|
319
245
|
end
|
320
246
|
|
321
247
|
# Custom attribute writer method with validation
|
322
248
|
# @param [Object] http_browser_screen_height Value to be assigned
|
323
249
|
def http_browser_screen_height=(http_browser_screen_height)
|
324
|
-
if !http_browser_screen_height.nil? && http_browser_screen_height.to_s.length > 6
|
325
|
-
fail ArgumentError, 'invalid value for "http_browser_screen_height", the character length must be smaller than or equal to 6.'
|
326
|
-
end
|
327
|
-
|
328
250
|
@http_browser_screen_height = http_browser_screen_height
|
329
251
|
end
|
330
252
|
|
331
253
|
# Custom attribute writer method with validation
|
332
254
|
# @param [Object] http_browser_screen_width Value to be assigned
|
333
255
|
def http_browser_screen_width=(http_browser_screen_width)
|
334
|
-
if !http_browser_screen_width.nil? && http_browser_screen_width.to_s.length > 6
|
335
|
-
fail ArgumentError, 'invalid value for "http_browser_screen_width", the character length must be smaller than or equal to 6.'
|
336
|
-
end
|
337
|
-
|
338
256
|
@http_browser_screen_width = http_browser_screen_width
|
339
257
|
end
|
340
258
|
|
341
259
|
# Custom attribute writer method with validation
|
342
260
|
# @param [Object] http_browser_time_difference Value to be assigned
|
343
261
|
def http_browser_time_difference=(http_browser_time_difference)
|
344
|
-
if !http_browser_time_difference.nil? && http_browser_time_difference.to_s.length > 5
|
345
|
-
fail ArgumentError, 'invalid value for "http_browser_time_difference", the character length must be smaller than or equal to 5.'
|
346
|
-
end
|
347
|
-
|
348
262
|
@http_browser_time_difference = http_browser_time_difference
|
349
263
|
end
|
350
264
|
|
351
265
|
# Custom attribute writer method with validation
|
352
266
|
# @param [Object] user_agent_browser_value Value to be assigned
|
353
267
|
def user_agent_browser_value=(user_agent_browser_value)
|
354
|
-
if !user_agent_browser_value.nil? && user_agent_browser_value.to_s.length > 255
|
355
|
-
fail ArgumentError, 'invalid value for "user_agent_browser_value", the character length must be smaller than or equal to 255.'
|
356
|
-
end
|
357
|
-
|
358
268
|
@user_agent_browser_value = user_agent_browser_value
|
359
269
|
end
|
360
270
|
|
@@ -367,6 +277,7 @@ module CyberSource
|
|
367
277
|
ip_address == o.ip_address &&
|
368
278
|
user_agent == o.user_agent &&
|
369
279
|
fingerprint_session_id == o.fingerprint_session_id &&
|
280
|
+
use_raw_fingerprint_session_id == o.use_raw_fingerprint_session_id &&
|
370
281
|
raw_data == o.raw_data &&
|
371
282
|
http_accept_browser_value == o.http_accept_browser_value &&
|
372
283
|
http_accept_content == o.http_accept_content &&
|
@@ -390,7 +301,7 @@ module CyberSource
|
|
390
301
|
# Calculates hash code according to all attributes.
|
391
302
|
# @return [Fixnum] Hash code
|
392
303
|
def hash
|
393
|
-
[host_name, ip_address, user_agent, fingerprint_session_id, raw_data, http_accept_browser_value, http_accept_content, http_browser_email, http_browser_language, http_browser_java_enabled, http_browser_java_script_enabled, http_browser_color_depth, http_browser_screen_height, http_browser_screen_width, http_browser_time_difference, user_agent_browser_value].hash
|
304
|
+
[host_name, ip_address, user_agent, fingerprint_session_id, use_raw_fingerprint_session_id, raw_data, http_accept_browser_value, http_accept_content, http_browser_email, http_browser_language, http_browser_java_enabled, http_browser_java_script_enabled, http_browser_color_depth, http_browser_screen_height, http_browser_screen_width, http_browser_time_difference, user_agent_browser_value].hash
|
394
305
|
end
|
395
306
|
|
396
307
|
# Builds the object from hash
|
@@ -57,27 +57,18 @@ module CyberSource
|
|
57
57
|
# @return Array for valid properties with the reasons
|
58
58
|
def list_invalid_properties
|
59
59
|
invalid_properties = Array.new
|
60
|
-
if !@provider.nil? && @provider.to_s.length > 32
|
61
|
-
invalid_properties.push('invalid value for "provider", the character length must be smaller than or equal to 32.')
|
62
|
-
end
|
63
|
-
|
64
60
|
invalid_properties
|
65
61
|
end
|
66
62
|
|
67
63
|
# Check to see if the all the properties in the model are valid
|
68
64
|
# @return true if the model is valid
|
69
65
|
def valid?
|
70
|
-
return false if !@provider.nil? && @provider.to_s.length > 32
|
71
66
|
true
|
72
67
|
end
|
73
68
|
|
74
69
|
# Custom attribute writer method with validation
|
75
70
|
# @param [Object] provider Value to be assigned
|
76
71
|
def provider=(provider)
|
77
|
-
if !provider.nil? && provider.to_s.length > 32
|
78
|
-
fail ArgumentError, 'invalid value for "provider", the character length must be smaller than or equal to 32.'
|
79
|
-
end
|
80
|
-
|
81
72
|
@provider = provider
|
82
73
|
end
|
83
74
|
|
data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb
CHANGED
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# Total amount that has been spent on healthcare in a transaction. Valid Values for **Visa**: - `healthcare` - Total Amount Healthcare - `healthcare-transit` - Amount Transit - `vision` - Amount Vision/Optical - `prescription` - Amount Prescription/RX - `clinic` - Amount Clinic/Other Qualified Medical - `dental` - Amount Dental `Note:` - Prescription, Clinic and dental amounts must be preceded with the total healthcare amount and cannot occur individually. Vision and Transit must be sent individually and cannot be combined with total healthcare amount or any other amounts. Total Healthcare amount can be sent individually. Valid Values for **MasterCard**: - `prescription` - Amount Prescription/RX - `eligible-total` - Total Amount Healthcare `Note:` - Prescription must be preceded with the total healthcare amount and cannot occur individually. Total Healthcare amount can be sent individually.
|
18
18
|
attr_accessor :amount_type
|
19
19
|
|
20
|
-
# Total Amount that has been spent on
|
20
|
+
# Total Amount that has been spent on the corresponding amountType. This is 13 byte field including sign. If the amount is positive, then it is a debit for the customer. If the amount is negative, then it is a credit for the customer.
|
21
21
|
attr_accessor :amount
|
22
22
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -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 !@amount_type.nil? && @amount_type.to_s.length > 35
|
61
|
-
invalid_properties.push('invalid value for "amount_type", the character length must be smaller than or equal to 35.')
|
62
|
-
end
|
63
|
-
|
64
|
-
if !@amount.nil? && @amount.to_s.length > 13
|
65
|
-
invalid_properties.push('invalid value for "amount", the character length must be smaller than or equal to 13.')
|
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 !@amount_type.nil? && @amount_type.to_s.length > 35
|
75
|
-
return false if !@amount.nil? && @amount.to_s.length > 13
|
76
66
|
true
|
77
67
|
end
|
78
68
|
|
79
69
|
# Custom attribute writer method with validation
|
80
70
|
# @param [Object] amount_type Value to be assigned
|
81
71
|
def amount_type=(amount_type)
|
82
|
-
if !amount_type.nil? && amount_type.to_s.length > 35
|
83
|
-
fail ArgumentError, 'invalid value for "amount_type", the character length must be smaller than or equal to 35.'
|
84
|
-
end
|
85
|
-
|
86
72
|
@amount_type = amount_type
|
87
73
|
end
|
88
74
|
|
89
75
|
# Custom attribute writer method with validation
|
90
76
|
# @param [Object] amount Value to be assigned
|
91
77
|
def amount=(amount)
|
92
|
-
if !amount.nil? && amount.to_s.length > 13
|
93
|
-
fail ArgumentError, 'invalid value for "amount", the character length must be smaller than or equal to 13.'
|
94
|
-
end
|
95
|
-
|
96
78
|
@amount = amount
|
97
79
|
end
|
98
80
|
|
@@ -156,102 +156,40 @@ module CyberSource
|
|
156
156
|
# @return Array for valid properties with the reasons
|
157
157
|
def list_invalid_properties
|
158
158
|
invalid_properties = Array.new
|
159
|
-
if !@amount.nil? && @amount.to_s.length > 12
|
160
|
-
invalid_properties.push('invalid value for "amount", the character length must be smaller than or equal to 12.')
|
161
|
-
end
|
162
|
-
|
163
|
-
if !@frequency.nil? && @frequency.to_s.length > 1
|
164
|
-
invalid_properties.push('invalid value for "frequency", the character length must be smaller than or equal to 1.')
|
165
|
-
end
|
166
|
-
|
167
|
-
if !@plan_type.nil? && @plan_type.to_s.length > 1
|
168
|
-
invalid_properties.push('invalid value for "plan_type", the character length must be smaller than or equal to 1.')
|
169
|
-
end
|
170
|
-
|
171
159
|
if !@sequence.nil? && @sequence > 99
|
172
160
|
invalid_properties.push('invalid value for "sequence", must be smaller than or equal to 99.')
|
173
161
|
end
|
174
162
|
|
175
|
-
if !@total_amount.nil? && @total_amount.to_s.length > 12
|
176
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 12.')
|
177
|
-
end
|
178
|
-
|
179
163
|
if !@total_count.nil? && @total_count > 99
|
180
164
|
invalid_properties.push('invalid value for "total_count", must be smaller than or equal to 99.')
|
181
165
|
end
|
182
166
|
|
183
|
-
if !@first_installment_date.nil? && @first_installment_date.to_s.length > 6
|
184
|
-
invalid_properties.push('invalid value for "first_installment_date", the character length must be smaller than or equal to 6.')
|
185
|
-
end
|
186
|
-
|
187
|
-
if !@invoice_data.nil? && @invoice_data.to_s.length > 20
|
188
|
-
invalid_properties.push('invalid value for "invoice_data", the character length must be smaller than or equal to 20.')
|
189
|
-
end
|
190
|
-
|
191
|
-
if !@payment_type.nil? && @payment_type.to_s.length > 1
|
192
|
-
invalid_properties.push('invalid value for "payment_type", the character length must be smaller than or equal to 1.')
|
193
|
-
end
|
194
|
-
|
195
|
-
if !@eligibility_inquiry.nil? && @eligibility_inquiry.to_s.length > 9
|
196
|
-
invalid_properties.push('invalid value for "eligibility_inquiry", the character length must be smaller than or equal to 9.')
|
197
|
-
end
|
198
|
-
|
199
|
-
if !@grace_period_duration_type.nil? && @grace_period_duration_type.to_s.length > 1
|
200
|
-
invalid_properties.push('invalid value for "grace_period_duration_type", the character length must be smaller than or equal to 1.')
|
201
|
-
end
|
202
|
-
|
203
|
-
if !@first_installment_amount.nil? && @first_installment_amount.to_s.length > 13
|
204
|
-
invalid_properties.push('invalid value for "first_installment_amount", the character length must be smaller than or equal to 13.')
|
205
|
-
end
|
206
|
-
|
207
167
|
invalid_properties
|
208
168
|
end
|
209
169
|
|
210
170
|
# Check to see if the all the properties in the model are valid
|
211
171
|
# @return true if the model is valid
|
212
172
|
def valid?
|
213
|
-
return false if !@amount.nil? && @amount.to_s.length > 12
|
214
|
-
return false if !@frequency.nil? && @frequency.to_s.length > 1
|
215
|
-
return false if !@plan_type.nil? && @plan_type.to_s.length > 1
|
216
173
|
return false if !@sequence.nil? && @sequence > 99
|
217
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 12
|
218
174
|
return false if !@total_count.nil? && @total_count > 99
|
219
|
-
return false if !@first_installment_date.nil? && @first_installment_date.to_s.length > 6
|
220
|
-
return false if !@invoice_data.nil? && @invoice_data.to_s.length > 20
|
221
|
-
return false if !@payment_type.nil? && @payment_type.to_s.length > 1
|
222
|
-
return false if !@eligibility_inquiry.nil? && @eligibility_inquiry.to_s.length > 9
|
223
|
-
return false if !@grace_period_duration_type.nil? && @grace_period_duration_type.to_s.length > 1
|
224
|
-
return false if !@first_installment_amount.nil? && @first_installment_amount.to_s.length > 13
|
225
175
|
true
|
226
176
|
end
|
227
177
|
|
228
178
|
# Custom attribute writer method with validation
|
229
179
|
# @param [Object] amount Value to be assigned
|
230
180
|
def amount=(amount)
|
231
|
-
if !amount.nil? && amount.to_s.length > 12
|
232
|
-
fail ArgumentError, 'invalid value for "amount", the character length must be smaller than or equal to 12.'
|
233
|
-
end
|
234
|
-
|
235
181
|
@amount = amount
|
236
182
|
end
|
237
183
|
|
238
184
|
# Custom attribute writer method with validation
|
239
185
|
# @param [Object] frequency Value to be assigned
|
240
186
|
def frequency=(frequency)
|
241
|
-
if !frequency.nil? && frequency.to_s.length > 1
|
242
|
-
fail ArgumentError, 'invalid value for "frequency", the character length must be smaller than or equal to 1.'
|
243
|
-
end
|
244
|
-
|
245
187
|
@frequency = frequency
|
246
188
|
end
|
247
189
|
|
248
190
|
# Custom attribute writer method with validation
|
249
191
|
# @param [Object] plan_type Value to be assigned
|
250
192
|
def plan_type=(plan_type)
|
251
|
-
if !plan_type.nil? && plan_type.to_s.length > 1
|
252
|
-
fail ArgumentError, 'invalid value for "plan_type", the character length must be smaller than or equal to 1.'
|
253
|
-
end
|
254
|
-
|
255
193
|
@plan_type = plan_type
|
256
194
|
end
|
257
195
|
|
@@ -268,10 +206,6 @@ module CyberSource
|
|
268
206
|
# Custom attribute writer method with validation
|
269
207
|
# @param [Object] total_amount Value to be assigned
|
270
208
|
def total_amount=(total_amount)
|
271
|
-
if !total_amount.nil? && total_amount.to_s.length > 12
|
272
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 12.'
|
273
|
-
end
|
274
|
-
|
275
209
|
@total_amount = total_amount
|
276
210
|
end
|
277
211
|
|
@@ -288,60 +222,36 @@ module CyberSource
|
|
288
222
|
# Custom attribute writer method with validation
|
289
223
|
# @param [Object] first_installment_date Value to be assigned
|
290
224
|
def first_installment_date=(first_installment_date)
|
291
|
-
if !first_installment_date.nil? && first_installment_date.to_s.length > 6
|
292
|
-
fail ArgumentError, 'invalid value for "first_installment_date", the character length must be smaller than or equal to 6.'
|
293
|
-
end
|
294
|
-
|
295
225
|
@first_installment_date = first_installment_date
|
296
226
|
end
|
297
227
|
|
298
228
|
# Custom attribute writer method with validation
|
299
229
|
# @param [Object] invoice_data Value to be assigned
|
300
230
|
def invoice_data=(invoice_data)
|
301
|
-
if !invoice_data.nil? && invoice_data.to_s.length > 20
|
302
|
-
fail ArgumentError, 'invalid value for "invoice_data", the character length must be smaller than or equal to 20.'
|
303
|
-
end
|
304
|
-
|
305
231
|
@invoice_data = invoice_data
|
306
232
|
end
|
307
233
|
|
308
234
|
# Custom attribute writer method with validation
|
309
235
|
# @param [Object] payment_type Value to be assigned
|
310
236
|
def payment_type=(payment_type)
|
311
|
-
if !payment_type.nil? && payment_type.to_s.length > 1
|
312
|
-
fail ArgumentError, 'invalid value for "payment_type", the character length must be smaller than or equal to 1.'
|
313
|
-
end
|
314
|
-
|
315
237
|
@payment_type = payment_type
|
316
238
|
end
|
317
239
|
|
318
240
|
# Custom attribute writer method with validation
|
319
241
|
# @param [Object] eligibility_inquiry Value to be assigned
|
320
242
|
def eligibility_inquiry=(eligibility_inquiry)
|
321
|
-
if !eligibility_inquiry.nil? && eligibility_inquiry.to_s.length > 9
|
322
|
-
fail ArgumentError, 'invalid value for "eligibility_inquiry", the character length must be smaller than or equal to 9.'
|
323
|
-
end
|
324
|
-
|
325
243
|
@eligibility_inquiry = eligibility_inquiry
|
326
244
|
end
|
327
245
|
|
328
246
|
# Custom attribute writer method with validation
|
329
247
|
# @param [Object] grace_period_duration_type Value to be assigned
|
330
248
|
def grace_period_duration_type=(grace_period_duration_type)
|
331
|
-
if !grace_period_duration_type.nil? && grace_period_duration_type.to_s.length > 1
|
332
|
-
fail ArgumentError, 'invalid value for "grace_period_duration_type", the character length must be smaller than or equal to 1.'
|
333
|
-
end
|
334
|
-
|
335
249
|
@grace_period_duration_type = grace_period_duration_type
|
336
250
|
end
|
337
251
|
|
338
252
|
# Custom attribute writer method with validation
|
339
253
|
# @param [Object] first_installment_amount Value to be assigned
|
340
254
|
def first_installment_amount=(first_installment_amount)
|
341
|
-
if !first_installment_amount.nil? && first_installment_amount.to_s.length > 13
|
342
|
-
fail ArgumentError, 'invalid value for "first_installment_amount", the character length must be smaller than or equal to 13.'
|
343
|
-
end
|
344
|
-
|
345
255
|
@first_installment_amount = first_installment_amount
|
346
256
|
end
|
347
257
|
|