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
@@ -74,14 +74,6 @@ module CyberSource
|
|
74
74
|
# @return Array for valid properties with the reasons
|
75
75
|
def list_invalid_properties
|
76
76
|
invalid_properties = Array.new
|
77
|
-
if !@terminal_id.nil? && @terminal_id.to_s.length > 8
|
78
|
-
invalid_properties.push('invalid value for "terminal_id", the character length must be smaller than or equal to 8.')
|
79
|
-
end
|
80
|
-
|
81
|
-
if !@entry_mode.nil? && @entry_mode.to_s.length > 11
|
82
|
-
invalid_properties.push('invalid value for "entry_mode", the character length must be smaller than or equal to 11.')
|
83
|
-
end
|
84
|
-
|
85
77
|
if !@terminal_capability.nil? && @terminal_capability > 5
|
86
78
|
invalid_properties.push('invalid value for "terminal_capability", must be smaller than or equal to 5.')
|
87
79
|
end
|
@@ -96,8 +88,6 @@ module CyberSource
|
|
96
88
|
# Check to see if the all the properties in the model are valid
|
97
89
|
# @return true if the model is valid
|
98
90
|
def valid?
|
99
|
-
return false if !@terminal_id.nil? && @terminal_id.to_s.length > 8
|
100
|
-
return false if !@entry_mode.nil? && @entry_mode.to_s.length > 11
|
101
91
|
return false if !@terminal_capability.nil? && @terminal_capability > 5
|
102
92
|
return false if !@terminal_capability.nil? && @terminal_capability < 1
|
103
93
|
true
|
@@ -106,20 +96,12 @@ module CyberSource
|
|
106
96
|
# Custom attribute writer method with validation
|
107
97
|
# @param [Object] terminal_id Value to be assigned
|
108
98
|
def terminal_id=(terminal_id)
|
109
|
-
if !terminal_id.nil? && terminal_id.to_s.length > 8
|
110
|
-
fail ArgumentError, 'invalid value for "terminal_id", the character length must be smaller than or equal to 8.'
|
111
|
-
end
|
112
|
-
|
113
99
|
@terminal_id = terminal_id
|
114
100
|
end
|
115
101
|
|
116
102
|
# Custom attribute writer method with validation
|
117
103
|
# @param [Object] entry_mode Value to be assigned
|
118
104
|
def entry_mode=(entry_mode)
|
119
|
-
if !entry_mode.nil? && entry_mode.to_s.length > 11
|
120
|
-
fail ArgumentError, 'invalid value for "entry_mode", the character length must be smaller than or equal to 11.'
|
121
|
-
end
|
122
|
-
|
123
105
|
@entry_mode = entry_mode
|
124
106
|
end
|
125
107
|
|
@@ -14,7 +14,10 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class TssV2TransactionsGet200ResponseProcessingInformation
|
17
|
-
#
|
17
|
+
# Indicates that the transaction includes industry-specific data. Possible Values: - `airline` - `restaurant` - `lodging` - `auto_rental` - `transit` - `healthcare_medical` - `healthcare_transit` - `transit` #### Card Present, Airlines and Auto Rental You must set this field to `airline` in order for airline data to be sent to the processor. For example, if this field is not set to `airline` or is not included in the request, no airline data is sent to the processor. You must set this field to `restaurant` in order for restaurant data to be sent to the processor. When this field is not set to `restaurant` or is not included in the request, no restaurant data is sent to the processor. You must set this field to `auto_rental` in order for auto rental data to be sent to the processor. For example, if this field is not set to `auto_rental` or is not included in the request, no auto rental data is sent to the processor. Restaurant data is supported only on CyberSource through VisaNet.
|
18
|
+
attr_accessor :industry_data_type
|
19
|
+
|
20
|
+
# Type of digital payment solution for the transaction.
|
18
21
|
attr_accessor :payment_solution
|
19
22
|
|
20
23
|
# Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `install`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction. Note that this should ONLY be used when the cardholder and card are present at the time of the transaction. For all keyed transactions originated from a POS terminal where the cardholder and card are not present, commerceIndicator should be submitted as “moto\"
|
@@ -32,6 +35,7 @@ module CyberSource
|
|
32
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
38
|
+
:'industry_data_type' => :'industryDataType',
|
35
39
|
:'payment_solution' => :'paymentSolution',
|
36
40
|
:'commerce_indicator' => :'commerceIndicator',
|
37
41
|
:'business_application_id' => :'businessApplicationId',
|
@@ -44,6 +48,7 @@ module CyberSource
|
|
44
48
|
# Attribute type mapping.
|
45
49
|
def self.swagger_types
|
46
50
|
{
|
51
|
+
:'industry_data_type' => :'String',
|
47
52
|
:'payment_solution' => :'String',
|
48
53
|
:'commerce_indicator' => :'String',
|
49
54
|
:'business_application_id' => :'String',
|
@@ -61,6 +66,10 @@ module CyberSource
|
|
61
66
|
# convert string to symbol for hash key
|
62
67
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
63
68
|
|
69
|
+
if attributes.has_key?(:'industryDataType')
|
70
|
+
self.industry_data_type = attributes[:'industryDataType']
|
71
|
+
end
|
72
|
+
|
64
73
|
if attributes.has_key?(:'paymentSolution')
|
65
74
|
self.payment_solution = attributes[:'paymentSolution']
|
66
75
|
end
|
@@ -90,42 +99,30 @@ module CyberSource
|
|
90
99
|
# @return Array for valid properties with the reasons
|
91
100
|
def list_invalid_properties
|
92
101
|
invalid_properties = Array.new
|
93
|
-
if !@payment_solution.nil? && @payment_solution.to_s.length > 12
|
94
|
-
invalid_properties.push('invalid value for "payment_solution", the character length must be smaller than or equal to 12.')
|
95
|
-
end
|
96
|
-
|
97
|
-
if !@commerce_indicator.nil? && @commerce_indicator.to_s.length > 20
|
98
|
-
invalid_properties.push('invalid value for "commerce_indicator", the character length must be smaller than or equal to 20.')
|
99
|
-
end
|
100
|
-
|
101
102
|
invalid_properties
|
102
103
|
end
|
103
104
|
|
104
105
|
# Check to see if the all the properties in the model are valid
|
105
106
|
# @return true if the model is valid
|
106
107
|
def valid?
|
107
|
-
return false if !@payment_solution.nil? && @payment_solution.to_s.length > 12
|
108
|
-
return false if !@commerce_indicator.nil? && @commerce_indicator.to_s.length > 20
|
109
108
|
true
|
110
109
|
end
|
111
110
|
|
111
|
+
# Custom attribute writer method with validation
|
112
|
+
# @param [Object] industry_data_type Value to be assigned
|
113
|
+
def industry_data_type=(industry_data_type)
|
114
|
+
@industry_data_type = industry_data_type
|
115
|
+
end
|
116
|
+
|
112
117
|
# Custom attribute writer method with validation
|
113
118
|
# @param [Object] payment_solution Value to be assigned
|
114
119
|
def payment_solution=(payment_solution)
|
115
|
-
if !payment_solution.nil? && payment_solution.to_s.length > 12
|
116
|
-
fail ArgumentError, 'invalid value for "payment_solution", the character length must be smaller than or equal to 12.'
|
117
|
-
end
|
118
|
-
|
119
120
|
@payment_solution = payment_solution
|
120
121
|
end
|
121
122
|
|
122
123
|
# Custom attribute writer method with validation
|
123
124
|
# @param [Object] commerce_indicator Value to be assigned
|
124
125
|
def commerce_indicator=(commerce_indicator)
|
125
|
-
if !commerce_indicator.nil? && commerce_indicator.to_s.length > 20
|
126
|
-
fail ArgumentError, 'invalid value for "commerce_indicator", the character length must be smaller than or equal to 20.'
|
127
|
-
end
|
128
|
-
|
129
126
|
@commerce_indicator = commerce_indicator
|
130
127
|
end
|
131
128
|
|
@@ -134,6 +131,7 @@ module CyberSource
|
|
134
131
|
def ==(o)
|
135
132
|
return true if self.equal?(o)
|
136
133
|
self.class == o.class &&
|
134
|
+
industry_data_type == o.industry_data_type &&
|
137
135
|
payment_solution == o.payment_solution &&
|
138
136
|
commerce_indicator == o.commerce_indicator &&
|
139
137
|
business_application_id == o.business_application_id &&
|
@@ -151,7 +149,7 @@ module CyberSource
|
|
151
149
|
# Calculates hash code according to all attributes.
|
152
150
|
# @return [Fixnum] Hash code
|
153
151
|
def hash
|
154
|
-
[payment_solution, commerce_indicator, business_application_id, authorization_options, bank_transfer_options, japan_payment_options].hash
|
152
|
+
[industry_data_type, payment_solution, commerce_indicator, business_application_id, authorization_options, bank_transfer_options, japan_payment_options].hash
|
155
153
|
end
|
156
154
|
|
157
155
|
# Builds the object from hash
|
@@ -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 !@auth_type.nil? && @auth_type.to_s.length > 15
|
52
|
-
invalid_properties.push('invalid value for "auth_type", the character length must be smaller than or equal to 15.')
|
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 !@auth_type.nil? && @auth_type.to_s.length > 15
|
62
57
|
true
|
63
58
|
end
|
64
59
|
|
65
60
|
# Custom attribute writer method with validation
|
66
61
|
# @param [Object] auth_type Value to be assigned
|
67
62
|
def auth_type=(auth_type)
|
68
|
-
if !auth_type.nil? && auth_type.to_s.length > 15
|
69
|
-
fail ArgumentError, 'invalid value for "auth_type", the character length must be smaller than or equal to 15.'
|
70
|
-
end
|
71
|
-
|
72
63
|
@auth_type = auth_type
|
73
64
|
end
|
74
65
|
|
@@ -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 !@payment_method.nil? && @payment_method.to_s.length > 2
|
79
|
-
invalid_properties.push('invalid value for "payment_method", the character length must be smaller than or equal to 2.')
|
80
|
-
end
|
81
|
-
|
82
|
-
if !@terminal_id.nil? && @terminal_id.to_s.length > 13
|
83
|
-
invalid_properties.push('invalid value for "terminal_id", the character length must be smaller than or equal to 13.')
|
84
|
-
end
|
85
|
-
|
86
|
-
if !@business_name.nil? && @business_name.to_s.length > 25
|
87
|
-
invalid_properties.push('invalid value for "business_name", the character length must be smaller than or equal to 25.')
|
88
|
-
end
|
89
|
-
|
90
|
-
if !@business_name_katakana.nil? && @business_name_katakana.to_s.length > 25
|
91
|
-
invalid_properties.push('invalid value for "business_name_katakana", the character length must be smaller than or equal to 25.')
|
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 !@payment_method.nil? && @payment_method.to_s.length > 2
|
101
|
-
return false if !@terminal_id.nil? && @terminal_id.to_s.length > 13
|
102
|
-
return false if !@business_name.nil? && @business_name.to_s.length > 25
|
103
|
-
return false if !@business_name_katakana.nil? && @business_name_katakana.to_s.length > 25
|
104
84
|
true
|
105
85
|
end
|
106
86
|
|
107
87
|
# Custom attribute writer method with validation
|
108
88
|
# @param [Object] payment_method Value to be assigned
|
109
89
|
def payment_method=(payment_method)
|
110
|
-
if !payment_method.nil? && payment_method.to_s.length > 2
|
111
|
-
fail ArgumentError, 'invalid value for "payment_method", the character length must be smaller than or equal to 2.'
|
112
|
-
end
|
113
|
-
|
114
90
|
@payment_method = payment_method
|
115
91
|
end
|
116
92
|
|
117
93
|
# Custom attribute writer method with validation
|
118
94
|
# @param [Object] terminal_id Value to be assigned
|
119
95
|
def terminal_id=(terminal_id)
|
120
|
-
if !terminal_id.nil? && terminal_id.to_s.length > 13
|
121
|
-
fail ArgumentError, 'invalid value for "terminal_id", the character length must be smaller than or equal to 13.'
|
122
|
-
end
|
123
|
-
|
124
96
|
@terminal_id = terminal_id
|
125
97
|
end
|
126
98
|
|
127
99
|
# Custom attribute writer method with validation
|
128
100
|
# @param [Object] business_name Value to be assigned
|
129
101
|
def business_name=(business_name)
|
130
|
-
if !business_name.nil? && business_name.to_s.length > 25
|
131
|
-
fail ArgumentError, 'invalid value for "business_name", the character length must be smaller than or equal to 25.'
|
132
|
-
end
|
133
|
-
|
134
102
|
@business_name = business_name
|
135
103
|
end
|
136
104
|
|
137
105
|
# Custom attribute writer method with validation
|
138
106
|
# @param [Object] business_name_katakana Value to be assigned
|
139
107
|
def business_name_katakana=(business_name_katakana)
|
140
|
-
if !business_name_katakana.nil? && business_name_katakana.to_s.length > 25
|
141
|
-
fail ArgumentError, 'invalid value for "business_name_katakana", the character length must be smaller than or equal to 25.'
|
142
|
-
end
|
143
|
-
|
144
108
|
@business_name_katakana = business_name_katakana
|
145
109
|
end
|
146
110
|
|
data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb
CHANGED
@@ -162,72 +162,36 @@ module CyberSource
|
|
162
162
|
# @return Array for valid properties with the reasons
|
163
163
|
def list_invalid_properties
|
164
164
|
invalid_properties = Array.new
|
165
|
-
if !@transaction_id.nil? && @transaction_id.to_s.length > 50
|
166
|
-
invalid_properties.push('invalid value for "transaction_id", the character length must be smaller than or equal to 50.')
|
167
|
-
end
|
168
|
-
|
169
|
-
if !@response_code.nil? && @response_code.to_s.length > 10
|
170
|
-
invalid_properties.push('invalid value for "response_code", the character length must be smaller than or equal to 10.')
|
171
|
-
end
|
172
|
-
|
173
|
-
if !@system_trace_audit_number.nil? && @system_trace_audit_number.to_s.length > 6
|
174
|
-
invalid_properties.push('invalid value for "system_trace_audit_number", the character length must be smaller than or equal to 6.')
|
175
|
-
end
|
176
|
-
|
177
|
-
if !@response_code_source.nil? && @response_code_source.to_s.length > 1
|
178
|
-
invalid_properties.push('invalid value for "response_code_source", the character length must be smaller than or equal to 1.')
|
179
|
-
end
|
180
|
-
|
181
165
|
invalid_properties
|
182
166
|
end
|
183
167
|
|
184
168
|
# Check to see if the all the properties in the model are valid
|
185
169
|
# @return true if the model is valid
|
186
170
|
def valid?
|
187
|
-
return false if !@transaction_id.nil? && @transaction_id.to_s.length > 50
|
188
|
-
return false if !@response_code.nil? && @response_code.to_s.length > 10
|
189
|
-
return false if !@system_trace_audit_number.nil? && @system_trace_audit_number.to_s.length > 6
|
190
|
-
return false if !@response_code_source.nil? && @response_code_source.to_s.length > 1
|
191
171
|
true
|
192
172
|
end
|
193
173
|
|
194
174
|
# Custom attribute writer method with validation
|
195
175
|
# @param [Object] transaction_id Value to be assigned
|
196
176
|
def transaction_id=(transaction_id)
|
197
|
-
if !transaction_id.nil? && transaction_id.to_s.length > 50
|
198
|
-
fail ArgumentError, 'invalid value for "transaction_id", the character length must be smaller than or equal to 50.'
|
199
|
-
end
|
200
|
-
|
201
177
|
@transaction_id = transaction_id
|
202
178
|
end
|
203
179
|
|
204
180
|
# Custom attribute writer method with validation
|
205
181
|
# @param [Object] response_code Value to be assigned
|
206
182
|
def response_code=(response_code)
|
207
|
-
if !response_code.nil? && response_code.to_s.length > 10
|
208
|
-
fail ArgumentError, 'invalid value for "response_code", the character length must be smaller than or equal to 10.'
|
209
|
-
end
|
210
|
-
|
211
183
|
@response_code = response_code
|
212
184
|
end
|
213
185
|
|
214
186
|
# Custom attribute writer method with validation
|
215
187
|
# @param [Object] system_trace_audit_number Value to be assigned
|
216
188
|
def system_trace_audit_number=(system_trace_audit_number)
|
217
|
-
if !system_trace_audit_number.nil? && system_trace_audit_number.to_s.length > 6
|
218
|
-
fail ArgumentError, 'invalid value for "system_trace_audit_number", the character length must be smaller than or equal to 6.'
|
219
|
-
end
|
220
|
-
|
221
189
|
@system_trace_audit_number = system_trace_audit_number
|
222
190
|
end
|
223
191
|
|
224
192
|
# Custom attribute writer method with validation
|
225
193
|
# @param [Object] response_code_source Value to be assigned
|
226
194
|
def response_code_source=(response_code_source)
|
227
|
-
if !response_code_source.nil? && response_code_source.to_s.length > 1
|
228
|
-
fail ArgumentError, 'invalid value for "response_code_source", the character length must be smaller than or equal to 1.'
|
229
|
-
end
|
230
|
-
|
231
195
|
@response_code_source = response_code_source
|
232
196
|
end
|
233
197
|
|
@@ -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 !@email.nil? && @email.to_s.length > 1
|
133
|
-
invalid_properties.push('invalid value for "email", the character length must be smaller than or equal to 1.')
|
134
|
-
end
|
135
|
-
|
136
|
-
if !@email_raw.nil? && @email_raw.to_s.length > 1
|
137
|
-
invalid_properties.push('invalid value for "email_raw", the character length must be smaller than or equal to 1.')
|
138
|
-
end
|
139
|
-
|
140
|
-
if !@name.nil? && @name.to_s.length > 30
|
141
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 30.')
|
142
|
-
end
|
143
|
-
|
144
|
-
if !@name_raw.nil? && @name_raw.to_s.length > 30
|
145
|
-
invalid_properties.push('invalid value for "name_raw", the character length must be smaller than or equal to 30.')
|
146
|
-
end
|
147
|
-
|
148
|
-
if !@phone_number.nil? && @phone_number.to_s.length > 1
|
149
|
-
invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 1.')
|
150
|
-
end
|
151
|
-
|
152
|
-
if !@phone_number_raw.nil? && @phone_number_raw.to_s.length > 1
|
153
|
-
invalid_properties.push('invalid value for "phone_number_raw", the character length must be smaller than or equal to 1.')
|
154
|
-
end
|
155
|
-
|
156
|
-
if !@street.nil? && @street.to_s.length > 1
|
157
|
-
invalid_properties.push('invalid value for "street", the character length must be smaller than or equal to 1.')
|
158
|
-
end
|
159
|
-
|
160
|
-
if !@street_raw.nil? && @street_raw.to_s.length > 1
|
161
|
-
invalid_properties.push('invalid value for "street_raw", the character length must be smaller than or equal to 1.')
|
162
|
-
end
|
163
|
-
|
164
|
-
if !@postal_code.nil? && @postal_code.to_s.length > 1
|
165
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 1.')
|
166
|
-
end
|
167
|
-
|
168
|
-
if !@postal_code_raw.nil? && @postal_code_raw.to_s.length > 1
|
169
|
-
invalid_properties.push('invalid value for "postal_code_raw", the character length must be smaller than or equal to 1.')
|
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 !@email.nil? && @email.to_s.length > 1
|
179
|
-
return false if !@email_raw.nil? && @email_raw.to_s.length > 1
|
180
|
-
return false if !@name.nil? && @name.to_s.length > 30
|
181
|
-
return false if !@name_raw.nil? && @name_raw.to_s.length > 30
|
182
|
-
return false if !@phone_number.nil? && @phone_number.to_s.length > 1
|
183
|
-
return false if !@phone_number_raw.nil? && @phone_number_raw.to_s.length > 1
|
184
|
-
return false if !@street.nil? && @street.to_s.length > 1
|
185
|
-
return false if !@street_raw.nil? && @street_raw.to_s.length > 1
|
186
|
-
return false if !@postal_code.nil? && @postal_code.to_s.length > 1
|
187
|
-
return false if !@postal_code_raw.nil? && @postal_code_raw.to_s.length > 1
|
188
138
|
true
|
189
139
|
end
|
190
140
|
|
191
141
|
# Custom attribute writer method with validation
|
192
142
|
# @param [Object] email Value to be assigned
|
193
143
|
def email=(email)
|
194
|
-
if !email.nil? && email.to_s.length > 1
|
195
|
-
fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 1.'
|
196
|
-
end
|
197
|
-
|
198
144
|
@email = email
|
199
145
|
end
|
200
146
|
|
201
147
|
# Custom attribute writer method with validation
|
202
148
|
# @param [Object] email_raw Value to be assigned
|
203
149
|
def email_raw=(email_raw)
|
204
|
-
if !email_raw.nil? && email_raw.to_s.length > 1
|
205
|
-
fail ArgumentError, 'invalid value for "email_raw", the character length must be smaller than or equal to 1.'
|
206
|
-
end
|
207
|
-
|
208
150
|
@email_raw = email_raw
|
209
151
|
end
|
210
152
|
|
211
153
|
# Custom attribute writer method with validation
|
212
154
|
# @param [Object] name Value to be assigned
|
213
155
|
def name=(name)
|
214
|
-
if !name.nil? && name.to_s.length > 30
|
215
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 30.'
|
216
|
-
end
|
217
|
-
|
218
156
|
@name = name
|
219
157
|
end
|
220
158
|
|
221
159
|
# Custom attribute writer method with validation
|
222
160
|
# @param [Object] name_raw Value to be assigned
|
223
161
|
def name_raw=(name_raw)
|
224
|
-
if !name_raw.nil? && name_raw.to_s.length > 30
|
225
|
-
fail ArgumentError, 'invalid value for "name_raw", the character length must be smaller than or equal to 30.'
|
226
|
-
end
|
227
|
-
|
228
162
|
@name_raw = name_raw
|
229
163
|
end
|
230
164
|
|
231
165
|
# Custom attribute writer method with validation
|
232
166
|
# @param [Object] phone_number Value to be assigned
|
233
167
|
def phone_number=(phone_number)
|
234
|
-
if !phone_number.nil? && phone_number.to_s.length > 1
|
235
|
-
fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to 1.'
|
236
|
-
end
|
237
|
-
|
238
168
|
@phone_number = phone_number
|
239
169
|
end
|
240
170
|
|
241
171
|
# Custom attribute writer method with validation
|
242
172
|
# @param [Object] phone_number_raw Value to be assigned
|
243
173
|
def phone_number_raw=(phone_number_raw)
|
244
|
-
if !phone_number_raw.nil? && phone_number_raw.to_s.length > 1
|
245
|
-
fail ArgumentError, 'invalid value for "phone_number_raw", the character length must be smaller than or equal to 1.'
|
246
|
-
end
|
247
|
-
|
248
174
|
@phone_number_raw = phone_number_raw
|
249
175
|
end
|
250
176
|
|
251
177
|
# Custom attribute writer method with validation
|
252
178
|
# @param [Object] street Value to be assigned
|
253
179
|
def street=(street)
|
254
|
-
if !street.nil? && street.to_s.length > 1
|
255
|
-
fail ArgumentError, 'invalid value for "street", the character length must be smaller than or equal to 1.'
|
256
|
-
end
|
257
|
-
|
258
180
|
@street = street
|
259
181
|
end
|
260
182
|
|
261
183
|
# Custom attribute writer method with validation
|
262
184
|
# @param [Object] street_raw Value to be assigned
|
263
185
|
def street_raw=(street_raw)
|
264
|
-
if !street_raw.nil? && street_raw.to_s.length > 1
|
265
|
-
fail ArgumentError, 'invalid value for "street_raw", the character length must be smaller than or equal to 1.'
|
266
|
-
end
|
267
|
-
|
268
186
|
@street_raw = street_raw
|
269
187
|
end
|
270
188
|
|
271
189
|
# Custom attribute writer method with validation
|
272
190
|
# @param [Object] postal_code Value to be assigned
|
273
191
|
def postal_code=(postal_code)
|
274
|
-
if !postal_code.nil? && postal_code.to_s.length > 1
|
275
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 1.'
|
276
|
-
end
|
277
|
-
|
278
192
|
@postal_code = postal_code
|
279
193
|
end
|
280
194
|
|
281
195
|
# Custom attribute writer method with validation
|
282
196
|
# @param [Object] postal_code_raw Value to be assigned
|
283
197
|
def postal_code_raw=(postal_code_raw)
|
284
|
-
if !postal_code_raw.nil? && postal_code_raw.to_s.length > 1
|
285
|
-
fail ArgumentError, 'invalid value for "postal_code_raw", the character length must be smaller than or equal to 1.'
|
286
|
-
end
|
287
|
-
|
288
198
|
@postal_code_raw = postal_code_raw
|
289
199
|
end
|
290
200
|
|