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/pts_v2_payments_post201_response_payment_information_bank.rb
CHANGED
@@ -56,27 +56,18 @@ module CyberSource
|
|
56
56
|
# @return Array for valid properties with the reasons
|
57
57
|
def list_invalid_properties
|
58
58
|
invalid_properties = Array.new
|
59
|
-
if !@corrected_routing_number.nil? && @corrected_routing_number.to_s.length > 9
|
60
|
-
invalid_properties.push('invalid value for "corrected_routing_number", the character length must be smaller than or equal to 9.')
|
61
|
-
end
|
62
|
-
|
63
59
|
invalid_properties
|
64
60
|
end
|
65
61
|
|
66
62
|
# Check to see if the all the properties in the model are valid
|
67
63
|
# @return true if the model is valid
|
68
64
|
def valid?
|
69
|
-
return false if !@corrected_routing_number.nil? && @corrected_routing_number.to_s.length > 9
|
70
65
|
true
|
71
66
|
end
|
72
67
|
|
73
68
|
# Custom attribute writer method with validation
|
74
69
|
# @param [Object] corrected_routing_number Value to be assigned
|
75
70
|
def corrected_routing_number=(corrected_routing_number)
|
76
|
-
if !corrected_routing_number.nil? && corrected_routing_number.to_s.length > 9
|
77
|
-
fail ArgumentError, 'invalid value for "corrected_routing_number", the character length must be smaller than or equal to 9.'
|
78
|
-
end
|
79
|
-
|
80
71
|
@corrected_routing_number = corrected_routing_number
|
81
72
|
end
|
82
73
|
|
@@ -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 !@corrected_account_number.nil? && @corrected_account_number.to_s.length > 17
|
52
|
-
invalid_properties.push('invalid value for "corrected_account_number", the character length must be smaller than or equal to 17.')
|
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 !@corrected_account_number.nil? && @corrected_account_number.to_s.length > 17
|
62
57
|
true
|
63
58
|
end
|
64
59
|
|
65
60
|
# Custom attribute writer method with validation
|
66
61
|
# @param [Object] corrected_account_number Value to be assigned
|
67
62
|
def corrected_account_number=(corrected_account_number)
|
68
|
-
if !corrected_account_number.nil? && corrected_account_number.to_s.length > 17
|
69
|
-
fail ArgumentError, 'invalid value for "corrected_account_number", the character length must be smaller than or equal to 17.'
|
70
|
-
end
|
71
|
-
|
72
63
|
@corrected_account_number = corrected_account_number
|
73
64
|
end
|
74
65
|
|
@@ -57,36 +57,18 @@ module CyberSource
|
|
57
57
|
# @return Array for valid properties with the reasons
|
58
58
|
def list_invalid_properties
|
59
59
|
invalid_properties = Array.new
|
60
|
-
if !@id.nil? && @id.to_s.length > 32
|
61
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 32.')
|
62
|
-
end
|
63
|
-
|
64
|
-
if !@id.nil? && @id.to_s.length < 12
|
65
|
-
invalid_properties.push('invalid value for "id", the character length must be great than or equal to 12.')
|
66
|
-
end
|
67
|
-
|
68
60
|
invalid_properties
|
69
61
|
end
|
70
62
|
|
71
63
|
# Check to see if the all the properties in the model are valid
|
72
64
|
# @return true if the model is valid
|
73
65
|
def valid?
|
74
|
-
return false if !@id.nil? && @id.to_s.length > 32
|
75
|
-
return false if !@id.nil? && @id.to_s.length < 12
|
76
66
|
true
|
77
67
|
end
|
78
68
|
|
79
69
|
# Custom attribute writer method with validation
|
80
70
|
# @param [Object] id Value to be assigned
|
81
71
|
def id=(id)
|
82
|
-
if !id.nil? && id.to_s.length > 32
|
83
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 32.'
|
84
|
-
end
|
85
|
-
|
86
|
-
if !id.nil? && id.to_s.length < 12
|
87
|
-
fail ArgumentError, 'invalid value for "id", the character length must be great than or equal to 12.'
|
88
|
-
end
|
89
|
-
|
90
72
|
@id = id
|
91
73
|
end
|
92
74
|
|
@@ -20,7 +20,7 @@ module CyberSource
|
|
20
20
|
# Last four digits of token. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For details, see `token_suffix` field description in [Google Pay Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Google_Pay_SCMP_API/html/)
|
21
21
|
attr_accessor :suffix
|
22
22
|
|
23
|
-
# 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
|
23
|
+
# 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
|
24
24
|
attr_accessor :type
|
25
25
|
|
26
26
|
# Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase.
|
@@ -102,102 +102,48 @@ module CyberSource
|
|
102
102
|
# @return Array for valid properties with the reasons
|
103
103
|
def list_invalid_properties
|
104
104
|
invalid_properties = Array.new
|
105
|
-
if !@prefix.nil? && @prefix.to_s.length > 6
|
106
|
-
invalid_properties.push('invalid value for "prefix", the character length must be smaller than or equal to 6.')
|
107
|
-
end
|
108
|
-
|
109
|
-
if !@suffix.nil? && @suffix.to_s.length > 4
|
110
|
-
invalid_properties.push('invalid value for "suffix", the character length must be smaller than or equal to 4.')
|
111
|
-
end
|
112
|
-
|
113
|
-
if !@assurance_level.nil? && @assurance_level.to_s.length > 2
|
114
|
-
invalid_properties.push('invalid value for "assurance_level", the character length must be smaller than or equal to 2.')
|
115
|
-
end
|
116
|
-
|
117
|
-
if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
118
|
-
invalid_properties.push('invalid value for "expiration_month", the character length must be smaller than or equal to 2.')
|
119
|
-
end
|
120
|
-
|
121
|
-
if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
122
|
-
invalid_properties.push('invalid value for "expiration_year", the character length must be smaller than or equal to 4.')
|
123
|
-
end
|
124
|
-
|
125
|
-
if !@requestor_id.nil? && @requestor_id.to_s.length > 11
|
126
|
-
invalid_properties.push('invalid value for "requestor_id", the character length must be smaller than or equal to 11.')
|
127
|
-
end
|
128
|
-
|
129
105
|
invalid_properties
|
130
106
|
end
|
131
107
|
|
132
108
|
# Check to see if the all the properties in the model are valid
|
133
109
|
# @return true if the model is valid
|
134
110
|
def valid?
|
135
|
-
return false if !@prefix.nil? && @prefix.to_s.length > 6
|
136
|
-
return false if !@suffix.nil? && @suffix.to_s.length > 4
|
137
|
-
return false if !@assurance_level.nil? && @assurance_level.to_s.length > 2
|
138
|
-
return false if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
139
|
-
return false if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
140
|
-
return false if !@requestor_id.nil? && @requestor_id.to_s.length > 11
|
141
111
|
true
|
142
112
|
end
|
143
113
|
|
144
114
|
# Custom attribute writer method with validation
|
145
115
|
# @param [Object] prefix Value to be assigned
|
146
116
|
def prefix=(prefix)
|
147
|
-
if !prefix.nil? && prefix.to_s.length > 6
|
148
|
-
fail ArgumentError, 'invalid value for "prefix", the character length must be smaller than or equal to 6.'
|
149
|
-
end
|
150
|
-
|
151
117
|
@prefix = prefix
|
152
118
|
end
|
153
119
|
|
154
120
|
# Custom attribute writer method with validation
|
155
121
|
# @param [Object] suffix Value to be assigned
|
156
122
|
def suffix=(suffix)
|
157
|
-
if !suffix.nil? && suffix.to_s.length > 4
|
158
|
-
fail ArgumentError, 'invalid value for "suffix", the character length must be smaller than or equal to 4.'
|
159
|
-
end
|
160
|
-
|
161
123
|
@suffix = suffix
|
162
124
|
end
|
163
125
|
|
164
126
|
# Custom attribute writer method with validation
|
165
127
|
# @param [Object] assurance_level Value to be assigned
|
166
128
|
def assurance_level=(assurance_level)
|
167
|
-
if !assurance_level.nil? && assurance_level.to_s.length > 2
|
168
|
-
fail ArgumentError, 'invalid value for "assurance_level", the character length must be smaller than or equal to 2.'
|
169
|
-
end
|
170
|
-
|
171
129
|
@assurance_level = assurance_level
|
172
130
|
end
|
173
131
|
|
174
132
|
# Custom attribute writer method with validation
|
175
133
|
# @param [Object] expiration_month Value to be assigned
|
176
134
|
def expiration_month=(expiration_month)
|
177
|
-
if !expiration_month.nil? && expiration_month.to_s.length > 2
|
178
|
-
fail ArgumentError, 'invalid value for "expiration_month", the character length must be smaller than or equal to 2.'
|
179
|
-
end
|
180
|
-
|
181
135
|
@expiration_month = expiration_month
|
182
136
|
end
|
183
137
|
|
184
138
|
# Custom attribute writer method with validation
|
185
139
|
# @param [Object] expiration_year Value to be assigned
|
186
140
|
def expiration_year=(expiration_year)
|
187
|
-
if !expiration_year.nil? && expiration_year.to_s.length > 4
|
188
|
-
fail ArgumentError, 'invalid value for "expiration_year", the character length must be smaller than or equal to 4.'
|
189
|
-
end
|
190
|
-
|
191
141
|
@expiration_year = expiration_year
|
192
142
|
end
|
193
143
|
|
194
144
|
# Custom attribute writer method with validation
|
195
145
|
# @param [Object] requestor_id Value to be assigned
|
196
146
|
def requestor_id=(requestor_id)
|
197
|
-
if !requestor_id.nil? && requestor_id.to_s.length > 11
|
198
|
-
fail ArgumentError, 'invalid value for "requestor_id", the character length must be smaller than or equal to 11.'
|
199
|
-
end
|
200
|
-
|
201
147
|
@requestor_id = requestor_id
|
202
148
|
end
|
203
149
|
|
@@ -65,42 +65,24 @@ module CyberSource
|
|
65
65
|
# @return Array for valid properties with the reasons
|
66
66
|
def list_invalid_properties
|
67
67
|
invalid_properties = Array.new
|
68
|
-
if !@amex_capn_data.nil? && @amex_capn_data.to_s.length > 15
|
69
|
-
invalid_properties.push('invalid value for "amex_capn_data", the character length must be smaller than or equal to 15.')
|
70
|
-
end
|
71
|
-
|
72
|
-
if !@terminal_id.nil? && @terminal_id.to_s.length > 8
|
73
|
-
invalid_properties.push('invalid value for "terminal_id", the character length must be smaller than or equal to 8.')
|
74
|
-
end
|
75
|
-
|
76
68
|
invalid_properties
|
77
69
|
end
|
78
70
|
|
79
71
|
# Check to see if the all the properties in the model are valid
|
80
72
|
# @return true if the model is valid
|
81
73
|
def valid?
|
82
|
-
return false if !@amex_capn_data.nil? && @amex_capn_data.to_s.length > 15
|
83
|
-
return false if !@terminal_id.nil? && @terminal_id.to_s.length > 8
|
84
74
|
true
|
85
75
|
end
|
86
76
|
|
87
77
|
# Custom attribute writer method with validation
|
88
78
|
# @param [Object] amex_capn_data Value to be assigned
|
89
79
|
def amex_capn_data=(amex_capn_data)
|
90
|
-
if !amex_capn_data.nil? && amex_capn_data.to_s.length > 15
|
91
|
-
fail ArgumentError, 'invalid value for "amex_capn_data", the character length must be smaller than or equal to 15.'
|
92
|
-
end
|
93
|
-
|
94
80
|
@amex_capn_data = amex_capn_data
|
95
81
|
end
|
96
82
|
|
97
83
|
# Custom attribute writer method with validation
|
98
84
|
# @param [Object] terminal_id Value to be assigned
|
99
85
|
def terminal_id=(terminal_id)
|
100
|
-
if !terminal_id.nil? && terminal_id.to_s.length > 8
|
101
|
-
fail ArgumentError, 'invalid value for "terminal_id", the character length must be smaller than or equal to 8.'
|
102
|
-
end
|
103
|
-
|
104
86
|
@terminal_id = terminal_id
|
105
87
|
end
|
106
88
|
|
@@ -66,57 +66,30 @@ module CyberSource
|
|
66
66
|
# @return Array for valid properties with the reasons
|
67
67
|
def list_invalid_properties
|
68
68
|
invalid_properties = Array.new
|
69
|
-
if !@tags.nil? && @tags.to_s.length > 1998
|
70
|
-
invalid_properties.push('invalid value for "tags", the character length must be smaller than or equal to 1998.')
|
71
|
-
end
|
72
|
-
|
73
|
-
if !@chip_validation_type.nil? && @chip_validation_type.to_s.length > 2
|
74
|
-
invalid_properties.push('invalid value for "chip_validation_type", the character length must be smaller than or equal to 2.')
|
75
|
-
end
|
76
|
-
|
77
|
-
if !@chip_validation_result.nil? && @chip_validation_result.to_s.length > 1
|
78
|
-
invalid_properties.push('invalid value for "chip_validation_result", the character length must be smaller than or equal to 1.')
|
79
|
-
end
|
80
|
-
|
81
69
|
invalid_properties
|
82
70
|
end
|
83
71
|
|
84
72
|
# Check to see if the all the properties in the model are valid
|
85
73
|
# @return true if the model is valid
|
86
74
|
def valid?
|
87
|
-
return false if !@tags.nil? && @tags.to_s.length > 1998
|
88
|
-
return false if !@chip_validation_type.nil? && @chip_validation_type.to_s.length > 2
|
89
|
-
return false if !@chip_validation_result.nil? && @chip_validation_result.to_s.length > 1
|
90
75
|
true
|
91
76
|
end
|
92
77
|
|
93
78
|
# Custom attribute writer method with validation
|
94
79
|
# @param [Object] tags Value to be assigned
|
95
80
|
def tags=(tags)
|
96
|
-
if !tags.nil? && tags.to_s.length > 1998
|
97
|
-
fail ArgumentError, 'invalid value for "tags", the character length must be smaller than or equal to 1998.'
|
98
|
-
end
|
99
|
-
|
100
81
|
@tags = tags
|
101
82
|
end
|
102
83
|
|
103
84
|
# Custom attribute writer method with validation
|
104
85
|
# @param [Object] chip_validation_type Value to be assigned
|
105
86
|
def chip_validation_type=(chip_validation_type)
|
106
|
-
if !chip_validation_type.nil? && chip_validation_type.to_s.length > 2
|
107
|
-
fail ArgumentError, 'invalid value for "chip_validation_type", the character length must be smaller than or equal to 2.'
|
108
|
-
end
|
109
|
-
|
110
87
|
@chip_validation_type = chip_validation_type
|
111
88
|
end
|
112
89
|
|
113
90
|
# Custom attribute writer method with validation
|
114
91
|
# @param [Object] chip_validation_result Value to be assigned
|
115
92
|
def chip_validation_result=(chip_validation_result)
|
116
|
-
if !chip_validation_result.nil? && chip_validation_result.to_s.length > 1
|
117
|
-
fail ArgumentError, 'invalid value for "chip_validation_result", the character length must be smaller than or equal to 1.'
|
118
|
-
end
|
119
|
-
|
120
93
|
@chip_validation_result = chip_validation_result
|
121
94
|
end
|
122
95
|
|
data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb
CHANGED
@@ -16,6 +16,9 @@ module CyberSource
|
|
16
16
|
class PtsV2PaymentsPost201ResponseProcessingInformation
|
17
17
|
attr_accessor :bank_transfer_options
|
18
18
|
|
19
|
+
# Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token.
|
20
|
+
attr_accessor :payment_solution
|
21
|
+
|
19
22
|
# The possible values for the reply field are: - `true` : the airline data was included in the request to the processor. - `false` : the airline data was not included in the request to the processor. Returned by authorization, capture, or credit services.
|
20
23
|
attr_accessor :enhanced_data_enabled
|
21
24
|
|
@@ -23,6 +26,7 @@ module CyberSource
|
|
23
26
|
def self.attribute_map
|
24
27
|
{
|
25
28
|
:'bank_transfer_options' => :'bankTransferOptions',
|
29
|
+
:'payment_solution' => :'paymentSolution',
|
26
30
|
:'enhanced_data_enabled' => :'enhancedDataEnabled'
|
27
31
|
}
|
28
32
|
end
|
@@ -31,6 +35,7 @@ module CyberSource
|
|
31
35
|
def self.swagger_types
|
32
36
|
{
|
33
37
|
:'bank_transfer_options' => :'PtsV2PaymentsPost201ResponseProcessingInformationBankTransferOptions',
|
38
|
+
:'payment_solution' => :'String',
|
34
39
|
:'enhanced_data_enabled' => :'BOOLEAN'
|
35
40
|
}
|
36
41
|
end
|
@@ -47,6 +52,10 @@ module CyberSource
|
|
47
52
|
self.bank_transfer_options = attributes[:'bankTransferOptions']
|
48
53
|
end
|
49
54
|
|
55
|
+
if attributes.has_key?(:'paymentSolution')
|
56
|
+
self.payment_solution = attributes[:'paymentSolution']
|
57
|
+
end
|
58
|
+
|
50
59
|
if attributes.has_key?(:'enhancedDataEnabled')
|
51
60
|
self.enhanced_data_enabled = attributes[:'enhancedDataEnabled']
|
52
61
|
end
|
@@ -65,12 +74,19 @@ module CyberSource
|
|
65
74
|
true
|
66
75
|
end
|
67
76
|
|
77
|
+
# Custom attribute writer method with validation
|
78
|
+
# @param [Object] payment_solution Value to be assigned
|
79
|
+
def payment_solution=(payment_solution)
|
80
|
+
@payment_solution = payment_solution
|
81
|
+
end
|
82
|
+
|
68
83
|
# Checks equality by comparing each attribute.
|
69
84
|
# @param [Object] Object to be compared
|
70
85
|
def ==(o)
|
71
86
|
return true if self.equal?(o)
|
72
87
|
self.class == o.class &&
|
73
88
|
bank_transfer_options == o.bank_transfer_options &&
|
89
|
+
payment_solution == o.payment_solution &&
|
74
90
|
enhanced_data_enabled == o.enhanced_data_enabled
|
75
91
|
end
|
76
92
|
|
@@ -83,7 +99,7 @@ module CyberSource
|
|
83
99
|
# Calculates hash code according to all attributes.
|
84
100
|
# @return [Fixnum] Hash code
|
85
101
|
def hash
|
86
|
-
[bank_transfer_options, enhanced_data_enabled].hash
|
102
|
+
[bank_transfer_options, payment_solution, enhanced_data_enabled].hash
|
87
103
|
end
|
88
104
|
|
89
105
|
# Builds the object from hash
|
@@ -57,42 +57,24 @@ module CyberSource
|
|
57
57
|
# @return Array for valid properties with the reasons
|
58
58
|
def list_invalid_properties
|
59
59
|
invalid_properties = Array.new
|
60
|
-
if !@settlement_method.nil? && @settlement_method.to_s.length > 1
|
61
|
-
invalid_properties.push('invalid value for "settlement_method", the character length must be smaller than or equal to 1.')
|
62
|
-
end
|
63
|
-
|
64
|
-
if !@fraud_screening_level.nil? && @fraud_screening_level.to_s.length > 1
|
65
|
-
invalid_properties.push('invalid value for "fraud_screening_level", the character length must be smaller than or equal to 1.')
|
66
|
-
end
|
67
|
-
|
68
60
|
invalid_properties
|
69
61
|
end
|
70
62
|
|
71
63
|
# Check to see if the all the properties in the model are valid
|
72
64
|
# @return true if the model is valid
|
73
65
|
def valid?
|
74
|
-
return false if !@settlement_method.nil? && @settlement_method.to_s.length > 1
|
75
|
-
return false if !@fraud_screening_level.nil? && @fraud_screening_level.to_s.length > 1
|
76
66
|
true
|
77
67
|
end
|
78
68
|
|
79
69
|
# Custom attribute writer method with validation
|
80
70
|
# @param [Object] settlement_method Value to be assigned
|
81
71
|
def settlement_method=(settlement_method)
|
82
|
-
if !settlement_method.nil? && settlement_method.to_s.length > 1
|
83
|
-
fail ArgumentError, 'invalid value for "settlement_method", the character length must be smaller than or equal to 1.'
|
84
|
-
end
|
85
|
-
|
86
72
|
@settlement_method = settlement_method
|
87
73
|
end
|
88
74
|
|
89
75
|
# Custom attribute writer method with validation
|
90
76
|
# @param [Object] fraud_screening_level Value to be assigned
|
91
77
|
def fraud_screening_level=(fraud_screening_level)
|
92
|
-
if !fraud_screening_level.nil? && fraud_screening_level.to_s.length > 1
|
93
|
-
fail ArgumentError, 'invalid value for "fraud_screening_level", the character length must be smaller than or equal to 1.'
|
94
|
-
end
|
95
|
-
|
96
78
|
@fraud_screening_level = fraud_screening_level
|
97
79
|
end
|
98
80
|
|
data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb
CHANGED
@@ -20,6 +20,9 @@ module CyberSource
|
|
20
20
|
# Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit credit. #### Elavon Encrypted Account Number Program The returned value is OFFLINE. #### TSYS Acquiring Solutions The returned value for a successful zero amount authorization is 000000.
|
21
21
|
attr_accessor :approval_code
|
22
22
|
|
23
|
+
# The Scheme reference data is a variable length data element up to a maximum of 56 characters. It may be sent by the acquirer in the authorisation response message, and by the terminal (unchanged) in subsequent authorisation request messages associated with the same transaction. This field is used by Streamline and HSBC UK only, at present.
|
24
|
+
attr_accessor :card_reference_data
|
25
|
+
|
23
26
|
# Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value. Returned by the authorization service. #### PIN debit Transaction identifier generated by the processor. Returned by PIN debit credit. #### GPX Processor transaction ID. #### Cielo For Cielo, this value is the non-sequential unit (NSU) and is supported for all transactions. The value is generated by Cielo or the issuing bank. #### Comercio Latino For Comercio Latino, this value is the proof of sale or non-sequential unit (NSU) number generated by the acquirers Cielo and Rede, or the issuing bank. #### CyberSource through VisaNet and GPN For details about this value for CyberSource through VisaNet and GPN, see \"Network Transaction Identifiers\" in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### Moneris This value identifies the transaction on a host system. It contains the following information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. **Example** For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003
|
24
27
|
attr_accessor :transaction_id
|
25
28
|
|
@@ -92,6 +95,7 @@ module CyberSource
|
|
92
95
|
{
|
93
96
|
:'auth_indicator' => :'authIndicator',
|
94
97
|
:'approval_code' => :'approvalCode',
|
98
|
+
:'card_reference_data' => :'cardReferenceData',
|
95
99
|
:'transaction_id' => :'transactionId',
|
96
100
|
:'network_transaction_id' => :'networkTransactionId',
|
97
101
|
:'provider_transaction_id' => :'providerTransactionId',
|
@@ -125,6 +129,7 @@ module CyberSource
|
|
125
129
|
{
|
126
130
|
:'auth_indicator' => :'String',
|
127
131
|
:'approval_code' => :'String',
|
132
|
+
:'card_reference_data' => :'String',
|
128
133
|
:'transaction_id' => :'String',
|
129
134
|
:'network_transaction_id' => :'String',
|
130
135
|
:'provider_transaction_id' => :'String',
|
@@ -169,6 +174,10 @@ module CyberSource
|
|
169
174
|
self.approval_code = attributes[:'approvalCode']
|
170
175
|
end
|
171
176
|
|
177
|
+
if attributes.has_key?(:'cardReferenceData')
|
178
|
+
self.card_reference_data = attributes[:'cardReferenceData']
|
179
|
+
end
|
180
|
+
|
172
181
|
if attributes.has_key?(:'transactionId')
|
173
182
|
self.transaction_id = attributes[:'transactionId']
|
174
183
|
end
|
@@ -274,252 +283,114 @@ module CyberSource
|
|
274
283
|
# @return Array for valid properties with the reasons
|
275
284
|
def list_invalid_properties
|
276
285
|
invalid_properties = Array.new
|
277
|
-
if !@auth_indicator.nil? && @auth_indicator.to_s.length > 1
|
278
|
-
invalid_properties.push('invalid value for "auth_indicator", the character length must be smaller than or equal to 1.')
|
279
|
-
end
|
280
|
-
|
281
|
-
if !@transaction_id.nil? && @transaction_id.to_s.length > 50
|
282
|
-
invalid_properties.push('invalid value for "transaction_id", the character length must be smaller than or equal to 50.')
|
283
|
-
end
|
284
|
-
|
285
|
-
if !@response_code.nil? && @response_code.to_s.length > 10
|
286
|
-
invalid_properties.push('invalid value for "response_code", the character length must be smaller than or equal to 10.')
|
287
|
-
end
|
288
|
-
|
289
|
-
if !@response_code_source.nil? && @response_code_source.to_s.length > 1
|
290
|
-
invalid_properties.push('invalid value for "response_code_source", the character length must be smaller than or equal to 1.')
|
291
|
-
end
|
292
|
-
|
293
|
-
if !@response_details.nil? && @response_details.to_s.length > 255
|
294
|
-
invalid_properties.push('invalid value for "response_details", the character length must be smaller than or equal to 255.')
|
295
|
-
end
|
296
|
-
|
297
|
-
if !@response_category_code.nil? && @response_category_code.to_s.length > 36
|
298
|
-
invalid_properties.push('invalid value for "response_category_code", the character length must be smaller than or equal to 36.')
|
299
|
-
end
|
300
|
-
|
301
|
-
if !@forwarded_acquirer_code.nil? && @forwarded_acquirer_code.to_s.length > 32
|
302
|
-
invalid_properties.push('invalid value for "forwarded_acquirer_code", the character length must be smaller than or equal to 32.')
|
303
|
-
end
|
304
|
-
|
305
|
-
if !@system_trace_audit_number.nil? && @system_trace_audit_number.to_s.length > 6
|
306
|
-
invalid_properties.push('invalid value for "system_trace_audit_number", the character length must be smaller than or equal to 6.')
|
307
|
-
end
|
308
|
-
|
309
|
-
if !@payment_account_reference_number.nil? && @payment_account_reference_number.to_s.length > 32
|
310
|
-
invalid_properties.push('invalid value for "payment_account_reference_number", the character length must be smaller than or equal to 32.')
|
311
|
-
end
|
312
|
-
|
313
|
-
if !@transaction_integrity_code.nil? && @transaction_integrity_code.to_s.length > 2
|
314
|
-
invalid_properties.push('invalid value for "transaction_integrity_code", the character length must be smaller than or equal to 2.')
|
315
|
-
end
|
316
|
-
|
317
|
-
if !@amex_verbal_auth_reference_number.nil? && @amex_verbal_auth_reference_number.to_s.length > 6
|
318
|
-
invalid_properties.push('invalid value for "amex_verbal_auth_reference_number", the character length must be smaller than or equal to 6.')
|
319
|
-
end
|
320
|
-
|
321
|
-
if !@master_card_service_code.nil? && @master_card_service_code.to_s.length > 2
|
322
|
-
invalid_properties.push('invalid value for "master_card_service_code", the character length must be smaller than or equal to 2.')
|
323
|
-
end
|
324
|
-
|
325
|
-
if !@master_card_service_reply_code.nil? && @master_card_service_reply_code.to_s.length > 1
|
326
|
-
invalid_properties.push('invalid value for "master_card_service_reply_code", the character length must be smaller than or equal to 1.')
|
327
|
-
end
|
328
|
-
|
329
|
-
if !@master_card_authentication_type.nil? && @master_card_authentication_type.to_s.length > 1
|
330
|
-
invalid_properties.push('invalid value for "master_card_authentication_type", the character length must be smaller than or equal to 1.')
|
331
|
-
end
|
332
|
-
|
333
|
-
if !@name.nil? && @name.to_s.length > 30
|
334
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 30.')
|
335
|
-
end
|
336
|
-
|
337
|
-
if !@merchant_number.nil? && @merchant_number.to_s.length > 15
|
338
|
-
invalid_properties.push('invalid value for "merchant_number", the character length must be smaller than or equal to 15.')
|
339
|
-
end
|
340
|
-
|
341
286
|
invalid_properties
|
342
287
|
end
|
343
288
|
|
344
289
|
# Check to see if the all the properties in the model are valid
|
345
290
|
# @return true if the model is valid
|
346
291
|
def valid?
|
347
|
-
return false if !@auth_indicator.nil? && @auth_indicator.to_s.length > 1
|
348
|
-
return false if !@transaction_id.nil? && @transaction_id.to_s.length > 50
|
349
|
-
return false if !@response_code.nil? && @response_code.to_s.length > 10
|
350
|
-
return false if !@response_code_source.nil? && @response_code_source.to_s.length > 1
|
351
|
-
return false if !@response_details.nil? && @response_details.to_s.length > 255
|
352
|
-
return false if !@response_category_code.nil? && @response_category_code.to_s.length > 36
|
353
|
-
return false if !@forwarded_acquirer_code.nil? && @forwarded_acquirer_code.to_s.length > 32
|
354
|
-
return false if !@system_trace_audit_number.nil? && @system_trace_audit_number.to_s.length > 6
|
355
|
-
return false if !@payment_account_reference_number.nil? && @payment_account_reference_number.to_s.length > 32
|
356
|
-
return false if !@transaction_integrity_code.nil? && @transaction_integrity_code.to_s.length > 2
|
357
|
-
return false if !@amex_verbal_auth_reference_number.nil? && @amex_verbal_auth_reference_number.to_s.length > 6
|
358
|
-
return false if !@master_card_service_code.nil? && @master_card_service_code.to_s.length > 2
|
359
|
-
return false if !@master_card_service_reply_code.nil? && @master_card_service_reply_code.to_s.length > 1
|
360
|
-
return false if !@master_card_authentication_type.nil? && @master_card_authentication_type.to_s.length > 1
|
361
|
-
return false if !@name.nil? && @name.to_s.length > 30
|
362
|
-
return false if !@merchant_number.nil? && @merchant_number.to_s.length > 15
|
363
292
|
true
|
364
293
|
end
|
365
294
|
|
366
295
|
# Custom attribute writer method with validation
|
367
296
|
# @param [Object] auth_indicator Value to be assigned
|
368
297
|
def auth_indicator=(auth_indicator)
|
369
|
-
if !auth_indicator.nil? && auth_indicator.to_s.length > 1
|
370
|
-
fail ArgumentError, 'invalid value for "auth_indicator", the character length must be smaller than or equal to 1.'
|
371
|
-
end
|
372
|
-
|
373
298
|
@auth_indicator = auth_indicator
|
374
299
|
end
|
375
300
|
|
301
|
+
# Custom attribute writer method with validation
|
302
|
+
# @param [Object] card_reference_data Value to be assigned
|
303
|
+
def card_reference_data=(card_reference_data)
|
304
|
+
@card_reference_data = card_reference_data
|
305
|
+
end
|
306
|
+
|
376
307
|
# Custom attribute writer method with validation
|
377
308
|
# @param [Object] transaction_id Value to be assigned
|
378
309
|
def transaction_id=(transaction_id)
|
379
|
-
if !transaction_id.nil? && transaction_id.to_s.length > 50
|
380
|
-
fail ArgumentError, 'invalid value for "transaction_id", the character length must be smaller than or equal to 50.'
|
381
|
-
end
|
382
|
-
|
383
310
|
@transaction_id = transaction_id
|
384
311
|
end
|
385
312
|
|
386
313
|
# Custom attribute writer method with validation
|
387
314
|
# @param [Object] response_code Value to be assigned
|
388
315
|
def response_code=(response_code)
|
389
|
-
if !response_code.nil? && response_code.to_s.length > 10
|
390
|
-
fail ArgumentError, 'invalid value for "response_code", the character length must be smaller than or equal to 10.'
|
391
|
-
end
|
392
|
-
|
393
316
|
@response_code = response_code
|
394
317
|
end
|
395
318
|
|
396
319
|
# Custom attribute writer method with validation
|
397
320
|
# @param [Object] response_code_source Value to be assigned
|
398
321
|
def response_code_source=(response_code_source)
|
399
|
-
if !response_code_source.nil? && response_code_source.to_s.length > 1
|
400
|
-
fail ArgumentError, 'invalid value for "response_code_source", the character length must be smaller than or equal to 1.'
|
401
|
-
end
|
402
|
-
|
403
322
|
@response_code_source = response_code_source
|
404
323
|
end
|
405
324
|
|
406
325
|
# Custom attribute writer method with validation
|
407
326
|
# @param [Object] response_details Value to be assigned
|
408
327
|
def response_details=(response_details)
|
409
|
-
if !response_details.nil? && response_details.to_s.length > 255
|
410
|
-
fail ArgumentError, 'invalid value for "response_details", the character length must be smaller than or equal to 255.'
|
411
|
-
end
|
412
|
-
|
413
328
|
@response_details = response_details
|
414
329
|
end
|
415
330
|
|
416
331
|
# Custom attribute writer method with validation
|
417
332
|
# @param [Object] response_category_code Value to be assigned
|
418
333
|
def response_category_code=(response_category_code)
|
419
|
-
if !response_category_code.nil? && response_category_code.to_s.length > 36
|
420
|
-
fail ArgumentError, 'invalid value for "response_category_code", the character length must be smaller than or equal to 36.'
|
421
|
-
end
|
422
|
-
|
423
334
|
@response_category_code = response_category_code
|
424
335
|
end
|
425
336
|
|
426
337
|
# Custom attribute writer method with validation
|
427
338
|
# @param [Object] forwarded_acquirer_code Value to be assigned
|
428
339
|
def forwarded_acquirer_code=(forwarded_acquirer_code)
|
429
|
-
if !forwarded_acquirer_code.nil? && forwarded_acquirer_code.to_s.length > 32
|
430
|
-
fail ArgumentError, 'invalid value for "forwarded_acquirer_code", the character length must be smaller than or equal to 32.'
|
431
|
-
end
|
432
|
-
|
433
340
|
@forwarded_acquirer_code = forwarded_acquirer_code
|
434
341
|
end
|
435
342
|
|
436
343
|
# Custom attribute writer method with validation
|
437
344
|
# @param [Object] system_trace_audit_number Value to be assigned
|
438
345
|
def system_trace_audit_number=(system_trace_audit_number)
|
439
|
-
if !system_trace_audit_number.nil? && system_trace_audit_number.to_s.length > 6
|
440
|
-
fail ArgumentError, 'invalid value for "system_trace_audit_number", the character length must be smaller than or equal to 6.'
|
441
|
-
end
|
442
|
-
|
443
346
|
@system_trace_audit_number = system_trace_audit_number
|
444
347
|
end
|
445
348
|
|
446
349
|
# Custom attribute writer method with validation
|
447
350
|
# @param [Object] payment_account_reference_number Value to be assigned
|
448
351
|
def payment_account_reference_number=(payment_account_reference_number)
|
449
|
-
if !payment_account_reference_number.nil? && payment_account_reference_number.to_s.length > 32
|
450
|
-
fail ArgumentError, 'invalid value for "payment_account_reference_number", the character length must be smaller than or equal to 32.'
|
451
|
-
end
|
452
|
-
|
453
352
|
@payment_account_reference_number = payment_account_reference_number
|
454
353
|
end
|
455
354
|
|
456
355
|
# Custom attribute writer method with validation
|
457
356
|
# @param [Object] transaction_integrity_code Value to be assigned
|
458
357
|
def transaction_integrity_code=(transaction_integrity_code)
|
459
|
-
if !transaction_integrity_code.nil? && transaction_integrity_code.to_s.length > 2
|
460
|
-
fail ArgumentError, 'invalid value for "transaction_integrity_code", the character length must be smaller than or equal to 2.'
|
461
|
-
end
|
462
|
-
|
463
358
|
@transaction_integrity_code = transaction_integrity_code
|
464
359
|
end
|
465
360
|
|
466
361
|
# Custom attribute writer method with validation
|
467
362
|
# @param [Object] amex_verbal_auth_reference_number Value to be assigned
|
468
363
|
def amex_verbal_auth_reference_number=(amex_verbal_auth_reference_number)
|
469
|
-
if !amex_verbal_auth_reference_number.nil? && amex_verbal_auth_reference_number.to_s.length > 6
|
470
|
-
fail ArgumentError, 'invalid value for "amex_verbal_auth_reference_number", the character length must be smaller than or equal to 6.'
|
471
|
-
end
|
472
|
-
|
473
364
|
@amex_verbal_auth_reference_number = amex_verbal_auth_reference_number
|
474
365
|
end
|
475
366
|
|
476
367
|
# Custom attribute writer method with validation
|
477
368
|
# @param [Object] master_card_service_code Value to be assigned
|
478
369
|
def master_card_service_code=(master_card_service_code)
|
479
|
-
if !master_card_service_code.nil? && master_card_service_code.to_s.length > 2
|
480
|
-
fail ArgumentError, 'invalid value for "master_card_service_code", the character length must be smaller than or equal to 2.'
|
481
|
-
end
|
482
|
-
|
483
370
|
@master_card_service_code = master_card_service_code
|
484
371
|
end
|
485
372
|
|
486
373
|
# Custom attribute writer method with validation
|
487
374
|
# @param [Object] master_card_service_reply_code Value to be assigned
|
488
375
|
def master_card_service_reply_code=(master_card_service_reply_code)
|
489
|
-
if !master_card_service_reply_code.nil? && master_card_service_reply_code.to_s.length > 1
|
490
|
-
fail ArgumentError, 'invalid value for "master_card_service_reply_code", the character length must be smaller than or equal to 1.'
|
491
|
-
end
|
492
|
-
|
493
376
|
@master_card_service_reply_code = master_card_service_reply_code
|
494
377
|
end
|
495
378
|
|
496
379
|
# Custom attribute writer method with validation
|
497
380
|
# @param [Object] master_card_authentication_type Value to be assigned
|
498
381
|
def master_card_authentication_type=(master_card_authentication_type)
|
499
|
-
if !master_card_authentication_type.nil? && master_card_authentication_type.to_s.length > 1
|
500
|
-
fail ArgumentError, 'invalid value for "master_card_authentication_type", the character length must be smaller than or equal to 1.'
|
501
|
-
end
|
502
|
-
|
503
382
|
@master_card_authentication_type = master_card_authentication_type
|
504
383
|
end
|
505
384
|
|
506
385
|
# Custom attribute writer method with validation
|
507
386
|
# @param [Object] name Value to be assigned
|
508
387
|
def name=(name)
|
509
|
-
if !name.nil? && name.to_s.length > 30
|
510
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 30.'
|
511
|
-
end
|
512
|
-
|
513
388
|
@name = name
|
514
389
|
end
|
515
390
|
|
516
391
|
# Custom attribute writer method with validation
|
517
392
|
# @param [Object] merchant_number Value to be assigned
|
518
393
|
def merchant_number=(merchant_number)
|
519
|
-
if !merchant_number.nil? && merchant_number.to_s.length > 15
|
520
|
-
fail ArgumentError, 'invalid value for "merchant_number", the character length must be smaller than or equal to 15.'
|
521
|
-
end
|
522
|
-
|
523
394
|
@merchant_number = merchant_number
|
524
395
|
end
|
525
396
|
|
@@ -530,6 +401,7 @@ module CyberSource
|
|
530
401
|
self.class == o.class &&
|
531
402
|
auth_indicator == o.auth_indicator &&
|
532
403
|
approval_code == o.approval_code &&
|
404
|
+
card_reference_data == o.card_reference_data &&
|
533
405
|
transaction_id == o.transaction_id &&
|
534
406
|
network_transaction_id == o.network_transaction_id &&
|
535
407
|
provider_transaction_id == o.provider_transaction_id &&
|
@@ -566,7 +438,7 @@ module CyberSource
|
|
566
438
|
# Calculates hash code according to all attributes.
|
567
439
|
# @return [Fixnum] Hash code
|
568
440
|
def hash
|
569
|
-
[auth_indicator, approval_code, transaction_id, network_transaction_id, provider_transaction_id, response_code, response_code_source, response_details, response_category_code, forwarded_acquirer_code, avs, card_verification, merchant_advice, electronic_verification_results, ach_verification, customer, consumer_authentication_response, system_trace_audit_number, payment_account_reference_number, transaction_integrity_code, amex_verbal_auth_reference_number, master_card_service_code, master_card_service_reply_code, master_card_authentication_type, name, routing, merchant_number].hash
|
441
|
+
[auth_indicator, approval_code, card_reference_data, transaction_id, network_transaction_id, provider_transaction_id, response_code, response_code_source, response_details, response_category_code, forwarded_acquirer_code, avs, card_verification, merchant_advice, electronic_verification_results, ach_verification, customer, consumer_authentication_response, system_trace_audit_number, payment_account_reference_number, transaction_integrity_code, amex_verbal_auth_reference_number, master_card_service_code, master_card_service_reply_code, master_card_authentication_type, name, routing, merchant_number].hash
|
570
442
|
end
|
571
443
|
|
572
444
|
# Builds the object from hash
|