cybersource_rest_client 0.0.26 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +5 -1
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +11 -2
- data/lib/AuthenticationSDK/util/Constants.rb +3 -1
- data/lib/cybersource_rest_client.rb +11 -11
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +92 -5
- data/lib/cybersource_rest_client/api_client.rb +3 -3
- data/lib/cybersource_rest_client/configuration.rb +2 -2
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +0 -36
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -36
- data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +13 -4
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +0 -54
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information_header_style.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +0 -36
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +0 -54
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -27
- data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -10
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer.rb → payment_instrument_list.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__embedded.rb → payment_instrument_list__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links.rb → payment_instrument_list__links.rb} +6 -6
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_first.rb → payment_instrument_list__links_first.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_last.rb → payment_instrument_list__links_last.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_next.rb → payment_instrument_list__links_next.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_prev.rb → payment_instrument_list__links_prev.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_self.rb → payment_instrument_list__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +0 -18
- data/lib/cybersource_rest_client/models/{riskv1addressverifications_client_reference_information.rb → post_instrument_identifier_enrollment_request.rb} +105 -52
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +0 -189
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -198
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +0 -153
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -55
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +17 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +17 -145
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +0 -108
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -30
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +21 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_ip_address.rb +0 -63
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_profile.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_rules.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_actual_final_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_departure.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_last_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity_morphing.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_customer.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +0 -54
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -109
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +34 -371
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +0 -54
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +11 -100
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information_raw_data.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -90
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +0 -54
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +0 -189
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +0 -162
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -72
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +0 -198
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +0 -72
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -118
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -82
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -127
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +7 -43
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +24 -22
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_profile.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +14 -13
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +0 -333
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -351
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +0 -261
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -207
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +0 -162
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +1 -64
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +1 -82
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -64
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -46
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -37
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +0 -27
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +0 -9
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +0 -9
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +0 -18
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +0 -45
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +0 -90
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -90
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +10 -10
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +0 -18
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/{riskv1authenticationsetups_client_reference_information.rb → risk_v1_decisions_post201_response_client_reference_information.rb} +30 -23
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +0 -171
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +0 -45
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +0 -72
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +0 -72
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -50
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -37
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +17 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -81
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -37
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -37
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +18 -18
- data/lib/cybersource_rest_client/models/{vasv2tax_client_reference_information_partner.rb → riskv1decisions_client_reference_information_partner.rb} +1 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -271
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information_strong_authentication.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +11 -100
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +0 -81
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -37
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_passengers.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +0 -27
- data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +0 -54
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +0 -45
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +0 -45
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +0 -99
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +10 -28
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +0 -54
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +0 -126
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +0 -90
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -73
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +18 -20
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +0 -36
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +0 -90
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -19
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +0 -9
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_request.rb +1 -1
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information.rb +0 -27
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +6 -72
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +0 -27
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +0 -18
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +0 -9
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -10
- data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +0 -54
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +0 -99
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +0 -63
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +0 -18
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +0 -18
- data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
- metadata +105 -86
@@ -48,27 +48,18 @@ module CyberSource
|
|
48
48
|
# @return Array for valid properties with the reasons
|
49
49
|
def list_invalid_properties
|
50
50
|
invalid_properties = Array.new
|
51
|
-
if !@authentication_indicator.nil? && @authentication_indicator.to_s.length > 2
|
52
|
-
invalid_properties.push('invalid value for "authentication_indicator", the character length must be smaller than or equal to 2.')
|
53
|
-
end
|
54
|
-
|
55
51
|
invalid_properties
|
56
52
|
end
|
57
53
|
|
58
54
|
# Check to see if the all the properties in the model are valid
|
59
55
|
# @return true if the model is valid
|
60
56
|
def valid?
|
61
|
-
return false if !@authentication_indicator.nil? && @authentication_indicator.to_s.length > 2
|
62
57
|
true
|
63
58
|
end
|
64
59
|
|
65
60
|
# Custom attribute writer method with validation
|
66
61
|
# @param [Object] authentication_indicator Value to be assigned
|
67
62
|
def authentication_indicator=(authentication_indicator)
|
68
|
-
if !authentication_indicator.nil? && authentication_indicator.to_s.length > 2
|
69
|
-
fail ArgumentError, 'invalid value for "authentication_indicator", the character length must be smaller than or equal to 2.'
|
70
|
-
end
|
71
|
-
|
72
63
|
@authentication_indicator = authentication_indicator
|
73
64
|
end
|
74
65
|
|
@@ -26,6 +26,9 @@ module CyberSource
|
|
26
26
|
# Field that contains the session ID that you send to Decision Manager to obtain the device fingerprint information. The string can contain uppercase and lowercase letters, digits, hyphen (-), and underscore (_). However, do not use the same uppercase and lowercase letters to indicate different session IDs. The session ID must be unique for each merchant ID. You can use any string that you are already generating, such as an order number or web session ID. The session ID must be unique for each page load, regardless of an individual’s web session ID. If a user navigates to a profiled page and is assigned a web session, navigates away from the profiled page, then navigates back to the profiled page, the generated session ID should be different and unique. You may use a web session ID, but it is preferable to use an application GUID (Globally Unique Identifier). This measure ensures that a unique ID is generated every time the page is loaded, even if it is the same user reloading the page.
|
27
27
|
attr_accessor :fingerprint_session_id
|
28
28
|
|
29
|
+
# Boolean that indicates whether request contains the device fingerprint information. Values: - `true`: Use raw fingerprintSessionId when looking up device details. - `false` (default): Use merchant id + fingerprintSessionId as the session id for Device detail collection.
|
30
|
+
attr_accessor :use_raw_fingerprint_session_id
|
31
|
+
|
29
32
|
# Email address set in the customer’s browser, which may differ from customer email.
|
30
33
|
attr_accessor :http_browser_email
|
31
34
|
|
@@ -71,6 +74,7 @@ module CyberSource
|
|
71
74
|
:'ip_address' => :'ipAddress',
|
72
75
|
:'host_name' => :'hostName',
|
73
76
|
:'fingerprint_session_id' => :'fingerprintSessionId',
|
77
|
+
:'use_raw_fingerprint_session_id' => :'useRawFingerprintSessionId',
|
74
78
|
:'http_browser_email' => :'httpBrowserEmail',
|
75
79
|
:'user_agent' => :'userAgent',
|
76
80
|
:'raw_data' => :'rawData',
|
@@ -94,6 +98,7 @@ module CyberSource
|
|
94
98
|
:'ip_address' => :'String',
|
95
99
|
:'host_name' => :'String',
|
96
100
|
:'fingerprint_session_id' => :'String',
|
101
|
+
:'use_raw_fingerprint_session_id' => :'BOOLEAN',
|
97
102
|
:'http_browser_email' => :'String',
|
98
103
|
:'user_agent' => :'String',
|
99
104
|
:'raw_data' => :'Array<Ptsv2paymentsDeviceInformationRawData>',
|
@@ -134,6 +139,10 @@ module CyberSource
|
|
134
139
|
self.fingerprint_session_id = attributes[:'fingerprintSessionId']
|
135
140
|
end
|
136
141
|
|
142
|
+
if attributes.has_key?(:'useRawFingerprintSessionId')
|
143
|
+
self.use_raw_fingerprint_session_id = attributes[:'useRawFingerprintSessionId']
|
144
|
+
end
|
145
|
+
|
137
146
|
if attributes.has_key?(:'httpBrowserEmail')
|
138
147
|
self.http_browser_email = attributes[:'httpBrowserEmail']
|
139
148
|
end
|
@@ -193,177 +202,78 @@ module CyberSource
|
|
193
202
|
# @return Array for valid properties with the reasons
|
194
203
|
def list_invalid_properties
|
195
204
|
invalid_properties = Array.new
|
196
|
-
if !@ip_address.nil? && @ip_address.to_s.length > 45
|
197
|
-
invalid_properties.push('invalid value for "ip_address", the character length must be smaller than or equal to 45.')
|
198
|
-
end
|
199
|
-
|
200
|
-
if !@host_name.nil? && @host_name.to_s.length > 60
|
201
|
-
invalid_properties.push('invalid value for "host_name", the character length must be smaller than or equal to 60.')
|
202
|
-
end
|
203
|
-
|
204
|
-
if !@user_agent.nil? && @user_agent.to_s.length > 40
|
205
|
-
invalid_properties.push('invalid value for "user_agent", the character length must be smaller than or equal to 40.')
|
206
|
-
end
|
207
|
-
|
208
|
-
if !@http_accept_browser_value.nil? && @http_accept_browser_value.to_s.length > 255
|
209
|
-
invalid_properties.push('invalid value for "http_accept_browser_value", the character length must be smaller than or equal to 255.')
|
210
|
-
end
|
211
|
-
|
212
|
-
if !@http_accept_content.nil? && @http_accept_content.to_s.length > 256
|
213
|
-
invalid_properties.push('invalid value for "http_accept_content", the character length must be smaller than or equal to 256.')
|
214
|
-
end
|
215
|
-
|
216
|
-
if !@http_browser_language.nil? && @http_browser_language.to_s.length > 8
|
217
|
-
invalid_properties.push('invalid value for "http_browser_language", the character length must be smaller than or equal to 8.')
|
218
|
-
end
|
219
|
-
|
220
|
-
if !@http_browser_color_depth.nil? && @http_browser_color_depth.to_s.length > 2
|
221
|
-
invalid_properties.push('invalid value for "http_browser_color_depth", the character length must be smaller than or equal to 2.')
|
222
|
-
end
|
223
|
-
|
224
|
-
if !@http_browser_screen_height.nil? && @http_browser_screen_height.to_s.length > 6
|
225
|
-
invalid_properties.push('invalid value for "http_browser_screen_height", the character length must be smaller than or equal to 6.')
|
226
|
-
end
|
227
|
-
|
228
|
-
if !@http_browser_screen_width.nil? && @http_browser_screen_width.to_s.length > 6
|
229
|
-
invalid_properties.push('invalid value for "http_browser_screen_width", the character length must be smaller than or equal to 6.')
|
230
|
-
end
|
231
|
-
|
232
|
-
if !@http_browser_time_difference.nil? && @http_browser_time_difference.to_s.length > 5
|
233
|
-
invalid_properties.push('invalid value for "http_browser_time_difference", the character length must be smaller than or equal to 5.')
|
234
|
-
end
|
235
|
-
|
236
|
-
if !@user_agent_browser_value.nil? && @user_agent_browser_value.to_s.length > 255
|
237
|
-
invalid_properties.push('invalid value for "user_agent_browser_value", the character length must be smaller than or equal to 255.')
|
238
|
-
end
|
239
|
-
|
240
205
|
invalid_properties
|
241
206
|
end
|
242
207
|
|
243
208
|
# Check to see if the all the properties in the model are valid
|
244
209
|
# @return true if the model is valid
|
245
210
|
def valid?
|
246
|
-
return false if !@ip_address.nil? && @ip_address.to_s.length > 45
|
247
|
-
return false if !@host_name.nil? && @host_name.to_s.length > 60
|
248
|
-
return false if !@user_agent.nil? && @user_agent.to_s.length > 40
|
249
|
-
return false if !@http_accept_browser_value.nil? && @http_accept_browser_value.to_s.length > 255
|
250
|
-
return false if !@http_accept_content.nil? && @http_accept_content.to_s.length > 256
|
251
|
-
return false if !@http_browser_language.nil? && @http_browser_language.to_s.length > 8
|
252
|
-
return false if !@http_browser_color_depth.nil? && @http_browser_color_depth.to_s.length > 2
|
253
|
-
return false if !@http_browser_screen_height.nil? && @http_browser_screen_height.to_s.length > 6
|
254
|
-
return false if !@http_browser_screen_width.nil? && @http_browser_screen_width.to_s.length > 6
|
255
|
-
return false if !@http_browser_time_difference.nil? && @http_browser_time_difference.to_s.length > 5
|
256
|
-
return false if !@user_agent_browser_value.nil? && @user_agent_browser_value.to_s.length > 255
|
257
211
|
true
|
258
212
|
end
|
259
213
|
|
260
214
|
# Custom attribute writer method with validation
|
261
215
|
# @param [Object] ip_address Value to be assigned
|
262
216
|
def ip_address=(ip_address)
|
263
|
-
if !ip_address.nil? && ip_address.to_s.length > 45
|
264
|
-
fail ArgumentError, 'invalid value for "ip_address", the character length must be smaller than or equal to 45.'
|
265
|
-
end
|
266
|
-
|
267
217
|
@ip_address = ip_address
|
268
218
|
end
|
269
219
|
|
270
220
|
# Custom attribute writer method with validation
|
271
221
|
# @param [Object] host_name Value to be assigned
|
272
222
|
def host_name=(host_name)
|
273
|
-
if !host_name.nil? && host_name.to_s.length > 60
|
274
|
-
fail ArgumentError, 'invalid value for "host_name", the character length must be smaller than or equal to 60.'
|
275
|
-
end
|
276
|
-
|
277
223
|
@host_name = host_name
|
278
224
|
end
|
279
225
|
|
280
226
|
# Custom attribute writer method with validation
|
281
227
|
# @param [Object] user_agent Value to be assigned
|
282
228
|
def user_agent=(user_agent)
|
283
|
-
if !user_agent.nil? && user_agent.to_s.length > 40
|
284
|
-
fail ArgumentError, 'invalid value for "user_agent", the character length must be smaller than or equal to 40.'
|
285
|
-
end
|
286
|
-
|
287
229
|
@user_agent = user_agent
|
288
230
|
end
|
289
231
|
|
290
232
|
# Custom attribute writer method with validation
|
291
233
|
# @param [Object] http_accept_browser_value Value to be assigned
|
292
234
|
def http_accept_browser_value=(http_accept_browser_value)
|
293
|
-
if !http_accept_browser_value.nil? && http_accept_browser_value.to_s.length > 255
|
294
|
-
fail ArgumentError, 'invalid value for "http_accept_browser_value", the character length must be smaller than or equal to 255.'
|
295
|
-
end
|
296
|
-
|
297
235
|
@http_accept_browser_value = http_accept_browser_value
|
298
236
|
end
|
299
237
|
|
300
238
|
# Custom attribute writer method with validation
|
301
239
|
# @param [Object] http_accept_content Value to be assigned
|
302
240
|
def http_accept_content=(http_accept_content)
|
303
|
-
if !http_accept_content.nil? && http_accept_content.to_s.length > 256
|
304
|
-
fail ArgumentError, 'invalid value for "http_accept_content", the character length must be smaller than or equal to 256.'
|
305
|
-
end
|
306
|
-
|
307
241
|
@http_accept_content = http_accept_content
|
308
242
|
end
|
309
243
|
|
310
244
|
# Custom attribute writer method with validation
|
311
245
|
# @param [Object] http_browser_language Value to be assigned
|
312
246
|
def http_browser_language=(http_browser_language)
|
313
|
-
if !http_browser_language.nil? && http_browser_language.to_s.length > 8
|
314
|
-
fail ArgumentError, 'invalid value for "http_browser_language", the character length must be smaller than or equal to 8.'
|
315
|
-
end
|
316
|
-
|
317
247
|
@http_browser_language = http_browser_language
|
318
248
|
end
|
319
249
|
|
320
250
|
# Custom attribute writer method with validation
|
321
251
|
# @param [Object] http_browser_color_depth Value to be assigned
|
322
252
|
def http_browser_color_depth=(http_browser_color_depth)
|
323
|
-
if !http_browser_color_depth.nil? && http_browser_color_depth.to_s.length > 2
|
324
|
-
fail ArgumentError, 'invalid value for "http_browser_color_depth", the character length must be smaller than or equal to 2.'
|
325
|
-
end
|
326
|
-
|
327
253
|
@http_browser_color_depth = http_browser_color_depth
|
328
254
|
end
|
329
255
|
|
330
256
|
# Custom attribute writer method with validation
|
331
257
|
# @param [Object] http_browser_screen_height Value to be assigned
|
332
258
|
def http_browser_screen_height=(http_browser_screen_height)
|
333
|
-
if !http_browser_screen_height.nil? && http_browser_screen_height.to_s.length > 6
|
334
|
-
fail ArgumentError, 'invalid value for "http_browser_screen_height", the character length must be smaller than or equal to 6.'
|
335
|
-
end
|
336
|
-
|
337
259
|
@http_browser_screen_height = http_browser_screen_height
|
338
260
|
end
|
339
261
|
|
340
262
|
# Custom attribute writer method with validation
|
341
263
|
# @param [Object] http_browser_screen_width Value to be assigned
|
342
264
|
def http_browser_screen_width=(http_browser_screen_width)
|
343
|
-
if !http_browser_screen_width.nil? && http_browser_screen_width.to_s.length > 6
|
344
|
-
fail ArgumentError, 'invalid value for "http_browser_screen_width", the character length must be smaller than or equal to 6.'
|
345
|
-
end
|
346
|
-
|
347
265
|
@http_browser_screen_width = http_browser_screen_width
|
348
266
|
end
|
349
267
|
|
350
268
|
# Custom attribute writer method with validation
|
351
269
|
# @param [Object] http_browser_time_difference Value to be assigned
|
352
270
|
def http_browser_time_difference=(http_browser_time_difference)
|
353
|
-
if !http_browser_time_difference.nil? && http_browser_time_difference.to_s.length > 5
|
354
|
-
fail ArgumentError, 'invalid value for "http_browser_time_difference", the character length must be smaller than or equal to 5.'
|
355
|
-
end
|
356
|
-
|
357
271
|
@http_browser_time_difference = http_browser_time_difference
|
358
272
|
end
|
359
273
|
|
360
274
|
# Custom attribute writer method with validation
|
361
275
|
# @param [Object] user_agent_browser_value Value to be assigned
|
362
276
|
def user_agent_browser_value=(user_agent_browser_value)
|
363
|
-
if !user_agent_browser_value.nil? && user_agent_browser_value.to_s.length > 255
|
364
|
-
fail ArgumentError, 'invalid value for "user_agent_browser_value", the character length must be smaller than or equal to 255.'
|
365
|
-
end
|
366
|
-
|
367
277
|
@user_agent_browser_value = user_agent_browser_value
|
368
278
|
end
|
369
279
|
|
@@ -376,6 +286,7 @@ module CyberSource
|
|
376
286
|
ip_address == o.ip_address &&
|
377
287
|
host_name == o.host_name &&
|
378
288
|
fingerprint_session_id == o.fingerprint_session_id &&
|
289
|
+
use_raw_fingerprint_session_id == o.use_raw_fingerprint_session_id &&
|
379
290
|
http_browser_email == o.http_browser_email &&
|
380
291
|
user_agent == o.user_agent &&
|
381
292
|
raw_data == o.raw_data &&
|
@@ -400,7 +311,7 @@ module CyberSource
|
|
400
311
|
# Calculates hash code according to all attributes.
|
401
312
|
# @return [Fixnum] Hash code
|
402
313
|
def hash
|
403
|
-
[cookies_accepted, ip_address, host_name, fingerprint_session_id, http_browser_email, user_agent, raw_data, http_accept_browser_value, http_accept_content, http_browser_language, http_browser_java_enabled, http_browser_java_script_enabled, http_browser_color_depth, http_browser_screen_height, http_browser_screen_width, http_browser_time_difference, user_agent_browser_value].hash
|
314
|
+
[cookies_accepted, ip_address, host_name, fingerprint_session_id, use_raw_fingerprint_session_id, http_browser_email, user_agent, raw_data, http_accept_browser_value, http_accept_content, http_browser_language, http_browser_java_enabled, http_browser_java_script_enabled, http_browser_color_depth, http_browser_screen_height, http_browser_screen_width, http_browser_time_difference, user_agent_browser_value].hash
|
404
315
|
end
|
405
316
|
|
406
317
|
# Builds the object from hash
|
@@ -58,42 +58,24 @@ module CyberSource
|
|
58
58
|
# @return Array for valid properties with the reasons
|
59
59
|
def list_invalid_properties
|
60
60
|
invalid_properties = Array.new
|
61
|
-
if !@key.nil? && @key.to_s.length > 255
|
62
|
-
invalid_properties.push('invalid value for "key", the character length must be smaller than or equal to 255.')
|
63
|
-
end
|
64
|
-
|
65
|
-
if !@value.nil? && @value.to_s.length > 255
|
66
|
-
invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to 255.')
|
67
|
-
end
|
68
|
-
|
69
61
|
invalid_properties
|
70
62
|
end
|
71
63
|
|
72
64
|
# Check to see if the all the properties in the model are valid
|
73
65
|
# @return true if the model is valid
|
74
66
|
def valid?
|
75
|
-
return false if !@key.nil? && @key.to_s.length > 255
|
76
|
-
return false if !@value.nil? && @value.to_s.length > 255
|
77
67
|
true
|
78
68
|
end
|
79
69
|
|
80
70
|
# Custom attribute writer method with validation
|
81
71
|
# @param [Object] key Value to be assigned
|
82
72
|
def key=(key)
|
83
|
-
if !key.nil? && key.to_s.length > 255
|
84
|
-
fail ArgumentError, 'invalid value for "key", the character length must be smaller than or equal to 255.'
|
85
|
-
end
|
86
|
-
|
87
73
|
@key = key
|
88
74
|
end
|
89
75
|
|
90
76
|
# Custom attribute writer method with validation
|
91
77
|
# @param [Object] value Value to be assigned
|
92
78
|
def value=(value)
|
93
|
-
if !value.nil? && value.to_s.length > 255
|
94
|
-
fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to 255.'
|
95
|
-
end
|
96
|
-
|
97
79
|
@value = value
|
98
80
|
end
|
99
81
|
|
@@ -56,27 +56,18 @@ module CyberSource
|
|
56
56
|
# @return Array for valid properties with the reasons
|
57
57
|
def list_invalid_properties
|
58
58
|
invalid_properties = Array.new
|
59
|
-
if !@merchant_name.nil? && @merchant_name.to_s.length > 25
|
60
|
-
invalid_properties.push('invalid value for "merchant_name", the character length must be smaller than or equal to 25.')
|
61
|
-
end
|
62
|
-
|
63
59
|
invalid_properties
|
64
60
|
end
|
65
61
|
|
66
62
|
# Check to see if the all the properties in the model are valid
|
67
63
|
# @return true if the model is valid
|
68
64
|
def valid?
|
69
|
-
return false if !@merchant_name.nil? && @merchant_name.to_s.length > 25
|
70
65
|
true
|
71
66
|
end
|
72
67
|
|
73
68
|
# Custom attribute writer method with validation
|
74
69
|
# @param [Object] merchant_name Value to be assigned
|
75
70
|
def merchant_name=(merchant_name)
|
76
|
-
if !merchant_name.nil? && merchant_name.to_s.length > 25
|
77
|
-
fail ArgumentError, 'invalid value for "merchant_name", the character length must be smaller than or equal to 25.'
|
78
|
-
end
|
79
|
-
|
80
71
|
@merchant_name = merchant_name
|
81
72
|
end
|
82
73
|
|
data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb
CHANGED
@@ -57,27 +57,18 @@ module CyberSource
|
|
57
57
|
# @return Array for valid properties with the reasons
|
58
58
|
def list_invalid_properties
|
59
59
|
invalid_properties = Array.new
|
60
|
-
if !@url.nil? && @url.to_s.length > 255
|
61
|
-
invalid_properties.push('invalid value for "url", the character length must be smaller than or equal to 255.')
|
62
|
-
end
|
63
|
-
|
64
60
|
invalid_properties
|
65
61
|
end
|
66
62
|
|
67
63
|
# Check to see if the all the properties in the model are valid
|
68
64
|
# @return true if the model is valid
|
69
65
|
def valid?
|
70
|
-
return false if !@url.nil? && @url.to_s.length > 255
|
71
66
|
true
|
72
67
|
end
|
73
68
|
|
74
69
|
# Custom attribute writer method with validation
|
75
70
|
# @param [Object] url Value to be assigned
|
76
71
|
def url=(url)
|
77
|
-
if !url.nil? && url.to_s.length > 255
|
78
|
-
fail ArgumentError, 'invalid value for "url", the character length must be smaller than or equal to 255.'
|
79
|
-
end
|
80
|
-
|
81
72
|
@url = url
|
82
73
|
end
|
83
74
|
|
@@ -128,42 +128,24 @@ module CyberSource
|
|
128
128
|
# @return Array for valid properties with the reasons
|
129
129
|
def list_invalid_properties
|
130
130
|
invalid_properties = Array.new
|
131
|
-
if !@pre_order_date.nil? && @pre_order_date.to_s.length > 10
|
132
|
-
invalid_properties.push('invalid value for "pre_order_date", the character length must be smaller than or equal to 10.')
|
133
|
-
end
|
134
|
-
|
135
|
-
if !@total_offers_count.nil? && @total_offers_count.to_s.length > 2
|
136
|
-
invalid_properties.push('invalid value for "total_offers_count", the character length must be smaller than or equal to 2.')
|
137
|
-
end
|
138
|
-
|
139
131
|
invalid_properties
|
140
132
|
end
|
141
133
|
|
142
134
|
# Check to see if the all the properties in the model are valid
|
143
135
|
# @return true if the model is valid
|
144
136
|
def valid?
|
145
|
-
return false if !@pre_order_date.nil? && @pre_order_date.to_s.length > 10
|
146
|
-
return false if !@total_offers_count.nil? && @total_offers_count.to_s.length > 2
|
147
137
|
true
|
148
138
|
end
|
149
139
|
|
150
140
|
# Custom attribute writer method with validation
|
151
141
|
# @param [Object] pre_order_date Value to be assigned
|
152
142
|
def pre_order_date=(pre_order_date)
|
153
|
-
if !pre_order_date.nil? && pre_order_date.to_s.length > 10
|
154
|
-
fail ArgumentError, 'invalid value for "pre_order_date", the character length must be smaller than or equal to 10.'
|
155
|
-
end
|
156
|
-
|
157
143
|
@pre_order_date = pre_order_date
|
158
144
|
end
|
159
145
|
|
160
146
|
# Custom attribute writer method with validation
|
161
147
|
# @param [Object] total_offers_count Value to be assigned
|
162
148
|
def total_offers_count=(total_offers_count)
|
163
|
-
if !total_offers_count.nil? && total_offers_count.to_s.length > 2
|
164
|
-
fail ArgumentError, 'invalid value for "total_offers_count", the character length must be smaller than or equal to 2.'
|
165
|
-
end
|
166
|
-
|
167
149
|
@total_offers_count = total_offers_count
|
168
150
|
end
|
169
151
|
|
@@ -62,14 +62,6 @@ module CyberSource
|
|
62
62
|
invalid_properties.push('invalid value for "currency", currency cannot be nil.')
|
63
63
|
end
|
64
64
|
|
65
|
-
if @currency.to_s.length > 3
|
66
|
-
invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.')
|
67
|
-
end
|
68
|
-
|
69
|
-
if !@total_amount.nil? && @total_amount.to_s.length > 19
|
70
|
-
invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 19.')
|
71
|
-
end
|
72
|
-
|
73
65
|
invalid_properties
|
74
66
|
end
|
75
67
|
|
@@ -77,8 +69,6 @@ module CyberSource
|
|
77
69
|
# @return true if the model is valid
|
78
70
|
def valid?
|
79
71
|
return false if @currency.nil?
|
80
|
-
return false if @currency.to_s.length > 3
|
81
|
-
return false if !@total_amount.nil? && @total_amount.to_s.length > 19
|
82
72
|
true
|
83
73
|
end
|
84
74
|
|
@@ -89,20 +79,12 @@ module CyberSource
|
|
89
79
|
fail ArgumentError, 'currency cannot be nil'
|
90
80
|
end
|
91
81
|
|
92
|
-
if currency.to_s.length > 3
|
93
|
-
fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.'
|
94
|
-
end
|
95
|
-
|
96
82
|
@currency = currency
|
97
83
|
end
|
98
84
|
|
99
85
|
# Custom attribute writer method with validation
|
100
86
|
# @param [Object] total_amount Value to be assigned
|
101
87
|
def total_amount=(total_amount)
|
102
|
-
if !total_amount.nil? && total_amount.to_s.length > 19
|
103
|
-
fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 19.'
|
104
|
-
end
|
105
|
-
|
106
88
|
@total_amount = total_amount
|
107
89
|
end
|
108
90
|
|
@@ -129,162 +129,72 @@ module CyberSource
|
|
129
129
|
# @return Array for valid properties with the reasons
|
130
130
|
def list_invalid_properties
|
131
131
|
invalid_properties = Array.new
|
132
|
-
if !@address1.nil? && @address1.to_s.length > 60
|
133
|
-
invalid_properties.push('invalid value for "address1", the character length must be smaller than or equal to 60.')
|
134
|
-
end
|
135
|
-
|
136
|
-
if !@address2.nil? && @address2.to_s.length > 60
|
137
|
-
invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 60.')
|
138
|
-
end
|
139
|
-
|
140
|
-
if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
141
|
-
invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 20.')
|
142
|
-
end
|
143
|
-
|
144
|
-
if !@country.nil? && @country.to_s.length > 2
|
145
|
-
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
|
146
|
-
end
|
147
|
-
|
148
|
-
if !@locality.nil? && @locality.to_s.length > 50
|
149
|
-
invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 50.')
|
150
|
-
end
|
151
|
-
|
152
|
-
if !@first_name.nil? && @first_name.to_s.length > 60
|
153
|
-
invalid_properties.push('invalid value for "first_name", the character length must be smaller than or equal to 60.')
|
154
|
-
end
|
155
|
-
|
156
|
-
if !@last_name.nil? && @last_name.to_s.length > 60
|
157
|
-
invalid_properties.push('invalid value for "last_name", the character length must be smaller than or equal to 60.')
|
158
|
-
end
|
159
|
-
|
160
|
-
if !@phone_number.nil? && @phone_number.to_s.length > 15
|
161
|
-
invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 15.')
|
162
|
-
end
|
163
|
-
|
164
|
-
if !@email.nil? && @email.to_s.length > 255
|
165
|
-
invalid_properties.push('invalid value for "email", the character length must be smaller than or equal to 255.')
|
166
|
-
end
|
167
|
-
|
168
|
-
if !@postal_code.nil? && @postal_code.to_s.length > 10
|
169
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
|
170
|
-
end
|
171
|
-
|
172
132
|
invalid_properties
|
173
133
|
end
|
174
134
|
|
175
135
|
# Check to see if the all the properties in the model are valid
|
176
136
|
# @return true if the model is valid
|
177
137
|
def valid?
|
178
|
-
return false if !@address1.nil? && @address1.to_s.length > 60
|
179
|
-
return false if !@address2.nil? && @address2.to_s.length > 60
|
180
|
-
return false if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
181
|
-
return false if !@country.nil? && @country.to_s.length > 2
|
182
|
-
return false if !@locality.nil? && @locality.to_s.length > 50
|
183
|
-
return false if !@first_name.nil? && @first_name.to_s.length > 60
|
184
|
-
return false if !@last_name.nil? && @last_name.to_s.length > 60
|
185
|
-
return false if !@phone_number.nil? && @phone_number.to_s.length > 15
|
186
|
-
return false if !@email.nil? && @email.to_s.length > 255
|
187
|
-
return false if !@postal_code.nil? && @postal_code.to_s.length > 10
|
188
138
|
true
|
189
139
|
end
|
190
140
|
|
191
141
|
# Custom attribute writer method with validation
|
192
142
|
# @param [Object] address1 Value to be assigned
|
193
143
|
def address1=(address1)
|
194
|
-
if !address1.nil? && address1.to_s.length > 60
|
195
|
-
fail ArgumentError, 'invalid value for "address1", the character length must be smaller than or equal to 60.'
|
196
|
-
end
|
197
|
-
|
198
144
|
@address1 = address1
|
199
145
|
end
|
200
146
|
|
201
147
|
# Custom attribute writer method with validation
|
202
148
|
# @param [Object] address2 Value to be assigned
|
203
149
|
def address2=(address2)
|
204
|
-
if !address2.nil? && address2.to_s.length > 60
|
205
|
-
fail ArgumentError, 'invalid value for "address2", the character length must be smaller than or equal to 60.'
|
206
|
-
end
|
207
|
-
|
208
150
|
@address2 = address2
|
209
151
|
end
|
210
152
|
|
211
153
|
# Custom attribute writer method with validation
|
212
154
|
# @param [Object] administrative_area Value to be assigned
|
213
155
|
def administrative_area=(administrative_area)
|
214
|
-
if !administrative_area.nil? && administrative_area.to_s.length > 20
|
215
|
-
fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 20.'
|
216
|
-
end
|
217
|
-
|
218
156
|
@administrative_area = administrative_area
|
219
157
|
end
|
220
158
|
|
221
159
|
# Custom attribute writer method with validation
|
222
160
|
# @param [Object] country Value to be assigned
|
223
161
|
def country=(country)
|
224
|
-
if !country.nil? && country.to_s.length > 2
|
225
|
-
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
|
226
|
-
end
|
227
|
-
|
228
162
|
@country = country
|
229
163
|
end
|
230
164
|
|
231
165
|
# Custom attribute writer method with validation
|
232
166
|
# @param [Object] locality Value to be assigned
|
233
167
|
def locality=(locality)
|
234
|
-
if !locality.nil? && locality.to_s.length > 50
|
235
|
-
fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 50.'
|
236
|
-
end
|
237
|
-
|
238
168
|
@locality = locality
|
239
169
|
end
|
240
170
|
|
241
171
|
# Custom attribute writer method with validation
|
242
172
|
# @param [Object] first_name Value to be assigned
|
243
173
|
def first_name=(first_name)
|
244
|
-
if !first_name.nil? && first_name.to_s.length > 60
|
245
|
-
fail ArgumentError, 'invalid value for "first_name", the character length must be smaller than or equal to 60.'
|
246
|
-
end
|
247
|
-
|
248
174
|
@first_name = first_name
|
249
175
|
end
|
250
176
|
|
251
177
|
# Custom attribute writer method with validation
|
252
178
|
# @param [Object] last_name Value to be assigned
|
253
179
|
def last_name=(last_name)
|
254
|
-
if !last_name.nil? && last_name.to_s.length > 60
|
255
|
-
fail ArgumentError, 'invalid value for "last_name", the character length must be smaller than or equal to 60.'
|
256
|
-
end
|
257
|
-
|
258
180
|
@last_name = last_name
|
259
181
|
end
|
260
182
|
|
261
183
|
# Custom attribute writer method with validation
|
262
184
|
# @param [Object] phone_number Value to be assigned
|
263
185
|
def phone_number=(phone_number)
|
264
|
-
if !phone_number.nil? && phone_number.to_s.length > 15
|
265
|
-
fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to 15.'
|
266
|
-
end
|
267
|
-
|
268
186
|
@phone_number = phone_number
|
269
187
|
end
|
270
188
|
|
271
189
|
# Custom attribute writer method with validation
|
272
190
|
# @param [Object] email Value to be assigned
|
273
191
|
def email=(email)
|
274
|
-
if !email.nil? && email.to_s.length > 255
|
275
|
-
fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 255.'
|
276
|
-
end
|
277
|
-
|
278
192
|
@email = email
|
279
193
|
end
|
280
194
|
|
281
195
|
# Custom attribute writer method with validation
|
282
196
|
# @param [Object] postal_code Value to be assigned
|
283
197
|
def postal_code=(postal_code)
|
284
|
-
if !postal_code.nil? && postal_code.to_s.length > 10
|
285
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 10.'
|
286
|
-
end
|
287
|
-
|
288
198
|
@postal_code = postal_code
|
289
199
|
end
|
290
200
|
|