first_data_gateway 1.7.1 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -27
- data/docs/AccountVerificationRequest.md +2 -0
- data/docs/AdditionalDetails.md +7 -1
- data/docs/AdditionalTransactionDetails.md +3 -1
- data/docs/AmountComponents.md +3 -1
- data/docs/ApmPaymentMethod.md +19 -0
- data/docs/ApmPaymentMethodAllOf.md +19 -0
- data/docs/ApmSaleTransaction.md +17 -0
- data/docs/ApmSaleTransactionAllOf.md +17 -0
- data/docs/AuthenticationResult.md +1 -1
- data/docs/AuthenticationUpdateRequest.md +1 -1
- data/docs/Billing.md +4 -0
- data/docs/CardholderInfoResponse.md +27 -0
- data/docs/ChinaDomestic.md +3 -1
- data/docs/CurrencyConversionResponse.md +19 -0
- data/docs/DCCExchangeRateRequest.md +1 -1
- data/docs/DCCExchangeRateRequestAllOf.md +1 -1
- data/docs/DecryptedApplePay.md +2 -6
- data/docs/DecryptedGooglePay.md +7 -9
- data/docs/DecryptedSamsungPay.md +2 -6
- data/docs/DisbursementTransactionType.md +1 -2
- data/docs/{ExchangeRateResponseAllOf.md → ExchangeRateDetails.md} +7 -11
- data/docs/ExchangeRateResponse.md +4 -20
- data/docs/FraudOrder.md +3 -1
- data/docs/FraudOrderItems.md +4 -4
- data/docs/FundingTransactionType.md +1 -2
- data/docs/Order.md +3 -1
- data/docs/OrderApi.md +2 -2
- data/docs/OrderErrorResponse.md +1 -1
- data/docs/OrderResponse.md +1 -1
- data/docs/PaymentApi.md +4 -4
- data/docs/{BrandingStyleConfigurationResponse.md → PaymentBrandResponse.md} +4 -4
- data/docs/PaymentCard.md +1 -1
- data/docs/PaymentCardSaleTransaction.md +1 -3
- data/docs/PaymentCardSaleTransactionAllOf.md +1 -3
- data/docs/PaymentSchedulesErrorResponse.md +1 -1
- data/docs/PaymentSchedulesRequest.md +1 -1
- data/docs/PaymentSchedulesResponse.md +1 -1
- data/docs/{FontFace.md → PaymentStepRequest.md} +2 -2
- data/docs/{ConnectMode.md → PaymentStepResponse.md} +2 -2
- data/docs/PaymentTokenizationErrorResponse.md +5 -1
- data/docs/PaymentTokenizationRequest.md +2 -0
- data/docs/PaymentTokenizationResponse.md +6 -2
- data/docs/PaymentUrlDetail.md +1 -1
- data/docs/PaymentUrlErrorResponse.md +1 -1
- data/docs/PaymentUrlRequest.md +4 -2
- data/docs/PaymentUrlResponse.md +1 -1
- data/docs/PreAuthSecondaryTransaction.md +19 -0
- data/docs/PreAuthSecondaryTransactionAllOf.md +19 -0
- data/docs/ProcessorData.md +5 -1
- data/docs/ProvideDetailPaymentStepRequest.md +25 -0
- data/docs/ProvideDetailPaymentStepRequestAllOf.md +23 -0
- data/docs/ProvideDetailPaymentStepResponse.md +21 -0
- data/docs/ProvideDetailPaymentStepResponseAllOf.md +19 -0
- data/docs/PurchaseCardsLevel2.md +1 -1
- data/docs/Receipt.md +19 -0
- data/docs/ReceiptLine.md +19 -0
- data/docs/ReceiptRequestInfo.md +21 -0
- data/docs/RecurringPaymentDetailsResponse.md +1 -1
- data/docs/ResponseAmountComponents.md +2 -0
- data/docs/ReturnTransaction.md +2 -0
- data/docs/ReturnTransactionAllOf.md +2 -0
- data/docs/RevolvingOptions.md +17 -0
- data/docs/ScoreOnlyResponse.md +3 -5
- data/docs/ScoreOnlyResponseFraudScore.md +3 -1
- data/docs/Secure3D10AuthenticationRequest.md +2 -2
- data/docs/Secure3D10AuthenticationRequestAllOf.md +2 -2
- data/docs/Secure3D21AuthenticationRequest.md +2 -2
- data/docs/Secure3D21AuthenticationRequestAllOf.md +2 -2
- data/docs/Secure3DAuthenticationRequest.md +25 -0
- data/docs/Secure3DAuthenticationRequestAllOf.md +25 -0
- data/docs/Secure3DAuthenticationResult.md +25 -0
- data/docs/Secure3DAuthenticationResultAllOf.md +25 -0
- data/docs/Secure3DAuthenticationUpdateRequest.md +19 -0
- data/docs/SepaMandate.md +1 -1
- data/docs/SoftDescriptor.md +5 -1
- data/docs/{FontWeight.md → StepRequest.md} +3 -2
- data/docs/{Body.md → StepResponse.md} +3 -3
- data/docs/TeleCheckCBPPaymentMethod.md +1 -2
- data/docs/TransactionErrorResponse.md +5 -1
- data/docs/TransactionResponse.md +6 -2
- data/docs/VoidPreAuthTransactions.md +1 -2
- data/docs/VoidTransaction.md +2 -2
- data/docs/VoidTransactionAllOf.md +2 -2
- data/first_data_gateway.gemspec +4 -18
- data/git_push.sh +7 -10
- data/lib/.DS_Store +0 -0
- data/lib/openapi_client.rb +33 -95
- data/lib/openapi_client/.DS_Store +0 -0
- data/lib/openapi_client/api/authentication_api.rb +4 -4
- data/lib/openapi_client/api/currency_conversion_api.rb +4 -4
- data/lib/openapi_client/api/fraud_detect_api.rb +8 -8
- data/lib/openapi_client/api/information_lookup_api.rb +6 -6
- data/lib/openapi_client/api/order_api.rb +8 -8
- data/lib/openapi_client/api/payment_api.rb +14 -14
- data/lib/openapi_client/api/payment_schedules_api.rb +8 -8
- data/lib/openapi_client/api/payment_token_api.rb +8 -8
- data/lib/openapi_client/api/payment_url_api.rb +6 -6
- data/lib/openapi_client/api/verification_api.rb +6 -6
- data/lib/openapi_client/api_client.rb +8 -10
- data/lib/openapi_client/api_error.rb +2 -2
- data/lib/openapi_client/configuration.rb +5 -4
- data/lib/openapi_client/models/access_token_request.rb +2 -8
- data/lib/openapi_client/models/access_token_response.rb +2 -8
- data/lib/openapi_client/models/account_info_lookup_request.rb +2 -8
- data/lib/openapi_client/models/account_updater_response.rb +2 -8
- data/lib/openapi_client/models/account_verification_request.rb +28 -9
- data/lib/openapi_client/models/ach_credit_transaction.rb +3 -9
- data/lib/openapi_client/models/ach_post_auth_transaction.rb +3 -9
- data/lib/openapi_client/models/ach_post_auth_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/ach_pre_auth_transaction.rb +3 -9
- data/lib/openapi_client/models/ach_pre_auth_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/ach_recurring_type.rb +1 -1
- data/lib/openapi_client/models/ach_response.rb +2 -8
- data/lib/openapi_client/models/ach_return_transaction.rb +3 -9
- data/lib/openapi_client/models/ach_sale_transaction.rb +3 -9
- data/lib/openapi_client/models/ach_void_transaction.rb +3 -9
- data/lib/openapi_client/models/acs_response.rb +2 -8
- data/lib/openapi_client/models/additional_amount_rate.rb +2 -8
- data/lib/openapi_client/models/additional_details.rb +87 -12
- data/lib/openapi_client/models/additional_transaction_details.rb +18 -12
- data/lib/openapi_client/models/address.rb +2 -8
- data/lib/openapi_client/models/airline.rb +2 -8
- data/lib/openapi_client/models/airline_ancillary_service_category.rb +2 -8
- data/lib/openapi_client/models/airline_travel_route.rb +2 -8
- data/lib/openapi_client/models/ali_pay.rb +2 -8
- data/lib/openapi_client/models/ali_pay_payment_method.rb +4 -9
- data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/ali_pay_sale_transaction.rb +3 -9
- data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/amount.rb +21 -8
- data/lib/openapi_client/models/amount_components.rb +16 -12
- data/lib/openapi_client/models/{mobile_header_area.rb → apm_payment_method.rb} +34 -32
- data/lib/openapi_client/models/{branding_style_configuration_request.rb → apm_payment_method_all_of.rb} +28 -20
- data/lib/openapi_client/models/{store_fraud_settings.rb → apm_sale_transaction.rb} +28 -37
- data/lib/openapi_client/models/{branding_style_configuration_response_all_of.rb → apm_sale_transaction_all_of.rb} +17 -20
- data/lib/openapi_client/models/authentication_request.rb +2 -8
- data/lib/openapi_client/models/authentication_result.rb +2 -8
- data/lib/openapi_client/models/authentication_update_request.rb +2 -8
- data/lib/openapi_client/models/avs_response.rb +2 -8
- data/lib/openapi_client/models/bancontact_qr.rb +2 -8
- data/lib/openapi_client/models/basic_response.rb +2 -8
- data/lib/openapi_client/models/billing.rb +53 -9
- data/lib/openapi_client/models/billing_address.rb +2 -8
- data/lib/openapi_client/models/car_rental.rb +2 -8
- data/lib/openapi_client/models/car_rental_extra_charges.rb +2 -8
- data/lib/openapi_client/models/card.rb +2 -8
- data/lib/openapi_client/models/card_function.rb +1 -1
- data/lib/openapi_client/models/card_info.rb +2 -8
- data/lib/openapi_client/models/card_info_lookup_request.rb +2 -8
- data/lib/openapi_client/models/card_info_lookup_response.rb +3 -10
- data/lib/openapi_client/models/card_verification_request.rb +2 -8
- data/lib/openapi_client/models/{logo.rb → cardholder_info_response.rb} +58 -83
- data/lib/openapi_client/models/china_domestic.rb +31 -12
- data/lib/openapi_client/models/china_domestic_payment_method.rb +4 -9
- data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +3 -9
- data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/client_locale.rb +2 -8
- data/lib/openapi_client/models/client_registration.rb +2 -9
- data/lib/openapi_client/models/contact.rb +2 -8
- data/lib/openapi_client/models/create_payment_token.rb +2 -8
- data/lib/openapi_client/models/currency_conversion.rb +2 -8
- data/lib/openapi_client/models/{update_email_settings_request.rb → currency_conversion_response.rb} +23 -26
- data/lib/openapi_client/models/customer.rb +2 -8
- data/lib/openapi_client/models/customer_address.rb +2 -9
- data/lib/openapi_client/models/dcc.rb +3 -9
- data/lib/openapi_client/models/dcc_all_of.rb +2 -8
- data/lib/openapi_client/models/dcc_exchange_rate_request.rb +7 -22
- data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +6 -21
- data/lib/openapi_client/models/decrypted_apple_pay.rb +12 -87
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +3 -9
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/decrypted_google_pay.rb +30 -114
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +3 -9
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/decrypted_samsung_pay.rb +12 -87
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +3 -9
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/device.rb +2 -8
- data/lib/openapi_client/models/disbursement.rb +2 -8
- data/lib/openapi_client/models/disbursement_transaction_type.rb +6 -27
- data/lib/openapi_client/models/document.rb +2 -8
- data/lib/openapi_client/models/dynamic_pricing.rb +3 -9
- data/lib/openapi_client/models/dynamic_pricing_all_of.rb +2 -8
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +3 -9
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +2 -8
- data/lib/openapi_client/models/encrypted_apple_pay.rb +2 -8
- data/lib/openapi_client/models/encrypted_apple_pay_header.rb +2 -8
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +3 -9
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/encrypted_google_pay.rb +2 -8
- data/lib/openapi_client/models/encrypted_google_pay_data.rb +2 -8
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +3 -9
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/encrypted_samsung_pay.rb +2 -8
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +3 -9
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/error.rb +2 -8
- data/lib/openapi_client/models/error_details.rb +2 -8
- data/lib/openapi_client/models/error_message.rb +2 -8
- data/lib/openapi_client/models/error_response.rb +3 -10
- data/lib/openapi_client/models/{exchange_rate_response_all_of.rb → exchange_rate_details.rb} +10 -35
- data/lib/openapi_client/models/exchange_rate_request.rb +2 -8
- data/lib/openapi_client/models/exchange_rate_response.rb +11 -99
- data/lib/openapi_client/models/expiration.rb +2 -8
- data/lib/openapi_client/models/fraud_address.rb +2 -8
- data/lib/openapi_client/models/fraud_order.rb +2 -8
- data/lib/openapi_client/models/fraud_order_items.rb +2 -8
- data/lib/openapi_client/models/fraud_registration.rb +2 -8
- data/lib/openapi_client/models/fraud_registration_card.rb +2 -8
- data/lib/openapi_client/models/fraud_registration_device.rb +2 -8
- data/lib/openapi_client/models/fraud_registration_device_items.rb +2 -8
- data/lib/openapi_client/models/fraud_registration_error.rb +2 -8
- data/lib/openapi_client/models/fraud_registration_response.rb +3 -9
- data/lib/openapi_client/models/fraud_score.rb +2 -8
- data/lib/openapi_client/models/frequency.rb +2 -8
- data/lib/openapi_client/models/funding_transaction_type.rb +6 -27
- data/lib/openapi_client/models/id_info.rb +2 -8
- data/lib/openapi_client/models/industry_specific_extensions.rb +2 -8
- data/lib/openapi_client/models/installment_options.rb +2 -8
- data/lib/openapi_client/models/issuer_response.rb +2 -8
- data/lib/openapi_client/models/items.rb +2 -8
- data/lib/openapi_client/models/location.rb +2 -8
- data/lib/openapi_client/models/lodging.rb +2 -8
- data/lib/openapi_client/models/lodging_extra_charges.rb +2 -8
- data/lib/openapi_client/models/loyalty.rb +2 -8
- data/lib/openapi_client/models/masterpass_wallet_payment_method.rb +3 -9
- data/lib/openapi_client/models/masterpass_wallet_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/mcc6012.rb +2 -8
- data/lib/openapi_client/models/merchant.rb +2 -8
- data/lib/openapi_client/models/method.rb +2 -8
- data/lib/openapi_client/models/order.rb +13 -10
- data/lib/openapi_client/models/order_error_response.rb +3 -10
- data/lib/openapi_client/models/order_response.rb +4 -11
- data/lib/openapi_client/models/pay_pal.rb +2 -8
- data/lib/openapi_client/models/pay_pal_payment_method.rb +4 -9
- data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/payment.rb +2 -8
- data/lib/openapi_client/models/{branding_style_configuration_response.rb → payment_brand_response.rb} +15 -21
- data/lib/openapi_client/models/payment_card.rb +10 -16
- data/lib/openapi_client/models/payment_card_credit_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_card_info_lookup_request.rb +3 -9
- data/lib/openapi_client/models/payment_card_info_lookup_request_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_card_payment_method.rb +4 -9
- data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_card_payment_token_update_request.rb +2 -8
- data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +3 -9
- data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_card_sale_transaction.rb +4 -24
- data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +3 -23
- data/lib/openapi_client/models/payment_card_verification_request.rb +3 -9
- data/lib/openapi_client/models/payment_card_verification_request_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_device.rb +2 -8
- data/lib/openapi_client/models/payment_device_credit_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_device_payment_method.rb +4 -9
- data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +3 -9
- data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_device_sale_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_facilitator.rb +2 -8
- data/lib/openapi_client/models/payment_method_details.rb +2 -8
- data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +3 -9
- data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_method_type.rb +2 -1
- data/lib/openapi_client/models/payment_registration.rb +3 -10
- data/lib/openapi_client/models/payment_schedules_error_response.rb +3 -10
- data/lib/openapi_client/models/payment_schedules_request.rb +3 -9
- data/lib/openapi_client/models/payment_schedules_response.rb +4 -11
- data/lib/openapi_client/models/{error_response_all_of.rb → payment_step_request.rb} +19 -22
- data/lib/openapi_client/models/payment_step_response.rb +208 -0
- data/lib/openapi_client/models/payment_token_credit_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_token_details.rb +2 -8
- data/lib/openapi_client/models/payment_token_details_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_token_info_lookup_request.rb +3 -9
- data/lib/openapi_client/models/payment_token_info_lookup_request_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_token_payment_method.rb +3 -8
- data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_token_sale_transaction.rb +3 -9
- data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_token_update_response.rb +3 -10
- data/lib/openapi_client/models/payment_token_verification_request.rb +3 -9
- data/lib/openapi_client/models/payment_token_verification_request_all_of.rb +2 -8
- data/lib/openapi_client/models/payment_tokenization_error_response.rb +54 -11
- data/lib/openapi_client/models/payment_tokenization_request.rb +28 -9
- data/lib/openapi_client/models/payment_tokenization_response.rb +58 -15
- data/lib/openapi_client/models/payment_url_detail.rb +3 -9
- data/lib/openapi_client/models/payment_url_detail_response.rb +3 -10
- data/lib/openapi_client/models/payment_url_error_response.rb +3 -10
- data/lib/openapi_client/models/payment_url_request.rb +16 -13
- data/lib/openapi_client/models/payment_url_response.rb +4 -11
- data/lib/openapi_client/models/payment_url_status.rb +1 -1
- data/lib/openapi_client/models/paypal_credit_transaction.rb +3 -9
- data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/phone.rb +2 -8
- data/lib/openapi_client/models/post_auth_transaction.rb +3 -9
- data/lib/openapi_client/models/post_auth_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/{update_email_settings_response.rb → pre_auth_secondary_transaction.rb} +35 -51
- data/lib/openapi_client/models/{branding_style_configuration_result.rb → pre_auth_secondary_transaction_all_of.rb} +26 -26
- data/lib/openapi_client/models/primary_transaction.rb +2 -8
- data/lib/openapi_client/models/processor_data.rb +25 -12
- data/lib/openapi_client/models/{remove_fraud_blocked_items_response.rb → provide_detail_payment_step_request.rb} +47 -42
- data/lib/openapi_client/models/{remove_fraud_blocked_items_response_all_of.rb → provide_detail_payment_step_request_all_of.rb} +39 -19
- data/lib/openapi_client/models/{disbursement_transaction_type_all_of.rb → provide_detail_payment_step_response.rb} +42 -19
- data/lib/openapi_client/models/{block_name.rb → provide_detail_payment_step_response_all_of.rb} +20 -27
- data/lib/openapi_client/models/purchase_cards.rb +2 -8
- data/lib/openapi_client/models/purchase_cards_level2.rb +8 -14
- data/lib/openapi_client/models/purchase_cards_level3.rb +2 -8
- data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +2 -8
- data/lib/openapi_client/models/{card_info_lookup_response_all_of.rb → receipt.rb} +41 -36
- data/lib/openapi_client/models/{lockout_time.rb → receipt_line.rb} +28 -27
- data/lib/openapi_client/models/{endpoint_response.rb → receipt_request_info.rb} +43 -42
- data/lib/openapi_client/models/receiver_info.rb +2 -8
- data/lib/openapi_client/models/recurring_payment_details.rb +2 -8
- data/lib/openapi_client/models/recurring_payment_details_response.rb +4 -11
- data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +3 -9
- data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +2 -8
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +3 -9
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +2 -8
- data/lib/openapi_client/models/registration_method.rb +2 -8
- data/lib/openapi_client/models/response_amount_components.rb +13 -9
- data/lib/openapi_client/models/response_amount_components_all_of.rb +2 -8
- data/lib/openapi_client/models/response_type.rb +1 -1
- data/lib/openapi_client/models/return_transaction.rb +13 -10
- data/lib/openapi_client/models/return_transaction_all_of.rb +12 -9
- data/lib/openapi_client/models/{customer_address_all_of.rb → revolving_options.rb} +14 -18
- data/lib/openapi_client/models/score_only_request.rb +2 -8
- data/lib/openapi_client/models/score_only_response.rb +2 -8
- data/lib/openapi_client/models/score_only_response_fraud_score.rb +2 -8
- data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +2 -8
- data/lib/openapi_client/models/secondary_transaction.rb +2 -8
- data/lib/openapi_client/models/secure3_d10_authentication_request.rb +12 -22
- data/lib/openapi_client/models/secure3_d10_authentication_request_all_of.rb +10 -20
- data/lib/openapi_client/models/secure3_d10_authentication_result.rb +4 -10
- data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +2 -8
- data/lib/openapi_client/models/secure3_d10_authentication_update_request.rb +4 -10
- data/lib/openapi_client/models/secure3_d10_authentication_update_request_all_of.rb +2 -8
- data/lib/openapi_client/models/secure3_d21_authentication_request.rb +6 -12
- data/lib/openapi_client/models/secure3_d21_authentication_request_all_of.rb +4 -10
- data/lib/openapi_client/models/secure3_d21_authentication_result.rb +4 -10
- data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +2 -8
- data/lib/openapi_client/models/secure3_d21_authentication_update_request.rb +4 -10
- data/lib/openapi_client/models/secure3_d21_authentication_update_request_all_of.rb +2 -8
- data/lib/openapi_client/models/{initiate_clearing_response_all_of.rb → secure3_d_authentication_request.rb} +105 -43
- data/lib/openapi_client/models/{payment_tokenization_response_all_of.rb → secure3_d_authentication_request_all_of.rb} +85 -82
- data/lib/openapi_client/models/secure3_d_authentication_response.rb +2 -8
- data/lib/openapi_client/models/secure3_d_authentication_response_params.rb +2 -8
- data/lib/openapi_client/models/secure3_d_authentication_response_secure3d_method.rb +2 -8
- data/lib/openapi_client/models/{payment_url_response_all_of.rb → secure3_d_authentication_result.rb} +126 -49
- data/lib/openapi_client/models/{initiate_clearing_response.rb → secure3_d_authentication_result_all_of.rb} +109 -73
- data/lib/openapi_client/models/{payment_schedules_response_all_of.rb → secure3_d_authentication_update_request.rb} +40 -43
- data/lib/openapi_client/models/secure3d_response.rb +2 -8
- data/lib/openapi_client/models/sender_info.rb +2 -8
- data/lib/openapi_client/models/sepa.rb +2 -8
- data/lib/openapi_client/models/sepa_mandate.rb +20 -35
- data/lib/openapi_client/models/sepa_payment_method.rb +3 -8
- data/lib/openapi_client/models/sepa_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/sepa_sale_transaction.rb +3 -9
- data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/ship_to_address.rb +2 -8
- data/lib/openapi_client/models/shipping.rb +2 -8
- data/lib/openapi_client/models/soft_descriptor.rb +51 -12
- data/lib/openapi_client/models/split_shipment.rb +2 -8
- data/lib/openapi_client/models/{block_domain.rb → step_request.rb} +21 -18
- data/lib/openapi_client/models/{country_profile.rb → step_response.rb} +20 -18
- data/lib/openapi_client/models/stored_credential.rb +2 -8
- data/lib/openapi_client/models/sub_merchant_data.rb +2 -8
- data/lib/openapi_client/models/sub_merchant_split.rb +2 -8
- data/lib/openapi_client/models/tele_check_ach_payment_method.rb +2 -8
- data/lib/openapi_client/models/tele_check_ach_payment_method_ach_bill_to.rb +2 -8
- data/lib/openapi_client/models/tele_check_cbp_payment_method.rb +6 -27
- data/lib/openapi_client/models/tele_check_ica_payment_method.rb +3 -9
- data/lib/openapi_client/models/tele_check_ica_payment_method_all_of.rb +2 -8
- data/lib/openapi_client/models/transaction_error_response.rb +25 -11
- data/lib/openapi_client/models/transaction_origin.rb +2 -1
- data/lib/openapi_client/models/transaction_response.rb +29 -15
- data/lib/openapi_client/models/transaction_type.rb +1 -1
- data/lib/openapi_client/models/union_pay_authentication_request.rb +3 -9
- data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +2 -8
- data/lib/openapi_client/models/union_pay_authentication_update_request.rb +3 -9
- data/lib/openapi_client/models/union_pay_authentication_update_request_all_of.rb +2 -8
- data/lib/openapi_client/models/update_payment_token.rb +2 -8
- data/lib/openapi_client/models/use_payment_token.rb +2 -8
- data/lib/openapi_client/models/verification3ds.rb +2 -8
- data/lib/openapi_client/models/verification_avs.rb +2 -8
- data/lib/openapi_client/models/verification_cvv.rb +2 -8
- data/lib/openapi_client/models/void_pre_auth_transactions.rb +6 -27
- data/lib/openapi_client/models/void_transaction.rb +10 -21
- data/lib/openapi_client/models/void_transaction_all_of.rb +9 -20
- data/lib/openapi_client/models/wallet_payment_method.rb +2 -8
- data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +3 -9
- data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +2 -8
- data/lib/openapi_client/models/wallet_sale_transaction.rb +3 -9
- data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +2 -8
- data/lib/openapi_client/version.rb +3 -3
- data/lib/simple/gateway.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 +3 -3
- data/spec/api/payment_api_spec.rb +4 -4
- 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 +3 -3
- 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 +8 -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 +24 -2
- data/spec/models/additional_transaction_details_spec.rb +8 -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 +8 -2
- data/spec/models/amount_spec.rb +2 -2
- data/spec/models/{button_spec.rb → apm_payment_method_all_of_spec.rb} +10 -10
- data/spec/models/{block_ip_address_spec.rb → apm_payment_method_spec.rb} +10 -10
- data/spec/models/{footer_spec.rb → apm_sale_transaction_all_of_spec.rb} +9 -9
- data/spec/models/{content_spec.rb → apm_sale_transaction_spec.rb} +9 -9
- 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/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 +14 -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/{payment_registration_all_of_spec.rb → cardholder_info_response_spec.rb} +14 -14
- 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 +8 -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/{blocked_card_number_spec.rb → currency_conversion_response_spec.rb} +10 -10
- 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 -14
- 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 +7 -13
- 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 -14
- 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 -8
- 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_response_all_of_spec.rb → exchange_rate_details_spec.rb} +8 -20
- data/spec/models/exchange_rate_request_spec.rb +2 -2
- data/spec/models/exchange_rate_response_spec.rb +3 -51
- 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 +8 -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 +3 -3
- 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 -8
- 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 +8 -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/{update_fraud_settings_response_spec.rb → payment_brand_response_spec.rb} +9 -9
- 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 +2 -2
- data/spec/models/payment_card_payer_auth_transaction_spec.rb +2 -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 -8
- data/spec/models/payment_card_sale_transaction_spec.rb +2 -8
- 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/{font_face_spec.rb → payment_step_request_spec.rb} +8 -8
- data/spec/models/{font_weight_spec.rb → payment_step_response_spec.rb} +8 -8
- 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 +14 -2
- data/spec/models/payment_tokenization_request_spec.rb +8 -2
- data/spec/models/payment_tokenization_response_spec.rb +14 -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/{branding_style_configuration_result_spec.rb → pre_auth_secondary_transaction_all_of_spec.rb} +10 -10
- data/spec/models/{store_url_configuration_result_spec.rb → pre_auth_secondary_transaction_spec.rb} +10 -10
- data/spec/models/primary_transaction_spec.rb +2 -2
- data/spec/models/processor_data_spec.rb +14 -2
- data/spec/models/{blocked_items_spec.rb → provide_detail_payment_step_request_all_of_spec.rb} +12 -12
- data/spec/models/{properties_spec.rb → provide_detail_payment_step_request_spec.rb} +13 -13
- data/spec/models/{block_name_spec.rb → provide_detail_payment_step_response_all_of_spec.rb} +10 -10
- data/spec/models/{clearing_element_spec.rb → provide_detail_payment_step_response_spec.rb} +11 -11
- data/spec/models/purchase_cards_level2_spec.rb +2 -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/{text_spec.rb → receipt_line_spec.rb} +10 -10
- data/spec/models/{logo_spec.rb → receipt_request_info_spec.rb} +13 -13
- data/spec/models/{card_info_lookup_response_all_of_spec.rb → receipt_spec.rb} +14 -14
- 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 +8 -2
- data/spec/models/response_type_spec.rb +2 -2
- data/spec/models/return_transaction_all_of_spec.rb +8 -2
- data/spec/models/return_transaction_spec.rb +8 -2
- data/spec/models/{block_domain_spec.rb → revolving_options_spec.rb} +9 -9
- 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 +8 -2
- data/spec/models/score_only_response_spec.rb +4 -10
- data/spec/models/secondary_transaction_spec.rb +2 -2
- data/spec/models/secure3_d10_authentication_request_all_of_spec.rb +3 -3
- data/spec/models/secure3_d10_authentication_request_spec.rb +3 -3
- 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 +2 -2
- data/spec/models/secure3_d21_authentication_request_spec.rb +2 -2
- 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 +77 -0
- data/spec/models/secure3_d_authentication_request_spec.rb +77 -0
- 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/{shared_secret_configuration_response_spec.rb → secure3_d_authentication_result_all_of_spec.rb} +21 -25
- data/spec/models/{initiate_clearing_response_spec.rb → secure3_d_authentication_result_spec.rb} +19 -21
- data/spec/models/{endpoint_response_spec.rb → secure3_d_authentication_update_request_spec.rb} +12 -18
- data/spec/models/secure3d_response_spec.rb +2 -2
- data/spec/models/sender_info_spec.rb +2 -2
- data/spec/models/sepa_mandate_spec.rb +2 -2
- data/spec/models/sepa_payment_method_all_of_spec.rb +2 -2
- data/spec/models/sepa_payment_method_spec.rb +2 -2
- 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/sepa_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 +14 -2
- data/spec/models/split_shipment_spec.rb +2 -2
- data/spec/models/{body_spec.rb → step_request_spec.rb} +9 -9
- data/spec/models/{borders_spec.rb → step_response_spec.rb} +9 -9
- 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 -8
- 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 -8
- data/spec/models/void_transaction_all_of_spec.rb +3 -3
- data/spec/models/void_transaction_spec.rb +3 -3
- 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 +132 -373
- data/docs/Background.md +0 -23
- data/docs/BackgroundColor.md +0 -21
- data/docs/BlockCard.md +0 -21
- data/docs/BlockDomain.md +0 -17
- data/docs/BlockIPAddress.md +0 -19
- data/docs/BlockName.md +0 -19
- data/docs/BlockedCardNumber.md +0 -19
- data/docs/BlockedItems.md +0 -23
- data/docs/Borders.md +0 -17
- data/docs/BrandingStyleConfigurationRequest.md +0 -17
- data/docs/BrandingStyleConfigurationResponseAllOf.md +0 -17
- data/docs/BrandingStyleConfigurationResult.md +0 -19
- data/docs/Button.md +0 -19
- data/docs/CardInfoLookupApi.md +0 -70
- data/docs/CardInfoLookupResponseAllOf.md +0 -19
- data/docs/CardVerificationApi.md +0 -70
- data/docs/ClassicMode.md +0 -35
- data/docs/ClearingDetails.md +0 -25
- data/docs/ClearingElement.md +0 -21
- data/docs/ClientRegistrationAllOf.md +0 -17
- data/docs/CombinedMode.md +0 -23
- data/docs/Content.md +0 -17
- data/docs/CountryProfile.md +0 -17
- data/docs/CustomerAddressAllOf.md +0 -17
- data/docs/DeleteBrandingStyleConfigurationResponse.md +0 -25
- data/docs/DeleteBrandingStyleConfigurationResponseAllOf.md +0 -19
- data/docs/DisbursementTransactionTypeAllOf.md +0 -17
- data/docs/EmailNotificationData.md +0 -25
- data/docs/EndpointResponse.md +0 -21
- data/docs/ErrorResponseAllOf.md +0 -17
- data/docs/FontProperties.md +0 -23
- data/docs/Footer.md +0 -17
- data/docs/FraudSettings.md +0 -23
- data/docs/FraudSettingsResponse.md +0 -37
- data/docs/FraudSettingsResponseAllOf.md +0 -31
- data/docs/FundingTransactionTypeAllOf.md +0 -17
- data/docs/Header.md +0 -17
- data/docs/Hover.md +0 -17
- data/docs/InitiateClearingResponse.md +0 -27
- data/docs/InitiateClearingResponseAllOf.md +0 -21
- data/docs/LockoutTime.md +0 -19
- data/docs/Logo.md +0 -21
- data/docs/MaximumPurchaseAmount.md +0 -19
- data/docs/Mobile.md +0 -19
- data/docs/MobileHeaderArea.md +0 -17
- data/docs/OrderResponseAllOf.md +0 -25
- data/docs/PaymentRegistrationAllOf.md +0 -27
- data/docs/PaymentSchedulesResponseAllOf.md +0 -21
- data/docs/PaymentTokenUpdateResponseAllOf.md +0 -21
- data/docs/PaymentTokenizationResponseAllOf.md +0 -31
- data/docs/PaymentUrlDetailResponseAllOf.md +0 -17
- data/docs/PaymentUrlResponseAllOf.md +0 -23
- data/docs/Primary.md +0 -17
- data/docs/Properties.md +0 -25
- data/docs/RecurringPaymentDetailsResponseAllOf.md +0 -17
- data/docs/RemoveFraudBlockedItemsResponse.md +0 -23
- data/docs/RemoveFraudBlockedItemsResponseAllOf.md +0 -17
- data/docs/SharedSecretConfigurationRequest.md +0 -17
- data/docs/SharedSecretConfigurationResponse.md +0 -29
- data/docs/SharedSecretConfigurationResponseAllOf.md +0 -23
- data/docs/StoreBrandingStyleConfiguration.md +0 -21
- data/docs/StoreEmailSettings.md +0 -19
- data/docs/StoreEmailSettingsResult.md +0 -19
- data/docs/StoreFraudSettings.md +0 -19
- data/docs/StoreFraudSettingsResult.md +0 -21
- data/docs/StoreUrlConfiguration.md +0 -31
- data/docs/StoreUrlConfigurationRequest.md +0 -17
- data/docs/StoreUrlConfigurationResponse.md +0 -23
- data/docs/StoreUrlConfigurationResponseAllOf.md +0 -17
- data/docs/StoreUrlConfigurationResult.md +0 -19
- data/docs/TeleCheckCBPPaymentMethodAllOf.md +0 -17
- data/docs/Text.md +0 -19
- data/docs/Title.md +0 -17
- data/docs/TokenIdentifier.md +0 -17
- data/docs/TopBar.md +0 -17
- data/docs/TransactionResponseAllOf.md +0 -59
- data/docs/UpdateEmailSettingsRequest.md +0 -17
- data/docs/UpdateEmailSettingsResponse.md +0 -23
- data/docs/UpdateEmailSettingsResponseAllOf.md +0 -17
- data/docs/UpdateFraudSettingsRequest.md +0 -17
- data/docs/UpdateFraudSettingsResponse.md +0 -23
- data/docs/UpdateFraudSettingsResponseAllOf.md +0 -17
- data/first_data_gateway-1.7.0.gem +0 -0
- data/lib/openapi_client/api/card_info_lookup_api.rb +0 -125
- data/lib/openapi_client/api/card_verification_api.rb +0 -125
- data/lib/openapi_client/models/background.rb +0 -239
- data/lib/openapi_client/models/background_color.rb +0 -230
- data/lib/openapi_client/models/block_card.rb +0 -248
- data/lib/openapi_client/models/block_ip_address.rb +0 -223
- data/lib/openapi_client/models/blocked_card_number.rb +0 -223
- data/lib/openapi_client/models/blocked_items.rb +0 -239
- data/lib/openapi_client/models/body.rb +0 -229
- data/lib/openapi_client/models/borders.rb +0 -229
- data/lib/openapi_client/models/button.rb +0 -221
- data/lib/openapi_client/models/classic_mode.rb +0 -293
- data/lib/openapi_client/models/clearing_details.rb +0 -344
- data/lib/openapi_client/models/clearing_element.rb +0 -233
- data/lib/openapi_client/models/client_registration_all_of.rb +0 -212
- data/lib/openapi_client/models/combined_mode.rb +0 -239
- data/lib/openapi_client/models/connect_mode.rb +0 -36
- data/lib/openapi_client/models/content.rb +0 -229
- data/lib/openapi_client/models/delete_branding_style_configuration_response.rb +0 -259
- data/lib/openapi_client/models/delete_branding_style_configuration_response_all_of.rb +0 -222
- data/lib/openapi_client/models/email_notification_data.rb +0 -253
- data/lib/openapi_client/models/font_face.rb +0 -39
- data/lib/openapi_client/models/font_properties.rb +0 -258
- data/lib/openapi_client/models/font_weight.rb +0 -36
- data/lib/openapi_client/models/footer.rb +0 -229
- data/lib/openapi_client/models/fraud_settings.rb +0 -241
- data/lib/openapi_client/models/fraud_settings_response.rb +0 -329
- data/lib/openapi_client/models/fraud_settings_response_all_of.rb +0 -291
- data/lib/openapi_client/models/funding_transaction_type_all_of.rb +0 -216
- data/lib/openapi_client/models/header.rb +0 -229
- data/lib/openapi_client/models/hover.rb +0 -229
- data/lib/openapi_client/models/maximum_purchase_amount.rb +0 -233
- data/lib/openapi_client/models/mobile.rb +0 -222
- data/lib/openapi_client/models/order_response_all_of.rb +0 -251
- data/lib/openapi_client/models/payment_registration_all_of.rb +0 -257
- data/lib/openapi_client/models/payment_token_update_response_all_of.rb +0 -267
- data/lib/openapi_client/models/payment_url_detail_response_all_of.rb +0 -214
- data/lib/openapi_client/models/primary.rb +0 -229
- data/lib/openapi_client/models/properties.rb +0 -285
- data/lib/openapi_client/models/recurring_payment_details_response_all_of.rb +0 -211
- data/lib/openapi_client/models/shared_secret_configuration_request.rb +0 -239
- data/lib/openapi_client/models/shared_secret_configuration_response.rb +0 -280
- data/lib/openapi_client/models/shared_secret_configuration_response_all_of.rb +0 -242
- data/lib/openapi_client/models/store_branding_style_configuration.rb +0 -235
- data/lib/openapi_client/models/store_email_settings.rb +0 -232
- data/lib/openapi_client/models/store_email_settings_result.rb +0 -223
- data/lib/openapi_client/models/store_fraud_settings_result.rb +0 -232
- data/lib/openapi_client/models/store_url_configuration.rb +0 -287
- data/lib/openapi_client/models/store_url_configuration_request.rb +0 -214
- data/lib/openapi_client/models/store_url_configuration_response.rb +0 -251
- data/lib/openapi_client/models/store_url_configuration_response_all_of.rb +0 -213
- data/lib/openapi_client/models/store_url_configuration_result.rb +0 -222
- data/lib/openapi_client/models/tele_check_cbp_payment_method_all_of.rb +0 -216
- data/lib/openapi_client/models/text.rb +0 -221
- data/lib/openapi_client/models/title.rb +0 -229
- data/lib/openapi_client/models/token_identifier.rb +0 -213
- data/lib/openapi_client/models/top_bar.rb +0 -229
- data/lib/openapi_client/models/transaction_response_all_of.rb +0 -502
- data/lib/openapi_client/models/update_email_settings_response_all_of.rb +0 -213
- data/lib/openapi_client/models/update_fraud_settings_request.rb +0 -214
- data/lib/openapi_client/models/update_fraud_settings_response.rb +0 -251
- data/lib/openapi_client/models/update_fraud_settings_response_all_of.rb +0 -213
- data/spec/api/card_info_lookup_api_spec.rb +0 -53
- data/spec/api/card_verification_api_spec.rb +0 -53
- data/spec/models/background_color_spec.rb +0 -53
- data/spec/models/background_spec.rb +0 -59
- data/spec/models/block_card_spec.rb +0 -53
- data/spec/models/branding_style_configuration_request_spec.rb +0 -41
- data/spec/models/branding_style_configuration_response_all_of_spec.rb +0 -41
- data/spec/models/branding_style_configuration_response_spec.rb +0 -59
- data/spec/models/classic_mode_spec.rb +0 -95
- data/spec/models/clearing_details_spec.rb +0 -65
- data/spec/models/client_registration_all_of_spec.rb +0 -41
- data/spec/models/combined_mode_spec.rb +0 -59
- data/spec/models/connect_mode_spec.rb +0 -35
- data/spec/models/country_profile_spec.rb +0 -41
- data/spec/models/customer_address_all_of_spec.rb +0 -41
- data/spec/models/delete_branding_style_configuration_response_all_of_spec.rb +0 -47
- data/spec/models/delete_branding_style_configuration_response_spec.rb +0 -65
- data/spec/models/disbursement_transaction_type_all_of_spec.rb +0 -41
- data/spec/models/email_notification_data_spec.rb +0 -65
- data/spec/models/error_response_all_of_spec.rb +0 -41
- data/spec/models/font_properties_spec.rb +0 -59
- data/spec/models/fraud_settings_response_all_of_spec.rb +0 -83
- data/spec/models/fraud_settings_response_spec.rb +0 -101
- data/spec/models/fraud_settings_spec.rb +0 -59
- data/spec/models/funding_transaction_type_all_of_spec.rb +0 -41
- data/spec/models/header_spec.rb +0 -41
- data/spec/models/hover_spec.rb +0 -41
- data/spec/models/initiate_clearing_response_all_of_spec.rb +0 -57
- data/spec/models/lockout_time_spec.rb +0 -47
- data/spec/models/maximum_purchase_amount_spec.rb +0 -47
- data/spec/models/mobile_header_area_spec.rb +0 -41
- data/spec/models/mobile_spec.rb +0 -47
- data/spec/models/order_response_all_of_spec.rb +0 -65
- data/spec/models/payment_schedules_response_all_of_spec.rb +0 -57
- data/spec/models/payment_token_update_response_all_of_spec.rb +0 -57
- data/spec/models/payment_tokenization_response_all_of_spec.rb +0 -87
- data/spec/models/payment_url_detail_response_all_of_spec.rb +0 -41
- data/spec/models/payment_url_response_all_of_spec.rb +0 -63
- data/spec/models/primary_spec.rb +0 -41
- data/spec/models/recurring_payment_details_response_all_of_spec.rb +0 -41
- data/spec/models/remove_fraud_blocked_items_response_all_of_spec.rb +0 -41
- data/spec/models/remove_fraud_blocked_items_response_spec.rb +0 -59
- data/spec/models/shared_secret_configuration_request_spec.rb +0 -41
- data/spec/models/shared_secret_configuration_response_all_of_spec.rb +0 -59
- data/spec/models/store_branding_style_configuration_spec.rb +0 -53
- data/spec/models/store_email_settings_result_spec.rb +0 -47
- data/spec/models/store_email_settings_spec.rb +0 -47
- data/spec/models/store_fraud_settings_result_spec.rb +0 -53
- data/spec/models/store_fraud_settings_spec.rb +0 -47
- data/spec/models/store_url_configuration_request_spec.rb +0 -41
- data/spec/models/store_url_configuration_response_all_of_spec.rb +0 -41
- data/spec/models/store_url_configuration_response_spec.rb +0 -59
- data/spec/models/store_url_configuration_spec.rb +0 -83
- data/spec/models/tele_check_cbp_payment_method_all_of_spec.rb +0 -41
- data/spec/models/title_spec.rb +0 -41
- data/spec/models/token_identifier_spec.rb +0 -41
- data/spec/models/top_bar_spec.rb +0 -41
- data/spec/models/transaction_response_all_of_spec.rb +0 -175
- data/spec/models/update_email_settings_request_spec.rb +0 -41
- data/spec/models/update_email_settings_response_all_of_spec.rb +0 -41
- data/spec/models/update_email_settings_response_spec.rb +0 -59
- data/spec/models/update_fraud_settings_request_spec.rb +0 -41
- data/spec/models/update_fraud_settings_response_all_of_spec.rb +0 -41
@@ -1,17 +0,0 @@
|
|
1
|
-
# OpenapiClient::UpdateEmailSettingsRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**stores** | [**Array<StoreEmailSettings>**](StoreEmailSettings.md) | |
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'OpenapiClient'
|
13
|
-
|
14
|
-
instance = OpenapiClient::UpdateEmailSettingsRequest.new(stores: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# OpenapiClient::UpdateEmailSettingsResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**client_request_id** | **String** | Echoes back the value in the request header for tracking. | [optional]
|
8
|
-
**api_trace_id** | **String** | Request identifier in API, can be used to request logs from the support team. | [optional]
|
9
|
-
**response_type** | [**ResponseType**](ResponseType.md) | | [optional]
|
10
|
-
**stores** | [**Array<StoreEmailSettingsResult>**](StoreEmailSettingsResult.md) | | [optional]
|
11
|
-
|
12
|
-
## Code Sample
|
13
|
-
|
14
|
-
```ruby
|
15
|
-
require 'OpenapiClient'
|
16
|
-
|
17
|
-
instance = OpenapiClient::UpdateEmailSettingsResponse.new(client_request_id: 30dd879c-ee2f-11db-8314-0800200c9a66,
|
18
|
-
api_trace_id: rrt-0bd552c12342d3448-b-ea-1142-12938318-7,
|
19
|
-
response_type: null,
|
20
|
-
stores: [{"id":"12345500000","status":"SUCCESS. Email settings was updated successfully."},{"id":"1234550000044","status":"SUCCESS. Email settings was updated successfully."}])
|
21
|
-
```
|
22
|
-
|
23
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# OpenapiClient::UpdateEmailSettingsResponseAllOf
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**stores** | [**Array<StoreEmailSettingsResult>**](StoreEmailSettingsResult.md) | | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'OpenapiClient'
|
13
|
-
|
14
|
-
instance = OpenapiClient::UpdateEmailSettingsResponseAllOf.new(stores: [{"id":"12345500000","status":"SUCCESS. Email settings was updated successfully."},{"id":"1234550000044","status":"SUCCESS. Email settings was updated successfully."}])
|
15
|
-
```
|
16
|
-
|
17
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# OpenapiClient::UpdateFraudSettingsRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**stores** | [**Array<StoreFraudSettings>**](StoreFraudSettings.md) | | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'OpenapiClient'
|
13
|
-
|
14
|
-
instance = OpenapiClient::UpdateFraudSettingsRequest.new(stores: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# OpenapiClient::UpdateFraudSettingsResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**client_request_id** | **String** | Echoes back the value in the request header for tracking. | [optional]
|
8
|
-
**api_trace_id** | **String** | Request identifier in API, can be used to request logs from the support team. | [optional]
|
9
|
-
**response_type** | [**ResponseType**](ResponseType.md) | | [optional]
|
10
|
-
**stores** | [**Array<StoreFraudSettingsResult>**](StoreFraudSettingsResult.md) | | [optional]
|
11
|
-
|
12
|
-
## Code Sample
|
13
|
-
|
14
|
-
```ruby
|
15
|
-
require 'OpenapiClient'
|
16
|
-
|
17
|
-
instance = OpenapiClient::UpdateFraudSettingsResponse.new(client_request_id: 30dd879c-ee2f-11db-8314-0800200c9a66,
|
18
|
-
api_trace_id: rrt-0bd552c12342d3448-b-ea-1142-12938318-7,
|
19
|
-
response_type: null,
|
20
|
-
stores: [{"id":"12345500000","blockedCardIdentifier":{"tokenIdentifier":"570e66b0d4fd91b27155a36911220e0e98d0db7e22fcf0b86544fdf175c707d0"},"status":"SUCCESS. Fraud settings was updated successfully."},{"id":"1234550000044","blockedCardIdentifier":{"tokenIdentifier":"8535993dsrfs9898fssdfgddse9898fv9dfu8f98d0db7e22fcf0b86544fdf178"},"status":"SUCCESS. Fraud settings was updated successfully."}])
|
21
|
-
```
|
22
|
-
|
23
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# OpenapiClient::UpdateFraudSettingsResponseAllOf
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**stores** | [**Array<StoreFraudSettingsResult>**](StoreFraudSettingsResult.md) | | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'OpenapiClient'
|
13
|
-
|
14
|
-
instance = OpenapiClient::UpdateFraudSettingsResponseAllOf.new(stores: [{"id":"12345500000","blockedCardIdentifier":{"tokenIdentifier":"570e66b0d4fd91b27155a36911220e0e98d0db7e22fcf0b86544fdf175c707d0"},"status":"SUCCESS. Fraud settings was updated successfully."},{"id":"1234550000044","blockedCardIdentifier":{"tokenIdentifier":"8535993dsrfs9898fssdfgddse9898fv9dfu8f98d0db7e22fcf0b86544fdf178"},"status":"SUCCESS. Fraud settings was updated successfully."}])
|
15
|
-
```
|
16
|
-
|
17
|
-
|
Binary file
|
@@ -1,125 +0,0 @@
|
|
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: 6.10.1.20200226.002
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module OpenapiClient
|
16
|
-
class CardInfoLookupApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Card information lookup.
|
23
|
-
# Use this to look up card related information such as issuer country, card function and card brand.
|
24
|
-
# @param content_type [String] Content type.
|
25
|
-
# @param client_request_id [String] A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.
|
26
|
-
# @param api_key [String] Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
|
27
|
-
# @param timestamp [Integer] Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
28
|
-
# @param card_info_lookup_request [CardInfoLookupRequest] Accepted request type: CardInfoLookupRequest.
|
29
|
-
# @param [Hash] opts the optional parameters
|
30
|
-
# @option opts [String] :message_signature Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.
|
31
|
-
# @option opts [String] :region Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
|
32
|
-
# @return [CardInfoLookupResponse]
|
33
|
-
def card_info_lookup(content_type, client_request_id, api_key, timestamp, card_info_lookup_request, opts = {})
|
34
|
-
data, _status_code, _headers = card_info_lookup_with_http_info(content_type, client_request_id, api_key, timestamp, card_info_lookup_request, opts)
|
35
|
-
data
|
36
|
-
end
|
37
|
-
|
38
|
-
# Card information lookup.
|
39
|
-
# Use this to look up card related information such as issuer country, card function and card brand.
|
40
|
-
# @param content_type [String] Content type.
|
41
|
-
# @param client_request_id [String] A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.
|
42
|
-
# @param api_key [String] Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
|
43
|
-
# @param timestamp [Integer] Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
44
|
-
# @param card_info_lookup_request [CardInfoLookupRequest] Accepted request type: CardInfoLookupRequest.
|
45
|
-
# @param [Hash] opts the optional parameters
|
46
|
-
# @option opts [String] :message_signature Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.
|
47
|
-
# @option opts [String] :region Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
|
48
|
-
# @return [Array<(CardInfoLookupResponse, Integer, Hash)>] CardInfoLookupResponse data, response status code and response headers
|
49
|
-
def card_info_lookup_with_http_info(content_type, client_request_id, api_key, timestamp, card_info_lookup_request, opts = {})
|
50
|
-
if @api_client.config.debugging
|
51
|
-
@api_client.config.logger.debug 'Calling API: CardInfoLookupApi.card_info_lookup ...'
|
52
|
-
end
|
53
|
-
# verify the required parameter 'content_type' is set
|
54
|
-
if @api_client.config.client_side_validation && content_type.nil?
|
55
|
-
fail ArgumentError, "Missing the required parameter 'content_type' when calling CardInfoLookupApi.card_info_lookup"
|
56
|
-
end
|
57
|
-
# verify enum value
|
58
|
-
allowable_values = ["application/json"]
|
59
|
-
if @api_client.config.client_side_validation && !allowable_values.include?(content_type)
|
60
|
-
fail ArgumentError, "invalid value for \"content_type\", must be one of #{allowable_values}"
|
61
|
-
end
|
62
|
-
# verify the required parameter 'client_request_id' is set
|
63
|
-
if @api_client.config.client_side_validation && client_request_id.nil?
|
64
|
-
fail ArgumentError, "Missing the required parameter 'client_request_id' when calling CardInfoLookupApi.card_info_lookup"
|
65
|
-
end
|
66
|
-
# verify the required parameter 'api_key' is set
|
67
|
-
if @api_client.config.client_side_validation && api_key.nil?
|
68
|
-
fail ArgumentError, "Missing the required parameter 'api_key' when calling CardInfoLookupApi.card_info_lookup"
|
69
|
-
end
|
70
|
-
# verify the required parameter 'timestamp' is set
|
71
|
-
if @api_client.config.client_side_validation && timestamp.nil?
|
72
|
-
fail ArgumentError, "Missing the required parameter 'timestamp' when calling CardInfoLookupApi.card_info_lookup"
|
73
|
-
end
|
74
|
-
# verify the required parameter 'card_info_lookup_request' is set
|
75
|
-
if @api_client.config.client_side_validation && card_info_lookup_request.nil?
|
76
|
-
fail ArgumentError, "Missing the required parameter 'card_info_lookup_request' when calling CardInfoLookupApi.card_info_lookup"
|
77
|
-
end
|
78
|
-
# resource path
|
79
|
-
local_var_path = '/card-information'
|
80
|
-
|
81
|
-
# query parameters
|
82
|
-
query_params = opts[:query_params] || {}
|
83
|
-
|
84
|
-
# header parameters
|
85
|
-
header_params = opts[:header_params] || {}
|
86
|
-
# HTTP header 'Accept' (if needed)
|
87
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
88
|
-
# HTTP header 'Content-Type'
|
89
|
-
# header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
90
|
-
# header_params[:'Content-Type'] = content_type
|
91
|
-
header_params[:'Client-Request-Id'] = client_request_id
|
92
|
-
header_params[:'Api-Key'] = api_key
|
93
|
-
header_params[:'Timestamp'] = timestamp
|
94
|
-
header_params[:'Message-Signature'] = opts[:'message_signature'] if !opts[:'message_signature'].nil?
|
95
|
-
header_params[:'Region'] = opts[:'region'] if !opts[:'region'].nil?
|
96
|
-
|
97
|
-
# form parameters
|
98
|
-
form_params = opts[:form_params] || {}
|
99
|
-
|
100
|
-
# http body (model)
|
101
|
-
post_body = opts[:body] || @api_client.object_to_http_body(card_info_lookup_request)
|
102
|
-
|
103
|
-
# return_type
|
104
|
-
return_type = opts[:return_type] || 'CardInfoLookupResponse'
|
105
|
-
|
106
|
-
# auth_names
|
107
|
-
auth_names = opts[:auth_names] || []
|
108
|
-
|
109
|
-
new_options = opts.merge(
|
110
|
-
:header_params => header_params,
|
111
|
-
:query_params => query_params,
|
112
|
-
:form_params => form_params,
|
113
|
-
:body => post_body,
|
114
|
-
:auth_names => auth_names,
|
115
|
-
:return_type => 'CardInfoLookupResponse',
|
116
|
-
:default_error_type => 'ErrorResponse')
|
117
|
-
|
118
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
119
|
-
if @api_client.config.debugging
|
120
|
-
@api_client.config.logger.debug "API called: CardInfoLookupApi#card_info_lookup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
121
|
-
end
|
122
|
-
return data, status_code, headers
|
123
|
-
end
|
124
|
-
end
|
125
|
-
end
|
@@ -1,125 +0,0 @@
|
|
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: 6.10.1.20200226.002
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module OpenapiClient
|
16
|
-
class CardVerificationApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Verify a payment card.
|
23
|
-
# Use this to perform card verification for a payment card.
|
24
|
-
# @param content_type [String] Content type.
|
25
|
-
# @param client_request_id [String] A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.
|
26
|
-
# @param api_key [String] Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
|
27
|
-
# @param timestamp [Integer] Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
28
|
-
# @param card_verification_request [CardVerificationRequest] Accepted request type: CardVerificationRequest.
|
29
|
-
# @param [Hash] opts the optional parameters
|
30
|
-
# @option opts [String] :message_signature Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.
|
31
|
-
# @option opts [String] :region Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
|
32
|
-
# @return [TransactionResponse]
|
33
|
-
def verify_card(content_type, client_request_id, api_key, timestamp, card_verification_request, opts = {})
|
34
|
-
data, _status_code, _headers = verify_card_with_http_info(content_type, client_request_id, api_key, timestamp, card_verification_request, opts)
|
35
|
-
data
|
36
|
-
end
|
37
|
-
|
38
|
-
# Verify a payment card.
|
39
|
-
# Use this to perform card verification for a payment card.
|
40
|
-
# @param content_type [String] Content type.
|
41
|
-
# @param client_request_id [String] A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.
|
42
|
-
# @param api_key [String] Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
|
43
|
-
# @param timestamp [Integer] Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
|
44
|
-
# @param card_verification_request [CardVerificationRequest] Accepted request type: CardVerificationRequest.
|
45
|
-
# @param [Hash] opts the optional parameters
|
46
|
-
# @option opts [String] :message_signature Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.
|
47
|
-
# @option opts [String] :region Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
|
48
|
-
# @return [Array<(TransactionResponse, Integer, Hash)>] TransactionResponse data, response status code and response headers
|
49
|
-
def verify_card_with_http_info(content_type, client_request_id, api_key, timestamp, card_verification_request, opts = {})
|
50
|
-
if @api_client.config.debugging
|
51
|
-
@api_client.config.logger.debug 'Calling API: CardVerificationApi.verify_card ...'
|
52
|
-
end
|
53
|
-
# verify the required parameter 'content_type' is set
|
54
|
-
if @api_client.config.client_side_validation && content_type.nil?
|
55
|
-
fail ArgumentError, "Missing the required parameter 'content_type' when calling CardVerificationApi.verify_card"
|
56
|
-
end
|
57
|
-
# verify enum value
|
58
|
-
allowable_values = ["application/json"]
|
59
|
-
if @api_client.config.client_side_validation && !allowable_values.include?(content_type)
|
60
|
-
fail ArgumentError, "invalid value for \"content_type\", must be one of #{allowable_values}"
|
61
|
-
end
|
62
|
-
# verify the required parameter 'client_request_id' is set
|
63
|
-
if @api_client.config.client_side_validation && client_request_id.nil?
|
64
|
-
fail ArgumentError, "Missing the required parameter 'client_request_id' when calling CardVerificationApi.verify_card"
|
65
|
-
end
|
66
|
-
# verify the required parameter 'api_key' is set
|
67
|
-
if @api_client.config.client_side_validation && api_key.nil?
|
68
|
-
fail ArgumentError, "Missing the required parameter 'api_key' when calling CardVerificationApi.verify_card"
|
69
|
-
end
|
70
|
-
# verify the required parameter 'timestamp' is set
|
71
|
-
if @api_client.config.client_side_validation && timestamp.nil?
|
72
|
-
fail ArgumentError, "Missing the required parameter 'timestamp' when calling CardVerificationApi.verify_card"
|
73
|
-
end
|
74
|
-
# verify the required parameter 'card_verification_request' is set
|
75
|
-
if @api_client.config.client_side_validation && card_verification_request.nil?
|
76
|
-
fail ArgumentError, "Missing the required parameter 'card_verification_request' when calling CardVerificationApi.verify_card"
|
77
|
-
end
|
78
|
-
# resource path
|
79
|
-
local_var_path = '/card-verification'
|
80
|
-
|
81
|
-
# query parameters
|
82
|
-
query_params = opts[:query_params] || {}
|
83
|
-
|
84
|
-
# header parameters
|
85
|
-
header_params = opts[:header_params] || {}
|
86
|
-
# HTTP header 'Accept' (if needed)
|
87
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
88
|
-
# HTTP header 'Content-Type'
|
89
|
-
# header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
90
|
-
# header_params[:'Content-Type'] = content_type
|
91
|
-
header_params[:'Client-Request-Id'] = client_request_id
|
92
|
-
header_params[:'Api-Key'] = api_key
|
93
|
-
header_params[:'Timestamp'] = timestamp
|
94
|
-
header_params[:'Message-Signature'] = opts[:'message_signature'] if !opts[:'message_signature'].nil?
|
95
|
-
header_params[:'Region'] = opts[:'region'] if !opts[:'region'].nil?
|
96
|
-
|
97
|
-
# form parameters
|
98
|
-
form_params = opts[:form_params] || {}
|
99
|
-
|
100
|
-
# http body (model)
|
101
|
-
post_body = opts[:body] || @api_client.object_to_http_body(card_verification_request)
|
102
|
-
|
103
|
-
# return_type
|
104
|
-
return_type = opts[:return_type] || 'TransactionResponse'
|
105
|
-
|
106
|
-
# auth_names
|
107
|
-
auth_names = opts[:auth_names] || []
|
108
|
-
|
109
|
-
new_options = opts.merge(
|
110
|
-
:header_params => header_params,
|
111
|
-
:query_params => query_params,
|
112
|
-
:form_params => form_params,
|
113
|
-
:body => post_body,
|
114
|
-
:auth_names => auth_names,
|
115
|
-
:return_type => 'TransactionResponse',
|
116
|
-
:default_error_type => 'ErrorResponse')
|
117
|
-
|
118
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
119
|
-
if @api_client.config.debugging
|
120
|
-
@api_client.config.logger.debug "API called: CardVerificationApi#verify_card\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
121
|
-
end
|
122
|
-
return data, status_code, headers
|
123
|
-
end
|
124
|
-
end
|
125
|
-
end
|
@@ -1,239 +0,0 @@
|
|
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: 6.12.0.20200605.001
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module OpenapiClient
|
16
|
-
# Object contains background style properties.
|
17
|
-
class Background
|
18
|
-
attr_accessor :top_bar
|
19
|
-
|
20
|
-
attr_accessor :body
|
21
|
-
|
22
|
-
attr_accessor :content
|
23
|
-
|
24
|
-
attr_accessor :borders
|
25
|
-
|
26
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
27
|
-
def self.attribute_map
|
28
|
-
{
|
29
|
-
:'top_bar' => :'topBar',
|
30
|
-
:'body' => :'body',
|
31
|
-
:'content' => :'content',
|
32
|
-
:'borders' => :'borders'
|
33
|
-
}
|
34
|
-
end
|
35
|
-
|
36
|
-
# Attribute type mapping.
|
37
|
-
def self.openapi_types
|
38
|
-
{
|
39
|
-
:'top_bar' => :'TopBar',
|
40
|
-
:'body' => :'Body',
|
41
|
-
:'content' => :'Content',
|
42
|
-
:'borders' => :'Borders'
|
43
|
-
}
|
44
|
-
end
|
45
|
-
|
46
|
-
# List of attributes with nullable: true
|
47
|
-
def self.openapi_nullable
|
48
|
-
Set.new([
|
49
|
-
])
|
50
|
-
end
|
51
|
-
|
52
|
-
# Initializes the object
|
53
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
54
|
-
def initialize(attributes = {})
|
55
|
-
if (!attributes.is_a?(Hash))
|
56
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::Background` initialize method"
|
57
|
-
end
|
58
|
-
|
59
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
60
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::Background`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
63
|
-
end
|
64
|
-
h[k.to_sym] = v
|
65
|
-
}
|
66
|
-
|
67
|
-
if attributes.key?(:'top_bar')
|
68
|
-
self.top_bar = attributes[:'top_bar']
|
69
|
-
end
|
70
|
-
|
71
|
-
if attributes.key?(:'body')
|
72
|
-
self.body = attributes[:'body']
|
73
|
-
end
|
74
|
-
|
75
|
-
if attributes.key?(:'content')
|
76
|
-
self.content = attributes[:'content']
|
77
|
-
end
|
78
|
-
|
79
|
-
if attributes.key?(:'borders')
|
80
|
-
self.borders = attributes[:'borders']
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
85
|
-
# @return Array for valid properties with the reasons
|
86
|
-
def list_invalid_properties
|
87
|
-
invalid_properties = Array.new
|
88
|
-
invalid_properties
|
89
|
-
end
|
90
|
-
|
91
|
-
# Check to see if the all the properties in the model are valid
|
92
|
-
# @return true if the model is valid
|
93
|
-
def valid?
|
94
|
-
true
|
95
|
-
end
|
96
|
-
|
97
|
-
# Checks equality by comparing each attribute.
|
98
|
-
# @param [Object] Object to be compared
|
99
|
-
def ==(o)
|
100
|
-
return true if self.equal?(o)
|
101
|
-
self.class == o.class &&
|
102
|
-
top_bar == o.top_bar &&
|
103
|
-
body == o.body &&
|
104
|
-
content == o.content &&
|
105
|
-
borders == o.borders
|
106
|
-
end
|
107
|
-
|
108
|
-
# @see the `==` method
|
109
|
-
# @param [Object] Object to be compared
|
110
|
-
def eql?(o)
|
111
|
-
self == o
|
112
|
-
end
|
113
|
-
|
114
|
-
# Calculates hash code according to all attributes.
|
115
|
-
# @return [Integer] Hash code
|
116
|
-
def hash
|
117
|
-
[top_bar, body, content, borders].hash
|
118
|
-
end
|
119
|
-
|
120
|
-
# Builds the object from hash
|
121
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
122
|
-
# @return [Object] Returns the model itself
|
123
|
-
def self.build_from_hash(attributes)
|
124
|
-
new.build_from_hash(attributes)
|
125
|
-
end
|
126
|
-
|
127
|
-
# Builds the object from hash
|
128
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
129
|
-
# @return [Object] Returns the model itself
|
130
|
-
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
131
|
-
return nil unless attributes.is_a?(Hash)
|
132
|
-
openapi_types.each_pair do |key, type|
|
133
|
-
if type =~ /\AArray<(.*)>/i
|
134
|
-
# check to ensure the input is an array given that the attribute
|
135
|
-
# is documented as an array but the input is not
|
136
|
-
if attributes[attribute_map[key]].is_a?(Array)
|
137
|
-
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
138
|
-
end
|
139
|
-
elsif !attributes[attribute_map[key]].nil?
|
140
|
-
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
141
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
142
|
-
end
|
143
|
-
|
144
|
-
self
|
145
|
-
end
|
146
|
-
|
147
|
-
# Deserializes the data based on type
|
148
|
-
# @param string type Data type
|
149
|
-
# @param string value Value to be deserialized
|
150
|
-
# @return [Object] Deserialized data
|
151
|
-
def _deserialize(type, value)
|
152
|
-
case type.to_sym
|
153
|
-
when :DateTime
|
154
|
-
DateTime.parse(value)
|
155
|
-
when :Date
|
156
|
-
Date.parse(value)
|
157
|
-
when :String
|
158
|
-
value.to_s
|
159
|
-
when :Integer
|
160
|
-
value.to_i
|
161
|
-
when :Float
|
162
|
-
value.to_f
|
163
|
-
when :Boolean
|
164
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
165
|
-
true
|
166
|
-
else
|
167
|
-
false
|
168
|
-
end
|
169
|
-
when :Object
|
170
|
-
# generic object (usually a Hash), return directly
|
171
|
-
value
|
172
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
173
|
-
inner_type = Regexp.last_match[:inner_type]
|
174
|
-
value.map { |v| _deserialize(inner_type, v) }
|
175
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
176
|
-
k_type = Regexp.last_match[:k_type]
|
177
|
-
v_type = Regexp.last_match[:v_type]
|
178
|
-
{}.tap do |hash|
|
179
|
-
value.each do |k, v|
|
180
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
181
|
-
end
|
182
|
-
end
|
183
|
-
else # model
|
184
|
-
klass = OpenapiClient.const_get(type)
|
185
|
-
if klass.respond_to?(:openapi_discriminator_name)
|
186
|
-
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
187
|
-
end
|
188
|
-
|
189
|
-
klass.build_from_hash(value)
|
190
|
-
end
|
191
|
-
end
|
192
|
-
|
193
|
-
# Returns the string representation of the object
|
194
|
-
# @return [String] String presentation of the object
|
195
|
-
def to_s
|
196
|
-
to_hash.to_s
|
197
|
-
end
|
198
|
-
|
199
|
-
# to_body is an alias to to_hash (backward compatibility)
|
200
|
-
# @return [Hash] Returns the object in the form of hash
|
201
|
-
def to_body
|
202
|
-
to_hash
|
203
|
-
end
|
204
|
-
|
205
|
-
# Returns the object in the form of hash
|
206
|
-
# @return [Hash] Returns the object in the form of hash
|
207
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
|
208
|
-
hash = {}
|
209
|
-
attribute_map.each_pair do |attr, param|
|
210
|
-
value = self.send(attr)
|
211
|
-
if value.nil?
|
212
|
-
is_nullable = openapi_nullable.include?(attr)
|
213
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
214
|
-
end
|
215
|
-
|
216
|
-
hash[param] = _to_hash(value)
|
217
|
-
end
|
218
|
-
hash
|
219
|
-
end
|
220
|
-
|
221
|
-
# Outputs non-array value in the form of hash
|
222
|
-
# For object, use to_hash. Otherwise, just return the value
|
223
|
-
# @param [Object] value Any valid value
|
224
|
-
# @return [Hash] Returns the value in the form of hash
|
225
|
-
def _to_hash(value)
|
226
|
-
if value.is_a?(Array)
|
227
|
-
value.compact.map { |v| _to_hash(v) }
|
228
|
-
elsif value.is_a?(Hash)
|
229
|
-
{}.tap do |hash|
|
230
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
231
|
-
end
|
232
|
-
elsif value.respond_to? :to_hash
|
233
|
-
value.to_hash
|
234
|
-
else
|
235
|
-
value
|
236
|
-
end
|
237
|
-
end
|
238
|
-
end
|
239
|
-
end
|