first_data_gateway 1.13.0 → 1.14.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/first_data_gateway.gemspec +1 -1
- data/lib/.DS_Store +0 -0
- data/lib/openapi_client/.DS_Store +0 -0
- data/lib/openapi_client/api/authentication_api.rb +1 -1
- data/lib/openapi_client/api/currency_conversion_api.rb +1 -1
- data/lib/openapi_client/api/fraud_detect_api.rb +1 -1
- data/lib/openapi_client/api/information_lookup_api.rb +1 -1
- data/lib/openapi_client/api/order_api.rb +1 -1
- data/lib/openapi_client/api/payment_api.rb +2 -2
- data/lib/openapi_client/api/payment_schedules_api.rb +1 -1
- data/lib/openapi_client/api/payment_token_api.rb +1 -1
- data/lib/openapi_client/api/payment_url_api.rb +1 -1
- data/lib/openapi_client/api/verification_api.rb +1 -1
- data/lib/openapi_client/api_client.rb +1 -1
- data/lib/openapi_client/api_error.rb +1 -1
- data/lib/openapi_client/configuration.rb +1 -1
- data/lib/openapi_client/models/access_token_request.rb +1 -1
- data/lib/openapi_client/models/access_token_response.rb +1 -1
- data/lib/openapi_client/models/account_info_lookup_request.rb +1 -1
- data/lib/openapi_client/models/account_updater_response.rb +1 -1
- data/lib/openapi_client/models/account_verification_request.rb +1 -1
- data/lib/openapi_client/models/ach_credit_transaction.rb +1 -1
- data/lib/openapi_client/models/ach_post_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/ach_post_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/ach_pre_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/ach_pre_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/ach_recurring_type.rb +1 -1
- data/lib/openapi_client/models/ach_response.rb +1 -1
- data/lib/openapi_client/models/ach_return_transaction.rb +1 -1
- data/lib/openapi_client/models/ach_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/ach_void_transaction.rb +1 -1
- data/lib/openapi_client/models/acs_response.rb +1 -1
- data/lib/openapi_client/models/additional_amount_rate.rb +1 -1
- data/lib/openapi_client/models/additional_details.rb +29 -4
- data/lib/openapi_client/models/additional_response_data.rb +1 -1
- data/lib/openapi_client/models/additional_transaction_details.rb +1 -1
- data/lib/openapi_client/models/address.rb +1 -1
- data/lib/openapi_client/models/airline.rb +1 -1
- data/lib/openapi_client/models/airline_ancillary_service_category.rb +1 -1
- data/lib/openapi_client/models/airline_travel_route.rb +1 -1
- data/lib/openapi_client/models/ali_pay.rb +1 -1
- data/lib/openapi_client/models/ali_pay_payment_method.rb +1 -1
- data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/ali_pay_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/amount.rb +1 -1
- data/lib/openapi_client/models/amount_components.rb +1 -1
- data/lib/openapi_client/models/apm_payment_method.rb +1 -1
- data/lib/openapi_client/models/apm_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/apm_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/apm_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/authentication_request.rb +1 -1
- data/lib/openapi_client/models/authentication_result.rb +1 -1
- data/lib/openapi_client/models/authentication_update_request.rb +1 -1
- data/lib/openapi_client/models/available_currencies_response.rb +2 -2
- data/lib/openapi_client/models/avs_response.rb +1 -1
- data/lib/openapi_client/models/bancontact_qr.rb +1 -1
- data/lib/openapi_client/models/basic_response.rb +1 -1
- data/lib/openapi_client/models/basket.rb +253 -0
- data/lib/openapi_client/models/basket_item.rb +336 -0
- data/lib/openapi_client/models/billing.rb +1 -1
- data/lib/openapi_client/models/billing_address.rb +1 -1
- data/lib/openapi_client/models/car_rental.rb +1 -1
- data/lib/openapi_client/models/car_rental_extra_charges.rb +1 -1
- data/lib/openapi_client/models/card.rb +1 -1
- data/lib/openapi_client/models/card_function.rb +1 -1
- data/lib/openapi_client/models/card_info.rb +1 -1
- data/lib/openapi_client/models/card_info_lookup_request.rb +1 -1
- data/lib/openapi_client/models/card_info_lookup_response.rb +1 -1
- data/lib/openapi_client/models/card_verification_request.rb +1 -1
- data/lib/openapi_client/models/cardholder_info_response.rb +1 -1
- data/lib/openapi_client/models/china_domestic.rb +1 -1
- data/lib/openapi_client/models/china_domestic_payment_method.rb +1 -1
- data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/client_locale.rb +1 -1
- data/lib/openapi_client/models/client_registration.rb +1 -1
- data/lib/openapi_client/models/contact.rb +1 -1
- data/lib/openapi_client/models/create_payment_token.rb +1 -1
- data/lib/openapi_client/models/currency_conversion.rb +1 -1
- data/lib/openapi_client/models/currency_conversion_response.rb +1 -1
- data/lib/openapi_client/models/customer.rb +1 -1
- data/lib/openapi_client/models/customer_address.rb +1 -1
- data/lib/openapi_client/models/dcc.rb +1 -1
- data/lib/openapi_client/models/dcc_all_of.rb +1 -1
- data/lib/openapi_client/models/dcc_exchange_rate_request.rb +1 -1
- data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +1 -1
- data/lib/openapi_client/models/decrypted_apple_pay.rb +1 -1
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +1 -1
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/decrypted_google_pay.rb +1 -1
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +1 -1
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/decrypted_samsung_pay.rb +1 -1
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +1 -1
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/device.rb +1 -1
- data/lib/openapi_client/models/disbursement.rb +1 -1
- data/lib/openapi_client/models/disbursement_transaction_type.rb +1 -1
- data/lib/openapi_client/models/document.rb +1 -1
- data/lib/openapi_client/models/dynamic_pricing.rb +1 -1
- data/lib/openapi_client/models/dynamic_pricing_all_of.rb +1 -1
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +1 -1
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +1 -1
- data/lib/openapi_client/models/encrypted_apple_pay.rb +1 -1
- data/lib/openapi_client/models/encrypted_apple_pay_header.rb +1 -1
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +1 -1
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/encrypted_google_pay.rb +1 -1
- data/lib/openapi_client/models/encrypted_google_pay_data.rb +1 -1
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +1 -1
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/encrypted_samsung_pay.rb +1 -1
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +1 -1
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/error.rb +15 -5
- data/lib/openapi_client/models/error_details.rb +1 -1
- data/lib/openapi_client/models/error_message.rb +1 -1
- data/lib/openapi_client/models/error_response.rb +1 -1
- data/lib/openapi_client/models/exchange_rate_details.rb +1 -1
- data/lib/openapi_client/models/exchange_rate_request.rb +1 -1
- data/lib/openapi_client/models/exchange_rate_response.rb +1 -1
- data/lib/openapi_client/models/expiration.rb +1 -1
- data/lib/openapi_client/models/fraud_address.rb +1 -1
- data/lib/openapi_client/models/fraud_order.rb +1 -1
- data/lib/openapi_client/models/fraud_order_items.rb +1 -1
- data/lib/openapi_client/models/fraud_registration.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_card.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_device.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_device_items.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_error.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_response.rb +1 -1
- data/lib/openapi_client/models/fraud_score.rb +1 -1
- data/lib/openapi_client/models/frequency.rb +1 -1
- data/lib/openapi_client/models/funding_transaction_type.rb +1 -1
- data/lib/openapi_client/models/generic_managed_redirect_request.rb +218 -0
- data/lib/openapi_client/models/generic_managed_redirect_request_all_of.rb +205 -0
- data/lib/openapi_client/models/id_info.rb +1 -1
- data/lib/openapi_client/models/industry_specific_extensions.rb +1 -1
- data/lib/openapi_client/models/installment_options.rb +1 -1
- data/lib/openapi_client/models/integration_step_request.rb +1 -1
- data/lib/openapi_client/models/integration_step_response.rb +1 -1
- data/lib/openapi_client/models/issuer_response.rb +1 -1
- data/lib/openapi_client/models/items.rb +1 -1
- data/lib/openapi_client/models/location.rb +1 -1
- data/lib/openapi_client/models/lodging.rb +1 -1
- data/lib/openapi_client/models/lodging_extra_charges.rb +1 -1
- data/lib/openapi_client/models/loyalty.rb +1 -1
- data/lib/openapi_client/models/managed_redirect_payment_method.rb +7 -19
- data/lib/openapi_client/models/{managed_redirect_request.rb → managed_redirect_primary_request.rb} +28 -28
- data/lib/openapi_client/models/managed_redirect_response.rb +1 -1
- data/lib/openapi_client/models/managed_redirect_transaction_type.rb +1 -1
- data/lib/openapi_client/models/masterpass_wallet_payment_method.rb +1 -1
- data/lib/openapi_client/models/masterpass_wallet_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/mcc6012.rb +1 -1
- data/lib/openapi_client/models/merchant.rb +1 -1
- data/lib/openapi_client/models/method.rb +1 -1
- data/lib/openapi_client/models/{managed_redirect_payment_method_payment_details.rb → option.rb} +20 -17
- data/lib/openapi_client/models/order.rb +1 -1
- data/lib/openapi_client/models/order_error_response.rb +1 -1
- data/lib/openapi_client/models/order_response.rb +1 -1
- data/lib/openapi_client/models/pay_pal.rb +1 -1
- data/lib/openapi_client/models/pay_pal_payment_method.rb +1 -1
- data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/payment.rb +1 -1
- data/lib/openapi_client/models/payment_brand_response.rb +1 -1
- data/lib/openapi_client/models/payment_card.rb +1 -1
- data/lib/openapi_client/models/payment_card_credit_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_credit_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_info_lookup_request.rb +1 -1
- data/lib/openapi_client/models/payment_card_info_lookup_request_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_managed_redirect_request.rb +218 -0
- data/lib/openapi_client/models/payment_card_managed_redirect_request_all_of.rb +205 -0
- data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_payment_method.rb +1 -1
- data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_payment_token_update_request.rb +1 -1
- data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +1 -1
- data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_verification_request.rb +1 -1
- data/lib/openapi_client/models/payment_card_verification_request_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_device.rb +1 -1
- data/lib/openapi_client/models/payment_device_credit_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_device_payment_method.rb +1 -1
- data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +1 -1
- data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_device_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_facilitator.rb +4 -4
- data/lib/openapi_client/models/payment_method_details.rb +1 -1
- data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +1 -1
- data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_method_type.rb +1 -1
- data/lib/openapi_client/models/payment_registration.rb +1 -1
- data/lib/openapi_client/models/payment_schedules_error_response.rb +1 -1
- data/lib/openapi_client/models/payment_schedules_request.rb +1 -1
- data/lib/openapi_client/models/payment_schedules_response.rb +1 -1
- data/lib/openapi_client/models/payment_step_request.rb +1 -1
- data/lib/openapi_client/models/payment_step_response.rb +1 -1
- data/lib/openapi_client/models/payment_token_credit_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_details.rb +1 -1
- data/lib/openapi_client/models/payment_token_details_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_info_lookup_request.rb +1 -1
- data/lib/openapi_client/models/payment_token_info_lookup_request_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_payment_method.rb +1 -1
- data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_update_response.rb +1 -1
- data/lib/openapi_client/models/payment_token_verification_request.rb +1 -1
- data/lib/openapi_client/models/payment_token_verification_request_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_tokenization_error_response.rb +1 -1
- data/lib/openapi_client/models/payment_tokenization_request.rb +1 -1
- data/lib/openapi_client/models/payment_tokenization_response.rb +1 -1
- data/lib/openapi_client/models/payment_url_detail.rb +1 -1
- data/lib/openapi_client/models/payment_url_detail_response.rb +1 -1
- data/lib/openapi_client/models/payment_url_error_response.rb +1 -1
- data/lib/openapi_client/models/payment_url_request.rb +14 -5
- data/lib/openapi_client/models/payment_url_response.rb +1 -1
- data/lib/openapi_client/models/payment_url_status.rb +1 -1
- data/lib/openapi_client/models/paypal_credit_transaction.rb +1 -1
- data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/phone.rb +1 -1
- data/lib/openapi_client/models/post_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/post_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/pre_auth_secondary_transaction.rb +1 -1
- data/lib/openapi_client/models/pre_auth_secondary_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/primary_transaction.rb +1 -1
- data/lib/openapi_client/models/processor_data.rb +1 -1
- data/lib/openapi_client/models/provide_detail_integration_step_request.rb +1 -1
- data/lib/openapi_client/models/provide_detail_integration_step_request_all_of.rb +1 -1
- data/lib/openapi_client/models/provide_detail_integration_step_response.rb +1 -1
- data/lib/openapi_client/models/provide_detail_integration_step_response_all_of.rb +1 -1
- data/lib/openapi_client/models/provide_detail_payment_step_request.rb +1 -1
- data/lib/openapi_client/models/provide_detail_payment_step_request_all_of.rb +1 -1
- data/lib/openapi_client/models/provide_detail_payment_step_response.rb +1 -1
- data/lib/openapi_client/models/provide_detail_payment_step_response_all_of.rb +1 -1
- data/lib/openapi_client/models/purchase_cards.rb +1 -1
- data/lib/openapi_client/models/purchase_cards_level2.rb +1 -1
- data/lib/openapi_client/models/purchase_cards_level3.rb +1 -1
- data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +1 -1
- data/lib/openapi_client/models/receipt.rb +1 -1
- data/lib/openapi_client/models/receipt_line.rb +1 -1
- data/lib/openapi_client/models/receipt_request_info.rb +1 -1
- data/lib/openapi_client/models/receiver_info.rb +1 -1
- data/lib/openapi_client/models/recurring_payment_details.rb +1 -1
- data/lib/openapi_client/models/recurring_payment_details_response.rb +1 -1
- data/lib/openapi_client/models/redirect_attributes.rb +1 -1
- data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +1 -1
- data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +1 -1
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +1 -1
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +1 -1
- data/lib/openapi_client/models/registration_method.rb +1 -1
- data/lib/openapi_client/models/response_amount_components.rb +1 -1
- data/lib/openapi_client/models/response_amount_components_all_of.rb +1 -1
- data/lib/openapi_client/models/response_type.rb +1 -1
- data/lib/openapi_client/models/return_transaction.rb +1 -1
- data/lib/openapi_client/models/return_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/revolving_options.rb +1 -1
- data/lib/openapi_client/models/score_only_request.rb +1 -1
- data/lib/openapi_client/models/score_only_response.rb +1 -1
- data/lib/openapi_client/models/score_only_response_fraud_score.rb +1 -1
- data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +1 -1
- data/lib/openapi_client/models/secondary_transaction.rb +1 -1
- data/lib/openapi_client/models/secure3_d10_authentication_request.rb +1 -1
- data/lib/openapi_client/models/secure3_d10_authentication_request_all_of.rb +1 -1
- data/lib/openapi_client/models/secure3_d10_authentication_result.rb +1 -1
- data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +1 -1
- data/lib/openapi_client/models/secure3_d10_authentication_update_request.rb +1 -1
- data/lib/openapi_client/models/secure3_d10_authentication_update_request_all_of.rb +1 -1
- data/lib/openapi_client/models/secure3_d21_authentication_request.rb +81 -20
- data/lib/openapi_client/models/secure3_d21_authentication_request_all_of.rb +81 -20
- data/lib/openapi_client/models/secure3_d21_authentication_result.rb +1 -1
- data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +1 -1
- data/lib/openapi_client/models/secure3_d21_authentication_update_request.rb +1 -1
- data/lib/openapi_client/models/secure3_d21_authentication_update_request_all_of.rb +1 -1
- data/lib/openapi_client/models/secure3_d_authentication_request.rb +78 -17
- data/lib/openapi_client/models/secure3_d_authentication_request_all_of.rb +78 -17
- data/lib/openapi_client/models/secure3_d_authentication_response.rb +1 -1
- data/lib/openapi_client/models/secure3_d_authentication_response_params.rb +1 -1
- data/lib/openapi_client/models/secure3_d_authentication_response_secure3d_method.rb +1 -1
- data/lib/openapi_client/models/secure3_d_authentication_result.rb +1 -1
- data/lib/openapi_client/models/secure3_d_authentication_result_all_of.rb +1 -1
- data/lib/openapi_client/models/secure3_d_authentication_update_request.rb +1 -1
- data/lib/openapi_client/models/secure3d_response.rb +1 -1
- data/lib/openapi_client/models/sender_info.rb +1 -1
- data/lib/openapi_client/models/sepa_credit.rb +1 -1
- data/lib/openapi_client/models/sepa_credit_payment_method.rb +1 -1
- data/lib/openapi_client/models/sepa_credit_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/sepa_credit_transaction.rb +1 -1
- data/lib/openapi_client/models/sepa_credit_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/sepa_mandate.rb +1 -1
- data/lib/openapi_client/models/sepa_sale.rb +1 -1
- data/lib/openapi_client/models/sepa_sale_payment_method.rb +1 -1
- data/lib/openapi_client/models/sepa_sale_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/sepa_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/ship_to_address.rb +1 -1
- data/lib/openapi_client/models/shipping.rb +1 -1
- data/lib/openapi_client/models/soft_descriptor.rb +1 -1
- data/lib/openapi_client/models/split_shipment.rb +1 -1
- data/lib/openapi_client/models/stand_in_details.rb +1 -1
- data/lib/openapi_client/models/standin_response_details.rb +1 -1
- data/lib/openapi_client/models/step_request.rb +1 -1
- data/lib/openapi_client/models/step_response.rb +1 -1
- data/lib/openapi_client/models/store_currency.rb +237 -0
- data/lib/openapi_client/models/stored_credential.rb +1 -1
- data/lib/openapi_client/models/sub_merchant_data.rb +1 -1
- data/lib/openapi_client/models/sub_merchant_split.rb +1 -1
- data/lib/openapi_client/models/tele_check_ach_payment_method.rb +1 -6
- 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 +1 -1
- data/lib/openapi_client/models/tele_check_ica_payment_method.rb +1 -1
- data/lib/openapi_client/models/tele_check_ica_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/transaction_error_response.rb +1 -1
- data/lib/openapi_client/models/transaction_origin.rb +1 -1
- data/lib/openapi_client/models/transaction_response.rb +1 -1
- data/lib/openapi_client/models/transaction_type.rb +1 -1
- data/lib/openapi_client/models/union_pay_authentication_request.rb +1 -1
- data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +1 -1
- data/lib/openapi_client/models/union_pay_authentication_update_request.rb +1 -1
- data/lib/openapi_client/models/union_pay_authentication_update_request_all_of.rb +1 -1
- data/lib/openapi_client/models/update_payment_token.rb +1 -1
- data/lib/openapi_client/models/use_payment_token.rb +1 -1
- data/lib/openapi_client/models/verification3ds.rb +1 -1
- data/lib/openapi_client/models/verification_avs.rb +1 -1
- data/lib/openapi_client/models/verification_cvv.rb +1 -1
- data/lib/openapi_client/models/void_pre_auth_transactions.rb +1 -1
- data/lib/openapi_client/models/void_transaction.rb +1 -1
- data/lib/openapi_client/models/void_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/wallet_payment_method.rb +1 -1
- data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/wallet_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/version.rb +2 -2
- data/lib/openapi_client.rb +10 -3
- data/spec/.DS_Store +0 -0
- metadata +12 -5
@@ -0,0 +1,218 @@
|
|
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.5.0.20211029.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
|
+
# Request to create Managed Redirect sale transaction using payment card.
|
17
|
+
class GenericManagedRedirectRequest < ManagedRedirectPrimaryRequest
|
18
|
+
attr_accessor :payment_method
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'payment_method' => :'paymentMethod'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.openapi_types
|
29
|
+
{
|
30
|
+
:'payment_method' => :'ManagedRedirectPaymentMethod'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# List of class defined in allOf (OpenAPI v3)
|
35
|
+
def self.openapi_all_of
|
36
|
+
[
|
37
|
+
:'GenericManagedRedirectRequestAllOf',
|
38
|
+
:'ManagedRedirectPrimaryRequest'
|
39
|
+
]
|
40
|
+
end
|
41
|
+
|
42
|
+
# Initializes the object
|
43
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
44
|
+
def initialize(attributes = {})
|
45
|
+
if (!attributes.is_a?(Hash))
|
46
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::GenericManagedRedirectRequest` initialize method"
|
47
|
+
end
|
48
|
+
|
49
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
50
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
51
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
52
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::GenericManagedRedirectRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
53
|
+
end
|
54
|
+
h[k.to_sym] = v
|
55
|
+
}
|
56
|
+
|
57
|
+
# call parent's initialize
|
58
|
+
super(attributes)
|
59
|
+
|
60
|
+
if attributes.key?(:'payment_method')
|
61
|
+
self.payment_method = attributes[:'payment_method']
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
66
|
+
# @return Array for valid properties with the reasons
|
67
|
+
def list_invalid_properties
|
68
|
+
invalid_properties = super
|
69
|
+
invalid_properties
|
70
|
+
end
|
71
|
+
|
72
|
+
# Check to see if the all the properties in the model are valid
|
73
|
+
# @return true if the model is valid
|
74
|
+
def valid?
|
75
|
+
true && super
|
76
|
+
end
|
77
|
+
|
78
|
+
# Checks equality by comparing each attribute.
|
79
|
+
# @param [Object] Object to be compared
|
80
|
+
def ==(o)
|
81
|
+
return true if self.equal?(o)
|
82
|
+
self.class == o.class &&
|
83
|
+
payment_method == o.payment_method && super(o)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @see the `==` method
|
87
|
+
# @param [Object] Object to be compared
|
88
|
+
def eql?(o)
|
89
|
+
self == o
|
90
|
+
end
|
91
|
+
|
92
|
+
# Calculates hash code according to all attributes.
|
93
|
+
# @return [Integer] Hash code
|
94
|
+
def hash
|
95
|
+
[payment_method].hash
|
96
|
+
end
|
97
|
+
|
98
|
+
# Builds the object from hash
|
99
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
100
|
+
# @return [Object] Returns the model itself
|
101
|
+
def self.build_from_hash(attributes)
|
102
|
+
new.build_from_hash(attributes)
|
103
|
+
end
|
104
|
+
|
105
|
+
# Builds the object from hash
|
106
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
107
|
+
# @return [Object] Returns the model itself
|
108
|
+
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
109
|
+
return nil unless attributes.is_a?(Hash)
|
110
|
+
super(attributes, self.class.superclass.attribute_map, self.class.superclass.openapi_types)
|
111
|
+
openapi_types.each_pair do |key, type|
|
112
|
+
if type =~ /\AArray<(.*)>/i
|
113
|
+
# check to ensure the input is an array given that the attribute
|
114
|
+
# is documented as an array but the input is not
|
115
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
116
|
+
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
117
|
+
end
|
118
|
+
elsif !attributes[attribute_map[key]].nil?
|
119
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
120
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
121
|
+
end
|
122
|
+
|
123
|
+
self
|
124
|
+
end
|
125
|
+
|
126
|
+
# Deserializes the data based on type
|
127
|
+
# @param string type Data type
|
128
|
+
# @param string value Value to be deserialized
|
129
|
+
# @return [Object] Deserialized data
|
130
|
+
def _deserialize(type, value)
|
131
|
+
case type.to_sym
|
132
|
+
when :DateTime
|
133
|
+
DateTime.parse(value)
|
134
|
+
when :Date
|
135
|
+
Date.parse(value)
|
136
|
+
when :String
|
137
|
+
value.to_s
|
138
|
+
when :Integer
|
139
|
+
value.to_i
|
140
|
+
when :Float
|
141
|
+
value.to_f
|
142
|
+
when :Boolean
|
143
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
144
|
+
true
|
145
|
+
else
|
146
|
+
false
|
147
|
+
end
|
148
|
+
when :Object
|
149
|
+
# generic object (usually a Hash), return directly
|
150
|
+
value
|
151
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
152
|
+
inner_type = Regexp.last_match[:inner_type]
|
153
|
+
value.map { |v| _deserialize(inner_type, v) }
|
154
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
155
|
+
k_type = Regexp.last_match[:k_type]
|
156
|
+
v_type = Regexp.last_match[:v_type]
|
157
|
+
{}.tap do |hash|
|
158
|
+
value.each do |k, v|
|
159
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
160
|
+
end
|
161
|
+
end
|
162
|
+
else # model
|
163
|
+
klass = OpenapiClient.const_get(type)
|
164
|
+
if klass.respond_to?(:openapi_discriminator_name)
|
165
|
+
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
166
|
+
end
|
167
|
+
|
168
|
+
klass.build_from_hash(value)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
# Returns the string representation of the object
|
173
|
+
# @return [String] String presentation of the object
|
174
|
+
def to_s
|
175
|
+
to_hash.to_s
|
176
|
+
end
|
177
|
+
|
178
|
+
# to_body is an alias to to_hash (backward compatibility)
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
180
|
+
def to_body
|
181
|
+
to_hash
|
182
|
+
end
|
183
|
+
|
184
|
+
# Returns the object in the form of hash
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
186
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
187
|
+
hash = super(self.class.superclass.attribute_map, openapi_nullable)
|
188
|
+
attribute_map.each_pair do |attr, param|
|
189
|
+
value = self.send(attr)
|
190
|
+
if value.nil?
|
191
|
+
is_nullable = openapi_nullable.include?(attr)
|
192
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
193
|
+
end
|
194
|
+
|
195
|
+
hash[param] = _to_hash(value)
|
196
|
+
end
|
197
|
+
hash
|
198
|
+
end
|
199
|
+
|
200
|
+
# Outputs non-array value in the form of hash
|
201
|
+
# For object, use to_hash. Otherwise, just return the value
|
202
|
+
# @param [Object] value Any valid value
|
203
|
+
# @return [Hash] Returns the value in the form of hash
|
204
|
+
def _to_hash(value)
|
205
|
+
if value.is_a?(Array)
|
206
|
+
value.compact.map { |v| _to_hash(v) }
|
207
|
+
elsif value.is_a?(Hash)
|
208
|
+
{}.tap do |hash|
|
209
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
210
|
+
end
|
211
|
+
elsif value.respond_to? :to_hash
|
212
|
+
value.to_hash
|
213
|
+
else
|
214
|
+
value
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end
|
218
|
+
end
|
@@ -0,0 +1,205 @@
|
|
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.5.0.20211029.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
|
+
class GenericManagedRedirectRequestAllOf
|
17
|
+
attr_accessor :payment_method
|
18
|
+
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
20
|
+
def self.attribute_map
|
21
|
+
{
|
22
|
+
:'payment_method' => :'paymentMethod'
|
23
|
+
}
|
24
|
+
end
|
25
|
+
|
26
|
+
# Attribute type mapping.
|
27
|
+
def self.openapi_types
|
28
|
+
{
|
29
|
+
:'payment_method' => :'ManagedRedirectPaymentMethod'
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# Initializes the object
|
34
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
35
|
+
def initialize(attributes = {})
|
36
|
+
if (!attributes.is_a?(Hash))
|
37
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::GenericManagedRedirectRequestAllOf` initialize method"
|
38
|
+
end
|
39
|
+
|
40
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
41
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
42
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
43
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::GenericManagedRedirectRequestAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
44
|
+
end
|
45
|
+
h[k.to_sym] = v
|
46
|
+
}
|
47
|
+
|
48
|
+
if attributes.key?(:'payment_method')
|
49
|
+
self.payment_method = attributes[:'payment_method']
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
54
|
+
# @return Array for valid properties with the reasons
|
55
|
+
def list_invalid_properties
|
56
|
+
invalid_properties = Array.new
|
57
|
+
invalid_properties
|
58
|
+
end
|
59
|
+
|
60
|
+
# Check to see if the all the properties in the model are valid
|
61
|
+
# @return true if the model is valid
|
62
|
+
def valid?
|
63
|
+
true
|
64
|
+
end
|
65
|
+
|
66
|
+
# Checks equality by comparing each attribute.
|
67
|
+
# @param [Object] Object to be compared
|
68
|
+
def ==(o)
|
69
|
+
return true if self.equal?(o)
|
70
|
+
self.class == o.class &&
|
71
|
+
payment_method == o.payment_method
|
72
|
+
end
|
73
|
+
|
74
|
+
# @see the `==` method
|
75
|
+
# @param [Object] Object to be compared
|
76
|
+
def eql?(o)
|
77
|
+
self == o
|
78
|
+
end
|
79
|
+
|
80
|
+
# Calculates hash code according to all attributes.
|
81
|
+
# @return [Integer] Hash code
|
82
|
+
def hash
|
83
|
+
[payment_method].hash
|
84
|
+
end
|
85
|
+
|
86
|
+
# Builds the object from hash
|
87
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
88
|
+
# @return [Object] Returns the model itself
|
89
|
+
def self.build_from_hash(attributes)
|
90
|
+
new.build_from_hash(attributes)
|
91
|
+
end
|
92
|
+
|
93
|
+
# Builds the object from hash
|
94
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
95
|
+
# @return [Object] Returns the model itself
|
96
|
+
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
97
|
+
return nil unless attributes.is_a?(Hash)
|
98
|
+
openapi_types.each_pair do |key, type|
|
99
|
+
if type =~ /\AArray<(.*)>/i
|
100
|
+
# check to ensure the input is an array given that the attribute
|
101
|
+
# is documented as an array but the input is not
|
102
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
103
|
+
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
104
|
+
end
|
105
|
+
elsif !attributes[attribute_map[key]].nil?
|
106
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
107
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
108
|
+
end
|
109
|
+
|
110
|
+
self
|
111
|
+
end
|
112
|
+
|
113
|
+
# Deserializes the data based on type
|
114
|
+
# @param string type Data type
|
115
|
+
# @param string value Value to be deserialized
|
116
|
+
# @return [Object] Deserialized data
|
117
|
+
def _deserialize(type, value)
|
118
|
+
case type.to_sym
|
119
|
+
when :DateTime
|
120
|
+
DateTime.parse(value)
|
121
|
+
when :Date
|
122
|
+
Date.parse(value)
|
123
|
+
when :String
|
124
|
+
value.to_s
|
125
|
+
when :Integer
|
126
|
+
value.to_i
|
127
|
+
when :Float
|
128
|
+
value.to_f
|
129
|
+
when :Boolean
|
130
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
131
|
+
true
|
132
|
+
else
|
133
|
+
false
|
134
|
+
end
|
135
|
+
when :Object
|
136
|
+
# generic object (usually a Hash), return directly
|
137
|
+
value
|
138
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
139
|
+
inner_type = Regexp.last_match[:inner_type]
|
140
|
+
value.map { |v| _deserialize(inner_type, v) }
|
141
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
142
|
+
k_type = Regexp.last_match[:k_type]
|
143
|
+
v_type = Regexp.last_match[:v_type]
|
144
|
+
{}.tap do |hash|
|
145
|
+
value.each do |k, v|
|
146
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
147
|
+
end
|
148
|
+
end
|
149
|
+
else # model
|
150
|
+
klass = OpenapiClient.const_get(type)
|
151
|
+
if klass.respond_to?(:openapi_discriminator_name)
|
152
|
+
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
153
|
+
end
|
154
|
+
|
155
|
+
klass.build_from_hash(value)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Returns the string representation of the object
|
160
|
+
# @return [String] String presentation of the object
|
161
|
+
def to_s
|
162
|
+
to_hash.to_s
|
163
|
+
end
|
164
|
+
|
165
|
+
# to_body is an alias to to_hash (backward compatibility)
|
166
|
+
# @return [Hash] Returns the object in the form of hash
|
167
|
+
def to_body
|
168
|
+
to_hash
|
169
|
+
end
|
170
|
+
|
171
|
+
# Returns the object in the form of hash
|
172
|
+
# @return [Hash] Returns the object in the form of hash
|
173
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
174
|
+
hash = {}
|
175
|
+
attribute_map.each_pair do |attr, param|
|
176
|
+
value = self.send(attr)
|
177
|
+
if value.nil?
|
178
|
+
is_nullable = openapi_nullable.include?(attr)
|
179
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
180
|
+
end
|
181
|
+
|
182
|
+
hash[param] = _to_hash(value)
|
183
|
+
end
|
184
|
+
hash
|
185
|
+
end
|
186
|
+
|
187
|
+
# Outputs non-array value in the form of hash
|
188
|
+
# For object, use to_hash. Otherwise, just return the value
|
189
|
+
# @param [Object] value Any valid value
|
190
|
+
# @return [Hash] Returns the value in the form of hash
|
191
|
+
def _to_hash(value)
|
192
|
+
if value.is_a?(Array)
|
193
|
+
value.compact.map { |v| _to_hash(v) }
|
194
|
+
elsif value.is_a?(Hash)
|
195
|
+
{}.tap do |hash|
|
196
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
197
|
+
end
|
198
|
+
elsif value.respond_to? :to_hash
|
199
|
+
value.to_hash
|
200
|
+
else
|
201
|
+
value
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
end
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -3,7 +3,7 @@
|
|
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.5.0.20211029.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.1.1
|
@@ -18,9 +18,6 @@ module OpenapiClient
|
|
18
18
|
# Payment Method Type Enum
|
19
19
|
attr_accessor :payment_method_type
|
20
20
|
|
21
|
-
# Key Value pairs of Payment detail appropriate for the Payment Method Type
|
22
|
-
attr_accessor :payment_details
|
23
|
-
|
24
21
|
class EnumAttributeValidator
|
25
22
|
attr_reader :datatype
|
26
23
|
attr_reader :allowable_values
|
@@ -46,16 +43,14 @@ module OpenapiClient
|
|
46
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
44
|
def self.attribute_map
|
48
45
|
{
|
49
|
-
:'payment_method_type' => :'paymentMethodType'
|
50
|
-
:'payment_details' => :'paymentDetails'
|
46
|
+
:'payment_method_type' => :'paymentMethodType'
|
51
47
|
}
|
52
48
|
end
|
53
49
|
|
54
50
|
# Attribute type mapping.
|
55
51
|
def self.openapi_types
|
56
52
|
{
|
57
|
-
:'payment_method_type' => :'String'
|
58
|
-
:'payment_details' => :'Array<ManagedRedirectPaymentMethodPaymentDetails>'
|
53
|
+
:'payment_method_type' => :'String'
|
59
54
|
}
|
60
55
|
end
|
61
56
|
|
@@ -77,12 +72,6 @@ module OpenapiClient
|
|
77
72
|
if attributes.key?(:'payment_method_type')
|
78
73
|
self.payment_method_type = attributes[:'payment_method_type']
|
79
74
|
end
|
80
|
-
|
81
|
-
if attributes.key?(:'payment_details')
|
82
|
-
if (value = attributes[:'payment_details']).is_a?(Array)
|
83
|
-
self.payment_details = value
|
84
|
-
end
|
85
|
-
end
|
86
75
|
end
|
87
76
|
|
88
77
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -95,7 +84,7 @@ module OpenapiClient
|
|
95
84
|
# Check to see if the all the properties in the model are valid
|
96
85
|
# @return true if the model is valid
|
97
86
|
def valid?
|
98
|
-
payment_method_type_validator = EnumAttributeValidator.new('String', ["
|
87
|
+
payment_method_type_validator = EnumAttributeValidator.new('String', ["GIROPAY", "IDEAL", "KLARNA", "KPS", "PAYPAL", "SBPS_OTHER_PAYMENTS", "SOFORT"])
|
99
88
|
return false unless payment_method_type_validator.valid?(@payment_method_type)
|
100
89
|
true
|
101
90
|
end
|
@@ -103,7 +92,7 @@ module OpenapiClient
|
|
103
92
|
# Custom attribute writer method checking allowed values (enum).
|
104
93
|
# @param [Object] payment_method_type Object to be assigned
|
105
94
|
def payment_method_type=(payment_method_type)
|
106
|
-
validator = EnumAttributeValidator.new('String', ["
|
95
|
+
validator = EnumAttributeValidator.new('String', ["GIROPAY", "IDEAL", "KLARNA", "KPS", "PAYPAL", "SBPS_OTHER_PAYMENTS", "SOFORT"])
|
107
96
|
unless validator.valid?(payment_method_type)
|
108
97
|
fail ArgumentError, "invalid value for \"payment_method_type\", must be one of #{validator.allowable_values}."
|
109
98
|
end
|
@@ -115,8 +104,7 @@ module OpenapiClient
|
|
115
104
|
def ==(o)
|
116
105
|
return true if self.equal?(o)
|
117
106
|
self.class == o.class &&
|
118
|
-
payment_method_type == o.payment_method_type
|
119
|
-
payment_details == o.payment_details
|
107
|
+
payment_method_type == o.payment_method_type
|
120
108
|
end
|
121
109
|
|
122
110
|
# @see the `==` method
|
@@ -128,7 +116,7 @@ module OpenapiClient
|
|
128
116
|
# Calculates hash code according to all attributes.
|
129
117
|
# @return [Integer] Hash code
|
130
118
|
def hash
|
131
|
-
[payment_method_type
|
119
|
+
[payment_method_type].hash
|
132
120
|
end
|
133
121
|
|
134
122
|
# Builds the object from hash
|