first_data_gateway 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +2 -2
- data/docs/AdditionalDetails.md +3 -1
- data/docs/AvailableCurrenciesResponse.md +23 -0
- data/docs/DecryptedApplePay.md +1 -1
- data/docs/DecryptedSamsungPay.md +1 -1
- data/docs/Order.md +5 -1
- data/docs/PaymentApi.md +2 -2
- data/docs/PaymentCardCreditTransactionAllOf.md +19 -0
- data/docs/PaymentCardPayerAuthTransaction.md +3 -1
- data/docs/PaymentCardPayerAuthTransactionAllOf.md +3 -1
- data/docs/PaymentUrlRequest.md +3 -1
- data/docs/PrimaryTransaction.md +3 -1
- data/docs/PurchaseCardsLevel2.md +3 -1
- data/docs/Secure3D21AuthenticationRequest.md +6 -2
- data/docs/Secure3D21AuthenticationRequestAllOf.md +6 -2
- data/docs/Secure3DAuthenticationRequest.md +6 -2
- data/docs/Secure3DAuthenticationRequestAllOf.md +6 -2
- data/docs/Secure3DAuthenticationResult.md +3 -1
- data/docs/Secure3DAuthenticationResultAllOf.md +3 -1
- data/docs/SepaCredit.md +19 -0
- data/docs/{SepaPaymentMethodAllOf.md → SepaCreditPaymentMethod.md} +3 -3
- data/docs/SepaCreditPaymentMethodAllOf.md +17 -0
- data/docs/SepaCreditTransaction.md +17 -0
- data/docs/SepaCreditTransactionAllOf.md +17 -0
- data/docs/{Sepa.md → SepaSale.md} +2 -2
- data/docs/{SepaPaymentMethod.md → SepaSalePaymentMethod.md} +3 -3
- data/docs/SepaSalePaymentMethodAllOf.md +17 -0
- data/docs/SepaSaleTransaction.md +1 -1
- data/docs/SepaSaleTransactionAllOf.md +1 -1
- data/docs/StandInDetails.md +27 -0
- data/docs/StandinResponseDetails.md +27 -0
- data/docs/TransactionErrorResponse.md +4 -0
- data/docs/TransactionResponse.md +4 -0
- data/first_data_gateway.gemspec +1 -1
- data/lib/.DS_Store +0 -0
- data/lib/openapi_client.rb +14 -5
- data/lib/openapi_client/.DS_Store +0 -0
- data/lib/openapi_client/api/authentication_api.rb +2 -2
- data/lib/openapi_client/api/currency_conversion_api.rb +2 -2
- data/lib/openapi_client/api/fraud_detect_api.rb +2 -2
- data/lib/openapi_client/api/information_lookup_api.rb +2 -2
- data/lib/openapi_client/api/order_api.rb +3 -3
- data/lib/openapi_client/api/payment_api.rb +4 -4
- data/lib/openapi_client/api/payment_schedules_api.rb +2 -2
- data/lib/openapi_client/api/payment_token_api.rb +2 -2
- data/lib/openapi_client/api/payment_url_api.rb +2 -2
- data/lib/openapi_client/api/verification_api.rb +2 -2
- data/lib/openapi_client/api_client.rb +3 -3
- data/lib/openapi_client/api_error.rb +2 -2
- data/lib/openapi_client/configuration.rb +2 -3
- data/lib/openapi_client/models/access_token_request.rb +2 -2
- data/lib/openapi_client/models/access_token_response.rb +2 -2
- data/lib/openapi_client/models/account_info_lookup_request.rb +2 -2
- data/lib/openapi_client/models/account_updater_response.rb +2 -2
- data/lib/openapi_client/models/account_verification_request.rb +2 -2
- data/lib/openapi_client/models/ach_credit_transaction.rb +2 -2
- data/lib/openapi_client/models/ach_post_auth_transaction.rb +2 -2
- data/lib/openapi_client/models/ach_post_auth_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/ach_pre_auth_transaction.rb +2 -2
- data/lib/openapi_client/models/ach_pre_auth_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/ach_recurring_type.rb +2 -2
- data/lib/openapi_client/models/ach_response.rb +10 -10
- data/lib/openapi_client/models/ach_return_transaction.rb +2 -2
- data/lib/openapi_client/models/ach_sale_transaction.rb +2 -2
- data/lib/openapi_client/models/ach_void_transaction.rb +2 -2
- data/lib/openapi_client/models/acs_response.rb +2 -2
- data/lib/openapi_client/models/additional_amount_rate.rb +3 -3
- data/lib/openapi_client/models/additional_details.rb +28 -6
- data/lib/openapi_client/models/additional_transaction_details.rb +2 -2
- data/lib/openapi_client/models/address.rb +2 -2
- data/lib/openapi_client/models/airline.rb +2 -2
- data/lib/openapi_client/models/airline_ancillary_service_category.rb +2 -2
- data/lib/openapi_client/models/airline_travel_route.rb +2 -2
- data/lib/openapi_client/models/ali_pay.rb +2 -2
- data/lib/openapi_client/models/ali_pay_payment_method.rb +2 -2
- data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/ali_pay_sale_transaction.rb +2 -2
- data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/amount.rb +2 -2
- data/lib/openapi_client/models/amount_components.rb +2 -2
- data/lib/openapi_client/models/apm_payment_method.rb +2 -2
- data/lib/openapi_client/models/apm_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/apm_sale_transaction.rb +2 -2
- data/lib/openapi_client/models/apm_sale_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/authentication_request.rb +2 -2
- data/lib/openapi_client/models/authentication_result.rb +2 -2
- data/lib/openapi_client/models/authentication_update_request.rb +2 -2
- data/lib/openapi_client/models/available_currencies_response.rb +244 -0
- data/lib/openapi_client/models/avs_response.rb +2 -2
- data/lib/openapi_client/models/bancontact_qr.rb +2 -2
- data/lib/openapi_client/models/basic_response.rb +2 -2
- data/lib/openapi_client/models/billing.rb +2 -2
- data/lib/openapi_client/models/billing_address.rb +2 -2
- data/lib/openapi_client/models/car_rental.rb +2 -2
- data/lib/openapi_client/models/car_rental_extra_charges.rb +2 -2
- data/lib/openapi_client/models/card.rb +2 -2
- data/lib/openapi_client/models/card_function.rb +2 -2
- data/lib/openapi_client/models/card_info.rb +2 -2
- data/lib/openapi_client/models/card_info_lookup_request.rb +2 -2
- data/lib/openapi_client/models/card_info_lookup_response.rb +2 -2
- data/lib/openapi_client/models/card_verification_request.rb +2 -2
- data/lib/openapi_client/models/cardholder_info_response.rb +2 -2
- data/lib/openapi_client/models/china_domestic.rb +2 -2
- data/lib/openapi_client/models/china_domestic_payment_method.rb +2 -2
- data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +2 -2
- data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/client_locale.rb +2 -2
- data/lib/openapi_client/models/client_registration.rb +2 -2
- data/lib/openapi_client/models/contact.rb +2 -2
- data/lib/openapi_client/models/create_payment_token.rb +2 -2
- data/lib/openapi_client/models/currency_conversion.rb +2 -2
- data/lib/openapi_client/models/currency_conversion_response.rb +2 -2
- data/lib/openapi_client/models/customer.rb +2 -2
- data/lib/openapi_client/models/customer_address.rb +2 -2
- data/lib/openapi_client/models/dcc.rb +2 -2
- data/lib/openapi_client/models/dcc_all_of.rb +2 -2
- data/lib/openapi_client/models/dcc_exchange_rate_request.rb +2 -2
- data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +2 -2
- data/lib/openapi_client/models/decrypted_apple_pay.rb +5 -14
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/decrypted_google_pay.rb +2 -2
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/decrypted_samsung_pay.rb +5 -14
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/device.rb +2 -2
- data/lib/openapi_client/models/disbursement.rb +2 -2
- data/lib/openapi_client/models/disbursement_transaction_type.rb +2 -2
- data/lib/openapi_client/models/document.rb +2 -2
- data/lib/openapi_client/models/dynamic_pricing.rb +2 -2
- data/lib/openapi_client/models/dynamic_pricing_all_of.rb +2 -2
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +2 -2
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +2 -2
- data/lib/openapi_client/models/encrypted_apple_pay.rb +2 -2
- data/lib/openapi_client/models/encrypted_apple_pay_header.rb +2 -2
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/encrypted_google_pay.rb +2 -2
- data/lib/openapi_client/models/encrypted_google_pay_data.rb +2 -2
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/encrypted_samsung_pay.rb +2 -2
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/error.rb +2 -2
- data/lib/openapi_client/models/error_details.rb +2 -2
- data/lib/openapi_client/models/error_message.rb +2 -2
- data/lib/openapi_client/models/error_response.rb +2 -2
- data/lib/openapi_client/models/exchange_rate_details.rb +2 -2
- data/lib/openapi_client/models/exchange_rate_request.rb +2 -2
- data/lib/openapi_client/models/exchange_rate_response.rb +2 -2
- data/lib/openapi_client/models/expiration.rb +4 -4
- data/lib/openapi_client/models/fraud_address.rb +2 -2
- data/lib/openapi_client/models/fraud_order.rb +2 -2
- data/lib/openapi_client/models/fraud_order_items.rb +2 -2
- data/lib/openapi_client/models/fraud_registration.rb +2 -2
- data/lib/openapi_client/models/fraud_registration_card.rb +2 -2
- data/lib/openapi_client/models/fraud_registration_device.rb +2 -2
- data/lib/openapi_client/models/fraud_registration_device_items.rb +2 -2
- data/lib/openapi_client/models/fraud_registration_error.rb +2 -2
- data/lib/openapi_client/models/fraud_registration_response.rb +2 -2
- data/lib/openapi_client/models/fraud_score.rb +2 -2
- data/lib/openapi_client/models/frequency.rb +2 -2
- data/lib/openapi_client/models/funding_transaction_type.rb +2 -2
- data/lib/openapi_client/models/id_info.rb +2 -2
- data/lib/openapi_client/models/industry_specific_extensions.rb +2 -2
- data/lib/openapi_client/models/installment_options.rb +2 -2
- data/lib/openapi_client/models/issuer_response.rb +2 -2
- data/lib/openapi_client/models/items.rb +2 -2
- data/lib/openapi_client/models/location.rb +2 -2
- data/lib/openapi_client/models/lodging.rb +2 -2
- data/lib/openapi_client/models/lodging_extra_charges.rb +2 -2
- data/lib/openapi_client/models/loyalty.rb +2 -2
- data/lib/openapi_client/models/masterpass_wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/masterpass_wallet_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/mcc6012.rb +2 -2
- data/lib/openapi_client/models/merchant.rb +2 -2
- data/lib/openapi_client/models/method.rb +2 -2
- data/lib/openapi_client/models/order.rb +24 -6
- data/lib/openapi_client/models/order_error_response.rb +2 -2
- data/lib/openapi_client/models/order_response.rb +2 -2
- data/lib/openapi_client/models/pay_pal.rb +2 -2
- data/lib/openapi_client/models/pay_pal_payment_method.rb +2 -2
- data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/payment.rb +2 -2
- data/lib/openapi_client/models/payment_brand_response.rb +2 -2
- data/lib/openapi_client/models/payment_card.rb +2 -2
- data/lib/openapi_client/models/payment_card_credit_transaction.rb +3 -3
- data/lib/openapi_client/models/payment_card_credit_transaction_all_of.rb +219 -0
- data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_card_info_lookup_request.rb +2 -2
- data/lib/openapi_client/models/payment_card_info_lookup_request_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +15 -6
- data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +15 -6
- data/lib/openapi_client/models/payment_card_payment_method.rb +2 -2
- data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_card_payment_token_update_request.rb +2 -2
- data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +2 -2
- data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_card_sale_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_card_verification_request.rb +2 -2
- data/lib/openapi_client/models/payment_card_verification_request_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_device.rb +2 -2
- data/lib/openapi_client/models/payment_device_credit_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_device_payment_method.rb +2 -2
- data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +2 -2
- data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_device_sale_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_facilitator.rb +2 -2
- data/lib/openapi_client/models/payment_method_details.rb +2 -2
- data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +2 -2
- data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_method_type.rb +6 -4
- data/lib/openapi_client/models/payment_registration.rb +2 -2
- data/lib/openapi_client/models/payment_schedules_error_response.rb +2 -2
- data/lib/openapi_client/models/payment_schedules_request.rb +2 -2
- data/lib/openapi_client/models/payment_schedules_response.rb +2 -2
- data/lib/openapi_client/models/payment_step_request.rb +2 -2
- data/lib/openapi_client/models/payment_step_response.rb +2 -2
- data/lib/openapi_client/models/payment_token_credit_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_token_details.rb +2 -2
- data/lib/openapi_client/models/payment_token_details_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_token_info_lookup_request.rb +2 -2
- data/lib/openapi_client/models/payment_token_info_lookup_request_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_token_payment_method.rb +2 -2
- data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_token_sale_transaction.rb +2 -2
- data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_token_update_response.rb +2 -2
- data/lib/openapi_client/models/payment_token_verification_request.rb +2 -2
- data/lib/openapi_client/models/payment_token_verification_request_all_of.rb +2 -2
- data/lib/openapi_client/models/payment_tokenization_error_response.rb +2 -2
- data/lib/openapi_client/models/payment_tokenization_request.rb +2 -2
- data/lib/openapi_client/models/payment_tokenization_response.rb +2 -2
- data/lib/openapi_client/models/payment_url_detail.rb +2 -2
- data/lib/openapi_client/models/payment_url_detail_response.rb +2 -2
- data/lib/openapi_client/models/payment_url_error_response.rb +2 -2
- data/lib/openapi_client/models/payment_url_request.rb +15 -6
- data/lib/openapi_client/models/payment_url_response.rb +2 -2
- data/lib/openapi_client/models/payment_url_status.rb +2 -2
- data/lib/openapi_client/models/paypal_credit_transaction.rb +2 -2
- data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/phone.rb +2 -2
- data/lib/openapi_client/models/post_auth_transaction.rb +2 -2
- data/lib/openapi_client/models/post_auth_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/pre_auth_secondary_transaction.rb +2 -2
- data/lib/openapi_client/models/pre_auth_secondary_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/primary_transaction.rb +16 -6
- data/lib/openapi_client/models/processor_data.rb +2 -2
- data/lib/openapi_client/models/provide_detail_payment_step_request.rb +2 -2
- data/lib/openapi_client/models/provide_detail_payment_step_request_all_of.rb +2 -2
- data/lib/openapi_client/models/provide_detail_payment_step_response.rb +2 -2
- data/lib/openapi_client/models/provide_detail_payment_step_response_all_of.rb +2 -2
- data/lib/openapi_client/models/purchase_cards.rb +2 -2
- data/lib/openapi_client/models/purchase_cards_level2.rb +15 -6
- data/lib/openapi_client/models/purchase_cards_level3.rb +2 -2
- data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +2 -2
- data/lib/openapi_client/models/receipt.rb +2 -2
- data/lib/openapi_client/models/receipt_line.rb +2 -2
- data/lib/openapi_client/models/receipt_request_info.rb +2 -2
- data/lib/openapi_client/models/receiver_info.rb +2 -2
- data/lib/openapi_client/models/recurring_payment_details.rb +2 -2
- data/lib/openapi_client/models/recurring_payment_details_response.rb +2 -2
- data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +2 -2
- data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +2 -2
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +2 -2
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +2 -2
- data/lib/openapi_client/models/registration_method.rb +2 -2
- data/lib/openapi_client/models/response_amount_components.rb +2 -2
- data/lib/openapi_client/models/response_amount_components_all_of.rb +2 -2
- data/lib/openapi_client/models/response_type.rb +2 -2
- data/lib/openapi_client/models/return_transaction.rb +2 -2
- data/lib/openapi_client/models/return_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/revolving_options.rb +2 -2
- data/lib/openapi_client/models/score_only_request.rb +2 -2
- data/lib/openapi_client/models/score_only_response.rb +2 -2
- data/lib/openapi_client/models/score_only_response_fraud_score.rb +2 -2
- data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +2 -2
- data/lib/openapi_client/models/secondary_transaction.rb +2 -2
- data/lib/openapi_client/models/secure3_d10_authentication_request.rb +2 -2
- data/lib/openapi_client/models/secure3_d10_authentication_request_all_of.rb +2 -2
- data/lib/openapi_client/models/secure3_d10_authentication_result.rb +2 -2
- data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +2 -2
- data/lib/openapi_client/models/secure3_d10_authentication_update_request.rb +2 -2
- data/lib/openapi_client/models/secure3_d10_authentication_update_request_all_of.rb +2 -2
- data/lib/openapi_client/models/secure3_d21_authentication_request.rb +43 -9
- data/lib/openapi_client/models/secure3_d21_authentication_request_all_of.rb +43 -9
- data/lib/openapi_client/models/secure3_d21_authentication_result.rb +2 -2
- data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +2 -2
- data/lib/openapi_client/models/secure3_d21_authentication_update_request.rb +2 -2
- data/lib/openapi_client/models/secure3_d21_authentication_update_request_all_of.rb +2 -2
- data/lib/openapi_client/models/secure3_d_authentication_request.rb +43 -9
- data/lib/openapi_client/models/secure3_d_authentication_request_all_of.rb +43 -9
- data/lib/openapi_client/models/secure3_d_authentication_response.rb +2 -2
- data/lib/openapi_client/models/secure3_d_authentication_response_params.rb +2 -2
- data/lib/openapi_client/models/secure3_d_authentication_response_secure3d_method.rb +2 -2
- data/lib/openapi_client/models/secure3_d_authentication_result.rb +28 -6
- data/lib/openapi_client/models/secure3_d_authentication_result_all_of.rb +28 -6
- data/lib/openapi_client/models/secure3_d_authentication_update_request.rb +2 -2
- data/lib/openapi_client/models/secure3d_response.rb +2 -2
- data/lib/openapi_client/models/sender_info.rb +2 -2
- data/lib/openapi_client/models/sepa_credit.rb +287 -0
- data/lib/openapi_client/models/sepa_credit_payment_method.rb +219 -0
- data/lib/openapi_client/models/sepa_credit_payment_method_all_of.rb +210 -0
- data/lib/openapi_client/models/sepa_credit_transaction.rb +223 -0
- data/lib/openapi_client/models/sepa_credit_transaction_all_of.rb +210 -0
- data/lib/openapi_client/models/sepa_mandate.rb +2 -2
- data/lib/openapi_client/models/{sepa.rb → sepa_sale.rb} +5 -5
- data/lib/openapi_client/models/{sepa_payment_method.rb → sepa_sale_payment_method.rb} +7 -7
- data/lib/openapi_client/models/{sepa_payment_method_all_of.rb → sepa_sale_payment_method_all_of.rb} +6 -6
- data/lib/openapi_client/models/sepa_sale_transaction.rb +3 -3
- data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +3 -3
- data/lib/openapi_client/models/ship_to_address.rb +2 -2
- data/lib/openapi_client/models/shipping.rb +2 -2
- data/lib/openapi_client/models/soft_descriptor.rb +2 -2
- data/lib/openapi_client/models/split_shipment.rb +2 -2
- data/lib/openapi_client/models/stand_in_details.rb +373 -0
- data/lib/openapi_client/models/standin_response_details.rb +257 -0
- data/lib/openapi_client/models/step_request.rb +2 -2
- data/lib/openapi_client/models/step_response.rb +2 -2
- data/lib/openapi_client/models/stored_credential.rb +2 -2
- data/lib/openapi_client/models/sub_merchant_data.rb +2 -2
- data/lib/openapi_client/models/sub_merchant_split.rb +2 -2
- data/lib/openapi_client/models/tele_check_ach_payment_method.rb +2 -2
- data/lib/openapi_client/models/tele_check_ach_payment_method_ach_bill_to.rb +2 -2
- data/lib/openapi_client/models/tele_check_cbp_payment_method.rb +2 -2
- data/lib/openapi_client/models/tele_check_ica_payment_method.rb +2 -2
- data/lib/openapi_client/models/tele_check_ica_payment_method_all_of.rb +2 -2
- data/lib/openapi_client/models/transaction_error_response.rb +37 -3
- data/lib/openapi_client/models/transaction_origin.rb +2 -2
- data/lib/openapi_client/models/transaction_response.rb +37 -3
- data/lib/openapi_client/models/transaction_type.rb +2 -2
- data/lib/openapi_client/models/union_pay_authentication_request.rb +2 -2
- data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +2 -2
- data/lib/openapi_client/models/union_pay_authentication_update_request.rb +2 -2
- data/lib/openapi_client/models/union_pay_authentication_update_request_all_of.rb +2 -2
- data/lib/openapi_client/models/update_payment_token.rb +2 -2
- data/lib/openapi_client/models/use_payment_token.rb +2 -2
- data/lib/openapi_client/models/verification3ds.rb +2 -2
- data/lib/openapi_client/models/verification_avs.rb +2 -2
- data/lib/openapi_client/models/verification_cvv.rb +2 -2
- data/lib/openapi_client/models/void_pre_auth_transactions.rb +2 -2
- data/lib/openapi_client/models/void_transaction.rb +2 -2
- data/lib/openapi_client/models/void_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +2 -2
- data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +2 -2
- data/lib/openapi_client/models/wallet_sale_transaction.rb +2 -2
- data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +2 -2
- data/lib/openapi_client/version.rb +3 -3
- data/spec/.DS_Store +0 -0
- data/spec/api/authentication_api_spec.rb +2 -2
- data/spec/api/currency_conversion_api_spec.rb +2 -2
- data/spec/api/fraud_detect_api_spec.rb +2 -2
- data/spec/api/information_lookup_api_spec.rb +2 -2
- data/spec/api/order_api_spec.rb +2 -2
- data/spec/api/payment_api_spec.rb +3 -3
- data/spec/api/payment_schedules_api_spec.rb +2 -2
- data/spec/api/payment_token_api_spec.rb +2 -2
- data/spec/api/payment_url_api_spec.rb +2 -2
- data/spec/api/verification_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/access_token_request_spec.rb +2 -2
- data/spec/models/access_token_response_spec.rb +2 -2
- data/spec/models/account_info_lookup_request_spec.rb +2 -2
- data/spec/models/account_updater_response_spec.rb +2 -2
- data/spec/models/account_verification_request_spec.rb +2 -2
- data/spec/models/ach_credit_transaction_spec.rb +2 -2
- data/spec/models/ach_post_auth_transaction_all_of_spec.rb +2 -2
- data/spec/models/ach_post_auth_transaction_spec.rb +2 -2
- data/spec/models/ach_pre_auth_transaction_all_of_spec.rb +2 -2
- data/spec/models/ach_pre_auth_transaction_spec.rb +2 -2
- data/spec/models/ach_recurring_type_spec.rb +2 -2
- data/spec/models/ach_response_spec.rb +2 -2
- data/spec/models/ach_return_transaction_spec.rb +2 -2
- data/spec/models/ach_sale_transaction_spec.rb +2 -2
- data/spec/models/ach_void_transaction_spec.rb +2 -2
- data/spec/models/acs_response_spec.rb +2 -2
- data/spec/models/additional_amount_rate_spec.rb +2 -2
- data/spec/models/additional_details_spec.rb +12 -2
- data/spec/models/additional_transaction_details_spec.rb +2 -2
- data/spec/models/address_spec.rb +2 -2
- data/spec/models/airline_ancillary_service_category_spec.rb +2 -2
- data/spec/models/airline_spec.rb +2 -2
- data/spec/models/airline_travel_route_spec.rb +2 -2
- data/spec/models/ali_pay_payment_method_all_of_spec.rb +2 -2
- data/spec/models/ali_pay_payment_method_spec.rb +2 -2
- data/spec/models/ali_pay_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/ali_pay_sale_transaction_spec.rb +2 -2
- data/spec/models/ali_pay_spec.rb +2 -2
- data/spec/models/amount_components_spec.rb +2 -2
- data/spec/models/amount_spec.rb +2 -2
- data/spec/models/apm_payment_method_all_of_spec.rb +2 -2
- data/spec/models/apm_payment_method_spec.rb +2 -2
- data/spec/models/apm_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/apm_sale_transaction_spec.rb +2 -2
- data/spec/models/authentication_request_spec.rb +2 -2
- data/spec/models/authentication_result_spec.rb +2 -2
- data/spec/models/authentication_update_request_spec.rb +2 -2
- data/spec/models/available_currencies_response_spec.rb +59 -0
- data/spec/models/avs_response_spec.rb +2 -2
- data/spec/models/bancontact_qr_spec.rb +2 -2
- data/spec/models/basic_response_spec.rb +2 -2
- data/spec/models/billing_address_spec.rb +2 -2
- data/spec/models/billing_spec.rb +2 -2
- data/spec/models/car_rental_extra_charges_spec.rb +2 -2
- data/spec/models/car_rental_spec.rb +2 -2
- data/spec/models/card_function_spec.rb +2 -2
- data/spec/models/card_info_lookup_request_spec.rb +2 -2
- data/spec/models/card_info_lookup_response_spec.rb +2 -2
- data/spec/models/card_info_spec.rb +2 -2
- data/spec/models/card_spec.rb +2 -2
- data/spec/models/card_verification_request_spec.rb +2 -2
- data/spec/models/cardholder_info_response_spec.rb +2 -2
- data/spec/models/china_domestic_payment_method_all_of_spec.rb +2 -2
- data/spec/models/china_domestic_payment_method_spec.rb +2 -2
- data/spec/models/china_domestic_spec.rb +2 -2
- data/spec/models/china_pn_r_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/china_pn_r_sale_transaction_spec.rb +2 -2
- data/spec/models/client_locale_spec.rb +2 -2
- data/spec/models/client_registration_spec.rb +2 -2
- data/spec/models/contact_spec.rb +2 -2
- data/spec/models/create_payment_token_spec.rb +2 -2
- data/spec/models/currency_conversion_response_spec.rb +2 -2
- data/spec/models/currency_conversion_spec.rb +2 -2
- data/spec/models/customer_address_spec.rb +2 -2
- data/spec/models/customer_spec.rb +2 -2
- data/spec/models/dcc_all_of_spec.rb +2 -2
- data/spec/models/dcc_exchange_rate_request_all_of_spec.rb +2 -2
- data/spec/models/dcc_exchange_rate_request_spec.rb +2 -2
- data/spec/models/dcc_spec.rb +2 -2
- data/spec/models/decrypted_apple_pay_spec.rb +2 -2
- data/spec/models/decrypted_apple_pay_wallet_payment_method_all_of_spec.rb +2 -2
- data/spec/models/decrypted_apple_pay_wallet_payment_method_spec.rb +2 -2
- data/spec/models/decrypted_google_pay_spec.rb +2 -2
- data/spec/models/decrypted_google_pay_wallet_payment_method_all_of_spec.rb +2 -2
- data/spec/models/decrypted_google_pay_wallet_payment_method_spec.rb +2 -2
- data/spec/models/decrypted_samsung_pay_spec.rb +2 -2
- data/spec/models/decrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +2 -2
- data/spec/models/decrypted_samsung_pay_wallet_payment_method_spec.rb +2 -2
- data/spec/models/device_spec.rb +2 -2
- data/spec/models/disbursement_spec.rb +2 -2
- data/spec/models/disbursement_transaction_type_spec.rb +2 -2
- data/spec/models/document_spec.rb +2 -2
- data/spec/models/dynamic_pricing_all_of_spec.rb +2 -2
- data/spec/models/dynamic_pricing_exchange_rate_request_all_of_spec.rb +2 -2
- data/spec/models/dynamic_pricing_exchange_rate_request_spec.rb +2 -2
- data/spec/models/dynamic_pricing_spec.rb +2 -2
- data/spec/models/encrypted_apple_pay_header_spec.rb +2 -2
- data/spec/models/encrypted_apple_pay_spec.rb +2 -2
- data/spec/models/encrypted_apple_pay_wallet_payment_method_all_of_spec.rb +2 -2
- data/spec/models/encrypted_apple_pay_wallet_payment_method_spec.rb +2 -2
- data/spec/models/encrypted_google_pay_data_spec.rb +2 -2
- data/spec/models/encrypted_google_pay_spec.rb +2 -2
- data/spec/models/encrypted_google_pay_wallet_payment_method_all_of_spec.rb +2 -2
- data/spec/models/encrypted_google_pay_wallet_payment_method_spec.rb +2 -2
- data/spec/models/encrypted_samsung_pay_spec.rb +2 -2
- data/spec/models/encrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +2 -2
- data/spec/models/encrypted_samsung_pay_wallet_payment_method_spec.rb +2 -2
- data/spec/models/error_details_spec.rb +2 -2
- data/spec/models/error_message_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/error_spec.rb +2 -2
- data/spec/models/exchange_rate_details_spec.rb +2 -2
- data/spec/models/exchange_rate_request_spec.rb +2 -2
- data/spec/models/exchange_rate_response_spec.rb +2 -2
- data/spec/models/expiration_spec.rb +2 -2
- data/spec/models/fraud_address_spec.rb +2 -2
- data/spec/models/fraud_order_items_spec.rb +2 -2
- data/spec/models/fraud_order_spec.rb +2 -2
- data/spec/models/fraud_registration_card_spec.rb +2 -2
- data/spec/models/fraud_registration_device_items_spec.rb +2 -2
- data/spec/models/fraud_registration_device_spec.rb +2 -2
- data/spec/models/fraud_registration_error_spec.rb +2 -2
- data/spec/models/fraud_registration_response_spec.rb +2 -2
- data/spec/models/fraud_registration_spec.rb +2 -2
- data/spec/models/fraud_score_spec.rb +2 -2
- data/spec/models/frequency_spec.rb +2 -2
- data/spec/models/funding_transaction_type_spec.rb +2 -2
- data/spec/models/id_info_spec.rb +2 -2
- data/spec/models/industry_specific_extensions_spec.rb +2 -2
- data/spec/models/installment_options_spec.rb +2 -2
- data/spec/models/issuer_response_spec.rb +2 -2
- data/spec/models/items_spec.rb +2 -2
- data/spec/models/location_spec.rb +2 -2
- data/spec/models/lodging_extra_charges_spec.rb +2 -2
- data/spec/models/lodging_spec.rb +2 -2
- data/spec/models/loyalty_spec.rb +2 -2
- data/spec/models/masterpass_wallet_payment_method_all_of_spec.rb +2 -2
- data/spec/models/masterpass_wallet_payment_method_spec.rb +2 -2
- data/spec/models/mcc6012_spec.rb +2 -2
- data/spec/models/merchant_spec.rb +2 -2
- data/spec/models/method_spec.rb +2 -2
- data/spec/models/order_error_response_spec.rb +2 -2
- data/spec/models/order_response_spec.rb +2 -2
- data/spec/models/order_spec.rb +14 -2
- data/spec/models/pay_pal_payment_method_all_of_spec.rb +2 -2
- data/spec/models/pay_pal_payment_method_spec.rb +2 -2
- data/spec/models/pay_pal_spec.rb +2 -2
- data/spec/models/payment_brand_response_spec.rb +2 -2
- data/spec/models/payment_card_credit_transaction_all_of_spec.rb +47 -0
- data/spec/models/payment_card_credit_transaction_spec.rb +2 -2
- data/spec/models/payment_card_disbursement_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_card_disbursement_transaction_spec.rb +2 -2
- data/spec/models/payment_card_forced_ticket_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_card_forced_ticket_transaction_spec.rb +2 -2
- data/spec/models/payment_card_info_lookup_request_all_of_spec.rb +2 -2
- data/spec/models/payment_card_info_lookup_request_spec.rb +2 -2
- data/spec/models/payment_card_payer_auth_transaction_all_of_spec.rb +8 -2
- data/spec/models/payment_card_payer_auth_transaction_spec.rb +8 -2
- data/spec/models/payment_card_payment_method_all_of_spec.rb +2 -2
- data/spec/models/payment_card_payment_method_spec.rb +2 -2
- data/spec/models/payment_card_payment_token_update_request_spec.rb +2 -2
- data/spec/models/payment_card_payment_tokenization_request_all_of_spec.rb +2 -2
- data/spec/models/payment_card_payment_tokenization_request_spec.rb +2 -2
- data/spec/models/payment_card_pre_auth_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_card_pre_auth_transaction_spec.rb +2 -2
- data/spec/models/payment_card_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_card_sale_transaction_spec.rb +2 -2
- data/spec/models/payment_card_spec.rb +2 -2
- data/spec/models/payment_card_verification_request_all_of_spec.rb +2 -2
- data/spec/models/payment_card_verification_request_spec.rb +2 -2
- data/spec/models/payment_device_credit_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_device_credit_transaction_spec.rb +2 -2
- data/spec/models/payment_device_disbursement_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_device_disbursement_transaction_spec.rb +2 -2
- data/spec/models/payment_device_payment_method_all_of_spec.rb +2 -2
- data/spec/models/payment_device_payment_method_spec.rb +2 -2
- data/spec/models/payment_device_payment_tokenization_request_all_of_spec.rb +2 -2
- data/spec/models/payment_device_payment_tokenization_request_spec.rb +2 -2
- data/spec/models/payment_device_pre_auth_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_device_pre_auth_transaction_spec.rb +2 -2
- data/spec/models/payment_device_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_device_sale_transaction_spec.rb +2 -2
- data/spec/models/payment_device_spec.rb +2 -2
- data/spec/models/payment_facilitator_spec.rb +2 -2
- data/spec/models/payment_method_details_spec.rb +2 -2
- data/spec/models/payment_method_payment_schedules_request_all_of_spec.rb +2 -2
- data/spec/models/payment_method_payment_schedules_request_spec.rb +2 -2
- data/spec/models/payment_method_type_spec.rb +2 -2
- data/spec/models/payment_registration_spec.rb +2 -2
- data/spec/models/payment_schedules_error_response_spec.rb +2 -2
- data/spec/models/payment_schedules_request_spec.rb +2 -2
- data/spec/models/payment_schedules_response_spec.rb +2 -2
- data/spec/models/payment_spec.rb +2 -2
- data/spec/models/payment_step_request_spec.rb +2 -2
- data/spec/models/payment_step_response_spec.rb +2 -2
- data/spec/models/payment_token_credit_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_token_credit_transaction_spec.rb +2 -2
- data/spec/models/payment_token_details_all_of_spec.rb +2 -2
- data/spec/models/payment_token_details_spec.rb +2 -2
- data/spec/models/payment_token_disbursement_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_token_disbursement_transaction_spec.rb +2 -2
- data/spec/models/payment_token_info_lookup_request_all_of_spec.rb +2 -2
- data/spec/models/payment_token_info_lookup_request_spec.rb +2 -2
- data/spec/models/payment_token_payment_method_all_of_spec.rb +2 -2
- data/spec/models/payment_token_payment_method_spec.rb +2 -2
- data/spec/models/payment_token_pre_auth_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_token_pre_auth_transaction_spec.rb +2 -2
- data/spec/models/payment_token_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/payment_token_sale_transaction_spec.rb +2 -2
- data/spec/models/payment_token_update_response_spec.rb +2 -2
- data/spec/models/payment_token_verification_request_all_of_spec.rb +2 -2
- data/spec/models/payment_token_verification_request_spec.rb +2 -2
- data/spec/models/payment_tokenization_error_response_spec.rb +2 -2
- data/spec/models/payment_tokenization_request_spec.rb +2 -2
- data/spec/models/payment_tokenization_response_spec.rb +2 -2
- data/spec/models/payment_url_detail_response_spec.rb +2 -2
- data/spec/models/payment_url_detail_spec.rb +2 -2
- data/spec/models/payment_url_error_response_spec.rb +2 -2
- data/spec/models/payment_url_request_spec.rb +8 -2
- data/spec/models/payment_url_response_spec.rb +2 -2
- data/spec/models/payment_url_status_spec.rb +2 -2
- data/spec/models/paypal_credit_transaction_all_of_spec.rb +2 -2
- data/spec/models/paypal_credit_transaction_spec.rb +2 -2
- data/spec/models/phone_spec.rb +2 -2
- data/spec/models/post_auth_transaction_all_of_spec.rb +2 -2
- data/spec/models/post_auth_transaction_spec.rb +2 -2
- data/spec/models/pre_auth_secondary_transaction_all_of_spec.rb +2 -2
- data/spec/models/pre_auth_secondary_transaction_spec.rb +2 -2
- data/spec/models/primary_transaction_spec.rb +8 -2
- data/spec/models/processor_data_spec.rb +2 -2
- data/spec/models/provide_detail_payment_step_request_all_of_spec.rb +2 -2
- data/spec/models/provide_detail_payment_step_request_spec.rb +2 -2
- data/spec/models/provide_detail_payment_step_response_all_of_spec.rb +2 -2
- data/spec/models/provide_detail_payment_step_response_spec.rb +2 -2
- data/spec/models/purchase_cards_level2_spec.rb +8 -2
- data/spec/models/purchase_cards_level3_line_items_spec.rb +2 -2
- data/spec/models/purchase_cards_level3_spec.rb +2 -2
- data/spec/models/purchase_cards_spec.rb +2 -2
- data/spec/models/receipt_line_spec.rb +2 -2
- data/spec/models/receipt_request_info_spec.rb +2 -2
- data/spec/models/receipt_spec.rb +2 -2
- data/spec/models/receiver_info_spec.rb +2 -2
- data/spec/models/recurring_payment_details_response_spec.rb +2 -2
- data/spec/models/recurring_payment_details_spec.rb +2 -2
- data/spec/models/referenced_order_payment_schedules_request_all_of_spec.rb +2 -2
- data/spec/models/referenced_order_payment_schedules_request_spec.rb +2 -2
- data/spec/models/referenced_order_payment_tokenization_request_all_of_spec.rb +2 -2
- data/spec/models/referenced_order_payment_tokenization_request_spec.rb +2 -2
- data/spec/models/registration_method_spec.rb +2 -2
- data/spec/models/response_amount_components_all_of_spec.rb +2 -2
- data/spec/models/response_amount_components_spec.rb +2 -2
- data/spec/models/response_type_spec.rb +2 -2
- data/spec/models/return_transaction_all_of_spec.rb +2 -2
- data/spec/models/return_transaction_spec.rb +2 -2
- data/spec/models/revolving_options_spec.rb +2 -2
- data/spec/models/score_only_request_spec.rb +2 -2
- data/spec/models/score_only_response_fraud_score_explanations_spec.rb +2 -2
- data/spec/models/score_only_response_fraud_score_spec.rb +2 -2
- data/spec/models/score_only_response_spec.rb +2 -2
- data/spec/models/secondary_transaction_spec.rb +2 -2
- data/spec/models/secure3_d10_authentication_request_all_of_spec.rb +2 -2
- data/spec/models/secure3_d10_authentication_request_spec.rb +2 -2
- data/spec/models/secure3_d10_authentication_result_all_of_spec.rb +2 -2
- data/spec/models/secure3_d10_authentication_result_spec.rb +2 -2
- data/spec/models/secure3_d10_authentication_update_request_all_of_spec.rb +2 -2
- data/spec/models/secure3_d10_authentication_update_request_spec.rb +2 -2
- data/spec/models/secure3_d21_authentication_request_all_of_spec.rb +19 -3
- data/spec/models/secure3_d21_authentication_request_spec.rb +19 -3
- data/spec/models/secure3_d21_authentication_result_all_of_spec.rb +2 -2
- data/spec/models/secure3_d21_authentication_result_spec.rb +2 -2
- data/spec/models/secure3_d21_authentication_update_request_all_of_spec.rb +2 -2
- data/spec/models/secure3_d21_authentication_update_request_spec.rb +2 -2
- data/spec/models/secure3_d_authentication_request_all_of_spec.rb +19 -3
- data/spec/models/secure3_d_authentication_request_spec.rb +19 -3
- data/spec/models/secure3_d_authentication_response_params_spec.rb +2 -2
- data/spec/models/secure3_d_authentication_response_secure3d_method_spec.rb +2 -2
- data/spec/models/secure3_d_authentication_response_spec.rb +2 -2
- data/spec/models/secure3_d_authentication_result_all_of_spec.rb +12 -2
- data/spec/models/secure3_d_authentication_result_spec.rb +12 -2
- data/spec/models/secure3_d_authentication_update_request_spec.rb +2 -2
- data/spec/models/secure3d_response_spec.rb +2 -2
- data/spec/models/sender_info_spec.rb +2 -2
- data/spec/models/sepa_credit_payment_method_all_of_spec.rb +41 -0
- data/spec/models/{sepa_payment_method_all_of_spec.rb → sepa_credit_payment_method_spec.rb} +8 -8
- data/spec/models/sepa_credit_spec.rb +47 -0
- data/spec/models/sepa_credit_transaction_all_of_spec.rb +41 -0
- data/spec/models/sepa_credit_transaction_spec.rb +41 -0
- data/spec/models/sepa_mandate_spec.rb +2 -2
- data/spec/models/sepa_sale_payment_method_all_of_spec.rb +41 -0
- data/spec/models/{sepa_payment_method_spec.rb → sepa_sale_payment_method_spec.rb} +8 -8
- data/spec/models/{sepa_spec.rb → sepa_sale_spec.rb} +8 -8
- data/spec/models/sepa_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/sepa_sale_transaction_spec.rb +2 -2
- data/spec/models/ship_to_address_spec.rb +2 -2
- data/spec/models/shipping_spec.rb +2 -2
- data/spec/models/soft_descriptor_spec.rb +2 -2
- data/spec/models/split_shipment_spec.rb +2 -2
- data/spec/models/stand_in_details_spec.rb +79 -0
- data/spec/models/standin_response_details_spec.rb +71 -0
- data/spec/models/step_request_spec.rb +2 -2
- data/spec/models/step_response_spec.rb +2 -2
- data/spec/models/stored_credential_spec.rb +2 -2
- data/spec/models/sub_merchant_data_spec.rb +2 -2
- data/spec/models/sub_merchant_split_spec.rb +2 -2
- data/spec/models/tele_check_ach_payment_method_ach_bill_to_spec.rb +2 -2
- data/spec/models/tele_check_ach_payment_method_spec.rb +2 -2
- data/spec/models/tele_check_cbp_payment_method_spec.rb +2 -2
- data/spec/models/tele_check_ica_payment_method_all_of_spec.rb +2 -2
- data/spec/models/tele_check_ica_payment_method_spec.rb +2 -2
- data/spec/models/transaction_error_response_spec.rb +14 -2
- data/spec/models/transaction_origin_spec.rb +2 -2
- data/spec/models/transaction_response_spec.rb +14 -2
- data/spec/models/transaction_type_spec.rb +2 -2
- data/spec/models/union_pay_authentication_request_all_of_spec.rb +2 -2
- data/spec/models/union_pay_authentication_request_spec.rb +2 -2
- data/spec/models/union_pay_authentication_update_request_all_of_spec.rb +2 -2
- data/spec/models/union_pay_authentication_update_request_spec.rb +2 -2
- data/spec/models/update_payment_token_spec.rb +2 -2
- data/spec/models/use_payment_token_spec.rb +2 -2
- data/spec/models/verification3ds_spec.rb +2 -2
- data/spec/models/verification_avs_spec.rb +2 -2
- data/spec/models/verification_cvv_spec.rb +2 -2
- data/spec/models/void_pre_auth_transactions_spec.rb +2 -2
- data/spec/models/void_transaction_all_of_spec.rb +2 -2
- data/spec/models/void_transaction_spec.rb +2 -2
- data/spec/models/wallet_payment_method_spec.rb +2 -2
- data/spec/models/wallet_pre_auth_transaction_all_of_spec.rb +2 -2
- data/spec/models/wallet_pre_auth_transaction_spec.rb +2 -2
- data/spec/models/wallet_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/wallet_sale_transaction_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +51 -15
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 21.
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -20,7 +20,7 @@ module OpenapiClient
|
|
20
20
|
# The 3DS method iframe and transaction ID will be sent here. Note this must be a valid URL (special characters should be URL-encoded).
|
21
21
|
attr_accessor :method_notification_url
|
22
22
|
|
23
|
-
# Indicates whether or not a challenge should be performed. 01 = No preference (You have no preference whether a challenge should be performed. This is the default value) 02 = No challenge requested (You prefer that no challenge should be performed) 03 = Challenge requested: 3DS Requestor Preference (You prefer that a challenge should be performed) 04 = Challenge requested: Mandate (There are local or regional mandates that mean that a challenge must be performed)
|
23
|
+
# Indicates whether or not a challenge should be performed. 01 = No preference (You have no preference whether a challenge should be performed. This is the default value) 02 = No challenge requested (You prefer that no challenge should be performed) 03 = Challenge requested: 3DS Requestor Preference (You prefer that a challenge should be performed) 04 = Challenge requested: Mandate (There are local or regional mandates that mean that a challenge must be performed) The following are applicable only for 3DS 2.2 protocol. 05 = No challenge requested (transactional risk analysis is already performed) 06 = No challenge requested (Data share only) 07 = No challenge requested (strong consumer authentication is already performed) 08 = No challenge requested (utilise whitelist exemption if no challenge required) 09 = Challenge requested (whitelist prompt requested if challenge required)
|
24
24
|
attr_accessor :challenge_indicator
|
25
25
|
|
26
26
|
# Indicates the message category of 3d secure authentication version 2.X. 01 = Payment Authentication 02 = Non-Payment Authentication 80 = Mastercard Data Only
|
@@ -29,6 +29,12 @@ module OpenapiClient
|
|
29
29
|
# Defines the size of the challenge window displayed to customers during authentication. 01 = 250 x 400 02 = 390 x 400 03 = 500 x 600 04 = 600 x 400 05 = Full screen
|
30
30
|
attr_accessor :challenge_window_size
|
31
31
|
|
32
|
+
# Indicates if the browser issuing the request is capable of performing JavaScript.
|
33
|
+
attr_accessor :browser_java_script_enabled
|
34
|
+
|
35
|
+
# Indicates whether or not a challenge should be performed. 01 = Payment transaction 02 = Recurring transaction 03 = Installment transaction 04 = Add card 05 = Maintain card 06 = Card holder verification as part of EMV token ID and Value
|
36
|
+
attr_accessor :requestor_authentication_indicator
|
37
|
+
|
32
38
|
class EnumAttributeValidator
|
33
39
|
attr_reader :datatype
|
34
40
|
attr_reader :allowable_values
|
@@ -58,7 +64,9 @@ module OpenapiClient
|
|
58
64
|
:'method_notification_url' => :'methodNotificationURL',
|
59
65
|
:'challenge_indicator' => :'challengeIndicator',
|
60
66
|
:'message_category' => :'messageCategory',
|
61
|
-
:'challenge_window_size' => :'challengeWindowSize'
|
67
|
+
:'challenge_window_size' => :'challengeWindowSize',
|
68
|
+
:'browser_java_script_enabled' => :'browserJavaScriptEnabled',
|
69
|
+
:'requestor_authentication_indicator' => :'requestorAuthenticationIndicator'
|
62
70
|
}
|
63
71
|
end
|
64
72
|
|
@@ -69,7 +77,9 @@ module OpenapiClient
|
|
69
77
|
:'method_notification_url' => :'String',
|
70
78
|
:'challenge_indicator' => :'String',
|
71
79
|
:'message_category' => :'String',
|
72
|
-
:'challenge_window_size' => :'String'
|
80
|
+
:'challenge_window_size' => :'String',
|
81
|
+
:'browser_java_script_enabled' => :'Boolean',
|
82
|
+
:'requestor_authentication_indicator' => :'String'
|
73
83
|
}
|
74
84
|
end
|
75
85
|
|
@@ -109,6 +119,16 @@ module OpenapiClient
|
|
109
119
|
if attributes.key?(:'challenge_window_size')
|
110
120
|
self.challenge_window_size = attributes[:'challenge_window_size']
|
111
121
|
end
|
122
|
+
|
123
|
+
if attributes.key?(:'browser_java_script_enabled')
|
124
|
+
self.browser_java_script_enabled = attributes[:'browser_java_script_enabled']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.key?(:'requestor_authentication_indicator')
|
128
|
+
self.requestor_authentication_indicator = attributes[:'requestor_authentication_indicator']
|
129
|
+
else
|
130
|
+
self.requestor_authentication_indicator = '01'
|
131
|
+
end
|
112
132
|
end
|
113
133
|
|
114
134
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -131,19 +151,21 @@ module OpenapiClient
|
|
131
151
|
def valid?
|
132
152
|
return false if @term_url.nil?
|
133
153
|
return false if @method_notification_url.nil?
|
134
|
-
challenge_indicator_validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04"])
|
154
|
+
challenge_indicator_validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04", "05", "06", "07", "08", "09"])
|
135
155
|
return false unless challenge_indicator_validator.valid?(@challenge_indicator)
|
136
156
|
message_category_validator = EnumAttributeValidator.new('String', ["01", "02", "80"])
|
137
157
|
return false unless message_category_validator.valid?(@message_category)
|
138
158
|
challenge_window_size_validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04", "05"])
|
139
159
|
return false unless challenge_window_size_validator.valid?(@challenge_window_size)
|
160
|
+
requestor_authentication_indicator_validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04", "05", "06"])
|
161
|
+
return false unless requestor_authentication_indicator_validator.valid?(@requestor_authentication_indicator)
|
140
162
|
true
|
141
163
|
end
|
142
164
|
|
143
165
|
# Custom attribute writer method checking allowed values (enum).
|
144
166
|
# @param [Object] challenge_indicator Object to be assigned
|
145
167
|
def challenge_indicator=(challenge_indicator)
|
146
|
-
validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04"])
|
168
|
+
validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04", "05", "06", "07", "08", "09"])
|
147
169
|
unless validator.valid?(challenge_indicator)
|
148
170
|
fail ArgumentError, "invalid value for \"challenge_indicator\", must be one of #{validator.allowable_values}."
|
149
171
|
end
|
@@ -170,6 +192,16 @@ module OpenapiClient
|
|
170
192
|
@challenge_window_size = challenge_window_size
|
171
193
|
end
|
172
194
|
|
195
|
+
# Custom attribute writer method checking allowed values (enum).
|
196
|
+
# @param [Object] requestor_authentication_indicator Object to be assigned
|
197
|
+
def requestor_authentication_indicator=(requestor_authentication_indicator)
|
198
|
+
validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04", "05", "06"])
|
199
|
+
unless validator.valid?(requestor_authentication_indicator)
|
200
|
+
fail ArgumentError, "invalid value for \"requestor_authentication_indicator\", must be one of #{validator.allowable_values}."
|
201
|
+
end
|
202
|
+
@requestor_authentication_indicator = requestor_authentication_indicator
|
203
|
+
end
|
204
|
+
|
173
205
|
# Checks equality by comparing each attribute.
|
174
206
|
# @param [Object] Object to be compared
|
175
207
|
def ==(o)
|
@@ -179,7 +211,9 @@ module OpenapiClient
|
|
179
211
|
method_notification_url == o.method_notification_url &&
|
180
212
|
challenge_indicator == o.challenge_indicator &&
|
181
213
|
message_category == o.message_category &&
|
182
|
-
challenge_window_size == o.challenge_window_size
|
214
|
+
challenge_window_size == o.challenge_window_size &&
|
215
|
+
browser_java_script_enabled == o.browser_java_script_enabled &&
|
216
|
+
requestor_authentication_indicator == o.requestor_authentication_indicator
|
183
217
|
end
|
184
218
|
|
185
219
|
# @see the `==` method
|
@@ -191,7 +225,7 @@ module OpenapiClient
|
|
191
225
|
# Calculates hash code according to all attributes.
|
192
226
|
# @return [Integer] Hash code
|
193
227
|
def hash
|
194
|
-
[term_url, method_notification_url, challenge_indicator, message_category, challenge_window_size].hash
|
228
|
+
[term_url, method_notification_url, challenge_indicator, message_category, challenge_window_size, browser_java_script_enabled, requestor_authentication_indicator].hash
|
195
229
|
end
|
196
230
|
|
197
231
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 21.
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 21.
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 21.
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 21.
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -30,6 +30,9 @@ module OpenapiClient
|
|
30
30
|
# The transaction status as returned by the 3D Secure authentication process. (CRes)
|
31
31
|
attr_accessor :transaction_status
|
32
32
|
|
33
|
+
# Indicates the message category of 3d secure authentication version 2.X. 01 = Payment Authentication 02 = Non-Payment Authentication 80 = Mastercard Data Only
|
34
|
+
attr_accessor :message_category
|
35
|
+
|
33
36
|
class EnumAttributeValidator
|
34
37
|
attr_reader :datatype
|
35
38
|
attr_reader :allowable_values
|
@@ -59,7 +62,8 @@ module OpenapiClient
|
|
59
62
|
:'xid' => :'xid',
|
60
63
|
:'ds_transaction_id' => :'dsTransactionId',
|
61
64
|
:'authentication_response' => :'authenticationResponse',
|
62
|
-
:'transaction_status' => :'transactionStatus'
|
65
|
+
:'transaction_status' => :'transactionStatus',
|
66
|
+
:'message_category' => :'messageCategory'
|
63
67
|
}
|
64
68
|
end
|
65
69
|
|
@@ -70,7 +74,8 @@ module OpenapiClient
|
|
70
74
|
:'xid' => :'String',
|
71
75
|
:'ds_transaction_id' => :'String',
|
72
76
|
:'authentication_response' => :'String',
|
73
|
-
:'transaction_status' => :'String'
|
77
|
+
:'transaction_status' => :'String',
|
78
|
+
:'message_category' => :'String'
|
74
79
|
}
|
75
80
|
end
|
76
81
|
|
@@ -119,6 +124,10 @@ module OpenapiClient
|
|
119
124
|
if attributes.key?(:'transaction_status')
|
120
125
|
self.transaction_status = attributes[:'transaction_status']
|
121
126
|
end
|
127
|
+
|
128
|
+
if attributes.key?(:'message_category')
|
129
|
+
self.message_category = attributes[:'message_category']
|
130
|
+
end
|
122
131
|
end
|
123
132
|
|
124
133
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -155,6 +164,8 @@ module OpenapiClient
|
|
155
164
|
return false unless authentication_response_validator.valid?(@authentication_response)
|
156
165
|
transaction_status_validator = EnumAttributeValidator.new('String', ["A", "N", "U", "Y", "C", "R"])
|
157
166
|
return false unless transaction_status_validator.valid?(@transaction_status)
|
167
|
+
message_category_validator = EnumAttributeValidator.new('String', ["01", "02", "80"])
|
168
|
+
return false unless message_category_validator.valid?(@message_category)
|
158
169
|
true && super
|
159
170
|
end
|
160
171
|
|
@@ -206,6 +217,16 @@ module OpenapiClient
|
|
206
217
|
@transaction_status = transaction_status
|
207
218
|
end
|
208
219
|
|
220
|
+
# Custom attribute writer method checking allowed values (enum).
|
221
|
+
# @param [Object] message_category Object to be assigned
|
222
|
+
def message_category=(message_category)
|
223
|
+
validator = EnumAttributeValidator.new('String', ["01", "02", "80"])
|
224
|
+
unless validator.valid?(message_category)
|
225
|
+
fail ArgumentError, "invalid value for \"message_category\", must be one of #{validator.allowable_values}."
|
226
|
+
end
|
227
|
+
@message_category = message_category
|
228
|
+
end
|
229
|
+
|
209
230
|
# Checks equality by comparing each attribute.
|
210
231
|
# @param [Object] Object to be compared
|
211
232
|
def ==(o)
|
@@ -215,7 +236,8 @@ module OpenapiClient
|
|
215
236
|
xid == o.xid &&
|
216
237
|
ds_transaction_id == o.ds_transaction_id &&
|
217
238
|
authentication_response == o.authentication_response &&
|
218
|
-
transaction_status == o.transaction_status &&
|
239
|
+
transaction_status == o.transaction_status &&
|
240
|
+
message_category == o.message_category && super(o)
|
219
241
|
end
|
220
242
|
|
221
243
|
# @see the `==` method
|
@@ -227,7 +249,7 @@ module OpenapiClient
|
|
227
249
|
# Calculates hash code according to all attributes.
|
228
250
|
# @return [Integer] Hash code
|
229
251
|
def hash
|
230
|
-
[cavv, xid, ds_transaction_id, authentication_response, transaction_status].hash
|
252
|
+
[cavv, xid, ds_transaction_id, authentication_response, transaction_status, message_category].hash
|
231
253
|
end
|
232
254
|
|
233
255
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 21.
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -29,6 +29,9 @@ module OpenapiClient
|
|
29
29
|
# The transaction status as returned by the 3D Secure authentication process. (CRes)
|
30
30
|
attr_accessor :transaction_status
|
31
31
|
|
32
|
+
# Indicates the message category of 3d secure authentication version 2.X. 01 = Payment Authentication 02 = Non-Payment Authentication 80 = Mastercard Data Only
|
33
|
+
attr_accessor :message_category
|
34
|
+
|
32
35
|
class EnumAttributeValidator
|
33
36
|
attr_reader :datatype
|
34
37
|
attr_reader :allowable_values
|
@@ -58,7 +61,8 @@ module OpenapiClient
|
|
58
61
|
:'xid' => :'xid',
|
59
62
|
:'ds_transaction_id' => :'dsTransactionId',
|
60
63
|
:'authentication_response' => :'authenticationResponse',
|
61
|
-
:'transaction_status' => :'transactionStatus'
|
64
|
+
:'transaction_status' => :'transactionStatus',
|
65
|
+
:'message_category' => :'messageCategory'
|
62
66
|
}
|
63
67
|
end
|
64
68
|
|
@@ -69,7 +73,8 @@ module OpenapiClient
|
|
69
73
|
:'xid' => :'String',
|
70
74
|
:'ds_transaction_id' => :'String',
|
71
75
|
:'authentication_response' => :'String',
|
72
|
-
:'transaction_status' => :'String'
|
76
|
+
:'transaction_status' => :'String',
|
77
|
+
:'message_category' => :'String'
|
73
78
|
}
|
74
79
|
end
|
75
80
|
|
@@ -107,6 +112,10 @@ module OpenapiClient
|
|
107
112
|
if attributes.key?(:'transaction_status')
|
108
113
|
self.transaction_status = attributes[:'transaction_status']
|
109
114
|
end
|
115
|
+
|
116
|
+
if attributes.key?(:'message_category')
|
117
|
+
self.message_category = attributes[:'message_category']
|
118
|
+
end
|
110
119
|
end
|
111
120
|
|
112
121
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -143,6 +152,8 @@ module OpenapiClient
|
|
143
152
|
return false unless authentication_response_validator.valid?(@authentication_response)
|
144
153
|
transaction_status_validator = EnumAttributeValidator.new('String', ["A", "N", "U", "Y", "C", "R"])
|
145
154
|
return false unless transaction_status_validator.valid?(@transaction_status)
|
155
|
+
message_category_validator = EnumAttributeValidator.new('String', ["01", "02", "80"])
|
156
|
+
return false unless message_category_validator.valid?(@message_category)
|
146
157
|
true
|
147
158
|
end
|
148
159
|
|
@@ -194,6 +205,16 @@ module OpenapiClient
|
|
194
205
|
@transaction_status = transaction_status
|
195
206
|
end
|
196
207
|
|
208
|
+
# Custom attribute writer method checking allowed values (enum).
|
209
|
+
# @param [Object] message_category Object to be assigned
|
210
|
+
def message_category=(message_category)
|
211
|
+
validator = EnumAttributeValidator.new('String', ["01", "02", "80"])
|
212
|
+
unless validator.valid?(message_category)
|
213
|
+
fail ArgumentError, "invalid value for \"message_category\", must be one of #{validator.allowable_values}."
|
214
|
+
end
|
215
|
+
@message_category = message_category
|
216
|
+
end
|
217
|
+
|
197
218
|
# Checks equality by comparing each attribute.
|
198
219
|
# @param [Object] Object to be compared
|
199
220
|
def ==(o)
|
@@ -203,7 +224,8 @@ module OpenapiClient
|
|
203
224
|
xid == o.xid &&
|
204
225
|
ds_transaction_id == o.ds_transaction_id &&
|
205
226
|
authentication_response == o.authentication_response &&
|
206
|
-
transaction_status == o.transaction_status
|
227
|
+
transaction_status == o.transaction_status &&
|
228
|
+
message_category == o.message_category
|
207
229
|
end
|
208
230
|
|
209
231
|
# @see the `==` method
|
@@ -215,7 +237,7 @@ module OpenapiClient
|
|
215
237
|
# Calculates hash code according to all attributes.
|
216
238
|
# @return [Integer] Hash code
|
217
239
|
def hash
|
218
|
-
[cavv, xid, ds_transaction_id, authentication_response, transaction_status].hash
|
240
|
+
[cavv, xid, ds_transaction_id, authentication_response, transaction_status, message_category].hash
|
219
241
|
end
|
220
242
|
|
221
243
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 21.
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 21.
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 21.
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -0,0 +1,287 @@
|
|
1
|
+
=begin
|
2
|
+
#Payment Gateway API Specification.
|
3
|
+
|
4
|
+
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 21.3.0.20210608.001
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module OpenapiClient
|
16
|
+
# The payment object for SEPA Credit Local Payment.
|
17
|
+
class SepaCredit
|
18
|
+
# Bank account in IBAN format.
|
19
|
+
attr_accessor :iban
|
20
|
+
|
21
|
+
# The name of the Account Holder.
|
22
|
+
attr_accessor :name
|
23
|
+
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
+
def self.attribute_map
|
26
|
+
{
|
27
|
+
:'iban' => :'iban',
|
28
|
+
:'name' => :'name'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.openapi_types
|
34
|
+
{
|
35
|
+
:'iban' => :'String',
|
36
|
+
:'name' => :'String'
|
37
|
+
}
|
38
|
+
end
|
39
|
+
|
40
|
+
# Initializes the object
|
41
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
42
|
+
def initialize(attributes = {})
|
43
|
+
if (!attributes.is_a?(Hash))
|
44
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::SepaCredit` initialize method"
|
45
|
+
end
|
46
|
+
|
47
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
48
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
49
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
50
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::SepaCredit`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
51
|
+
end
|
52
|
+
h[k.to_sym] = v
|
53
|
+
}
|
54
|
+
|
55
|
+
if attributes.key?(:'iban')
|
56
|
+
self.iban = attributes[:'iban']
|
57
|
+
end
|
58
|
+
|
59
|
+
if attributes.key?(:'name')
|
60
|
+
self.name = attributes[:'name']
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
65
|
+
# @return Array for valid properties with the reasons
|
66
|
+
def list_invalid_properties
|
67
|
+
invalid_properties = Array.new
|
68
|
+
if @iban.nil?
|
69
|
+
invalid_properties.push('invalid value for "iban", iban cannot be nil.')
|
70
|
+
end
|
71
|
+
|
72
|
+
if @iban.to_s.length > 34
|
73
|
+
invalid_properties.push('invalid value for "iban", the character length must be smaller than or equal to 34.')
|
74
|
+
end
|
75
|
+
|
76
|
+
pattern = Regexp.new(/^(?!\s*$).+/)
|
77
|
+
if @iban !~ pattern
|
78
|
+
invalid_properties.push("invalid value for \"iban\", must conform to the pattern #{pattern}.")
|
79
|
+
end
|
80
|
+
|
81
|
+
if @name.nil?
|
82
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
83
|
+
end
|
84
|
+
|
85
|
+
if @name.to_s.length > 70
|
86
|
+
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 70.')
|
87
|
+
end
|
88
|
+
|
89
|
+
pattern = Regexp.new(/^(?!\s*$).+/)
|
90
|
+
if @name !~ pattern
|
91
|
+
invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
|
92
|
+
end
|
93
|
+
|
94
|
+
invalid_properties
|
95
|
+
end
|
96
|
+
|
97
|
+
# Check to see if the all the properties in the model are valid
|
98
|
+
# @return true if the model is valid
|
99
|
+
def valid?
|
100
|
+
return false if @iban.nil?
|
101
|
+
return false if @iban.to_s.length > 34
|
102
|
+
return false if @iban !~ Regexp.new(/^(?!\s*$).+/)
|
103
|
+
return false if @name.nil?
|
104
|
+
return false if @name.to_s.length > 70
|
105
|
+
return false if @name !~ Regexp.new(/^(?!\s*$).+/)
|
106
|
+
true
|
107
|
+
end
|
108
|
+
|
109
|
+
# Custom attribute writer method with validation
|
110
|
+
# @param [Object] iban Value to be assigned
|
111
|
+
def iban=(iban)
|
112
|
+
if iban.nil?
|
113
|
+
fail ArgumentError, 'iban cannot be nil'
|
114
|
+
end
|
115
|
+
|
116
|
+
if iban.to_s.length > 34
|
117
|
+
fail ArgumentError, 'invalid value for "iban", the character length must be smaller than or equal to 34.'
|
118
|
+
end
|
119
|
+
|
120
|
+
pattern = Regexp.new(/^(?!\s*$).+/)
|
121
|
+
if iban !~ pattern
|
122
|
+
fail ArgumentError, "invalid value for \"iban\", must conform to the pattern #{pattern}."
|
123
|
+
end
|
124
|
+
|
125
|
+
@iban = iban
|
126
|
+
end
|
127
|
+
|
128
|
+
# Custom attribute writer method with validation
|
129
|
+
# @param [Object] name Value to be assigned
|
130
|
+
def name=(name)
|
131
|
+
if name.nil?
|
132
|
+
fail ArgumentError, 'name cannot be nil'
|
133
|
+
end
|
134
|
+
|
135
|
+
if name.to_s.length > 70
|
136
|
+
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 70.'
|
137
|
+
end
|
138
|
+
|
139
|
+
pattern = Regexp.new(/^(?!\s*$).+/)
|
140
|
+
if name !~ pattern
|
141
|
+
fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
|
142
|
+
end
|
143
|
+
|
144
|
+
@name = name
|
145
|
+
end
|
146
|
+
|
147
|
+
# Checks equality by comparing each attribute.
|
148
|
+
# @param [Object] Object to be compared
|
149
|
+
def ==(o)
|
150
|
+
return true if self.equal?(o)
|
151
|
+
self.class == o.class &&
|
152
|
+
iban == o.iban &&
|
153
|
+
name == o.name
|
154
|
+
end
|
155
|
+
|
156
|
+
# @see the `==` method
|
157
|
+
# @param [Object] Object to be compared
|
158
|
+
def eql?(o)
|
159
|
+
self == o
|
160
|
+
end
|
161
|
+
|
162
|
+
# Calculates hash code according to all attributes.
|
163
|
+
# @return [Integer] Hash code
|
164
|
+
def hash
|
165
|
+
[iban, name].hash
|
166
|
+
end
|
167
|
+
|
168
|
+
# Builds the object from hash
|
169
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
170
|
+
# @return [Object] Returns the model itself
|
171
|
+
def self.build_from_hash(attributes)
|
172
|
+
new.build_from_hash(attributes)
|
173
|
+
end
|
174
|
+
|
175
|
+
# Builds the object from hash
|
176
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
177
|
+
# @return [Object] Returns the model itself
|
178
|
+
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
179
|
+
return nil unless attributes.is_a?(Hash)
|
180
|
+
openapi_types.each_pair do |key, type|
|
181
|
+
if type =~ /\AArray<(.*)>/i
|
182
|
+
# check to ensure the input is an array given that the attribute
|
183
|
+
# is documented as an array but the input is not
|
184
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
185
|
+
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
186
|
+
end
|
187
|
+
elsif !attributes[attribute_map[key]].nil?
|
188
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
189
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
190
|
+
end
|
191
|
+
|
192
|
+
self
|
193
|
+
end
|
194
|
+
|
195
|
+
# Deserializes the data based on type
|
196
|
+
# @param string type Data type
|
197
|
+
# @param string value Value to be deserialized
|
198
|
+
# @return [Object] Deserialized data
|
199
|
+
def _deserialize(type, value)
|
200
|
+
case type.to_sym
|
201
|
+
when :DateTime
|
202
|
+
DateTime.parse(value)
|
203
|
+
when :Date
|
204
|
+
Date.parse(value)
|
205
|
+
when :String
|
206
|
+
value.to_s
|
207
|
+
when :Integer
|
208
|
+
value.to_i
|
209
|
+
when :Float
|
210
|
+
value.to_f
|
211
|
+
when :Boolean
|
212
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
213
|
+
true
|
214
|
+
else
|
215
|
+
false
|
216
|
+
end
|
217
|
+
when :Object
|
218
|
+
# generic object (usually a Hash), return directly
|
219
|
+
value
|
220
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
221
|
+
inner_type = Regexp.last_match[:inner_type]
|
222
|
+
value.map { |v| _deserialize(inner_type, v) }
|
223
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
224
|
+
k_type = Regexp.last_match[:k_type]
|
225
|
+
v_type = Regexp.last_match[:v_type]
|
226
|
+
{}.tap do |hash|
|
227
|
+
value.each do |k, v|
|
228
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
229
|
+
end
|
230
|
+
end
|
231
|
+
else # model
|
232
|
+
klass = OpenapiClient.const_get(type)
|
233
|
+
if klass.respond_to?(:openapi_discriminator_name)
|
234
|
+
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
235
|
+
end
|
236
|
+
|
237
|
+
klass.build_from_hash(value)
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
# Returns the string representation of the object
|
242
|
+
# @return [String] String presentation of the object
|
243
|
+
def to_s
|
244
|
+
to_hash.to_s
|
245
|
+
end
|
246
|
+
|
247
|
+
# to_body is an alias to to_hash (backward compatibility)
|
248
|
+
# @return [Hash] Returns the object in the form of hash
|
249
|
+
def to_body
|
250
|
+
to_hash
|
251
|
+
end
|
252
|
+
|
253
|
+
# Returns the object in the form of hash
|
254
|
+
# @return [Hash] Returns the object in the form of hash
|
255
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
256
|
+
hash = {}
|
257
|
+
attribute_map.each_pair do |attr, param|
|
258
|
+
value = self.send(attr)
|
259
|
+
if value.nil?
|
260
|
+
is_nullable = openapi_nullable.include?(attr)
|
261
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
262
|
+
end
|
263
|
+
|
264
|
+
hash[param] = _to_hash(value)
|
265
|
+
end
|
266
|
+
hash
|
267
|
+
end
|
268
|
+
|
269
|
+
# Outputs non-array value in the form of hash
|
270
|
+
# For object, use to_hash. Otherwise, just return the value
|
271
|
+
# @param [Object] value Any valid value
|
272
|
+
# @return [Hash] Returns the value in the form of hash
|
273
|
+
def _to_hash(value)
|
274
|
+
if value.is_a?(Array)
|
275
|
+
value.compact.map { |v| _to_hash(v) }
|
276
|
+
elsif value.is_a?(Hash)
|
277
|
+
{}.tap do |hash|
|
278
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
279
|
+
end
|
280
|
+
elsif value.respond_to? :to_hash
|
281
|
+
value.to_hash
|
282
|
+
else
|
283
|
+
value
|
284
|
+
end
|
285
|
+
end
|
286
|
+
end
|
287
|
+
end
|