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
@@ -103,87 +103,42 @@ module CyberSource
|
|
103
103
|
# @return Array for valid properties with the reasons
|
104
104
|
def list_invalid_properties
|
105
105
|
invalid_properties = Array.new
|
106
|
-
if !@merchant_customer_id.nil? && @merchant_customer_id.to_s.length > 100
|
107
|
-
invalid_properties.push('invalid value for "merchant_customer_id", the character length must be smaller than or equal to 100.')
|
108
|
-
end
|
109
|
-
|
110
|
-
if !@date_of_birth.nil? && @date_of_birth.to_s.length > 8
|
111
|
-
invalid_properties.push('invalid value for "date_of_birth", the character length must be smaller than or equal to 8.')
|
112
|
-
end
|
113
|
-
|
114
|
-
if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 20
|
115
|
-
invalid_properties.push('invalid value for "vat_registration_number", the character length must be smaller than or equal to 20.')
|
116
|
-
end
|
117
|
-
|
118
|
-
if !@company_tax_id.nil? && @company_tax_id.to_s.length > 9
|
119
|
-
invalid_properties.push('invalid value for "company_tax_id", the character length must be smaller than or equal to 9.')
|
120
|
-
end
|
121
|
-
|
122
|
-
if !@hashed_password.nil? && @hashed_password.to_s.length > 100
|
123
|
-
invalid_properties.push('invalid value for "hashed_password", the character length must be smaller than or equal to 100.')
|
124
|
-
end
|
125
|
-
|
126
106
|
invalid_properties
|
127
107
|
end
|
128
108
|
|
129
109
|
# Check to see if the all the properties in the model are valid
|
130
110
|
# @return true if the model is valid
|
131
111
|
def valid?
|
132
|
-
return false if !@merchant_customer_id.nil? && @merchant_customer_id.to_s.length > 100
|
133
|
-
return false if !@date_of_birth.nil? && @date_of_birth.to_s.length > 8
|
134
|
-
return false if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 20
|
135
|
-
return false if !@company_tax_id.nil? && @company_tax_id.to_s.length > 9
|
136
|
-
return false if !@hashed_password.nil? && @hashed_password.to_s.length > 100
|
137
112
|
true
|
138
113
|
end
|
139
114
|
|
140
115
|
# Custom attribute writer method with validation
|
141
116
|
# @param [Object] merchant_customer_id Value to be assigned
|
142
117
|
def merchant_customer_id=(merchant_customer_id)
|
143
|
-
if !merchant_customer_id.nil? && merchant_customer_id.to_s.length > 100
|
144
|
-
fail ArgumentError, 'invalid value for "merchant_customer_id", the character length must be smaller than or equal to 100.'
|
145
|
-
end
|
146
|
-
|
147
118
|
@merchant_customer_id = merchant_customer_id
|
148
119
|
end
|
149
120
|
|
150
121
|
# Custom attribute writer method with validation
|
151
122
|
# @param [Object] date_of_birth Value to be assigned
|
152
123
|
def date_of_birth=(date_of_birth)
|
153
|
-
if !date_of_birth.nil? && date_of_birth.to_s.length > 8
|
154
|
-
fail ArgumentError, 'invalid value for "date_of_birth", the character length must be smaller than or equal to 8.'
|
155
|
-
end
|
156
|
-
|
157
124
|
@date_of_birth = date_of_birth
|
158
125
|
end
|
159
126
|
|
160
127
|
# Custom attribute writer method with validation
|
161
128
|
# @param [Object] vat_registration_number Value to be assigned
|
162
129
|
def vat_registration_number=(vat_registration_number)
|
163
|
-
if !vat_registration_number.nil? && vat_registration_number.to_s.length > 20
|
164
|
-
fail ArgumentError, 'invalid value for "vat_registration_number", the character length must be smaller than or equal to 20.'
|
165
|
-
end
|
166
|
-
|
167
130
|
@vat_registration_number = vat_registration_number
|
168
131
|
end
|
169
132
|
|
170
133
|
# Custom attribute writer method with validation
|
171
134
|
# @param [Object] company_tax_id Value to be assigned
|
172
135
|
def company_tax_id=(company_tax_id)
|
173
|
-
if !company_tax_id.nil? && company_tax_id.to_s.length > 9
|
174
|
-
fail ArgumentError, 'invalid value for "company_tax_id", the character length must be smaller than or equal to 9.'
|
175
|
-
end
|
176
|
-
|
177
136
|
@company_tax_id = company_tax_id
|
178
137
|
end
|
179
138
|
|
180
139
|
# Custom attribute writer method with validation
|
181
140
|
# @param [Object] hashed_password Value to be assigned
|
182
141
|
def hashed_password=(hashed_password)
|
183
|
-
if !hashed_password.nil? && hashed_password.to_s.length > 100
|
184
|
-
fail ArgumentError, 'invalid value for "hashed_password", the character length must be smaller than or equal to 100.'
|
185
|
-
end
|
186
|
-
|
187
142
|
@hashed_password = hashed_password
|
188
143
|
end
|
189
144
|
|
data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb
CHANGED
@@ -66,27 +66,18 @@ 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 !@id.nil? && @id.to_s.length > 26
|
70
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
|
71
|
-
end
|
72
|
-
|
73
69
|
invalid_properties
|
74
70
|
end
|
75
71
|
|
76
72
|
# Check to see if the all the properties in the model are valid
|
77
73
|
# @return true if the model is valid
|
78
74
|
def valid?
|
79
|
-
return false if !@id.nil? && @id.to_s.length > 26
|
80
75
|
true
|
81
76
|
end
|
82
77
|
|
83
78
|
# Custom attribute writer method with validation
|
84
79
|
# @param [Object] id Value to be assigned
|
85
80
|
def id=(id)
|
86
|
-
if !id.nil? && id.to_s.length > 26
|
87
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
|
88
|
-
end
|
89
|
-
|
90
81
|
@id = id
|
91
82
|
end
|
92
83
|
|
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.
|
18
18
|
attr_accessor :code
|
19
19
|
|
20
|
-
# Identifier that you assign to the transaction. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests.
|
20
|
+
# Identifier that you assign to the transaction. Normally generated by a client server to identify a unique API request. **Note** Use this field only if you want to support merchant-initiated reversal and void operations. #### Used by **Authorization, Authorization Reversal, Capture, Credit, and Void** Optional field. #### PIN Debit For a PIN debit reversal, your request must include a request ID or a merchant transaction identifier. Optional field for PIN debit purchase or credit requests.
|
21
21
|
attr_accessor :transaction_id
|
22
22
|
|
23
23
|
# Comments
|
@@ -101,42 +101,24 @@ module CyberSource
|
|
101
101
|
# @return Array for valid properties with the reasons
|
102
102
|
def list_invalid_properties
|
103
103
|
invalid_properties = Array.new
|
104
|
-
if !@code.nil? && @code.to_s.length > 50
|
105
|
-
invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 50.')
|
106
|
-
end
|
107
|
-
|
108
|
-
if !@transaction_id.nil? && @transaction_id.to_s.length > 30
|
109
|
-
invalid_properties.push('invalid value for "transaction_id", the character length must be smaller than or equal to 30.')
|
110
|
-
end
|
111
|
-
|
112
104
|
invalid_properties
|
113
105
|
end
|
114
106
|
|
115
107
|
# Check to see if the all the properties in the model are valid
|
116
108
|
# @return true if the model is valid
|
117
109
|
def valid?
|
118
|
-
return false if !@code.nil? && @code.to_s.length > 50
|
119
|
-
return false if !@transaction_id.nil? && @transaction_id.to_s.length > 30
|
120
110
|
true
|
121
111
|
end
|
122
112
|
|
123
113
|
# Custom attribute writer method with validation
|
124
114
|
# @param [Object] code Value to be assigned
|
125
115
|
def code=(code)
|
126
|
-
if !code.nil? && code.to_s.length > 50
|
127
|
-
fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 50.'
|
128
|
-
end
|
129
|
-
|
130
116
|
@code = code
|
131
117
|
end
|
132
118
|
|
133
119
|
# Custom attribute writer method with validation
|
134
120
|
# @param [Object] transaction_id Value to be assigned
|
135
121
|
def transaction_id=(transaction_id)
|
136
|
-
if !transaction_id.nil? && transaction_id.to_s.length > 30
|
137
|
-
fail ArgumentError, 'invalid value for "transaction_id", the character length must be smaller than or equal to 30.'
|
138
|
-
end
|
139
|
-
|
140
122
|
@transaction_id = transaction_id
|
141
123
|
end
|
142
124
|
|
data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb
CHANGED
@@ -75,72 +75,36 @@ module CyberSource
|
|
75
75
|
# @return Array for valid properties with the reasons
|
76
76
|
def list_invalid_properties
|
77
77
|
invalid_properties = Array.new
|
78
|
-
if !@original_transaction_id.nil? && @original_transaction_id.to_s.length > 32
|
79
|
-
invalid_properties.push('invalid value for "original_transaction_id", the character length must be smaller than or equal to 32.')
|
80
|
-
end
|
81
|
-
|
82
|
-
if !@developer_id.nil? && @developer_id.to_s.length > 8
|
83
|
-
invalid_properties.push('invalid value for "developer_id", the character length must be smaller than or equal to 8.')
|
84
|
-
end
|
85
|
-
|
86
|
-
if !@solution_id.nil? && @solution_id.to_s.length > 8
|
87
|
-
invalid_properties.push('invalid value for "solution_id", the character length must be smaller than or equal to 8.')
|
88
|
-
end
|
89
|
-
|
90
|
-
if !@third_party_certification_number.nil? && @third_party_certification_number.to_s.length > 12
|
91
|
-
invalid_properties.push('invalid value for "third_party_certification_number", the character length must be smaller than or equal to 12.')
|
92
|
-
end
|
93
|
-
|
94
78
|
invalid_properties
|
95
79
|
end
|
96
80
|
|
97
81
|
# Check to see if the all the properties in the model are valid
|
98
82
|
# @return true if the model is valid
|
99
83
|
def valid?
|
100
|
-
return false if !@original_transaction_id.nil? && @original_transaction_id.to_s.length > 32
|
101
|
-
return false if !@developer_id.nil? && @developer_id.to_s.length > 8
|
102
|
-
return false if !@solution_id.nil? && @solution_id.to_s.length > 8
|
103
|
-
return false if !@third_party_certification_number.nil? && @third_party_certification_number.to_s.length > 12
|
104
84
|
true
|
105
85
|
end
|
106
86
|
|
107
87
|
# Custom attribute writer method with validation
|
108
88
|
# @param [Object] original_transaction_id Value to be assigned
|
109
89
|
def original_transaction_id=(original_transaction_id)
|
110
|
-
if !original_transaction_id.nil? && original_transaction_id.to_s.length > 32
|
111
|
-
fail ArgumentError, 'invalid value for "original_transaction_id", the character length must be smaller than or equal to 32.'
|
112
|
-
end
|
113
|
-
|
114
90
|
@original_transaction_id = original_transaction_id
|
115
91
|
end
|
116
92
|
|
117
93
|
# Custom attribute writer method with validation
|
118
94
|
# @param [Object] developer_id Value to be assigned
|
119
95
|
def developer_id=(developer_id)
|
120
|
-
if !developer_id.nil? && developer_id.to_s.length > 8
|
121
|
-
fail ArgumentError, 'invalid value for "developer_id", the character length must be smaller than or equal to 8.'
|
122
|
-
end
|
123
|
-
|
124
96
|
@developer_id = developer_id
|
125
97
|
end
|
126
98
|
|
127
99
|
# Custom attribute writer method with validation
|
128
100
|
# @param [Object] solution_id Value to be assigned
|
129
101
|
def solution_id=(solution_id)
|
130
|
-
if !solution_id.nil? && solution_id.to_s.length > 8
|
131
|
-
fail ArgumentError, 'invalid value for "solution_id", the character length must be smaller than or equal to 8.'
|
132
|
-
end
|
133
|
-
|
134
102
|
@solution_id = solution_id
|
135
103
|
end
|
136
104
|
|
137
105
|
# Custom attribute writer method with validation
|
138
106
|
# @param [Object] third_party_certification_number Value to be assigned
|
139
107
|
def third_party_certification_number=(third_party_certification_number)
|
140
|
-
if !third_party_certification_number.nil? && third_party_certification_number.to_s.length > 12
|
141
|
-
fail ArgumentError, 'invalid value for "third_party_certification_number", the character length must be smaller than or equal to 12.'
|
142
|
-
end
|
143
|
-
|
144
108
|
@third_party_certification_number = third_party_certification_number
|
145
109
|
end
|
146
110
|
|
data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb
CHANGED
@@ -49,6 +49,9 @@ module CyberSource
|
|
49
49
|
# Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
|
50
50
|
attr_accessor :authentication_type
|
51
51
|
|
52
|
+
# Unique transaction identifier assigned by the ACS to identify a single transaction. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC.
|
53
|
+
attr_accessor :acs_transaction_id
|
54
|
+
|
52
55
|
# An override field that a merchant can pass in to set the challenge window size to display to the end cardholder. The ACS (Active Control Server) will reply with content that is formatted appropriately to this window size to allow for the best user experience. The sizes are width x height in pixels of the window displayed in the cardholder browser window. 01 - 250x400 02 - 390x400 03 - 500x600 04 - 600x400 05 - Full page
|
53
56
|
attr_accessor :acs_window_size
|
54
57
|
|
@@ -61,7 +64,7 @@ module CyberSource
|
|
61
64
|
# Mechanism used by the cardholder to authenticate to the 3D Secure requestor. Possible values: - `01`: No authentication occurred - `02`: Login using merchant system credentials - `03`: Login using Federated ID - `04`: Login using issuer credentials - `05`: Login using third-party authenticator - `06`: Login using FIDO Authenticator
|
62
65
|
attr_accessor :alternate_authentication_method
|
63
66
|
|
64
|
-
# The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider.
|
67
|
+
# The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider. This field is supported for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC. Format: YYYYMMDDHHMMSS
|
65
68
|
attr_accessor :authentication_date
|
66
69
|
|
67
70
|
# Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. **Note**: Required for Standard integration for enroll service. Required for Hybrid integration for validate service.
|
@@ -112,6 +115,9 @@ module CyberSource
|
|
112
115
|
# Category of the message for a specific use case. Possible values: - `01`: PA- payment authentication - `02`: NPA- non-payment authentication - `03-79`: Reserved for EMVCo future use (values invalid until defined by EMVCo) - `80-99`: Reserved for DS use
|
113
116
|
attr_accessor :message_category
|
114
117
|
|
118
|
+
# The global score calculated by the CB scoring platform and returned to merchants. Possible values: - '00' - '99' When you request the payer authentication and authorization services separately, get the value for this field from the pa_network_score reply field. This field is supported only for Cartes Bancaires Fast'R transactions on Credit Mutuel-CIC.
|
119
|
+
attr_accessor :network_score
|
120
|
+
|
115
121
|
# Non-Payer Authentication Indicator. Possible values: - `01`: Add card - `02`: Maintain card information - `03`: Cardholder verification for EMV token - `04-80` Reserved for EMVCo - `80-90` Reserved DS
|
116
122
|
attr_accessor :npa_code
|
117
123
|
|
@@ -184,6 +190,7 @@ module CyberSource
|
|
184
190
|
:'directory_server_transaction_id' => :'directoryServerTransactionId',
|
185
191
|
:'pa_specification_version' => :'paSpecificationVersion',
|
186
192
|
:'authentication_type' => :'authenticationType',
|
193
|
+
:'acs_transaction_id' => :'acsTransactionId',
|
187
194
|
:'acs_window_size' => :'acsWindowSize',
|
188
195
|
:'alternate_authentication_data' => :'alternateAuthenticationData',
|
189
196
|
:'alternate_authentication_date' => :'alternateAuthenticationDate',
|
@@ -205,6 +212,7 @@ module CyberSource
|
|
205
212
|
:'mcc' => :'mcc',
|
206
213
|
:'merchant_score' => :'merchantScore',
|
207
214
|
:'message_category' => :'messageCategory',
|
215
|
+
:'network_score' => :'networkScore',
|
208
216
|
:'npa_code' => :'npaCode',
|
209
217
|
:'override_payment_method' => :'overridePaymentMethod',
|
210
218
|
:'override_country_code' => :'overrideCountryCode',
|
@@ -242,6 +250,7 @@ module CyberSource
|
|
242
250
|
:'directory_server_transaction_id' => :'String',
|
243
251
|
:'pa_specification_version' => :'String',
|
244
252
|
:'authentication_type' => :'String',
|
253
|
+
:'acs_transaction_id' => :'String',
|
245
254
|
:'acs_window_size' => :'String',
|
246
255
|
:'alternate_authentication_data' => :'String',
|
247
256
|
:'alternate_authentication_date' => :'String',
|
@@ -263,6 +272,7 @@ module CyberSource
|
|
263
272
|
:'mcc' => :'String',
|
264
273
|
:'merchant_score' => :'Integer',
|
265
274
|
:'message_category' => :'String',
|
275
|
+
:'network_score' => :'String',
|
266
276
|
:'npa_code' => :'String',
|
267
277
|
:'override_payment_method' => :'String',
|
268
278
|
:'override_country_code' => :'String',
|
@@ -341,6 +351,10 @@ module CyberSource
|
|
341
351
|
self.authentication_type = attributes[:'authenticationType']
|
342
352
|
end
|
343
353
|
|
354
|
+
if attributes.has_key?(:'acsTransactionId')
|
355
|
+
self.acs_transaction_id = attributes[:'acsTransactionId']
|
356
|
+
end
|
357
|
+
|
344
358
|
if attributes.has_key?(:'acsWindowSize')
|
345
359
|
self.acs_window_size = attributes[:'acsWindowSize']
|
346
360
|
end
|
@@ -425,6 +439,10 @@ module CyberSource
|
|
425
439
|
self.message_category = attributes[:'messageCategory']
|
426
440
|
end
|
427
441
|
|
442
|
+
if attributes.has_key?(:'networkScore')
|
443
|
+
self.network_score = attributes[:'networkScore']
|
444
|
+
end
|
445
|
+
|
428
446
|
if attributes.has_key?(:'npaCode')
|
429
447
|
self.npa_code = attributes[:'npaCode']
|
430
448
|
end
|
@@ -506,627 +524,270 @@ module CyberSource
|
|
506
524
|
# @return Array for valid properties with the reasons
|
507
525
|
def list_invalid_properties
|
508
526
|
invalid_properties = Array.new
|
509
|
-
if !@cavv.nil? && @cavv.to_s.length > 40
|
510
|
-
invalid_properties.push('invalid value for "cavv", the character length must be smaller than or equal to 40.')
|
511
|
-
end
|
512
|
-
|
513
|
-
if !@cavv_algorithm.nil? && @cavv_algorithm.to_s.length > 1
|
514
|
-
invalid_properties.push('invalid value for "cavv_algorithm", the character length must be smaller than or equal to 1.')
|
515
|
-
end
|
516
|
-
|
517
|
-
if !@eci_raw.nil? && @eci_raw.to_s.length > 2
|
518
|
-
invalid_properties.push('invalid value for "eci_raw", the character length must be smaller than or equal to 2.')
|
519
|
-
end
|
520
|
-
|
521
|
-
if !@pares_status.nil? && @pares_status.to_s.length > 1
|
522
|
-
invalid_properties.push('invalid value for "pares_status", the character length must be smaller than or equal to 1.')
|
523
|
-
end
|
524
|
-
|
525
|
-
if !@veres_enrolled.nil? && @veres_enrolled.to_s.length > 1
|
526
|
-
invalid_properties.push('invalid value for "veres_enrolled", the character length must be smaller than or equal to 1.')
|
527
|
-
end
|
528
|
-
|
529
|
-
if !@xid.nil? && @xid.to_s.length > 40
|
530
|
-
invalid_properties.push('invalid value for "xid", the character length must be smaller than or equal to 40.')
|
531
|
-
end
|
532
|
-
|
533
|
-
if !@ucaf_collection_indicator.nil? && @ucaf_collection_indicator.to_s.length > 1
|
534
|
-
invalid_properties.push('invalid value for "ucaf_collection_indicator", the character length must be smaller than or equal to 1.')
|
535
|
-
end
|
536
|
-
|
537
|
-
if !@ucaf_authentication_data.nil? && @ucaf_authentication_data.to_s.length > 32
|
538
|
-
invalid_properties.push('invalid value for "ucaf_authentication_data", the character length must be smaller than or equal to 32.')
|
539
|
-
end
|
540
|
-
|
541
|
-
if !@directory_server_transaction_id.nil? && @directory_server_transaction_id.to_s.length > 36
|
542
|
-
invalid_properties.push('invalid value for "directory_server_transaction_id", the character length must be smaller than or equal to 36.')
|
543
|
-
end
|
544
|
-
|
545
|
-
if !@pa_specification_version.nil? && @pa_specification_version.to_s.length > 1
|
546
|
-
invalid_properties.push('invalid value for "pa_specification_version", the character length must be smaller than or equal to 1.')
|
547
|
-
end
|
548
|
-
|
549
|
-
if !@authentication_type.nil? && @authentication_type.to_s.length > 2
|
550
|
-
invalid_properties.push('invalid value for "authentication_type", the character length must be smaller than or equal to 2.')
|
551
|
-
end
|
552
|
-
|
553
|
-
if !@acs_window_size.nil? && @acs_window_size.to_s.length > 2
|
554
|
-
invalid_properties.push('invalid value for "acs_window_size", the character length must be smaller than or equal to 2.')
|
555
|
-
end
|
556
|
-
|
557
|
-
if !@alternate_authentication_data.nil? && @alternate_authentication_data.to_s.length > 2048
|
558
|
-
invalid_properties.push('invalid value for "alternate_authentication_data", the character length must be smaller than or equal to 2048.')
|
559
|
-
end
|
560
|
-
|
561
|
-
if !@alternate_authentication_date.nil? && @alternate_authentication_date.to_s.length > 14
|
562
|
-
invalid_properties.push('invalid value for "alternate_authentication_date", the character length must be smaller than or equal to 14.')
|
563
|
-
end
|
564
|
-
|
565
|
-
if !@authentication_date.nil? && @authentication_date.to_s.length > 14
|
566
|
-
invalid_properties.push('invalid value for "authentication_date", the character length must be smaller than or equal to 14.')
|
567
|
-
end
|
568
|
-
|
569
|
-
if !@authentication_transaction_id.nil? && @authentication_transaction_id.to_s.length > 20
|
570
|
-
invalid_properties.push('invalid value for "authentication_transaction_id", the character length must be smaller than or equal to 20.')
|
571
|
-
end
|
572
|
-
|
573
|
-
if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
|
574
|
-
invalid_properties.push('invalid value for "challenge_cancel_code", the character length must be smaller than or equal to 2.')
|
575
|
-
end
|
576
|
-
|
577
|
-
if !@challenge_status.nil? && @challenge_status.to_s.length > 2
|
578
|
-
invalid_properties.push('invalid value for "challenge_status", the character length must be smaller than or equal to 2.')
|
579
|
-
end
|
580
|
-
|
581
|
-
if !@customer_card_alias.nil? && @customer_card_alias.to_s.length > 128
|
582
|
-
invalid_properties.push('invalid value for "customer_card_alias", the character length must be smaller than or equal to 128.')
|
583
|
-
end
|
584
|
-
|
585
|
-
if !@decoupled_authentication_indicator.nil? && @decoupled_authentication_indicator.to_s.length > 1
|
586
|
-
invalid_properties.push('invalid value for "decoupled_authentication_indicator", the character length must be smaller than or equal to 1.')
|
587
|
-
end
|
588
|
-
|
589
|
-
if !@decoupled_authentication_max_time.nil? && @decoupled_authentication_max_time.to_s.length > 5
|
590
|
-
invalid_properties.push('invalid value for "decoupled_authentication_max_time", the character length must be smaller than or equal to 5.')
|
591
|
-
end
|
592
|
-
|
593
|
-
if !@device_channel.nil? && @device_channel.to_s.length > 10
|
594
|
-
invalid_properties.push('invalid value for "device_channel", the character length must be smaller than or equal to 10.')
|
595
|
-
end
|
596
|
-
|
597
|
-
if !@merchant_fraud_rate.nil? && @merchant_fraud_rate.to_s.length > 2
|
598
|
-
invalid_properties.push('invalid value for "merchant_fraud_rate", the character length must be smaller than or equal to 2.')
|
599
|
-
end
|
600
|
-
|
601
|
-
if !@marketing_source.nil? && @marketing_source.to_s.length > 40
|
602
|
-
invalid_properties.push('invalid value for "marketing_source", the character length must be smaller than or equal to 40.')
|
603
|
-
end
|
604
|
-
|
605
|
-
if !@mcc.nil? && @mcc.to_s.length > 4
|
606
|
-
invalid_properties.push('invalid value for "mcc", the character length must be smaller than or equal to 4.')
|
607
|
-
end
|
608
|
-
|
609
|
-
if !@npa_code.nil? && @npa_code.to_s.length > 2
|
610
|
-
invalid_properties.push('invalid value for "npa_code", the character length must be smaller than or equal to 2.')
|
611
|
-
end
|
612
|
-
|
613
|
-
if !@override_country_code.nil? && @override_country_code.to_s.length > 2
|
614
|
-
invalid_properties.push('invalid value for "override_country_code", the character length must be smaller than or equal to 2.')
|
615
|
-
end
|
616
|
-
|
617
|
-
if !@prior_authentication_data.nil? && @prior_authentication_data.to_s.length > 2048
|
618
|
-
invalid_properties.push('invalid value for "prior_authentication_data", the character length must be smaller than or equal to 2048.')
|
619
|
-
end
|
620
|
-
|
621
|
-
if !@prior_authentication_method.nil? && @prior_authentication_method.to_s.length > 2
|
622
|
-
invalid_properties.push('invalid value for "prior_authentication_method", the character length must be smaller than or equal to 2.')
|
623
|
-
end
|
624
|
-
|
625
|
-
if !@prior_authentication_reference_id.nil? && @prior_authentication_reference_id.to_s.length > 36
|
626
|
-
invalid_properties.push('invalid value for "prior_authentication_reference_id", the character length must be smaller than or equal to 36.')
|
627
|
-
end
|
628
|
-
|
629
|
-
if !@prior_authentication_time.nil? && @prior_authentication_time.to_s.length > 12
|
630
|
-
invalid_properties.push('invalid value for "prior_authentication_time", the character length must be smaller than or equal to 12.')
|
631
|
-
end
|
632
|
-
|
633
|
-
if !@product_code.nil? && @product_code.to_s.length > 3
|
634
|
-
invalid_properties.push('invalid value for "product_code", the character length must be smaller than or equal to 3.')
|
635
|
-
end
|
636
|
-
|
637
|
-
if !@requestor_id.nil? && @requestor_id.to_s.length > 35
|
638
|
-
invalid_properties.push('invalid value for "requestor_id", the character length must be smaller than or equal to 35.')
|
639
|
-
end
|
640
|
-
|
641
|
-
if !@requestor_initiated_authentication_indicator.nil? && @requestor_initiated_authentication_indicator.to_s.length > 2
|
642
|
-
invalid_properties.push('invalid value for "requestor_initiated_authentication_indicator", the character length must be smaller than or equal to 2.')
|
643
|
-
end
|
644
|
-
|
645
|
-
if !@requestor_name.nil? && @requestor_name.to_s.length > 40
|
646
|
-
invalid_properties.push('invalid value for "requestor_name", the character length must be smaller than or equal to 40.')
|
647
|
-
end
|
648
|
-
|
649
|
-
if !@reference_id.nil? && @reference_id.to_s.length > 50
|
650
|
-
invalid_properties.push('invalid value for "reference_id", the character length must be smaller than or equal to 50.')
|
651
|
-
end
|
652
|
-
|
653
|
-
if !@sdk_max_timeout.nil? && @sdk_max_timeout.to_s.length > 2
|
654
|
-
invalid_properties.push('invalid value for "sdk_max_timeout", the character length must be smaller than or equal to 2.')
|
655
|
-
end
|
656
|
-
|
657
|
-
if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
|
658
|
-
invalid_properties.push('invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.')
|
659
|
-
end
|
660
|
-
|
661
|
-
if !@white_list_status.nil? && @white_list_status.to_s.length > 1
|
662
|
-
invalid_properties.push('invalid value for "white_list_status", the character length must be smaller than or equal to 1.')
|
663
|
-
end
|
664
|
-
|
665
|
-
if !@effective_authentication_type.nil? && @effective_authentication_type.to_s.length > 2
|
666
|
-
invalid_properties.push('invalid value for "effective_authentication_type", the character length must be smaller than or equal to 2.')
|
667
|
-
end
|
668
|
-
|
669
|
-
if !@signed_pares_status_reason.nil? && @signed_pares_status_reason.to_s.length > 2
|
670
|
-
invalid_properties.push('invalid value for "signed_pares_status_reason", the character length must be smaller than or equal to 2.')
|
671
|
-
end
|
672
|
-
|
673
527
|
invalid_properties
|
674
528
|
end
|
675
529
|
|
676
530
|
# Check to see if the all the properties in the model are valid
|
677
531
|
# @return true if the model is valid
|
678
532
|
def valid?
|
679
|
-
return false if !@cavv.nil? && @cavv.to_s.length > 40
|
680
|
-
return false if !@cavv_algorithm.nil? && @cavv_algorithm.to_s.length > 1
|
681
|
-
return false if !@eci_raw.nil? && @eci_raw.to_s.length > 2
|
682
|
-
return false if !@pares_status.nil? && @pares_status.to_s.length > 1
|
683
|
-
return false if !@veres_enrolled.nil? && @veres_enrolled.to_s.length > 1
|
684
|
-
return false if !@xid.nil? && @xid.to_s.length > 40
|
685
|
-
return false if !@ucaf_collection_indicator.nil? && @ucaf_collection_indicator.to_s.length > 1
|
686
|
-
return false if !@ucaf_authentication_data.nil? && @ucaf_authentication_data.to_s.length > 32
|
687
|
-
return false if !@directory_server_transaction_id.nil? && @directory_server_transaction_id.to_s.length > 36
|
688
|
-
return false if !@pa_specification_version.nil? && @pa_specification_version.to_s.length > 1
|
689
|
-
return false if !@authentication_type.nil? && @authentication_type.to_s.length > 2
|
690
|
-
return false if !@acs_window_size.nil? && @acs_window_size.to_s.length > 2
|
691
|
-
return false if !@alternate_authentication_data.nil? && @alternate_authentication_data.to_s.length > 2048
|
692
|
-
return false if !@alternate_authentication_date.nil? && @alternate_authentication_date.to_s.length > 14
|
693
|
-
return false if !@authentication_date.nil? && @authentication_date.to_s.length > 14
|
694
|
-
return false if !@authentication_transaction_id.nil? && @authentication_transaction_id.to_s.length > 20
|
695
|
-
return false if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
|
696
|
-
return false if !@challenge_status.nil? && @challenge_status.to_s.length > 2
|
697
|
-
return false if !@customer_card_alias.nil? && @customer_card_alias.to_s.length > 128
|
698
|
-
return false if !@decoupled_authentication_indicator.nil? && @decoupled_authentication_indicator.to_s.length > 1
|
699
|
-
return false if !@decoupled_authentication_max_time.nil? && @decoupled_authentication_max_time.to_s.length > 5
|
700
|
-
return false if !@device_channel.nil? && @device_channel.to_s.length > 10
|
701
|
-
return false if !@merchant_fraud_rate.nil? && @merchant_fraud_rate.to_s.length > 2
|
702
|
-
return false if !@marketing_source.nil? && @marketing_source.to_s.length > 40
|
703
|
-
return false if !@mcc.nil? && @mcc.to_s.length > 4
|
704
|
-
return false if !@npa_code.nil? && @npa_code.to_s.length > 2
|
705
|
-
return false if !@override_country_code.nil? && @override_country_code.to_s.length > 2
|
706
|
-
return false if !@prior_authentication_data.nil? && @prior_authentication_data.to_s.length > 2048
|
707
|
-
return false if !@prior_authentication_method.nil? && @prior_authentication_method.to_s.length > 2
|
708
|
-
return false if !@prior_authentication_reference_id.nil? && @prior_authentication_reference_id.to_s.length > 36
|
709
|
-
return false if !@prior_authentication_time.nil? && @prior_authentication_time.to_s.length > 12
|
710
|
-
return false if !@product_code.nil? && @product_code.to_s.length > 3
|
711
|
-
return false if !@requestor_id.nil? && @requestor_id.to_s.length > 35
|
712
|
-
return false if !@requestor_initiated_authentication_indicator.nil? && @requestor_initiated_authentication_indicator.to_s.length > 2
|
713
|
-
return false if !@requestor_name.nil? && @requestor_name.to_s.length > 40
|
714
|
-
return false if !@reference_id.nil? && @reference_id.to_s.length > 50
|
715
|
-
return false if !@sdk_max_timeout.nil? && @sdk_max_timeout.to_s.length > 2
|
716
|
-
return false if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
|
717
|
-
return false if !@white_list_status.nil? && @white_list_status.to_s.length > 1
|
718
|
-
return false if !@effective_authentication_type.nil? && @effective_authentication_type.to_s.length > 2
|
719
|
-
return false if !@signed_pares_status_reason.nil? && @signed_pares_status_reason.to_s.length > 2
|
720
533
|
true
|
721
534
|
end
|
722
535
|
|
723
536
|
# Custom attribute writer method with validation
|
724
537
|
# @param [Object] cavv Value to be assigned
|
725
538
|
def cavv=(cavv)
|
726
|
-
if !cavv.nil? && cavv.to_s.length > 40
|
727
|
-
fail ArgumentError, 'invalid value for "cavv", the character length must be smaller than or equal to 40.'
|
728
|
-
end
|
729
|
-
|
730
539
|
@cavv = cavv
|
731
540
|
end
|
732
541
|
|
733
542
|
# Custom attribute writer method with validation
|
734
543
|
# @param [Object] cavv_algorithm Value to be assigned
|
735
544
|
def cavv_algorithm=(cavv_algorithm)
|
736
|
-
if !cavv_algorithm.nil? && cavv_algorithm.to_s.length > 1
|
737
|
-
fail ArgumentError, 'invalid value for "cavv_algorithm", the character length must be smaller than or equal to 1.'
|
738
|
-
end
|
739
|
-
|
740
545
|
@cavv_algorithm = cavv_algorithm
|
741
546
|
end
|
742
547
|
|
743
548
|
# Custom attribute writer method with validation
|
744
549
|
# @param [Object] eci_raw Value to be assigned
|
745
550
|
def eci_raw=(eci_raw)
|
746
|
-
if !eci_raw.nil? && eci_raw.to_s.length > 2
|
747
|
-
fail ArgumentError, 'invalid value for "eci_raw", the character length must be smaller than or equal to 2.'
|
748
|
-
end
|
749
|
-
|
750
551
|
@eci_raw = eci_raw
|
751
552
|
end
|
752
553
|
|
753
554
|
# Custom attribute writer method with validation
|
754
555
|
# @param [Object] pares_status Value to be assigned
|
755
556
|
def pares_status=(pares_status)
|
756
|
-
if !pares_status.nil? && pares_status.to_s.length > 1
|
757
|
-
fail ArgumentError, 'invalid value for "pares_status", the character length must be smaller than or equal to 1.'
|
758
|
-
end
|
759
|
-
|
760
557
|
@pares_status = pares_status
|
761
558
|
end
|
762
559
|
|
763
560
|
# Custom attribute writer method with validation
|
764
561
|
# @param [Object] veres_enrolled Value to be assigned
|
765
562
|
def veres_enrolled=(veres_enrolled)
|
766
|
-
if !veres_enrolled.nil? && veres_enrolled.to_s.length > 1
|
767
|
-
fail ArgumentError, 'invalid value for "veres_enrolled", the character length must be smaller than or equal to 1.'
|
768
|
-
end
|
769
|
-
|
770
563
|
@veres_enrolled = veres_enrolled
|
771
564
|
end
|
772
565
|
|
773
566
|
# Custom attribute writer method with validation
|
774
567
|
# @param [Object] xid Value to be assigned
|
775
568
|
def xid=(xid)
|
776
|
-
if !xid.nil? && xid.to_s.length > 40
|
777
|
-
fail ArgumentError, 'invalid value for "xid", the character length must be smaller than or equal to 40.'
|
778
|
-
end
|
779
|
-
|
780
569
|
@xid = xid
|
781
570
|
end
|
782
571
|
|
783
572
|
# Custom attribute writer method with validation
|
784
573
|
# @param [Object] ucaf_collection_indicator Value to be assigned
|
785
574
|
def ucaf_collection_indicator=(ucaf_collection_indicator)
|
786
|
-
if !ucaf_collection_indicator.nil? && ucaf_collection_indicator.to_s.length > 1
|
787
|
-
fail ArgumentError, 'invalid value for "ucaf_collection_indicator", the character length must be smaller than or equal to 1.'
|
788
|
-
end
|
789
|
-
|
790
575
|
@ucaf_collection_indicator = ucaf_collection_indicator
|
791
576
|
end
|
792
577
|
|
793
578
|
# Custom attribute writer method with validation
|
794
579
|
# @param [Object] ucaf_authentication_data Value to be assigned
|
795
580
|
def ucaf_authentication_data=(ucaf_authentication_data)
|
796
|
-
if !ucaf_authentication_data.nil? && ucaf_authentication_data.to_s.length > 32
|
797
|
-
fail ArgumentError, 'invalid value for "ucaf_authentication_data", the character length must be smaller than or equal to 32.'
|
798
|
-
end
|
799
|
-
|
800
581
|
@ucaf_authentication_data = ucaf_authentication_data
|
801
582
|
end
|
802
583
|
|
803
584
|
# Custom attribute writer method with validation
|
804
585
|
# @param [Object] directory_server_transaction_id Value to be assigned
|
805
586
|
def directory_server_transaction_id=(directory_server_transaction_id)
|
806
|
-
if !directory_server_transaction_id.nil? && directory_server_transaction_id.to_s.length > 36
|
807
|
-
fail ArgumentError, 'invalid value for "directory_server_transaction_id", the character length must be smaller than or equal to 36.'
|
808
|
-
end
|
809
|
-
|
810
587
|
@directory_server_transaction_id = directory_server_transaction_id
|
811
588
|
end
|
812
589
|
|
813
590
|
# Custom attribute writer method with validation
|
814
591
|
# @param [Object] pa_specification_version Value to be assigned
|
815
592
|
def pa_specification_version=(pa_specification_version)
|
816
|
-
if !pa_specification_version.nil? && pa_specification_version.to_s.length > 1
|
817
|
-
fail ArgumentError, 'invalid value for "pa_specification_version", the character length must be smaller than or equal to 1.'
|
818
|
-
end
|
819
|
-
|
820
593
|
@pa_specification_version = pa_specification_version
|
821
594
|
end
|
822
595
|
|
823
596
|
# Custom attribute writer method with validation
|
824
597
|
# @param [Object] authentication_type Value to be assigned
|
825
598
|
def authentication_type=(authentication_type)
|
826
|
-
if !authentication_type.nil? && authentication_type.to_s.length > 2
|
827
|
-
fail ArgumentError, 'invalid value for "authentication_type", the character length must be smaller than or equal to 2.'
|
828
|
-
end
|
829
|
-
|
830
599
|
@authentication_type = authentication_type
|
831
600
|
end
|
832
601
|
|
602
|
+
# Custom attribute writer method with validation
|
603
|
+
# @param [Object] acs_transaction_id Value to be assigned
|
604
|
+
def acs_transaction_id=(acs_transaction_id)
|
605
|
+
@acs_transaction_id = acs_transaction_id
|
606
|
+
end
|
607
|
+
|
833
608
|
# Custom attribute writer method with validation
|
834
609
|
# @param [Object] acs_window_size Value to be assigned
|
835
610
|
def acs_window_size=(acs_window_size)
|
836
|
-
if !acs_window_size.nil? && acs_window_size.to_s.length > 2
|
837
|
-
fail ArgumentError, 'invalid value for "acs_window_size", the character length must be smaller than or equal to 2.'
|
838
|
-
end
|
839
|
-
|
840
611
|
@acs_window_size = acs_window_size
|
841
612
|
end
|
842
613
|
|
843
614
|
# Custom attribute writer method with validation
|
844
615
|
# @param [Object] alternate_authentication_data Value to be assigned
|
845
616
|
def alternate_authentication_data=(alternate_authentication_data)
|
846
|
-
if !alternate_authentication_data.nil? && alternate_authentication_data.to_s.length > 2048
|
847
|
-
fail ArgumentError, 'invalid value for "alternate_authentication_data", the character length must be smaller than or equal to 2048.'
|
848
|
-
end
|
849
|
-
|
850
617
|
@alternate_authentication_data = alternate_authentication_data
|
851
618
|
end
|
852
619
|
|
853
620
|
# Custom attribute writer method with validation
|
854
621
|
# @param [Object] alternate_authentication_date Value to be assigned
|
855
622
|
def alternate_authentication_date=(alternate_authentication_date)
|
856
|
-
if !alternate_authentication_date.nil? && alternate_authentication_date.to_s.length > 14
|
857
|
-
fail ArgumentError, 'invalid value for "alternate_authentication_date", the character length must be smaller than or equal to 14.'
|
858
|
-
end
|
859
|
-
|
860
623
|
@alternate_authentication_date = alternate_authentication_date
|
861
624
|
end
|
862
625
|
|
863
626
|
# Custom attribute writer method with validation
|
864
627
|
# @param [Object] authentication_date Value to be assigned
|
865
628
|
def authentication_date=(authentication_date)
|
866
|
-
if !authentication_date.nil? && authentication_date.to_s.length > 14
|
867
|
-
fail ArgumentError, 'invalid value for "authentication_date", the character length must be smaller than or equal to 14.'
|
868
|
-
end
|
869
|
-
|
870
629
|
@authentication_date = authentication_date
|
871
630
|
end
|
872
631
|
|
873
632
|
# Custom attribute writer method with validation
|
874
633
|
# @param [Object] authentication_transaction_id Value to be assigned
|
875
634
|
def authentication_transaction_id=(authentication_transaction_id)
|
876
|
-
if !authentication_transaction_id.nil? && authentication_transaction_id.to_s.length > 20
|
877
|
-
fail ArgumentError, 'invalid value for "authentication_transaction_id", the character length must be smaller than or equal to 20.'
|
878
|
-
end
|
879
|
-
|
880
635
|
@authentication_transaction_id = authentication_transaction_id
|
881
636
|
end
|
882
637
|
|
883
638
|
# Custom attribute writer method with validation
|
884
639
|
# @param [Object] challenge_cancel_code Value to be assigned
|
885
640
|
def challenge_cancel_code=(challenge_cancel_code)
|
886
|
-
if !challenge_cancel_code.nil? && challenge_cancel_code.to_s.length > 2
|
887
|
-
fail ArgumentError, 'invalid value for "challenge_cancel_code", the character length must be smaller than or equal to 2.'
|
888
|
-
end
|
889
|
-
|
890
641
|
@challenge_cancel_code = challenge_cancel_code
|
891
642
|
end
|
892
643
|
|
893
644
|
# Custom attribute writer method with validation
|
894
645
|
# @param [Object] challenge_status Value to be assigned
|
895
646
|
def challenge_status=(challenge_status)
|
896
|
-
if !challenge_status.nil? && challenge_status.to_s.length > 2
|
897
|
-
fail ArgumentError, 'invalid value for "challenge_status", the character length must be smaller than or equal to 2.'
|
898
|
-
end
|
899
|
-
|
900
647
|
@challenge_status = challenge_status
|
901
648
|
end
|
902
649
|
|
903
650
|
# Custom attribute writer method with validation
|
904
651
|
# @param [Object] customer_card_alias Value to be assigned
|
905
652
|
def customer_card_alias=(customer_card_alias)
|
906
|
-
if !customer_card_alias.nil? && customer_card_alias.to_s.length > 128
|
907
|
-
fail ArgumentError, 'invalid value for "customer_card_alias", the character length must be smaller than or equal to 128.'
|
908
|
-
end
|
909
|
-
|
910
653
|
@customer_card_alias = customer_card_alias
|
911
654
|
end
|
912
655
|
|
913
656
|
# Custom attribute writer method with validation
|
914
657
|
# @param [Object] decoupled_authentication_indicator Value to be assigned
|
915
658
|
def decoupled_authentication_indicator=(decoupled_authentication_indicator)
|
916
|
-
if !decoupled_authentication_indicator.nil? && decoupled_authentication_indicator.to_s.length > 1
|
917
|
-
fail ArgumentError, 'invalid value for "decoupled_authentication_indicator", the character length must be smaller than or equal to 1.'
|
918
|
-
end
|
919
|
-
|
920
659
|
@decoupled_authentication_indicator = decoupled_authentication_indicator
|
921
660
|
end
|
922
661
|
|
923
662
|
# Custom attribute writer method with validation
|
924
663
|
# @param [Object] decoupled_authentication_max_time Value to be assigned
|
925
664
|
def decoupled_authentication_max_time=(decoupled_authentication_max_time)
|
926
|
-
if !decoupled_authentication_max_time.nil? && decoupled_authentication_max_time.to_s.length > 5
|
927
|
-
fail ArgumentError, 'invalid value for "decoupled_authentication_max_time", the character length must be smaller than or equal to 5.'
|
928
|
-
end
|
929
|
-
|
930
665
|
@decoupled_authentication_max_time = decoupled_authentication_max_time
|
931
666
|
end
|
932
667
|
|
933
668
|
# Custom attribute writer method with validation
|
934
669
|
# @param [Object] device_channel Value to be assigned
|
935
670
|
def device_channel=(device_channel)
|
936
|
-
if !device_channel.nil? && device_channel.to_s.length > 10
|
937
|
-
fail ArgumentError, 'invalid value for "device_channel", the character length must be smaller than or equal to 10.'
|
938
|
-
end
|
939
|
-
|
940
671
|
@device_channel = device_channel
|
941
672
|
end
|
942
673
|
|
943
674
|
# Custom attribute writer method with validation
|
944
675
|
# @param [Object] merchant_fraud_rate Value to be assigned
|
945
676
|
def merchant_fraud_rate=(merchant_fraud_rate)
|
946
|
-
if !merchant_fraud_rate.nil? && merchant_fraud_rate.to_s.length > 2
|
947
|
-
fail ArgumentError, 'invalid value for "merchant_fraud_rate", the character length must be smaller than or equal to 2.'
|
948
|
-
end
|
949
|
-
|
950
677
|
@merchant_fraud_rate = merchant_fraud_rate
|
951
678
|
end
|
952
679
|
|
953
680
|
# Custom attribute writer method with validation
|
954
681
|
# @param [Object] marketing_source Value to be assigned
|
955
682
|
def marketing_source=(marketing_source)
|
956
|
-
if !marketing_source.nil? && marketing_source.to_s.length > 40
|
957
|
-
fail ArgumentError, 'invalid value for "marketing_source", the character length must be smaller than or equal to 40.'
|
958
|
-
end
|
959
|
-
|
960
683
|
@marketing_source = marketing_source
|
961
684
|
end
|
962
685
|
|
963
686
|
# Custom attribute writer method with validation
|
964
687
|
# @param [Object] mcc Value to be assigned
|
965
688
|
def mcc=(mcc)
|
966
|
-
if !mcc.nil? && mcc.to_s.length > 4
|
967
|
-
fail ArgumentError, 'invalid value for "mcc", the character length must be smaller than or equal to 4.'
|
968
|
-
end
|
969
|
-
|
970
689
|
@mcc = mcc
|
971
690
|
end
|
972
691
|
|
692
|
+
# Custom attribute writer method with validation
|
693
|
+
# @param [Object] network_score Value to be assigned
|
694
|
+
def network_score=(network_score)
|
695
|
+
@network_score = network_score
|
696
|
+
end
|
697
|
+
|
973
698
|
# Custom attribute writer method with validation
|
974
699
|
# @param [Object] npa_code Value to be assigned
|
975
700
|
def npa_code=(npa_code)
|
976
|
-
if !npa_code.nil? && npa_code.to_s.length > 2
|
977
|
-
fail ArgumentError, 'invalid value for "npa_code", the character length must be smaller than or equal to 2.'
|
978
|
-
end
|
979
|
-
|
980
701
|
@npa_code = npa_code
|
981
702
|
end
|
982
703
|
|
983
704
|
# Custom attribute writer method with validation
|
984
705
|
# @param [Object] override_country_code Value to be assigned
|
985
706
|
def override_country_code=(override_country_code)
|
986
|
-
if !override_country_code.nil? && override_country_code.to_s.length > 2
|
987
|
-
fail ArgumentError, 'invalid value for "override_country_code", the character length must be smaller than or equal to 2.'
|
988
|
-
end
|
989
|
-
|
990
707
|
@override_country_code = override_country_code
|
991
708
|
end
|
992
709
|
|
993
710
|
# Custom attribute writer method with validation
|
994
711
|
# @param [Object] prior_authentication_data Value to be assigned
|
995
712
|
def prior_authentication_data=(prior_authentication_data)
|
996
|
-
if !prior_authentication_data.nil? && prior_authentication_data.to_s.length > 2048
|
997
|
-
fail ArgumentError, 'invalid value for "prior_authentication_data", the character length must be smaller than or equal to 2048.'
|
998
|
-
end
|
999
|
-
|
1000
713
|
@prior_authentication_data = prior_authentication_data
|
1001
714
|
end
|
1002
715
|
|
1003
716
|
# Custom attribute writer method with validation
|
1004
717
|
# @param [Object] prior_authentication_method Value to be assigned
|
1005
718
|
def prior_authentication_method=(prior_authentication_method)
|
1006
|
-
if !prior_authentication_method.nil? && prior_authentication_method.to_s.length > 2
|
1007
|
-
fail ArgumentError, 'invalid value for "prior_authentication_method", the character length must be smaller than or equal to 2.'
|
1008
|
-
end
|
1009
|
-
|
1010
719
|
@prior_authentication_method = prior_authentication_method
|
1011
720
|
end
|
1012
721
|
|
1013
722
|
# Custom attribute writer method with validation
|
1014
723
|
# @param [Object] prior_authentication_reference_id Value to be assigned
|
1015
724
|
def prior_authentication_reference_id=(prior_authentication_reference_id)
|
1016
|
-
if !prior_authentication_reference_id.nil? && prior_authentication_reference_id.to_s.length > 36
|
1017
|
-
fail ArgumentError, 'invalid value for "prior_authentication_reference_id", the character length must be smaller than or equal to 36.'
|
1018
|
-
end
|
1019
|
-
|
1020
725
|
@prior_authentication_reference_id = prior_authentication_reference_id
|
1021
726
|
end
|
1022
727
|
|
1023
728
|
# Custom attribute writer method with validation
|
1024
729
|
# @param [Object] prior_authentication_time Value to be assigned
|
1025
730
|
def prior_authentication_time=(prior_authentication_time)
|
1026
|
-
if !prior_authentication_time.nil? && prior_authentication_time.to_s.length > 12
|
1027
|
-
fail ArgumentError, 'invalid value for "prior_authentication_time", the character length must be smaller than or equal to 12.'
|
1028
|
-
end
|
1029
|
-
|
1030
731
|
@prior_authentication_time = prior_authentication_time
|
1031
732
|
end
|
1032
733
|
|
1033
734
|
# Custom attribute writer method with validation
|
1034
735
|
# @param [Object] product_code Value to be assigned
|
1035
736
|
def product_code=(product_code)
|
1036
|
-
if !product_code.nil? && product_code.to_s.length > 3
|
1037
|
-
fail ArgumentError, 'invalid value for "product_code", the character length must be smaller than or equal to 3.'
|
1038
|
-
end
|
1039
|
-
|
1040
737
|
@product_code = product_code
|
1041
738
|
end
|
1042
739
|
|
1043
740
|
# Custom attribute writer method with validation
|
1044
741
|
# @param [Object] requestor_id Value to be assigned
|
1045
742
|
def requestor_id=(requestor_id)
|
1046
|
-
if !requestor_id.nil? && requestor_id.to_s.length > 35
|
1047
|
-
fail ArgumentError, 'invalid value for "requestor_id", the character length must be smaller than or equal to 35.'
|
1048
|
-
end
|
1049
|
-
|
1050
743
|
@requestor_id = requestor_id
|
1051
744
|
end
|
1052
745
|
|
1053
746
|
# Custom attribute writer method with validation
|
1054
747
|
# @param [Object] requestor_initiated_authentication_indicator Value to be assigned
|
1055
748
|
def requestor_initiated_authentication_indicator=(requestor_initiated_authentication_indicator)
|
1056
|
-
if !requestor_initiated_authentication_indicator.nil? && requestor_initiated_authentication_indicator.to_s.length > 2
|
1057
|
-
fail ArgumentError, 'invalid value for "requestor_initiated_authentication_indicator", the character length must be smaller than or equal to 2.'
|
1058
|
-
end
|
1059
|
-
|
1060
749
|
@requestor_initiated_authentication_indicator = requestor_initiated_authentication_indicator
|
1061
750
|
end
|
1062
751
|
|
1063
752
|
# Custom attribute writer method with validation
|
1064
753
|
# @param [Object] requestor_name Value to be assigned
|
1065
754
|
def requestor_name=(requestor_name)
|
1066
|
-
if !requestor_name.nil? && requestor_name.to_s.length > 40
|
1067
|
-
fail ArgumentError, 'invalid value for "requestor_name", the character length must be smaller than or equal to 40.'
|
1068
|
-
end
|
1069
|
-
|
1070
755
|
@requestor_name = requestor_name
|
1071
756
|
end
|
1072
757
|
|
1073
758
|
# Custom attribute writer method with validation
|
1074
759
|
# @param [Object] reference_id Value to be assigned
|
1075
760
|
def reference_id=(reference_id)
|
1076
|
-
if !reference_id.nil? && reference_id.to_s.length > 50
|
1077
|
-
fail ArgumentError, 'invalid value for "reference_id", the character length must be smaller than or equal to 50.'
|
1078
|
-
end
|
1079
|
-
|
1080
761
|
@reference_id = reference_id
|
1081
762
|
end
|
1082
763
|
|
1083
764
|
# Custom attribute writer method with validation
|
1084
765
|
# @param [Object] sdk_max_timeout Value to be assigned
|
1085
766
|
def sdk_max_timeout=(sdk_max_timeout)
|
1086
|
-
if !sdk_max_timeout.nil? && sdk_max_timeout.to_s.length > 2
|
1087
|
-
fail ArgumentError, 'invalid value for "sdk_max_timeout", the character length must be smaller than or equal to 2.'
|
1088
|
-
end
|
1089
|
-
|
1090
767
|
@sdk_max_timeout = sdk_max_timeout
|
1091
768
|
end
|
1092
769
|
|
1093
770
|
# Custom attribute writer method with validation
|
1094
771
|
# @param [Object] secure_corporate_payment_indicator Value to be assigned
|
1095
772
|
def secure_corporate_payment_indicator=(secure_corporate_payment_indicator)
|
1096
|
-
if !secure_corporate_payment_indicator.nil? && secure_corporate_payment_indicator.to_s.length > 1
|
1097
|
-
fail ArgumentError, 'invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.'
|
1098
|
-
end
|
1099
|
-
|
1100
773
|
@secure_corporate_payment_indicator = secure_corporate_payment_indicator
|
1101
774
|
end
|
1102
775
|
|
1103
776
|
# Custom attribute writer method with validation
|
1104
777
|
# @param [Object] white_list_status Value to be assigned
|
1105
778
|
def white_list_status=(white_list_status)
|
1106
|
-
if !white_list_status.nil? && white_list_status.to_s.length > 1
|
1107
|
-
fail ArgumentError, 'invalid value for "white_list_status", the character length must be smaller than or equal to 1.'
|
1108
|
-
end
|
1109
|
-
|
1110
779
|
@white_list_status = white_list_status
|
1111
780
|
end
|
1112
781
|
|
1113
782
|
# Custom attribute writer method with validation
|
1114
783
|
# @param [Object] effective_authentication_type Value to be assigned
|
1115
784
|
def effective_authentication_type=(effective_authentication_type)
|
1116
|
-
if !effective_authentication_type.nil? && effective_authentication_type.to_s.length > 2
|
1117
|
-
fail ArgumentError, 'invalid value for "effective_authentication_type", the character length must be smaller than or equal to 2.'
|
1118
|
-
end
|
1119
|
-
|
1120
785
|
@effective_authentication_type = effective_authentication_type
|
1121
786
|
end
|
1122
787
|
|
1123
788
|
# Custom attribute writer method with validation
|
1124
789
|
# @param [Object] signed_pares_status_reason Value to be assigned
|
1125
790
|
def signed_pares_status_reason=(signed_pares_status_reason)
|
1126
|
-
if !signed_pares_status_reason.nil? && signed_pares_status_reason.to_s.length > 2
|
1127
|
-
fail ArgumentError, 'invalid value for "signed_pares_status_reason", the character length must be smaller than or equal to 2.'
|
1128
|
-
end
|
1129
|
-
|
1130
791
|
@signed_pares_status_reason = signed_pares_status_reason
|
1131
792
|
end
|
1132
793
|
|
@@ -1147,6 +808,7 @@ module CyberSource
|
|
1147
808
|
directory_server_transaction_id == o.directory_server_transaction_id &&
|
1148
809
|
pa_specification_version == o.pa_specification_version &&
|
1149
810
|
authentication_type == o.authentication_type &&
|
811
|
+
acs_transaction_id == o.acs_transaction_id &&
|
1150
812
|
acs_window_size == o.acs_window_size &&
|
1151
813
|
alternate_authentication_data == o.alternate_authentication_data &&
|
1152
814
|
alternate_authentication_date == o.alternate_authentication_date &&
|
@@ -1168,6 +830,7 @@ module CyberSource
|
|
1168
830
|
mcc == o.mcc &&
|
1169
831
|
merchant_score == o.merchant_score &&
|
1170
832
|
message_category == o.message_category &&
|
833
|
+
network_score == o.network_score &&
|
1171
834
|
npa_code == o.npa_code &&
|
1172
835
|
override_payment_method == o.override_payment_method &&
|
1173
836
|
override_country_code == o.override_country_code &&
|
@@ -1198,7 +861,7 @@ module CyberSource
|
|
1198
861
|
# Calculates hash code according to all attributes.
|
1199
862
|
# @return [Fixnum] Hash code
|
1200
863
|
def hash
|
1201
|
-
[cavv, cavv_algorithm, eci_raw, pares_status, veres_enrolled, xid, ucaf_collection_indicator, ucaf_authentication_data, strong_authentication, directory_server_transaction_id, pa_specification_version, authentication_type, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status, effective_authentication_type, signed_pares_status_reason, signed_pares].hash
|
864
|
+
[cavv, cavv_algorithm, eci_raw, pares_status, veres_enrolled, xid, ucaf_collection_indicator, ucaf_authentication_data, strong_authentication, directory_server_transaction_id, pa_specification_version, authentication_type, acs_transaction_id, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, network_score, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status, effective_authentication_type, signed_pares_status_reason, signed_pares].hash
|
1202
865
|
end
|
1203
866
|
|
1204
867
|
# Builds the object from hash
|