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
data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb
CHANGED
@@ -48,36 +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 !@id.nil? && @id.to_s.length > 32
|
52
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 32.')
|
53
|
-
end
|
54
|
-
|
55
|
-
if !@id.nil? && @id.to_s.length < 1
|
56
|
-
invalid_properties.push('invalid value for "id", the character length must be great than or equal to 1.')
|
57
|
-
end
|
58
|
-
|
59
51
|
invalid_properties
|
60
52
|
end
|
61
53
|
|
62
54
|
# Check to see if the all the properties in the model are valid
|
63
55
|
# @return true if the model is valid
|
64
56
|
def valid?
|
65
|
-
return false if !@id.nil? && @id.to_s.length > 32
|
66
|
-
return false if !@id.nil? && @id.to_s.length < 1
|
67
57
|
true
|
68
58
|
end
|
69
59
|
|
70
60
|
# Custom attribute writer method with validation
|
71
61
|
# @param [Object] id Value to be assigned
|
72
62
|
def id=(id)
|
73
|
-
if !id.nil? && id.to_s.length > 32
|
74
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 32.'
|
75
|
-
end
|
76
|
-
|
77
|
-
if !id.nil? && id.to_s.length < 1
|
78
|
-
fail ArgumentError, 'invalid value for "id", the character length must be great than or equal to 1.'
|
79
|
-
end
|
80
|
-
|
81
63
|
@id = id
|
82
64
|
end
|
83
65
|
|
data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb
CHANGED
@@ -48,36 +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 !@id.nil? && @id.to_s.length > 32
|
52
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 32.')
|
53
|
-
end
|
54
|
-
|
55
|
-
if !@id.nil? && @id.to_s.length < 1
|
56
|
-
invalid_properties.push('invalid value for "id", the character length must be great than or equal to 1.')
|
57
|
-
end
|
58
|
-
|
59
51
|
invalid_properties
|
60
52
|
end
|
61
53
|
|
62
54
|
# Check to see if the all the properties in the model are valid
|
63
55
|
# @return true if the model is valid
|
64
56
|
def valid?
|
65
|
-
return false if !@id.nil? && @id.to_s.length > 32
|
66
|
-
return false if !@id.nil? && @id.to_s.length < 1
|
67
57
|
true
|
68
58
|
end
|
69
59
|
|
70
60
|
# Custom attribute writer method with validation
|
71
61
|
# @param [Object] id Value to be assigned
|
72
62
|
def id=(id)
|
73
|
-
if !id.nil? && id.to_s.length > 32
|
74
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 32.'
|
75
|
-
end
|
76
|
-
|
77
|
-
if !id.nil? && id.to_s.length < 1
|
78
|
-
fail ArgumentError, 'invalid value for "id", the character length must be great than or equal to 1.'
|
79
|
-
end
|
80
|
-
|
81
63
|
@id = id
|
82
64
|
end
|
83
65
|
|
@@ -23,7 +23,7 @@ module CyberSource
|
|
23
23
|
# One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
24
24
|
attr_accessor :expiration_year
|
25
25
|
|
26
|
-
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
26
|
+
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
27
27
|
attr_accessor :type
|
28
28
|
|
29
29
|
# This field is used internally.
|
@@ -129,147 +129,66 @@ 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 !@number.nil? && @number.to_s.length > 20
|
133
|
-
invalid_properties.push('invalid value for "number", the character length must be smaller than or equal to 20.')
|
134
|
-
end
|
135
|
-
|
136
|
-
if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
137
|
-
invalid_properties.push('invalid value for "expiration_month", the character length must be smaller than or equal to 2.')
|
138
|
-
end
|
139
|
-
|
140
|
-
if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
141
|
-
invalid_properties.push('invalid value for "expiration_year", the character length must be smaller than or equal to 4.')
|
142
|
-
end
|
143
|
-
|
144
|
-
if !@cryptogram.nil? && @cryptogram.to_s.length > 40
|
145
|
-
invalid_properties.push('invalid value for "cryptogram", the character length must be smaller than or equal to 40.')
|
146
|
-
end
|
147
|
-
|
148
|
-
if !@requestor_id.nil? && @requestor_id.to_s.length > 11
|
149
|
-
invalid_properties.push('invalid value for "requestor_id", the character length must be smaller than or equal to 11.')
|
150
|
-
end
|
151
|
-
|
152
|
-
if !@transaction_type.nil? && @transaction_type.to_s.length > 1
|
153
|
-
invalid_properties.push('invalid value for "transaction_type", the character length must be smaller than or equal to 1.')
|
154
|
-
end
|
155
|
-
|
156
|
-
if !@assurance_level.nil? && @assurance_level.to_s.length > 2
|
157
|
-
invalid_properties.push('invalid value for "assurance_level", the character length must be smaller than or equal to 2.')
|
158
|
-
end
|
159
|
-
|
160
|
-
if !@storage_method.nil? && @storage_method.to_s.length > 3
|
161
|
-
invalid_properties.push('invalid value for "storage_method", the character length must be smaller than or equal to 3.')
|
162
|
-
end
|
163
|
-
|
164
|
-
if !@security_code.nil? && @security_code.to_s.length > 4
|
165
|
-
invalid_properties.push('invalid value for "security_code", the character length must be smaller than or equal to 4.')
|
166
|
-
end
|
167
|
-
|
168
132
|
invalid_properties
|
169
133
|
end
|
170
134
|
|
171
135
|
# Check to see if the all the properties in the model are valid
|
172
136
|
# @return true if the model is valid
|
173
137
|
def valid?
|
174
|
-
return false if !@number.nil? && @number.to_s.length > 20
|
175
|
-
return false if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
176
|
-
return false if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
177
|
-
return false if !@cryptogram.nil? && @cryptogram.to_s.length > 40
|
178
|
-
return false if !@requestor_id.nil? && @requestor_id.to_s.length > 11
|
179
|
-
return false if !@transaction_type.nil? && @transaction_type.to_s.length > 1
|
180
|
-
return false if !@assurance_level.nil? && @assurance_level.to_s.length > 2
|
181
|
-
return false if !@storage_method.nil? && @storage_method.to_s.length > 3
|
182
|
-
return false if !@security_code.nil? && @security_code.to_s.length > 4
|
183
138
|
true
|
184
139
|
end
|
185
140
|
|
186
141
|
# Custom attribute writer method with validation
|
187
142
|
# @param [Object] number Value to be assigned
|
188
143
|
def number=(number)
|
189
|
-
if !number.nil? && number.to_s.length > 20
|
190
|
-
fail ArgumentError, 'invalid value for "number", the character length must be smaller than or equal to 20.'
|
191
|
-
end
|
192
|
-
|
193
144
|
@number = number
|
194
145
|
end
|
195
146
|
|
196
147
|
# Custom attribute writer method with validation
|
197
148
|
# @param [Object] expiration_month Value to be assigned
|
198
149
|
def expiration_month=(expiration_month)
|
199
|
-
if !expiration_month.nil? && expiration_month.to_s.length > 2
|
200
|
-
fail ArgumentError, 'invalid value for "expiration_month", the character length must be smaller than or equal to 2.'
|
201
|
-
end
|
202
|
-
|
203
150
|
@expiration_month = expiration_month
|
204
151
|
end
|
205
152
|
|
206
153
|
# Custom attribute writer method with validation
|
207
154
|
# @param [Object] expiration_year Value to be assigned
|
208
155
|
def expiration_year=(expiration_year)
|
209
|
-
if !expiration_year.nil? && expiration_year.to_s.length > 4
|
210
|
-
fail ArgumentError, 'invalid value for "expiration_year", the character length must be smaller than or equal to 4.'
|
211
|
-
end
|
212
|
-
|
213
156
|
@expiration_year = expiration_year
|
214
157
|
end
|
215
158
|
|
216
159
|
# Custom attribute writer method with validation
|
217
160
|
# @param [Object] cryptogram Value to be assigned
|
218
161
|
def cryptogram=(cryptogram)
|
219
|
-
if !cryptogram.nil? && cryptogram.to_s.length > 40
|
220
|
-
fail ArgumentError, 'invalid value for "cryptogram", the character length must be smaller than or equal to 40.'
|
221
|
-
end
|
222
|
-
|
223
162
|
@cryptogram = cryptogram
|
224
163
|
end
|
225
164
|
|
226
165
|
# Custom attribute writer method with validation
|
227
166
|
# @param [Object] requestor_id Value to be assigned
|
228
167
|
def requestor_id=(requestor_id)
|
229
|
-
if !requestor_id.nil? && requestor_id.to_s.length > 11
|
230
|
-
fail ArgumentError, 'invalid value for "requestor_id", the character length must be smaller than or equal to 11.'
|
231
|
-
end
|
232
|
-
|
233
168
|
@requestor_id = requestor_id
|
234
169
|
end
|
235
170
|
|
236
171
|
# Custom attribute writer method with validation
|
237
172
|
# @param [Object] transaction_type Value to be assigned
|
238
173
|
def transaction_type=(transaction_type)
|
239
|
-
if !transaction_type.nil? && transaction_type.to_s.length > 1
|
240
|
-
fail ArgumentError, 'invalid value for "transaction_type", the character length must be smaller than or equal to 1.'
|
241
|
-
end
|
242
|
-
|
243
174
|
@transaction_type = transaction_type
|
244
175
|
end
|
245
176
|
|
246
177
|
# Custom attribute writer method with validation
|
247
178
|
# @param [Object] assurance_level Value to be assigned
|
248
179
|
def assurance_level=(assurance_level)
|
249
|
-
if !assurance_level.nil? && assurance_level.to_s.length > 2
|
250
|
-
fail ArgumentError, 'invalid value for "assurance_level", the character length must be smaller than or equal to 2.'
|
251
|
-
end
|
252
|
-
|
253
180
|
@assurance_level = assurance_level
|
254
181
|
end
|
255
182
|
|
256
183
|
# Custom attribute writer method with validation
|
257
184
|
# @param [Object] storage_method Value to be assigned
|
258
185
|
def storage_method=(storage_method)
|
259
|
-
if !storage_method.nil? && storage_method.to_s.length > 3
|
260
|
-
fail ArgumentError, 'invalid value for "storage_method", the character length must be smaller than or equal to 3.'
|
261
|
-
end
|
262
|
-
|
263
186
|
@storage_method = storage_method
|
264
187
|
end
|
265
188
|
|
266
189
|
# Custom attribute writer method with validation
|
267
190
|
# @param [Object] security_code Value to be assigned
|
268
191
|
def security_code=(security_code)
|
269
|
-
if !security_code.nil? && security_code.to_s.length > 4
|
270
|
-
fail ArgumentError, 'invalid value for "security_code", the character length must be smaller than or equal to 4.'
|
271
|
-
end
|
272
|
-
|
273
192
|
@security_code = security_code
|
274
193
|
end
|
275
194
|
|
@@ -265,18 +265,6 @@ module CyberSource
|
|
265
265
|
# @return Array for valid properties with the reasons
|
266
266
|
def list_invalid_properties
|
267
267
|
invalid_properties = Array.new
|
268
|
-
if !@terminal_id.nil? && @terminal_id.to_s.length > 8
|
269
|
-
invalid_properties.push('invalid value for "terminal_id", the character length must be smaller than or equal to 8.')
|
270
|
-
end
|
271
|
-
|
272
|
-
if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
|
273
|
-
invalid_properties.push('invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.')
|
274
|
-
end
|
275
|
-
|
276
|
-
if !@lane_number.nil? && @lane_number.to_s.length > 8
|
277
|
-
invalid_properties.push('invalid value for "lane_number", the character length must be smaller than or equal to 8.')
|
278
|
-
end
|
279
|
-
|
280
268
|
if !@cat_level.nil? && @cat_level > 9
|
281
269
|
invalid_properties.push('invalid value for "cat_level", must be smaller than or equal to 9.')
|
282
270
|
end
|
@@ -285,10 +273,6 @@ module CyberSource
|
|
285
273
|
invalid_properties.push('invalid value for "cat_level", must be greater than or equal to 1.')
|
286
274
|
end
|
287
275
|
|
288
|
-
if !@entry_mode.nil? && @entry_mode.to_s.length > 11
|
289
|
-
invalid_properties.push('invalid value for "entry_mode", the character length must be smaller than or equal to 11.')
|
290
|
-
end
|
291
|
-
|
292
276
|
if !@terminal_capability.nil? && @terminal_capability > 5
|
293
277
|
invalid_properties.push('invalid value for "terminal_capability", must be smaller than or equal to 5.')
|
294
278
|
end
|
@@ -305,117 +289,41 @@ module CyberSource
|
|
305
289
|
invalid_properties.push('invalid value for "pin_entry_capability", must be greater than or equal to 1.')
|
306
290
|
end
|
307
291
|
|
308
|
-
if !@operating_environment.nil? && @operating_environment.to_s.length > 1
|
309
|
-
invalid_properties.push('invalid value for "operating_environment", the character length must be smaller than or equal to 1.')
|
310
|
-
end
|
311
|
-
|
312
|
-
if !@amex_capn_data.nil? && @amex_capn_data.to_s.length > 15
|
313
|
-
invalid_properties.push('invalid value for "amex_capn_data", the character length must be smaller than or equal to 15.')
|
314
|
-
end
|
315
|
-
|
316
|
-
if !@store_and_forward_indicator.nil? && @store_and_forward_indicator.to_s.length > 1
|
317
|
-
invalid_properties.push('invalid value for "store_and_forward_indicator", the character length must be smaller than or equal to 1.')
|
318
|
-
end
|
319
|
-
|
320
|
-
if !@terminal_card_capture_capability.nil? && @terminal_card_capture_capability.to_s.length > 1
|
321
|
-
invalid_properties.push('invalid value for "terminal_card_capture_capability", the character length must be smaller than or equal to 1.')
|
322
|
-
end
|
323
|
-
|
324
|
-
if !@terminal_output_capability.nil? && @terminal_output_capability.to_s.length > 1
|
325
|
-
invalid_properties.push('invalid value for "terminal_output_capability", the character length must be smaller than or equal to 1.')
|
326
|
-
end
|
327
|
-
|
328
|
-
if !@device_id.nil? && @device_id.to_s.length > 32
|
329
|
-
invalid_properties.push('invalid value for "device_id", the character length must be smaller than or equal to 32.')
|
330
|
-
end
|
331
|
-
|
332
292
|
if !@pin_block_encoding_format.nil? && @pin_block_encoding_format > 9
|
333
293
|
invalid_properties.push('invalid value for "pin_block_encoding_format", must be smaller than or equal to 9.')
|
334
294
|
end
|
335
295
|
|
336
|
-
if !@encrypted_pin.nil? && @encrypted_pin.to_s.length > 16
|
337
|
-
invalid_properties.push('invalid value for "encrypted_pin", the character length must be smaller than or equal to 16.')
|
338
|
-
end
|
339
|
-
|
340
|
-
if !@encrypted_key_serial_number.nil? && @encrypted_key_serial_number.to_s.length > 20
|
341
|
-
invalid_properties.push('invalid value for "encrypted_key_serial_number", the character length must be smaller than or equal to 20.')
|
342
|
-
end
|
343
|
-
|
344
|
-
if !@partner_sdk_version.nil? && @partner_sdk_version.to_s.length > 32
|
345
|
-
invalid_properties.push('invalid value for "partner_sdk_version", the character length must be smaller than or equal to 32.')
|
346
|
-
end
|
347
|
-
|
348
|
-
if !@emv_application_identifier_and_dedicated_file_name.nil? && @emv_application_identifier_and_dedicated_file_name.to_s.length > 32
|
349
|
-
invalid_properties.push('invalid value for "emv_application_identifier_and_dedicated_file_name", the character length must be smaller than or equal to 32.')
|
350
|
-
end
|
351
|
-
|
352
|
-
if !@terminal_compliance.nil? && @terminal_compliance.to_s.length > 2
|
353
|
-
invalid_properties.push('invalid value for "terminal_compliance", the character length must be smaller than or equal to 2.')
|
354
|
-
end
|
355
|
-
|
356
|
-
if !@is_dedicated_hardware_terminal.nil? && @is_dedicated_hardware_terminal.to_s.length > 1
|
357
|
-
invalid_properties.push('invalid value for "is_dedicated_hardware_terminal", the character length must be smaller than or equal to 1.')
|
358
|
-
end
|
359
|
-
|
360
296
|
invalid_properties
|
361
297
|
end
|
362
298
|
|
363
299
|
# Check to see if the all the properties in the model are valid
|
364
300
|
# @return true if the model is valid
|
365
301
|
def valid?
|
366
|
-
return false if !@terminal_id.nil? && @terminal_id.to_s.length > 8
|
367
|
-
return false if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
|
368
|
-
return false if !@lane_number.nil? && @lane_number.to_s.length > 8
|
369
302
|
return false if !@cat_level.nil? && @cat_level > 9
|
370
303
|
return false if !@cat_level.nil? && @cat_level < 1
|
371
|
-
return false if !@entry_mode.nil? && @entry_mode.to_s.length > 11
|
372
304
|
return false if !@terminal_capability.nil? && @terminal_capability > 5
|
373
305
|
return false if !@terminal_capability.nil? && @terminal_capability < 1
|
374
306
|
return false if !@pin_entry_capability.nil? && @pin_entry_capability > 1
|
375
307
|
return false if !@pin_entry_capability.nil? && @pin_entry_capability < 1
|
376
|
-
return false if !@operating_environment.nil? && @operating_environment.to_s.length > 1
|
377
|
-
return false if !@amex_capn_data.nil? && @amex_capn_data.to_s.length > 15
|
378
|
-
return false if !@store_and_forward_indicator.nil? && @store_and_forward_indicator.to_s.length > 1
|
379
|
-
return false if !@terminal_card_capture_capability.nil? && @terminal_card_capture_capability.to_s.length > 1
|
380
|
-
return false if !@terminal_output_capability.nil? && @terminal_output_capability.to_s.length > 1
|
381
|
-
return false if !@device_id.nil? && @device_id.to_s.length > 32
|
382
308
|
return false if !@pin_block_encoding_format.nil? && @pin_block_encoding_format > 9
|
383
|
-
return false if !@encrypted_pin.nil? && @encrypted_pin.to_s.length > 16
|
384
|
-
return false if !@encrypted_key_serial_number.nil? && @encrypted_key_serial_number.to_s.length > 20
|
385
|
-
return false if !@partner_sdk_version.nil? && @partner_sdk_version.to_s.length > 32
|
386
|
-
return false if !@emv_application_identifier_and_dedicated_file_name.nil? && @emv_application_identifier_and_dedicated_file_name.to_s.length > 32
|
387
|
-
return false if !@terminal_compliance.nil? && @terminal_compliance.to_s.length > 2
|
388
|
-
return false if !@is_dedicated_hardware_terminal.nil? && @is_dedicated_hardware_terminal.to_s.length > 1
|
389
309
|
true
|
390
310
|
end
|
391
311
|
|
392
312
|
# Custom attribute writer method with validation
|
393
313
|
# @param [Object] terminal_id Value to be assigned
|
394
314
|
def terminal_id=(terminal_id)
|
395
|
-
if !terminal_id.nil? && terminal_id.to_s.length > 8
|
396
|
-
fail ArgumentError, 'invalid value for "terminal_id", the character length must be smaller than or equal to 8.'
|
397
|
-
end
|
398
|
-
|
399
315
|
@terminal_id = terminal_id
|
400
316
|
end
|
401
317
|
|
402
318
|
# Custom attribute writer method with validation
|
403
319
|
# @param [Object] terminal_serial_number Value to be assigned
|
404
320
|
def terminal_serial_number=(terminal_serial_number)
|
405
|
-
if !terminal_serial_number.nil? && terminal_serial_number.to_s.length > 32
|
406
|
-
fail ArgumentError, 'invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.'
|
407
|
-
end
|
408
|
-
|
409
321
|
@terminal_serial_number = terminal_serial_number
|
410
322
|
end
|
411
323
|
|
412
324
|
# Custom attribute writer method with validation
|
413
325
|
# @param [Object] lane_number Value to be assigned
|
414
326
|
def lane_number=(lane_number)
|
415
|
-
if !lane_number.nil? && lane_number.to_s.length > 8
|
416
|
-
fail ArgumentError, 'invalid value for "lane_number", the character length must be smaller than or equal to 8.'
|
417
|
-
end
|
418
|
-
|
419
327
|
@lane_number = lane_number
|
420
328
|
end
|
421
329
|
|
@@ -436,10 +344,6 @@ module CyberSource
|
|
436
344
|
# Custom attribute writer method with validation
|
437
345
|
# @param [Object] entry_mode Value to be assigned
|
438
346
|
def entry_mode=(entry_mode)
|
439
|
-
if !entry_mode.nil? && entry_mode.to_s.length > 11
|
440
|
-
fail ArgumentError, 'invalid value for "entry_mode", the character length must be smaller than or equal to 11.'
|
441
|
-
end
|
442
|
-
|
443
347
|
@entry_mode = entry_mode
|
444
348
|
end
|
445
349
|
|
@@ -474,60 +378,36 @@ module CyberSource
|
|
474
378
|
# Custom attribute writer method with validation
|
475
379
|
# @param [Object] operating_environment Value to be assigned
|
476
380
|
def operating_environment=(operating_environment)
|
477
|
-
if !operating_environment.nil? && operating_environment.to_s.length > 1
|
478
|
-
fail ArgumentError, 'invalid value for "operating_environment", the character length must be smaller than or equal to 1.'
|
479
|
-
end
|
480
|
-
|
481
381
|
@operating_environment = operating_environment
|
482
382
|
end
|
483
383
|
|
484
384
|
# Custom attribute writer method with validation
|
485
385
|
# @param [Object] amex_capn_data Value to be assigned
|
486
386
|
def amex_capn_data=(amex_capn_data)
|
487
|
-
if !amex_capn_data.nil? && amex_capn_data.to_s.length > 15
|
488
|
-
fail ArgumentError, 'invalid value for "amex_capn_data", the character length must be smaller than or equal to 15.'
|
489
|
-
end
|
490
|
-
|
491
387
|
@amex_capn_data = amex_capn_data
|
492
388
|
end
|
493
389
|
|
494
390
|
# Custom attribute writer method with validation
|
495
391
|
# @param [Object] store_and_forward_indicator Value to be assigned
|
496
392
|
def store_and_forward_indicator=(store_and_forward_indicator)
|
497
|
-
if !store_and_forward_indicator.nil? && store_and_forward_indicator.to_s.length > 1
|
498
|
-
fail ArgumentError, 'invalid value for "store_and_forward_indicator", the character length must be smaller than or equal to 1.'
|
499
|
-
end
|
500
|
-
|
501
393
|
@store_and_forward_indicator = store_and_forward_indicator
|
502
394
|
end
|
503
395
|
|
504
396
|
# Custom attribute writer method with validation
|
505
397
|
# @param [Object] terminal_card_capture_capability Value to be assigned
|
506
398
|
def terminal_card_capture_capability=(terminal_card_capture_capability)
|
507
|
-
if !terminal_card_capture_capability.nil? && terminal_card_capture_capability.to_s.length > 1
|
508
|
-
fail ArgumentError, 'invalid value for "terminal_card_capture_capability", the character length must be smaller than or equal to 1.'
|
509
|
-
end
|
510
|
-
|
511
399
|
@terminal_card_capture_capability = terminal_card_capture_capability
|
512
400
|
end
|
513
401
|
|
514
402
|
# Custom attribute writer method with validation
|
515
403
|
# @param [Object] terminal_output_capability Value to be assigned
|
516
404
|
def terminal_output_capability=(terminal_output_capability)
|
517
|
-
if !terminal_output_capability.nil? && terminal_output_capability.to_s.length > 1
|
518
|
-
fail ArgumentError, 'invalid value for "terminal_output_capability", the character length must be smaller than or equal to 1.'
|
519
|
-
end
|
520
|
-
|
521
405
|
@terminal_output_capability = terminal_output_capability
|
522
406
|
end
|
523
407
|
|
524
408
|
# Custom attribute writer method with validation
|
525
409
|
# @param [Object] device_id Value to be assigned
|
526
410
|
def device_id=(device_id)
|
527
|
-
if !device_id.nil? && device_id.to_s.length > 32
|
528
|
-
fail ArgumentError, 'invalid value for "device_id", the character length must be smaller than or equal to 32.'
|
529
|
-
end
|
530
|
-
|
531
411
|
@device_id = device_id
|
532
412
|
end
|
533
413
|
|
@@ -544,60 +424,36 @@ module CyberSource
|
|
544
424
|
# Custom attribute writer method with validation
|
545
425
|
# @param [Object] encrypted_pin Value to be assigned
|
546
426
|
def encrypted_pin=(encrypted_pin)
|
547
|
-
if !encrypted_pin.nil? && encrypted_pin.to_s.length > 16
|
548
|
-
fail ArgumentError, 'invalid value for "encrypted_pin", the character length must be smaller than or equal to 16.'
|
549
|
-
end
|
550
|
-
|
551
427
|
@encrypted_pin = encrypted_pin
|
552
428
|
end
|
553
429
|
|
554
430
|
# Custom attribute writer method with validation
|
555
431
|
# @param [Object] encrypted_key_serial_number Value to be assigned
|
556
432
|
def encrypted_key_serial_number=(encrypted_key_serial_number)
|
557
|
-
if !encrypted_key_serial_number.nil? && encrypted_key_serial_number.to_s.length > 20
|
558
|
-
fail ArgumentError, 'invalid value for "encrypted_key_serial_number", the character length must be smaller than or equal to 20.'
|
559
|
-
end
|
560
|
-
|
561
433
|
@encrypted_key_serial_number = encrypted_key_serial_number
|
562
434
|
end
|
563
435
|
|
564
436
|
# Custom attribute writer method with validation
|
565
437
|
# @param [Object] partner_sdk_version Value to be assigned
|
566
438
|
def partner_sdk_version=(partner_sdk_version)
|
567
|
-
if !partner_sdk_version.nil? && partner_sdk_version.to_s.length > 32
|
568
|
-
fail ArgumentError, 'invalid value for "partner_sdk_version", the character length must be smaller than or equal to 32.'
|
569
|
-
end
|
570
|
-
|
571
439
|
@partner_sdk_version = partner_sdk_version
|
572
440
|
end
|
573
441
|
|
574
442
|
# Custom attribute writer method with validation
|
575
443
|
# @param [Object] emv_application_identifier_and_dedicated_file_name Value to be assigned
|
576
444
|
def emv_application_identifier_and_dedicated_file_name=(emv_application_identifier_and_dedicated_file_name)
|
577
|
-
if !emv_application_identifier_and_dedicated_file_name.nil? && emv_application_identifier_and_dedicated_file_name.to_s.length > 32
|
578
|
-
fail ArgumentError, 'invalid value for "emv_application_identifier_and_dedicated_file_name", the character length must be smaller than or equal to 32.'
|
579
|
-
end
|
580
|
-
|
581
445
|
@emv_application_identifier_and_dedicated_file_name = emv_application_identifier_and_dedicated_file_name
|
582
446
|
end
|
583
447
|
|
584
448
|
# Custom attribute writer method with validation
|
585
449
|
# @param [Object] terminal_compliance Value to be assigned
|
586
450
|
def terminal_compliance=(terminal_compliance)
|
587
|
-
if !terminal_compliance.nil? && terminal_compliance.to_s.length > 2
|
588
|
-
fail ArgumentError, 'invalid value for "terminal_compliance", the character length must be smaller than or equal to 2.'
|
589
|
-
end
|
590
|
-
|
591
451
|
@terminal_compliance = terminal_compliance
|
592
452
|
end
|
593
453
|
|
594
454
|
# Custom attribute writer method with validation
|
595
455
|
# @param [Object] is_dedicated_hardware_terminal Value to be assigned
|
596
456
|
def is_dedicated_hardware_terminal=(is_dedicated_hardware_terminal)
|
597
|
-
if !is_dedicated_hardware_terminal.nil? && is_dedicated_hardware_terminal.to_s.length > 1
|
598
|
-
fail ArgumentError, 'invalid value for "is_dedicated_hardware_terminal", the character length must be smaller than or equal to 1.'
|
599
|
-
end
|
600
|
-
|
601
457
|
@is_dedicated_hardware_terminal = is_dedicated_hardware_terminal
|
602
458
|
end
|
603
459
|
|