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
|
|
@@ -0,0 +1,373 @@
|
|
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
|
+
# Indicates standin transaction.
|
17
|
+
class StandInDetails
|
18
|
+
# Indicates standin instruction type.
|
19
|
+
attr_accessor :stand_in_type
|
20
|
+
|
21
|
+
# Indicates number of standin instruction debits.Possible values can be two digit number or UN (Until it is cancelled) or ND (Not defined).
|
22
|
+
attr_accessor :number_of_debits
|
23
|
+
|
24
|
+
# Indicates standin instruction validation flag, it can be true or false. \"false\" - Not validated, \"true\" - Validated.
|
25
|
+
attr_accessor :si_validated
|
26
|
+
|
27
|
+
# Maximum debit amount per standin instruction transaction.
|
28
|
+
attr_accessor :maximum_transaction_amount
|
29
|
+
|
30
|
+
# Unique identifier for standin instruction.
|
31
|
+
attr_accessor :si_hub_id
|
32
|
+
|
33
|
+
# Indicates frequency of the standin instruction debit.
|
34
|
+
attr_accessor :frequency
|
35
|
+
|
36
|
+
class EnumAttributeValidator
|
37
|
+
attr_reader :datatype
|
38
|
+
attr_reader :allowable_values
|
39
|
+
|
40
|
+
def initialize(datatype, allowable_values)
|
41
|
+
@allowable_values = allowable_values.map do |value|
|
42
|
+
case datatype.to_s
|
43
|
+
when /Integer/i
|
44
|
+
value.to_i
|
45
|
+
when /Float/i
|
46
|
+
value.to_f
|
47
|
+
else
|
48
|
+
value
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def valid?(value)
|
54
|
+
!value || allowable_values.include?(value)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
59
|
+
def self.attribute_map
|
60
|
+
{
|
61
|
+
:'stand_in_type' => :'standInType',
|
62
|
+
:'number_of_debits' => :'numberOfDebits',
|
63
|
+
:'si_validated' => :'siValidated',
|
64
|
+
:'maximum_transaction_amount' => :'maximumTransactionAmount',
|
65
|
+
:'si_hub_id' => :'siHubId',
|
66
|
+
:'frequency' => :'frequency'
|
67
|
+
}
|
68
|
+
end
|
69
|
+
|
70
|
+
# Attribute type mapping.
|
71
|
+
def self.openapi_types
|
72
|
+
{
|
73
|
+
:'stand_in_type' => :'String',
|
74
|
+
:'number_of_debits' => :'String',
|
75
|
+
:'si_validated' => :'Boolean',
|
76
|
+
:'maximum_transaction_amount' => :'Float',
|
77
|
+
:'si_hub_id' => :'String',
|
78
|
+
:'frequency' => :'String'
|
79
|
+
}
|
80
|
+
end
|
81
|
+
|
82
|
+
# Initializes the object
|
83
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
84
|
+
def initialize(attributes = {})
|
85
|
+
if (!attributes.is_a?(Hash))
|
86
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::StandInDetails` initialize method"
|
87
|
+
end
|
88
|
+
|
89
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
90
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
91
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
92
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::StandInDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
93
|
+
end
|
94
|
+
h[k.to_sym] = v
|
95
|
+
}
|
96
|
+
|
97
|
+
if attributes.key?(:'stand_in_type')
|
98
|
+
self.stand_in_type = attributes[:'stand_in_type']
|
99
|
+
end
|
100
|
+
|
101
|
+
if attributes.key?(:'number_of_debits')
|
102
|
+
self.number_of_debits = attributes[:'number_of_debits']
|
103
|
+
end
|
104
|
+
|
105
|
+
if attributes.key?(:'si_validated')
|
106
|
+
self.si_validated = attributes[:'si_validated']
|
107
|
+
end
|
108
|
+
|
109
|
+
if attributes.key?(:'maximum_transaction_amount')
|
110
|
+
self.maximum_transaction_amount = attributes[:'maximum_transaction_amount']
|
111
|
+
end
|
112
|
+
|
113
|
+
if attributes.key?(:'si_hub_id')
|
114
|
+
self.si_hub_id = attributes[:'si_hub_id']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.key?(:'frequency')
|
118
|
+
self.frequency = attributes[:'frequency']
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
123
|
+
# @return Array for valid properties with the reasons
|
124
|
+
def list_invalid_properties
|
125
|
+
invalid_properties = Array.new
|
126
|
+
if @stand_in_type.nil?
|
127
|
+
invalid_properties.push('invalid value for "stand_in_type", stand_in_type cannot be nil.')
|
128
|
+
end
|
129
|
+
|
130
|
+
if @number_of_debits.nil?
|
131
|
+
invalid_properties.push('invalid value for "number_of_debits", number_of_debits cannot be nil.')
|
132
|
+
end
|
133
|
+
|
134
|
+
pattern = Regexp.new(/(UN)|(ND)|([0-9]{2})/)
|
135
|
+
if @number_of_debits !~ pattern
|
136
|
+
invalid_properties.push("invalid value for \"number_of_debits\", must conform to the pattern #{pattern}.")
|
137
|
+
end
|
138
|
+
|
139
|
+
if @si_validated.nil?
|
140
|
+
invalid_properties.push('invalid value for "si_validated", si_validated cannot be nil.')
|
141
|
+
end
|
142
|
+
|
143
|
+
if @maximum_transaction_amount.nil?
|
144
|
+
invalid_properties.push('invalid value for "maximum_transaction_amount", maximum_transaction_amount cannot be nil.')
|
145
|
+
end
|
146
|
+
|
147
|
+
if @si_hub_id.nil?
|
148
|
+
invalid_properties.push('invalid value for "si_hub_id", si_hub_id cannot be nil.')
|
149
|
+
end
|
150
|
+
|
151
|
+
if @si_hub_id.to_s.length > 10
|
152
|
+
invalid_properties.push('invalid value for "si_hub_id", the character length must be smaller than or equal to 10.')
|
153
|
+
end
|
154
|
+
|
155
|
+
if @frequency.nil?
|
156
|
+
invalid_properties.push('invalid value for "frequency", frequency cannot be nil.')
|
157
|
+
end
|
158
|
+
|
159
|
+
invalid_properties
|
160
|
+
end
|
161
|
+
|
162
|
+
# Check to see if the all the properties in the model are valid
|
163
|
+
# @return true if the model is valid
|
164
|
+
def valid?
|
165
|
+
return false if @stand_in_type.nil?
|
166
|
+
stand_in_type_validator = EnumAttributeValidator.new('String', ["FIXED_AMOUNT", "MAXIMUM_AMOUNT"])
|
167
|
+
return false unless stand_in_type_validator.valid?(@stand_in_type)
|
168
|
+
return false if @number_of_debits.nil?
|
169
|
+
return false if @number_of_debits !~ Regexp.new(/(UN)|(ND)|([0-9]{2})/)
|
170
|
+
return false if @si_validated.nil?
|
171
|
+
return false if @maximum_transaction_amount.nil?
|
172
|
+
return false if @si_hub_id.nil?
|
173
|
+
return false if @si_hub_id.to_s.length > 10
|
174
|
+
return false if @frequency.nil?
|
175
|
+
frequency_validator = EnumAttributeValidator.new('String', ["WEEKLY", "FORTNIGHTLY", "MONTHLY", "QUARTERLY", "HALFYEARLY", "YEARLY", "UNSCHEDULED"])
|
176
|
+
return false unless frequency_validator.valid?(@frequency)
|
177
|
+
true
|
178
|
+
end
|
179
|
+
|
180
|
+
# Custom attribute writer method checking allowed values (enum).
|
181
|
+
# @param [Object] stand_in_type Object to be assigned
|
182
|
+
def stand_in_type=(stand_in_type)
|
183
|
+
validator = EnumAttributeValidator.new('String', ["FIXED_AMOUNT", "MAXIMUM_AMOUNT"])
|
184
|
+
unless validator.valid?(stand_in_type)
|
185
|
+
fail ArgumentError, "invalid value for \"stand_in_type\", must be one of #{validator.allowable_values}."
|
186
|
+
end
|
187
|
+
@stand_in_type = stand_in_type
|
188
|
+
end
|
189
|
+
|
190
|
+
# Custom attribute writer method with validation
|
191
|
+
# @param [Object] number_of_debits Value to be assigned
|
192
|
+
def number_of_debits=(number_of_debits)
|
193
|
+
if number_of_debits.nil?
|
194
|
+
fail ArgumentError, 'number_of_debits cannot be nil'
|
195
|
+
end
|
196
|
+
|
197
|
+
pattern = Regexp.new(/(UN)|(ND)|([0-9]{2})/)
|
198
|
+
if number_of_debits !~ pattern
|
199
|
+
fail ArgumentError, "invalid value for \"number_of_debits\", must conform to the pattern #{pattern}."
|
200
|
+
end
|
201
|
+
|
202
|
+
@number_of_debits = number_of_debits
|
203
|
+
end
|
204
|
+
|
205
|
+
# Custom attribute writer method with validation
|
206
|
+
# @param [Object] si_hub_id Value to be assigned
|
207
|
+
def si_hub_id=(si_hub_id)
|
208
|
+
if si_hub_id.nil?
|
209
|
+
fail ArgumentError, 'si_hub_id cannot be nil'
|
210
|
+
end
|
211
|
+
|
212
|
+
if si_hub_id.to_s.length > 10
|
213
|
+
fail ArgumentError, 'invalid value for "si_hub_id", the character length must be smaller than or equal to 10.'
|
214
|
+
end
|
215
|
+
|
216
|
+
@si_hub_id = si_hub_id
|
217
|
+
end
|
218
|
+
|
219
|
+
# Custom attribute writer method checking allowed values (enum).
|
220
|
+
# @param [Object] frequency Object to be assigned
|
221
|
+
def frequency=(frequency)
|
222
|
+
validator = EnumAttributeValidator.new('String', ["WEEKLY", "FORTNIGHTLY", "MONTHLY", "QUARTERLY", "HALFYEARLY", "YEARLY", "UNSCHEDULED"])
|
223
|
+
unless validator.valid?(frequency)
|
224
|
+
fail ArgumentError, "invalid value for \"frequency\", must be one of #{validator.allowable_values}."
|
225
|
+
end
|
226
|
+
@frequency = frequency
|
227
|
+
end
|
228
|
+
|
229
|
+
# Checks equality by comparing each attribute.
|
230
|
+
# @param [Object] Object to be compared
|
231
|
+
def ==(o)
|
232
|
+
return true if self.equal?(o)
|
233
|
+
self.class == o.class &&
|
234
|
+
stand_in_type == o.stand_in_type &&
|
235
|
+
number_of_debits == o.number_of_debits &&
|
236
|
+
si_validated == o.si_validated &&
|
237
|
+
maximum_transaction_amount == o.maximum_transaction_amount &&
|
238
|
+
si_hub_id == o.si_hub_id &&
|
239
|
+
frequency == o.frequency
|
240
|
+
end
|
241
|
+
|
242
|
+
# @see the `==` method
|
243
|
+
# @param [Object] Object to be compared
|
244
|
+
def eql?(o)
|
245
|
+
self == o
|
246
|
+
end
|
247
|
+
|
248
|
+
# Calculates hash code according to all attributes.
|
249
|
+
# @return [Integer] Hash code
|
250
|
+
def hash
|
251
|
+
[stand_in_type, number_of_debits, si_validated, maximum_transaction_amount, si_hub_id, frequency].hash
|
252
|
+
end
|
253
|
+
|
254
|
+
# Builds the object from hash
|
255
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
256
|
+
# @return [Object] Returns the model itself
|
257
|
+
def self.build_from_hash(attributes)
|
258
|
+
new.build_from_hash(attributes)
|
259
|
+
end
|
260
|
+
|
261
|
+
# Builds the object from hash
|
262
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
263
|
+
# @return [Object] Returns the model itself
|
264
|
+
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
265
|
+
return nil unless attributes.is_a?(Hash)
|
266
|
+
openapi_types.each_pair do |key, type|
|
267
|
+
if type =~ /\AArray<(.*)>/i
|
268
|
+
# check to ensure the input is an array given that the attribute
|
269
|
+
# is documented as an array but the input is not
|
270
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
271
|
+
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
272
|
+
end
|
273
|
+
elsif !attributes[attribute_map[key]].nil?
|
274
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
275
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
276
|
+
end
|
277
|
+
|
278
|
+
self
|
279
|
+
end
|
280
|
+
|
281
|
+
# Deserializes the data based on type
|
282
|
+
# @param string type Data type
|
283
|
+
# @param string value Value to be deserialized
|
284
|
+
# @return [Object] Deserialized data
|
285
|
+
def _deserialize(type, value)
|
286
|
+
case type.to_sym
|
287
|
+
when :DateTime
|
288
|
+
DateTime.parse(value)
|
289
|
+
when :Date
|
290
|
+
Date.parse(value)
|
291
|
+
when :String
|
292
|
+
value.to_s
|
293
|
+
when :Integer
|
294
|
+
value.to_i
|
295
|
+
when :Float
|
296
|
+
value.to_f
|
297
|
+
when :Boolean
|
298
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
299
|
+
true
|
300
|
+
else
|
301
|
+
false
|
302
|
+
end
|
303
|
+
when :Object
|
304
|
+
# generic object (usually a Hash), return directly
|
305
|
+
value
|
306
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
307
|
+
inner_type = Regexp.last_match[:inner_type]
|
308
|
+
value.map { |v| _deserialize(inner_type, v) }
|
309
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
310
|
+
k_type = Regexp.last_match[:k_type]
|
311
|
+
v_type = Regexp.last_match[:v_type]
|
312
|
+
{}.tap do |hash|
|
313
|
+
value.each do |k, v|
|
314
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
315
|
+
end
|
316
|
+
end
|
317
|
+
else # model
|
318
|
+
klass = OpenapiClient.const_get(type)
|
319
|
+
if klass.respond_to?(:openapi_discriminator_name)
|
320
|
+
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
321
|
+
end
|
322
|
+
|
323
|
+
klass.build_from_hash(value)
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# Returns the string representation of the object
|
328
|
+
# @return [String] String presentation of the object
|
329
|
+
def to_s
|
330
|
+
to_hash.to_s
|
331
|
+
end
|
332
|
+
|
333
|
+
# to_body is an alias to to_hash (backward compatibility)
|
334
|
+
# @return [Hash] Returns the object in the form of hash
|
335
|
+
def to_body
|
336
|
+
to_hash
|
337
|
+
end
|
338
|
+
|
339
|
+
# Returns the object in the form of hash
|
340
|
+
# @return [Hash] Returns the object in the form of hash
|
341
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
342
|
+
hash = {}
|
343
|
+
attribute_map.each_pair do |attr, param|
|
344
|
+
value = self.send(attr)
|
345
|
+
if value.nil?
|
346
|
+
is_nullable = openapi_nullable.include?(attr)
|
347
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
348
|
+
end
|
349
|
+
|
350
|
+
hash[param] = _to_hash(value)
|
351
|
+
end
|
352
|
+
hash
|
353
|
+
end
|
354
|
+
|
355
|
+
# Outputs non-array value in the form of hash
|
356
|
+
# For object, use to_hash. Otherwise, just return the value
|
357
|
+
# @param [Object] value Any valid value
|
358
|
+
# @return [Hash] Returns the value in the form of hash
|
359
|
+
def _to_hash(value)
|
360
|
+
if value.is_a?(Array)
|
361
|
+
value.compact.map { |v| _to_hash(v) }
|
362
|
+
elsif value.is_a?(Hash)
|
363
|
+
{}.tap do |hash|
|
364
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
365
|
+
end
|
366
|
+
elsif value.respond_to? :to_hash
|
367
|
+
value.to_hash
|
368
|
+
else
|
369
|
+
value
|
370
|
+
end
|
371
|
+
end
|
372
|
+
end
|
373
|
+
end
|
@@ -0,0 +1,257 @@
|
|
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
|
+
# Contains Standin response details.
|
17
|
+
class StandinResponseDetails
|
18
|
+
# Secure 3D Enrolment Status.
|
19
|
+
attr_accessor :secure3_d_enrolment_status
|
20
|
+
|
21
|
+
# Secure 3D ECI.
|
22
|
+
attr_accessor :secure3_deci
|
23
|
+
|
24
|
+
# Secure 3D Authentication Response.
|
25
|
+
attr_accessor :secure3_d_authentication_response
|
26
|
+
|
27
|
+
# Secure 3D Authentication Value.
|
28
|
+
attr_accessor :authentication_value
|
29
|
+
|
30
|
+
# Secure 3D XID.
|
31
|
+
attr_accessor :x_id
|
32
|
+
|
33
|
+
# Secure 3D Authentication Algorithm.
|
34
|
+
attr_accessor :authentication_algorithm
|
35
|
+
|
36
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
37
|
+
def self.attribute_map
|
38
|
+
{
|
39
|
+
:'secure3_d_enrolment_status' => :'secure3DEnrolmentStatus',
|
40
|
+
:'secure3_deci' => :'secure3DECI',
|
41
|
+
:'secure3_d_authentication_response' => :'secure3DAuthenticationResponse',
|
42
|
+
:'authentication_value' => :'authenticationValue',
|
43
|
+
:'x_id' => :'xID',
|
44
|
+
:'authentication_algorithm' => :'authenticationAlgorithm'
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Attribute type mapping.
|
49
|
+
def self.openapi_types
|
50
|
+
{
|
51
|
+
:'secure3_d_enrolment_status' => :'String',
|
52
|
+
:'secure3_deci' => :'String',
|
53
|
+
:'secure3_d_authentication_response' => :'String',
|
54
|
+
:'authentication_value' => :'String',
|
55
|
+
:'x_id' => :'String',
|
56
|
+
:'authentication_algorithm' => :'String'
|
57
|
+
}
|
58
|
+
end
|
59
|
+
|
60
|
+
# Initializes the object
|
61
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
62
|
+
def initialize(attributes = {})
|
63
|
+
if (!attributes.is_a?(Hash))
|
64
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::StandinResponseDetails` initialize method"
|
65
|
+
end
|
66
|
+
|
67
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
68
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
69
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::StandinResponseDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
71
|
+
end
|
72
|
+
h[k.to_sym] = v
|
73
|
+
}
|
74
|
+
|
75
|
+
if attributes.key?(:'secure3_d_enrolment_status')
|
76
|
+
self.secure3_d_enrolment_status = attributes[:'secure3_d_enrolment_status']
|
77
|
+
end
|
78
|
+
|
79
|
+
if attributes.key?(:'secure3_deci')
|
80
|
+
self.secure3_deci = attributes[:'secure3_deci']
|
81
|
+
end
|
82
|
+
|
83
|
+
if attributes.key?(:'secure3_d_authentication_response')
|
84
|
+
self.secure3_d_authentication_response = attributes[:'secure3_d_authentication_response']
|
85
|
+
end
|
86
|
+
|
87
|
+
if attributes.key?(:'authentication_value')
|
88
|
+
self.authentication_value = attributes[:'authentication_value']
|
89
|
+
end
|
90
|
+
|
91
|
+
if attributes.key?(:'x_id')
|
92
|
+
self.x_id = attributes[:'x_id']
|
93
|
+
end
|
94
|
+
|
95
|
+
if attributes.key?(:'authentication_algorithm')
|
96
|
+
self.authentication_algorithm = attributes[:'authentication_algorithm']
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
101
|
+
# @return Array for valid properties with the reasons
|
102
|
+
def list_invalid_properties
|
103
|
+
invalid_properties = Array.new
|
104
|
+
invalid_properties
|
105
|
+
end
|
106
|
+
|
107
|
+
# Check to see if the all the properties in the model are valid
|
108
|
+
# @return true if the model is valid
|
109
|
+
def valid?
|
110
|
+
true
|
111
|
+
end
|
112
|
+
|
113
|
+
# Checks equality by comparing each attribute.
|
114
|
+
# @param [Object] Object to be compared
|
115
|
+
def ==(o)
|
116
|
+
return true if self.equal?(o)
|
117
|
+
self.class == o.class &&
|
118
|
+
secure3_d_enrolment_status == o.secure3_d_enrolment_status &&
|
119
|
+
secure3_deci == o.secure3_deci &&
|
120
|
+
secure3_d_authentication_response == o.secure3_d_authentication_response &&
|
121
|
+
authentication_value == o.authentication_value &&
|
122
|
+
x_id == o.x_id &&
|
123
|
+
authentication_algorithm == o.authentication_algorithm
|
124
|
+
end
|
125
|
+
|
126
|
+
# @see the `==` method
|
127
|
+
# @param [Object] Object to be compared
|
128
|
+
def eql?(o)
|
129
|
+
self == o
|
130
|
+
end
|
131
|
+
|
132
|
+
# Calculates hash code according to all attributes.
|
133
|
+
# @return [Integer] Hash code
|
134
|
+
def hash
|
135
|
+
[secure3_d_enrolment_status, secure3_deci, secure3_d_authentication_response, authentication_value, x_id, authentication_algorithm].hash
|
136
|
+
end
|
137
|
+
|
138
|
+
# Builds the object from hash
|
139
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
140
|
+
# @return [Object] Returns the model itself
|
141
|
+
def self.build_from_hash(attributes)
|
142
|
+
new.build_from_hash(attributes)
|
143
|
+
end
|
144
|
+
|
145
|
+
# Builds the object from hash
|
146
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
147
|
+
# @return [Object] Returns the model itself
|
148
|
+
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
149
|
+
return nil unless attributes.is_a?(Hash)
|
150
|
+
openapi_types.each_pair do |key, type|
|
151
|
+
if type =~ /\AArray<(.*)>/i
|
152
|
+
# check to ensure the input is an array given that the attribute
|
153
|
+
# is documented as an array but the input is not
|
154
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
155
|
+
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
156
|
+
end
|
157
|
+
elsif !attributes[attribute_map[key]].nil?
|
158
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
159
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
160
|
+
end
|
161
|
+
|
162
|
+
self
|
163
|
+
end
|
164
|
+
|
165
|
+
# Deserializes the data based on type
|
166
|
+
# @param string type Data type
|
167
|
+
# @param string value Value to be deserialized
|
168
|
+
# @return [Object] Deserialized data
|
169
|
+
def _deserialize(type, value)
|
170
|
+
case type.to_sym
|
171
|
+
when :DateTime
|
172
|
+
DateTime.parse(value)
|
173
|
+
when :Date
|
174
|
+
Date.parse(value)
|
175
|
+
when :String
|
176
|
+
value.to_s
|
177
|
+
when :Integer
|
178
|
+
value.to_i
|
179
|
+
when :Float
|
180
|
+
value.to_f
|
181
|
+
when :Boolean
|
182
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
183
|
+
true
|
184
|
+
else
|
185
|
+
false
|
186
|
+
end
|
187
|
+
when :Object
|
188
|
+
# generic object (usually a Hash), return directly
|
189
|
+
value
|
190
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
191
|
+
inner_type = Regexp.last_match[:inner_type]
|
192
|
+
value.map { |v| _deserialize(inner_type, v) }
|
193
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
194
|
+
k_type = Regexp.last_match[:k_type]
|
195
|
+
v_type = Regexp.last_match[:v_type]
|
196
|
+
{}.tap do |hash|
|
197
|
+
value.each do |k, v|
|
198
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
199
|
+
end
|
200
|
+
end
|
201
|
+
else # model
|
202
|
+
klass = OpenapiClient.const_get(type)
|
203
|
+
if klass.respond_to?(:openapi_discriminator_name)
|
204
|
+
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
205
|
+
end
|
206
|
+
|
207
|
+
klass.build_from_hash(value)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
# Returns the string representation of the object
|
212
|
+
# @return [String] String presentation of the object
|
213
|
+
def to_s
|
214
|
+
to_hash.to_s
|
215
|
+
end
|
216
|
+
|
217
|
+
# to_body is an alias to to_hash (backward compatibility)
|
218
|
+
# @return [Hash] Returns the object in the form of hash
|
219
|
+
def to_body
|
220
|
+
to_hash
|
221
|
+
end
|
222
|
+
|
223
|
+
# Returns the object in the form of hash
|
224
|
+
# @return [Hash] Returns the object in the form of hash
|
225
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
226
|
+
hash = {}
|
227
|
+
attribute_map.each_pair do |attr, param|
|
228
|
+
value = self.send(attr)
|
229
|
+
if value.nil?
|
230
|
+
is_nullable = openapi_nullable.include?(attr)
|
231
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
232
|
+
end
|
233
|
+
|
234
|
+
hash[param] = _to_hash(value)
|
235
|
+
end
|
236
|
+
hash
|
237
|
+
end
|
238
|
+
|
239
|
+
# Outputs non-array value in the form of hash
|
240
|
+
# For object, use to_hash. Otherwise, just return the value
|
241
|
+
# @param [Object] value Any valid value
|
242
|
+
# @return [Hash] Returns the value in the form of hash
|
243
|
+
def _to_hash(value)
|
244
|
+
if value.is_a?(Array)
|
245
|
+
value.compact.map { |v| _to_hash(v) }
|
246
|
+
elsif value.is_a?(Hash)
|
247
|
+
{}.tap do |hash|
|
248
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
249
|
+
end
|
250
|
+
elsif value.respond_to? :to_hash
|
251
|
+
value.to_hash
|
252
|
+
else
|
253
|
+
value
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
257
|
+
end
|