first_data_gateway 1.3.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +1 -1
- data/README.md +260 -26
- data/docs/ACSResponse.md +17 -0
- data/docs/AVSResponse.md +3 -1
- data/docs/AccessTokenRequest.md +21 -0
- data/docs/AccessTokenResponse.md +13 -5
- data/docs/AccountInfoLookupRequest.md +19 -0
- data/docs/AccountVerificationRequest.md +23 -0
- data/docs/AchCreditTransaction.md +17 -0
- data/docs/AchPostAuthTransaction.md +17 -0
- data/docs/AchPostAuthTransactionAllOf.md +17 -0
- data/docs/AchPreAuthTransaction.md +17 -0
- data/docs/AchPreAuthTransactionAllOf.md +17 -0
- data/docs/{Secure3dAuthenticationRequest.md → AchRecurringType.md} +2 -2
- data/docs/AchResponse.md +25 -0
- data/docs/AchReturnTransaction.md +17 -0
- data/docs/AchSaleTransaction.md +17 -0
- data/docs/AchVoidTransaction.md +17 -0
- data/docs/AdditionalDetails.md +9 -1
- data/docs/AirlineTravelRoute.md +1 -1
- data/docs/Amount.md +1 -1
- data/docs/AmountComponents.md +2 -2
- data/docs/AuthenticationApi.md +5 -3
- data/docs/AuthenticationRequest.md +17 -0
- data/docs/AuthenticationResult.md +17 -0
- data/docs/AuthenticationUpdateRequest.md +21 -0
- data/docs/Background.md +23 -0
- data/docs/BackgroundColor.md +21 -0
- data/docs/BancontactQR.md +19 -0
- data/docs/Billing.md +1 -1
- data/docs/BillingAddress.md +1 -1
- data/docs/BlockCard.md +21 -0
- data/docs/BlockDomain.md +17 -0
- data/docs/BlockIPAddress.md +19 -0
- data/docs/BlockName.md +19 -0
- data/docs/BlockedCardNumber.md +19 -0
- data/docs/BlockedItems.md +23 -0
- data/docs/Body.md +17 -0
- data/docs/Borders.md +17 -0
- data/docs/BrandingStyleConfigurationRequest.md +17 -0
- data/docs/BrandingStyleConfigurationResponse.md +23 -0
- data/docs/BrandingStyleConfigurationResponseAllOf.md +17 -0
- data/docs/BrandingStyleConfigurationResult.md +19 -0
- data/docs/Button.md +19 -0
- data/docs/CarRental.md +2 -2
- data/docs/CardInfoLookupResponseAllOf.md +19 -0
- data/docs/ClassicMode.md +35 -0
- data/docs/ClearingDetails.md +25 -0
- data/docs/ClearingElement.md +21 -0
- data/docs/ClientRegistration.md +29 -0
- data/docs/ClientRegistrationAllOf.md +17 -0
- data/docs/CombinedMode.md +23 -0
- data/docs/ConnectMode.md +16 -0
- data/docs/Content.md +17 -0
- data/docs/CountryProfile.md +17 -0
- data/docs/CustomerAddress.md +3 -3
- data/docs/CustomerAddressAllOf.md +17 -0
- data/docs/DCCExchangeRateRequest.md +1 -1
- data/docs/DCCExchangeRateRequestAllOf.md +1 -1
- data/docs/DecryptedApplePay.md +31 -0
- data/docs/DecryptedApplePayWalletPaymentMethod.md +17 -0
- data/docs/DecryptedApplePayWalletPaymentMethodAllOf.md +17 -0
- data/docs/DecryptedGooglePay.md +31 -0
- data/docs/DecryptedGooglePayWalletPaymentMethod.md +17 -0
- data/docs/DecryptedGooglePayWalletPaymentMethodAllOf.md +17 -0
- data/docs/DecryptedSamsungPay.md +31 -0
- data/docs/DecryptedSamsungPayWalletPaymentMethod.md +17 -0
- data/docs/DecryptedSamsungPayWalletPaymentMethodAllOf.md +17 -0
- data/docs/DeleteBrandingStyleConfigurationResponse.md +25 -0
- data/docs/DeleteBrandingStyleConfigurationResponseAllOf.md +19 -0
- data/docs/Device.md +1 -1
- data/docs/DisbursementTransactionType.md +2 -1
- data/docs/DisbursementTransactionTypeAllOf.md +17 -0
- data/docs/EmailNotificationData.md +25 -0
- data/docs/EncryptedSamsungPay.md +19 -0
- data/docs/EncryptedSamsungPayWalletPaymentMethod.md +17 -0
- data/docs/EncryptedSamsungPayWalletPaymentMethodAllOf.md +17 -0
- data/docs/EndpointResponse.md +21 -0
- data/docs/ErrorMessage.md +19 -0
- data/docs/ErrorResponseAllOf.md +17 -0
- data/docs/ExchangeRateResponseAllOf.md +37 -0
- data/docs/Expiration.md +2 -2
- data/docs/FontFace.md +16 -0
- data/docs/FontProperties.md +23 -0
- data/docs/FontWeight.md +16 -0
- data/docs/Footer.md +17 -0
- data/docs/FraudAddress.md +27 -0
- data/docs/FraudDetectApi.md +124 -0
- data/docs/FraudOrder.md +1 -1
- data/docs/FraudRegistration.md +27 -0
- data/docs/FraudRegistrationCard.md +27 -0
- data/docs/FraudRegistrationDevice.md +39 -0
- data/docs/FraudRegistrationDeviceItems.md +27 -0
- data/docs/FraudRegistrationError.md +17 -0
- data/docs/FraudRegistrationResponse.md +27 -0
- data/docs/FraudScore.md +23 -0
- data/docs/FraudSettings.md +23 -0
- data/docs/FraudSettingsResponse.md +37 -0
- data/docs/FraudSettingsResponseAllOf.md +31 -0
- data/docs/FundingTransactionType.md +2 -1
- data/docs/FundingTransactionTypeAllOf.md +17 -0
- data/docs/Header.md +17 -0
- data/docs/Hover.md +17 -0
- data/docs/IdInfo.md +19 -0
- data/docs/IndustrySpecificExtensions.md +3 -1
- data/docs/InformationLookupApi.md +132 -0
- data/docs/InitiateClearingResponse.md +27 -0
- data/docs/InitiateClearingResponseAllOf.md +21 -0
- data/docs/{PaymentIssuerResponse.md → IssuerResponse.md} +2 -2
- data/docs/{DeviceNetworks.md → Items.md} +2 -2
- data/docs/{MerchantLocation.md → Location.md} +3 -3
- data/docs/LockoutTime.md +19 -0
- data/docs/Lodging.md +2 -2
- data/docs/Logo.md +21 -0
- data/docs/MasterpassWalletPaymentMethod.md +19 -0
- data/docs/MasterpassWalletPaymentMethodAllOf.md +19 -0
- data/docs/MaximumPurchaseAmount.md +19 -0
- data/docs/Mcc6012.md +27 -0
- data/docs/Merchant.md +1 -1
- data/docs/{PaymentPayMethod.md → Method.md} +2 -2
- data/docs/Mobile.md +19 -0
- data/docs/MobileHeaderArea.md +17 -0
- data/docs/Order.md +3 -1
- data/docs/OrderApi.md +2 -2
- data/docs/OrderErrorResponse.md +3 -7
- data/docs/OrderResponse.md +3 -7
- data/docs/OrderResponseAllOf.md +25 -0
- data/docs/Payment.md +6 -6
- data/docs/PaymentApi.md +15 -15
- data/docs/PaymentCard.md +0 -2
- data/docs/PaymentCardInfoLookupRequest.md +17 -0
- data/docs/PaymentCardInfoLookupRequestAllOf.md +17 -0
- data/docs/PaymentCardPaymentTokenUpdateRequest.md +21 -0
- data/docs/PaymentCardPreAuthTransaction.md +7 -1
- data/docs/PaymentCardPreAuthTransactionAllOf.md +7 -1
- data/docs/PaymentCardSaleTransaction.md +8 -2
- data/docs/PaymentCardSaleTransactionAllOf.md +8 -2
- data/docs/PaymentCardVerificationRequest.md +17 -0
- data/docs/PaymentCardVerificationRequestAllOf.md +17 -0
- data/docs/PaymentDevice.md +27 -0
- data/docs/PaymentDeviceCreditTransaction.md +17 -0
- data/docs/PaymentDeviceCreditTransactionAllOf.md +17 -0
- data/docs/PaymentDeviceDisbursementTransaction.md +19 -0
- data/docs/PaymentDeviceDisbursementTransactionAllOf.md +19 -0
- data/docs/PaymentDevicePaymentMethod.md +19 -0
- data/docs/PaymentDevicePaymentMethodAllOf.md +19 -0
- data/docs/PaymentDevicePaymentTokenizationRequest.md +17 -0
- data/docs/PaymentDevicePaymentTokenizationRequestAllOf.md +17 -0
- data/docs/PaymentDevicePreAuthTransaction.md +27 -0
- data/docs/PaymentDevicePreAuthTransactionAllOf.md +27 -0
- data/docs/PaymentDeviceSaleTransaction.md +21 -0
- data/docs/PaymentDeviceSaleTransactionAllOf.md +21 -0
- data/docs/PaymentRegistration.md +39 -0
- data/docs/PaymentRegistrationAllOf.md +27 -0
- data/docs/PaymentSchedulesRequest.md +1 -1
- data/docs/PaymentSchedulesResponseAllOf.md +21 -0
- data/docs/PaymentTokenApi.md +132 -2
- data/docs/PaymentTokenInfoLookupRequest.md +17 -0
- data/docs/PaymentTokenInfoLookupRequestAllOf.md +17 -0
- data/docs/PaymentTokenPreAuthTransaction.md +7 -1
- data/docs/PaymentTokenPreAuthTransactionAllOf.md +7 -1
- data/docs/PaymentTokenSaleTransaction.md +5 -1
- data/docs/PaymentTokenSaleTransactionAllOf.md +5 -1
- data/docs/PaymentTokenUpdateResponse.md +27 -0
- data/docs/PaymentTokenUpdateResponseAllOf.md +21 -0
- data/docs/PaymentTokenVerificationRequest.md +17 -0
- data/docs/PaymentTokenVerificationRequestAllOf.md +17 -0
- data/docs/PaymentTokenizationRequest.md +3 -1
- data/docs/PaymentTokenizationResponseAllOf.md +31 -0
- data/docs/PaymentURLApi.md +142 -0
- data/docs/PaymentUrlDetail.md +25 -0
- data/docs/PaymentUrlDetailResponse.md +23 -0
- data/docs/PaymentUrlDetailResponseAllOf.md +17 -0
- data/docs/PaymentUrlRequest.md +1 -1
- data/docs/PaymentUrlResponseAllOf.md +23 -0
- data/docs/PaymentUrlStatus.md +16 -0
- data/docs/{CustomerAddressPhone.md → Phone.md} +2 -2
- data/docs/Primary.md +17 -0
- data/docs/ProcessorData.md +5 -1
- data/docs/Properties.md +25 -0
- data/docs/PurchaseCardsLevel3.md +1 -1
- data/docs/RecurringPaymentDetailsResponse.md +3 -7
- data/docs/RecurringPaymentDetailsResponseAllOf.md +17 -0
- data/docs/RegistrationMethod.md +29 -0
- data/docs/RemoveFraudBlockedItemsResponse.md +23 -0
- data/docs/RemoveFraudBlockedItemsResponseAllOf.md +17 -0
- data/docs/ResponseAmountComponents.md +2 -2
- data/docs/ScoreOnlyRequest.md +1 -1
- data/docs/SecondaryTransaction.md +5 -1
- data/docs/Secure3D10AuthenticationRequest.md +17 -0
- data/docs/Secure3D10AuthenticationRequestAllOf.md +17 -0
- data/docs/{Secure3dAuthenticationVerificationRequest.md → Secure3D10AuthenticationUpdateRequest.md} +5 -3
- data/docs/{Secure3dAuthenticationVerificationRequestAllOf.md → Secure3D10AuthenticationUpdateRequestAllOf.md} +5 -3
- data/docs/Secure3D21AuthenticationRequest.md +23 -0
- data/docs/Secure3D21AuthenticationRequestAllOf.md +23 -0
- data/docs/Secure3D21AuthenticationResult.md +2 -2
- data/docs/Secure3D21AuthenticationResultAllOf.md +2 -2
- data/docs/Secure3D21AuthenticationUpdateRequest.md +19 -0
- data/docs/Secure3D21AuthenticationUpdateRequestAllOf.md +19 -0
- data/docs/Secure3DAuthenticationResponse.md +23 -0
- data/docs/Secure3DAuthenticationResponseParams.md +27 -0
- data/docs/Secure3DAuthenticationResponseSecure3dMethod.md +35 -0
- data/docs/SepaMandate.md +1 -1
- data/docs/SharedSecretConfigurationRequest.md +17 -0
- data/docs/SharedSecretConfigurationResponse.md +29 -0
- data/docs/SharedSecretConfigurationResponseAllOf.md +23 -0
- data/docs/{FraudOrderShipToAddress.md → ShipToAddress.md} +2 -2
- data/docs/StoreBrandingStyleConfiguration.md +21 -0
- data/docs/StoreEmailSettings.md +19 -0
- data/docs/StoreEmailSettingsResult.md +19 -0
- data/docs/StoreFraudSettings.md +19 -0
- data/docs/StoreFraudSettingsResult.md +21 -0
- data/docs/StoreUrlConfiguration.md +31 -0
- data/docs/StoreUrlConfigurationRequest.md +17 -0
- data/docs/StoreUrlConfigurationResponse.md +23 -0
- data/docs/StoreUrlConfigurationResponseAllOf.md +17 -0
- data/docs/StoreUrlConfigurationResult.md +19 -0
- data/docs/StoredCredential.md +1 -1
- data/docs/TeleCheckAchPaymentMethod.md +53 -0
- data/docs/TeleCheckAchPaymentMethodAchBillTo.md +35 -0
- data/docs/TeleCheckCBPPaymentMethod.md +17 -0
- data/docs/TeleCheckCBPPaymentMethodAllOf.md +17 -0
- data/docs/TeleCheckICAPaymentMethod.md +21 -0
- data/docs/TeleCheckICAPaymentMethodAllOf.md +21 -0
- data/docs/Text.md +19 -0
- data/docs/Title.md +17 -0
- data/docs/TokenIdentifier.md +17 -0
- data/docs/TopBar.md +17 -0
- data/docs/TransactionErrorResponse.md +8 -4
- data/docs/TransactionResponse.md +9 -5
- data/docs/TransactionResponseAllOf.md +59 -0
- data/docs/UnionPayAuthenticationUpdateRequest.md +19 -0
- data/docs/UnionPayAuthenticationUpdateRequestAllOf.md +19 -0
- data/docs/UpdateEmailSettingsRequest.md +17 -0
- data/docs/UpdateEmailSettingsResponse.md +23 -0
- data/docs/UpdateEmailSettingsResponseAllOf.md +17 -0
- data/docs/UpdateFraudSettingsRequest.md +17 -0
- data/docs/UpdateFraudSettingsResponse.md +23 -0
- data/docs/UpdateFraudSettingsResponseAllOf.md +17 -0
- data/docs/UpdatePaymentToken.md +23 -0
- data/docs/UsePaymentToken.md +5 -1
- data/docs/{PaymentVerification3ds.md → Verification3ds.md} +2 -2
- data/docs/VerificationApi.md +132 -0
- data/docs/{PaymentVerificationAvs.md → VerificationAvs.md} +2 -2
- data/docs/{PaymentVerificationCvv.md → VerificationCvv.md} +2 -2
- data/docs/VoidPreAuthTransactions.md +17 -0
- data/docs/VoidTransaction.md +2 -1
- data/docs/VoidTransactionAllOf.md +17 -0
- data/docs/WalletPreAuthTransaction.md +3 -1
- data/docs/WalletPreAuthTransactionAllOf.md +3 -1
- data/first_data_gateway-1.7.0.gem +0 -0
- data/first_data_gateway.gemspec +2 -3
- data/git_push.sh +10 -7
- data/lib/openapi_client.rb +199 -29
- data/lib/openapi_client/.DS_Store +0 -0
- data/lib/openapi_client/api/authentication_api.rb +18 -10
- data/lib/openapi_client/api/card_info_lookup_api.rb +2 -2
- data/lib/openapi_client/api/card_verification_api.rb +2 -2
- data/lib/openapi_client/api/currency_conversion_api.rb +7 -7
- data/lib/openapi_client/api/fraud_detect_api.rb +214 -10
- data/lib/openapi_client/api/information_lookup_api.rb +228 -0
- data/lib/openapi_client/api/order_api.rb +15 -16
- data/lib/openapi_client/api/payment_api.rb +43 -47
- data/lib/openapi_client/api/payment_schedules_api.rb +20 -21
- data/lib/openapi_client/api/payment_token_api.rb +226 -13
- data/lib/openapi_client/api/payment_url_api.rb +238 -7
- data/lib/openapi_client/api/verification_api.rb +228 -0
- data/lib/openapi_client/api_client.rb +51 -64
- data/lib/openapi_client/api_error.rb +2 -2
- data/lib/openapi_client/configuration.rb +6 -9
- data/lib/openapi_client/models/access_token_request.rb +248 -0
- data/lib/openapi_client/models/access_token_response.rb +86 -65
- data/lib/openapi_client/models/{authentication_verification_request.rb → account_info_lookup_request.rb} +44 -48
- data/lib/openapi_client/models/account_updater_response.rb +26 -11
- data/lib/openapi_client/models/{union_pay_authentication_verification_request.rb → account_verification_request.rb} +54 -79
- data/lib/openapi_client/models/ach_credit_transaction.rb +229 -0
- data/lib/openapi_client/models/ach_post_auth_transaction.rb +229 -0
- data/lib/openapi_client/models/ach_post_auth_transaction_all_of.rb +216 -0
- data/lib/openapi_client/models/ach_pre_auth_transaction.rb +229 -0
- data/lib/openapi_client/models/ach_pre_auth_transaction_all_of.rb +216 -0
- data/lib/openapi_client/models/ach_recurring_type.rb +36 -0
- data/lib/openapi_client/models/ach_response.rb +313 -0
- data/lib/openapi_client/models/ach_return_transaction.rb +229 -0
- data/lib/openapi_client/models/ach_sale_transaction.rb +229 -0
- data/lib/openapi_client/models/ach_void_transaction.rb +229 -0
- data/lib/openapi_client/models/acs_response.rb +213 -0
- data/lib/openapi_client/models/additional_amount_rate.rb +26 -11
- data/lib/openapi_client/models/additional_details.rb +122 -15
- data/lib/openapi_client/models/additional_transaction_details.rb +28 -13
- data/lib/openapi_client/models/address.rb +26 -11
- data/lib/openapi_client/models/airline.rb +26 -11
- data/lib/openapi_client/models/airline_ancillary_service_category.rb +26 -11
- data/lib/openapi_client/models/airline_travel_route.rb +26 -11
- data/lib/openapi_client/models/ali_pay.rb +26 -11
- data/lib/openapi_client/models/ali_pay_payment_method.rb +27 -13
- data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +26 -11
- data/lib/openapi_client/models/ali_pay_sale_transaction.rb +35 -113
- data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/amount.rb +27 -12
- data/lib/openapi_client/models/amount_components.rb +26 -11
- data/lib/openapi_client/models/authentication_request.rb +223 -0
- data/lib/openapi_client/models/authentication_result.rb +223 -0
- data/lib/openapi_client/models/authentication_update_request.rb +257 -0
- data/lib/openapi_client/models/avs_response.rb +40 -15
- data/lib/openapi_client/models/background.rb +239 -0
- data/lib/openapi_client/models/{authentication_redirect_params.rb → background_color.rb} +49 -37
- data/lib/openapi_client/models/bancontact_qr.rb +277 -0
- data/lib/openapi_client/models/basic_response.rb +26 -11
- data/lib/openapi_client/models/billing.rb +26 -11
- data/lib/openapi_client/models/billing_address.rb +27 -12
- data/lib/openapi_client/models/block_card.rb +248 -0
- data/lib/openapi_client/models/block_domain.rb +213 -0
- data/lib/openapi_client/models/block_ip_address.rb +223 -0
- data/lib/openapi_client/models/block_name.rb +223 -0
- data/lib/openapi_client/models/blocked_card_number.rb +223 -0
- data/lib/openapi_client/models/blocked_items.rb +239 -0
- data/lib/openapi_client/models/body.rb +229 -0
- data/lib/openapi_client/models/borders.rb +229 -0
- data/lib/openapi_client/models/branding_style_configuration_request.rb +214 -0
- data/lib/openapi_client/models/branding_style_configuration_response.rb +250 -0
- data/lib/openapi_client/models/branding_style_configuration_response_all_of.rb +213 -0
- data/lib/openapi_client/models/branding_style_configuration_result.rb +222 -0
- data/lib/openapi_client/models/button.rb +221 -0
- data/lib/openapi_client/models/car_rental.rb +26 -11
- data/lib/openapi_client/models/car_rental_extra_charges.rb +26 -11
- data/lib/openapi_client/models/card.rb +26 -11
- data/lib/openapi_client/models/card_function.rb +1 -1
- data/lib/openapi_client/models/card_info.rb +26 -11
- data/lib/openapi_client/models/card_info_lookup_request.rb +26 -11
- data/lib/openapi_client/models/card_info_lookup_response.rb +28 -12
- data/lib/openapi_client/models/card_info_lookup_response_all_of.rb +258 -0
- data/lib/openapi_client/models/card_verification_request.rb +26 -11
- data/lib/openapi_client/models/china_domestic.rb +26 -11
- data/lib/openapi_client/models/china_domestic_payment_method.rb +27 -13
- data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +26 -11
- data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +35 -113
- data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/classic_mode.rb +293 -0
- data/lib/openapi_client/models/clearing_details.rb +344 -0
- data/lib/openapi_client/models/clearing_element.rb +233 -0
- data/lib/openapi_client/models/client_locale.rb +26 -11
- data/lib/openapi_client/models/client_registration.rb +297 -0
- data/lib/openapi_client/models/client_registration_all_of.rb +212 -0
- data/lib/openapi_client/models/combined_mode.rb +239 -0
- data/lib/openapi_client/models/connect_mode.rb +36 -0
- data/lib/openapi_client/models/contact.rb +26 -11
- data/lib/openapi_client/models/content.rb +229 -0
- data/lib/openapi_client/models/{authentication.rb → country_profile.rb} +36 -31
- data/lib/openapi_client/models/create_payment_token.rb +26 -11
- data/lib/openapi_client/models/currency_conversion.rb +26 -11
- data/lib/openapi_client/models/customer.rb +26 -11
- data/lib/openapi_client/models/customer_address.rb +47 -24
- data/lib/openapi_client/models/customer_address_all_of.rb +211 -0
- data/lib/openapi_client/models/dcc.rb +35 -67
- data/lib/openapi_client/models/dcc_all_of.rb +26 -11
- data/lib/openapi_client/models/dcc_exchange_rate_request.rb +36 -72
- data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +27 -12
- data/lib/openapi_client/models/decrypted_apple_pay.rb +479 -0
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +229 -0
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +216 -0
- data/lib/openapi_client/models/decrypted_google_pay.rb +479 -0
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +229 -0
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +216 -0
- data/lib/openapi_client/models/decrypted_samsung_pay.rb +479 -0
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +229 -0
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +216 -0
- data/lib/openapi_client/models/delete_branding_style_configuration_response.rb +259 -0
- data/lib/openapi_client/models/delete_branding_style_configuration_response_all_of.rb +222 -0
- data/lib/openapi_client/models/device.rb +27 -12
- data/lib/openapi_client/models/disbursement.rb +26 -11
- data/lib/openapi_client/models/disbursement_transaction_type.rb +40 -49
- data/lib/openapi_client/models/disbursement_transaction_type_all_of.rb +216 -0
- data/lib/openapi_client/models/document.rb +26 -11
- data/lib/openapi_client/models/dynamic_pricing.rb +45 -68
- data/lib/openapi_client/models/dynamic_pricing_all_of.rb +38 -14
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +35 -71
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +26 -11
- data/lib/openapi_client/models/email_notification_data.rb +253 -0
- data/lib/openapi_client/models/encrypted_apple_pay.rb +26 -11
- data/lib/openapi_client/models/encrypted_apple_pay_header.rb +26 -11
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +35 -31
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +26 -11
- data/lib/openapi_client/models/encrypted_google_pay.rb +26 -11
- data/lib/openapi_client/models/encrypted_google_pay_data.rb +26 -11
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +35 -31
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +26 -11
- data/lib/openapi_client/models/encrypted_samsung_pay.rb +266 -0
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +229 -0
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +216 -0
- data/lib/openapi_client/models/endpoint_response.rb +267 -0
- data/lib/openapi_client/models/error.rb +26 -11
- data/lib/openapi_client/models/error_details.rb +26 -11
- data/lib/openapi_client/models/error_message.rb +223 -0
- data/lib/openapi_client/models/error_response.rb +28 -12
- data/lib/openapi_client/models/{billing_address_phone.rb → error_response_all_of.rb} +36 -33
- data/lib/openapi_client/models/exchange_rate_request.rb +26 -11
- data/lib/openapi_client/models/exchange_rate_response.rb +28 -12
- data/lib/openapi_client/models/exchange_rate_response_all_of.rb +312 -0
- data/lib/openapi_client/models/expiration.rb +34 -19
- data/lib/openapi_client/models/font_face.rb +39 -0
- data/lib/openapi_client/models/font_properties.rb +258 -0
- data/lib/openapi_client/models/font_weight.rb +36 -0
- data/lib/openapi_client/models/footer.rb +229 -0
- data/lib/openapi_client/models/{merchant_location_merchant_address.rb → fraud_address.rb} +34 -19
- data/lib/openapi_client/models/fraud_order.rb +38 -13
- data/lib/openapi_client/models/fraud_order_items.rb +31 -14
- data/lib/openapi_client/models/fraud_registration.rb +274 -0
- data/lib/openapi_client/models/fraud_registration_card.rb +263 -0
- data/lib/openapi_client/models/fraud_registration_device.rb +390 -0
- data/lib/openapi_client/models/fraud_registration_device_items.rb +302 -0
- data/lib/openapi_client/models/fraud_registration_error.rb +214 -0
- data/lib/openapi_client/models/fraud_registration_response.rb +294 -0
- data/lib/openapi_client/models/fraud_score.rb +247 -0
- data/lib/openapi_client/models/fraud_settings.rb +241 -0
- data/lib/openapi_client/models/fraud_settings_response.rb +329 -0
- data/lib/openapi_client/models/fraud_settings_response_all_of.rb +291 -0
- data/lib/openapi_client/models/frequency.rb +26 -11
- data/lib/openapi_client/models/funding_transaction_type.rb +40 -49
- data/lib/openapi_client/models/funding_transaction_type_all_of.rb +216 -0
- data/lib/openapi_client/models/header.rb +229 -0
- data/lib/openapi_client/models/hover.rb +229 -0
- data/lib/openapi_client/models/id_info.rb +262 -0
- data/lib/openapi_client/models/industry_specific_extensions.rb +39 -15
- data/lib/openapi_client/models/initiate_clearing_response.rb +304 -0
- data/lib/openapi_client/models/initiate_clearing_response_all_of.rb +267 -0
- data/lib/openapi_client/models/installment_options.rb +26 -11
- data/lib/openapi_client/models/{payment_issuer_response.rb → issuer_response.rb} +29 -14
- data/lib/openapi_client/models/{device_networks.rb → items.rb} +29 -14
- data/lib/openapi_client/models/{merchant_location.rb → location.rb} +30 -15
- data/lib/openapi_client/models/lockout_time.rb +223 -0
- data/lib/openapi_client/models/lodging.rb +26 -11
- data/lib/openapi_client/models/lodging_extra_charges.rb +26 -11
- data/lib/openapi_client/models/logo.rb +282 -0
- data/lib/openapi_client/models/loyalty.rb +26 -11
- data/lib/openapi_client/models/masterpass_wallet_payment_method.rb +274 -0
- data/lib/openapi_client/models/masterpass_wallet_payment_method_all_of.rb +261 -0
- data/lib/openapi_client/models/maximum_purchase_amount.rb +233 -0
- data/lib/openapi_client/models/mcc6012.rb +353 -0
- data/lib/openapi_client/models/merchant.rb +27 -12
- data/lib/openapi_client/models/{payment_pay_method.rb → method.rb} +29 -14
- data/lib/openapi_client/models/mobile.rb +222 -0
- data/lib/openapi_client/models/mobile_header_area.rb +229 -0
- data/lib/openapi_client/models/order.rb +39 -15
- data/lib/openapi_client/models/order_error_response.rb +35 -38
- data/lib/openapi_client/models/order_response.rb +36 -39
- data/lib/openapi_client/models/order_response_all_of.rb +251 -0
- data/lib/openapi_client/models/pay_pal.rb +26 -11
- data/lib/openapi_client/models/pay_pal_payment_method.rb +27 -13
- data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +26 -11
- data/lib/openapi_client/models/payment.rb +35 -20
- data/lib/openapi_client/models/payment_card.rb +34 -28
- data/lib/openapi_client/models/payment_card_credit_transaction.rb +35 -113
- data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +35 -113
- data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +35 -113
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_card_info_lookup_request.rb +229 -0
- data/lib/openapi_client/models/payment_card_info_lookup_request_all_of.rb +216 -0
- data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +35 -113
- data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_card_payment_method.rb +27 -13
- data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_card_payment_token_update_request.rb +265 -0
- data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +35 -91
- data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +65 -113
- data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +60 -15
- data/lib/openapi_client/models/payment_card_sale_transaction.rb +56 -102
- data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +62 -15
- data/lib/openapi_client/models/payment_card_verification_request.rb +229 -0
- data/lib/openapi_client/models/payment_card_verification_request_all_of.rb +216 -0
- data/lib/openapi_client/models/payment_device.rb +351 -0
- data/lib/openapi_client/models/payment_device_credit_transaction.rb +229 -0
- data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +216 -0
- data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +243 -0
- data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +230 -0
- data/lib/openapi_client/models/payment_device_payment_method.rb +233 -0
- data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +225 -0
- data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +229 -0
- data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +216 -0
- data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +280 -0
- data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +267 -0
- data/lib/openapi_client/models/payment_device_sale_transaction.rb +247 -0
- data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +234 -0
- data/lib/openapi_client/models/payment_facilitator.rb +26 -11
- data/lib/openapi_client/models/payment_method_details.rb +26 -11
- data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +35 -253
- data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_method_type.rb +3 -1
- data/lib/openapi_client/models/payment_registration.rb +347 -0
- data/lib/openapi_client/models/payment_registration_all_of.rb +257 -0
- data/lib/openapi_client/models/payment_schedules_error_response.rb +27 -11
- data/lib/openapi_client/models/payment_schedules_request.rb +26 -11
- data/lib/openapi_client/models/payment_schedules_response.rb +28 -12
- data/lib/openapi_client/models/payment_schedules_response_all_of.rb +265 -0
- data/lib/openapi_client/models/payment_token_credit_transaction.rb +35 -113
- data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_token_details.rb +26 -11
- data/lib/openapi_client/models/payment_token_details_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +35 -113
- data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_token_info_lookup_request.rb +229 -0
- data/lib/openapi_client/models/payment_token_info_lookup_request_all_of.rb +216 -0
- data/lib/openapi_client/models/payment_token_payment_method.rb +26 -12
- data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +26 -11
- data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +65 -113
- data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +60 -15
- data/lib/openapi_client/models/payment_token_sale_transaction.rb +55 -115
- data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +48 -15
- data/lib/openapi_client/models/payment_token_update_response.rb +304 -0
- data/lib/openapi_client/models/payment_token_update_response_all_of.rb +267 -0
- data/lib/openapi_client/models/payment_token_verification_request.rb +229 -0
- data/lib/openapi_client/models/payment_token_verification_request_all_of.rb +216 -0
- data/lib/openapi_client/models/payment_tokenization_error_response.rb +27 -11
- data/lib/openapi_client/models/payment_tokenization_request.rb +39 -15
- data/lib/openapi_client/models/payment_tokenization_response.rb +28 -12
- data/lib/openapi_client/models/payment_tokenization_response_all_of.rb +313 -0
- data/lib/openapi_client/models/payment_url_detail.rb +267 -0
- data/lib/openapi_client/models/payment_url_detail_response.rb +252 -0
- data/lib/openapi_client/models/payment_url_detail_response_all_of.rb +214 -0
- data/lib/openapi_client/models/payment_url_error_response.rb +27 -11
- data/lib/openapi_client/models/payment_url_request.rb +26 -11
- data/lib/openapi_client/models/payment_url_response.rb +28 -12
- data/lib/openapi_client/models/payment_url_response_all_of.rb +276 -0
- data/lib/openapi_client/models/payment_url_status.rb +38 -0
- data/lib/openapi_client/models/paypal_credit_transaction.rb +35 -113
- data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/{customer_address_phone.rb → phone.rb} +29 -14
- data/lib/openapi_client/models/post_auth_transaction.rb +35 -66
- data/lib/openapi_client/models/post_auth_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/primary.rb +229 -0
- data/lib/openapi_client/models/primary_transaction.rb +26 -11
- data/lib/openapi_client/models/processor_data.rb +52 -17
- data/lib/openapi_client/models/properties.rb +285 -0
- data/lib/openapi_client/models/purchase_cards.rb +26 -11
- data/lib/openapi_client/models/purchase_cards_level2.rb +26 -11
- data/lib/openapi_client/models/purchase_cards_level3.rb +27 -12
- data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +26 -11
- data/lib/openapi_client/models/receiver_info.rb +64 -40
- data/lib/openapi_client/models/recurring_payment_details.rb +26 -11
- data/lib/openapi_client/models/recurring_payment_details_response.rb +36 -39
- data/lib/openapi_client/models/recurring_payment_details_response_all_of.rb +211 -0
- data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +35 -253
- data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +26 -11
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +35 -91
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +26 -11
- data/lib/openapi_client/models/registration_method.rb +315 -0
- data/lib/openapi_client/models/remove_fraud_blocked_items_response.rb +250 -0
- data/lib/openapi_client/models/remove_fraud_blocked_items_response_all_of.rb +212 -0
- data/lib/openapi_client/models/response_amount_components.rb +26 -11
- data/lib/openapi_client/models/response_amount_components_all_of.rb +26 -11
- data/lib/openapi_client/models/response_type.rb +1 -2
- data/lib/openapi_client/models/return_transaction.rb +35 -66
- data/lib/openapi_client/models/return_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/score_only_request.rb +26 -23
- data/lib/openapi_client/models/score_only_response.rb +36 -31
- data/lib/openapi_client/models/score_only_response_fraud_score.rb +40 -15
- data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +26 -11
- data/lib/openapi_client/models/secondary_transaction.rb +64 -15
- data/lib/openapi_client/models/secure3_d10_authentication_request.rb +229 -0
- data/lib/openapi_client/models/secure3_d10_authentication_request_all_of.rb +216 -0
- data/lib/openapi_client/models/secure3_d10_authentication_result.rb +36 -32
- data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +26 -11
- data/lib/openapi_client/models/{secure3d_authentication_verification_request.rb → secure3_d10_authentication_update_request.rb} +52 -82
- data/lib/openapi_client/models/{secure3d_authentication_verification_request_all_of.rb → secure3_d10_authentication_update_request_all_of.rb} +43 -18
- data/lib/openapi_client/models/secure3_d21_authentication_request.rb +303 -0
- data/lib/openapi_client/models/secure3_d21_authentication_request_all_of.rb +290 -0
- data/lib/openapi_client/models/secure3_d21_authentication_result.rb +40 -34
- data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +29 -12
- data/lib/openapi_client/models/secure3_d21_authentication_update_request.rb +268 -0
- data/lib/openapi_client/models/secure3_d21_authentication_update_request_all_of.rb +255 -0
- data/lib/openapi_client/models/secure3_d_authentication_response.rb +287 -0
- data/lib/openapi_client/models/secure3_d_authentication_response_params.rb +263 -0
- data/lib/openapi_client/models/secure3_d_authentication_response_secure3d_method.rb +223 -0
- data/lib/openapi_client/models/secure3d_response.rb +26 -11
- data/lib/openapi_client/models/sender_info.rb +64 -40
- data/lib/openapi_client/models/sepa.rb +26 -11
- data/lib/openapi_client/models/sepa_mandate.rb +44 -29
- data/lib/openapi_client/models/sepa_payment_method.rb +26 -12
- data/lib/openapi_client/models/sepa_payment_method_all_of.rb +26 -11
- data/lib/openapi_client/models/sepa_sale_transaction.rb +35 -113
- data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +26 -11
- data/lib/openapi_client/models/shared_secret_configuration_request.rb +239 -0
- data/lib/openapi_client/models/shared_secret_configuration_response.rb +280 -0
- data/lib/openapi_client/models/shared_secret_configuration_response_all_of.rb +242 -0
- data/lib/openapi_client/models/{fraud_order_ship_to_address.rb → ship_to_address.rb} +29 -14
- data/lib/openapi_client/models/shipping.rb +26 -11
- data/lib/openapi_client/models/soft_descriptor.rb +26 -11
- data/lib/openapi_client/models/split_shipment.rb +26 -11
- data/lib/openapi_client/models/store_branding_style_configuration.rb +235 -0
- data/lib/openapi_client/models/store_email_settings.rb +232 -0
- data/lib/openapi_client/models/store_email_settings_result.rb +223 -0
- data/lib/openapi_client/models/store_fraud_settings.rb +232 -0
- data/lib/openapi_client/models/store_fraud_settings_result.rb +232 -0
- data/lib/openapi_client/models/store_url_configuration.rb +287 -0
- data/lib/openapi_client/models/store_url_configuration_request.rb +214 -0
- data/lib/openapi_client/models/store_url_configuration_response.rb +251 -0
- data/lib/openapi_client/models/store_url_configuration_response_all_of.rb +213 -0
- data/lib/openapi_client/models/store_url_configuration_result.rb +222 -0
- data/lib/openapi_client/models/stored_credential.rb +32 -17
- data/lib/openapi_client/models/sub_merchant_data.rb +26 -11
- data/lib/openapi_client/models/sub_merchant_split.rb +26 -11
- data/lib/openapi_client/models/tele_check_ach_payment_method.rb +790 -0
- data/lib/openapi_client/models/tele_check_ach_payment_method_ach_bill_to.rb +617 -0
- data/lib/openapi_client/models/{authentication_redirect.rb → tele_check_cbp_payment_method.rb} +56 -56
- data/lib/openapi_client/models/tele_check_cbp_payment_method_all_of.rb +216 -0
- data/lib/openapi_client/models/tele_check_ica_payment_method.rb +327 -0
- data/lib/openapi_client/models/tele_check_ica_payment_method_all_of.rb +292 -0
- data/lib/openapi_client/models/text.rb +221 -0
- data/lib/openapi_client/models/title.rb +229 -0
- data/lib/openapi_client/models/token_identifier.rb +213 -0
- data/lib/openapi_client/models/top_bar.rb +229 -0
- data/lib/openapi_client/models/transaction_error_response.rb +70 -20
- data/lib/openapi_client/models/transaction_origin.rb +1 -1
- data/lib/openapi_client/models/transaction_response.rb +74 -24
- data/lib/openapi_client/models/transaction_response_all_of.rb +502 -0
- data/lib/openapi_client/models/transaction_type.rb +1 -1
- data/lib/openapi_client/models/union_pay_authentication_request.rb +36 -32
- data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +26 -11
- data/lib/openapi_client/models/union_pay_authentication_update_request.rb +261 -0
- data/lib/openapi_client/models/{union_pay_authentication_verification_request_all_of.rb → union_pay_authentication_update_request_all_of.rb} +43 -18
- data/lib/openapi_client/models/update_email_settings_request.rb +219 -0
- data/lib/openapi_client/models/update_email_settings_response.rb +251 -0
- data/lib/openapi_client/models/update_email_settings_response_all_of.rb +213 -0
- data/lib/openapi_client/models/update_fraud_settings_request.rb +214 -0
- data/lib/openapi_client/models/update_fraud_settings_response.rb +251 -0
- data/lib/openapi_client/models/update_fraud_settings_response_all_of.rb +213 -0
- data/lib/openapi_client/models/update_payment_token.rb +256 -0
- data/lib/openapi_client/models/use_payment_token.rb +64 -15
- data/lib/openapi_client/models/{payment_verification3ds.rb → verification3ds.rb} +29 -14
- data/lib/openapi_client/models/{payment_verification_avs.rb → verification_avs.rb} +29 -14
- data/lib/openapi_client/models/{payment_verification_cvv.rb → verification_cvv.rb} +29 -14
- data/lib/openapi_client/models/void_pre_auth_transactions.rb +229 -0
- data/lib/openapi_client/models/void_transaction.rb +40 -56
- data/lib/openapi_client/models/{secure3d_authentication_request.rb → void_transaction_all_of.rb} +27 -21
- data/lib/openapi_client/models/wallet_payment_method.rb +27 -12
- data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +49 -115
- data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +42 -15
- data/lib/openapi_client/models/wallet_sale_transaction.rb +35 -113
- data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +26 -11
- data/lib/openapi_client/version.rb +3 -3
- data/lib/simple/client_context.rb +2 -2
- data/lib/simple/gateway.rb +148 -8
- data/spec/api/authentication_api_spec.rb +3 -2
- data/spec/api/card_info_lookup_api_spec.rb +1 -1
- data/spec/api/card_verification_api_spec.rb +1 -1
- data/spec/api/currency_conversion_api_spec.rb +2 -2
- data/spec/api/fraud_detect_api_spec.rb +38 -2
- data/spec/api/information_lookup_api_spec.rb +71 -0
- data/spec/api/order_api_spec.rb +3 -3
- data/spec/api/payment_api_spec.rb +9 -9
- data/spec/api/payment_schedules_api_spec.rb +2 -2
- data/spec/api/payment_token_api_spec.rb +42 -3
- data/spec/api/payment_url_api_spec.rb +47 -2
- data/spec/api/verification_api_spec.rb +71 -0
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/access_token_request_spec.rb +53 -0
- data/spec/models/access_token_response_spec.rb +29 -9
- data/spec/models/account_info_lookup_request_spec.rb +47 -0
- data/spec/models/account_updater_response_spec.rb +2 -2
- data/spec/models/{authentication_verification_request_spec.rb → account_verification_request_spec.rb} +12 -12
- data/spec/models/{union_pay_authentication_verification_request_spec.rb → ach_credit_transaction_spec.rb} +9 -9
- data/spec/models/ach_post_auth_transaction_all_of_spec.rb +41 -0
- data/spec/models/ach_post_auth_transaction_spec.rb +41 -0
- data/spec/models/ach_pre_auth_transaction_all_of_spec.rb +41 -0
- data/spec/models/ach_pre_auth_transaction_spec.rb +41 -0
- data/spec/models/{secure3d_authentication_request_spec.rb → ach_recurring_type_spec.rb} +8 -8
- data/spec/models/ach_response_spec.rb +65 -0
- data/spec/models/ach_return_transaction_spec.rb +41 -0
- data/spec/models/ach_sale_transaction_spec.rb +41 -0
- data/spec/models/ach_void_transaction_spec.rb +41 -0
- data/spec/models/acs_response_spec.rb +41 -0
- data/spec/models/additional_amount_rate_spec.rb +2 -2
- data/spec/models/additional_details_spec.rb +26 -2
- data/spec/models/additional_transaction_details_spec.rb +3 -3
- data/spec/models/address_spec.rb +2 -2
- data/spec/models/airline_ancillary_service_category_spec.rb +2 -2
- data/spec/models/airline_spec.rb +2 -2
- data/spec/models/airline_travel_route_spec.rb +2 -2
- data/spec/models/ali_pay_payment_method_all_of_spec.rb +2 -2
- data/spec/models/ali_pay_payment_method_spec.rb +2 -2
- data/spec/models/ali_pay_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/ali_pay_sale_transaction_spec.rb +2 -2
- data/spec/models/ali_pay_spec.rb +2 -2
- data/spec/models/amount_components_spec.rb +2 -2
- data/spec/models/amount_spec.rb +2 -2
- data/spec/models/authentication_request_spec.rb +41 -0
- data/spec/models/{authentication_spec.rb → authentication_result_spec.rb} +9 -9
- data/spec/models/{authentication_redirect_params_spec.rb → authentication_update_request_spec.rb} +11 -11
- data/spec/models/avs_response_spec.rb +8 -2
- data/spec/models/background_color_spec.rb +53 -0
- data/spec/models/background_spec.rb +59 -0
- data/spec/models/bancontact_qr_spec.rb +51 -0
- data/spec/models/basic_response_spec.rb +2 -2
- data/spec/models/billing_address_spec.rb +2 -2
- data/spec/models/billing_spec.rb +2 -2
- data/spec/models/block_card_spec.rb +53 -0
- data/spec/models/block_domain_spec.rb +41 -0
- data/spec/models/{customer_address_phone_spec.rb → block_ip_address_spec.rb} +10 -10
- data/spec/models/block_name_spec.rb +47 -0
- data/spec/models/blocked_card_number_spec.rb +47 -0
- data/spec/models/blocked_items_spec.rb +59 -0
- data/spec/models/body_spec.rb +41 -0
- data/spec/models/borders_spec.rb +41 -0
- data/spec/models/branding_style_configuration_request_spec.rb +41 -0
- data/spec/models/branding_style_configuration_response_all_of_spec.rb +41 -0
- data/spec/models/branding_style_configuration_response_spec.rb +59 -0
- data/spec/models/branding_style_configuration_result_spec.rb +47 -0
- data/spec/models/button_spec.rb +47 -0
- 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_all_of_spec.rb +51 -0
- 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/china_domestic_payment_method_all_of_spec.rb +2 -2
- data/spec/models/china_domestic_payment_method_spec.rb +2 -2
- data/spec/models/china_domestic_spec.rb +2 -2
- data/spec/models/china_pn_r_sale_transaction_all_of_spec.rb +2 -2
- data/spec/models/china_pn_r_sale_transaction_spec.rb +2 -2
- data/spec/models/classic_mode_spec.rb +95 -0
- data/spec/models/clearing_details_spec.rb +65 -0
- data/spec/models/clearing_element_spec.rb +53 -0
- data/spec/models/client_locale_spec.rb +2 -2
- data/spec/models/client_registration_all_of_spec.rb +41 -0
- data/spec/models/client_registration_spec.rb +77 -0
- data/spec/models/combined_mode_spec.rb +59 -0
- data/spec/models/connect_mode_spec.rb +35 -0
- data/spec/models/contact_spec.rb +2 -2
- data/spec/models/content_spec.rb +41 -0
- data/spec/models/country_profile_spec.rb +41 -0
- data/spec/models/create_payment_token_spec.rb +2 -2
- data/spec/models/currency_conversion_spec.rb +2 -2
- data/spec/models/customer_address_all_of_spec.rb +41 -0
- data/spec/models/customer_address_spec.rb +4 -4
- 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 +83 -0
- data/spec/models/decrypted_apple_pay_wallet_payment_method_all_of_spec.rb +41 -0
- data/spec/models/decrypted_apple_pay_wallet_payment_method_spec.rb +41 -0
- data/spec/models/decrypted_google_pay_spec.rb +83 -0
- data/spec/models/decrypted_google_pay_wallet_payment_method_all_of_spec.rb +41 -0
- data/spec/models/decrypted_google_pay_wallet_payment_method_spec.rb +41 -0
- data/spec/models/decrypted_samsung_pay_spec.rb +83 -0
- data/spec/models/decrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +41 -0
- data/spec/models/decrypted_samsung_pay_wallet_payment_method_spec.rb +41 -0
- data/spec/models/delete_branding_style_configuration_response_all_of_spec.rb +47 -0
- data/spec/models/delete_branding_style_configuration_response_spec.rb +65 -0
- data/spec/models/device_spec.rb +2 -2
- data/spec/models/disbursement_spec.rb +2 -2
- data/spec/models/disbursement_transaction_type_all_of_spec.rb +41 -0
- data/spec/models/disbursement_transaction_type_spec.rb +8 -2
- data/spec/models/document_spec.rb +2 -2
- data/spec/models/dynamic_pricing_all_of_spec.rb +2 -2
- data/spec/models/dynamic_pricing_exchange_rate_request_all_of_spec.rb +2 -2
- data/spec/models/dynamic_pricing_exchange_rate_request_spec.rb +2 -2
- data/spec/models/dynamic_pricing_spec.rb +2 -2
- data/spec/models/email_notification_data_spec.rb +65 -0
- 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 +47 -0
- data/spec/models/encrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +41 -0
- data/spec/models/encrypted_samsung_pay_wallet_payment_method_spec.rb +41 -0
- data/spec/models/{authentication_redirect_spec.rb → endpoint_response_spec.rb} +15 -15
- data/spec/models/error_details_spec.rb +2 -2
- data/spec/models/error_message_spec.rb +47 -0
- data/spec/models/error_response_all_of_spec.rb +41 -0
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/error_spec.rb +2 -2
- data/spec/models/exchange_rate_request_spec.rb +2 -2
- data/spec/models/exchange_rate_response_all_of_spec.rb +101 -0
- data/spec/models/exchange_rate_response_spec.rb +2 -2
- data/spec/models/expiration_spec.rb +2 -2
- data/spec/models/font_face_spec.rb +35 -0
- data/spec/models/font_properties_spec.rb +59 -0
- data/spec/models/font_weight_spec.rb +35 -0
- data/spec/models/footer_spec.rb +41 -0
- data/spec/models/{merchant_location_merchant_address_spec.rb → fraud_address_spec.rb} +8 -8
- data/spec/models/fraud_order_items_spec.rb +2 -2
- data/spec/models/fraud_order_spec.rb +2 -2
- data/spec/models/fraud_registration_card_spec.rb +71 -0
- data/spec/models/fraud_registration_device_items_spec.rb +75 -0
- data/spec/models/{transaction_spec.rb → fraud_registration_device_spec.rb} +22 -26
- data/spec/models/fraud_registration_error_spec.rb +41 -0
- data/spec/models/fraud_registration_response_spec.rb +75 -0
- data/spec/models/fraud_registration_spec.rb +71 -0
- data/spec/models/fraud_score_spec.rb +59 -0
- data/spec/models/fraud_settings_response_all_of_spec.rb +83 -0
- data/spec/models/fraud_settings_response_spec.rb +101 -0
- data/spec/models/fraud_settings_spec.rb +59 -0
- data/spec/models/frequency_spec.rb +2 -2
- data/spec/models/funding_transaction_type_all_of_spec.rb +41 -0
- data/spec/models/funding_transaction_type_spec.rb +8 -2
- data/spec/models/header_spec.rb +41 -0
- data/spec/models/hover_spec.rb +41 -0
- data/spec/models/id_info_spec.rb +47 -0
- data/spec/models/industry_specific_extensions_spec.rb +8 -2
- data/spec/models/initiate_clearing_response_all_of_spec.rb +57 -0
- data/spec/models/initiate_clearing_response_spec.rb +75 -0
- data/spec/models/installment_options_spec.rb +2 -2
- data/spec/models/{payment_issuer_response_spec.rb → issuer_response_spec.rb} +8 -8
- data/spec/models/{device_networks_spec.rb → items_spec.rb} +8 -8
- data/spec/models/{merchant_location_spec.rb → location_spec.rb} +8 -8
- data/spec/models/lockout_time_spec.rb +47 -0
- data/spec/models/lodging_extra_charges_spec.rb +2 -2
- data/spec/models/lodging_spec.rb +2 -2
- data/spec/models/logo_spec.rb +57 -0
- data/spec/models/loyalty_spec.rb +2 -2
- data/spec/models/masterpass_wallet_payment_method_all_of_spec.rb +47 -0
- data/spec/models/masterpass_wallet_payment_method_spec.rb +47 -0
- data/spec/models/maximum_purchase_amount_spec.rb +47 -0
- data/spec/models/mcc6012_spec.rb +71 -0
- data/spec/models/merchant_spec.rb +2 -2
- data/spec/models/{payment_pay_method_spec.rb → method_spec.rb} +8 -8
- data/spec/models/mobile_header_area_spec.rb +41 -0
- data/spec/models/mobile_spec.rb +47 -0
- data/spec/models/order_error_response_spec.rb +3 -15
- data/spec/models/order_response_all_of_spec.rb +65 -0
- data/spec/models/order_response_spec.rb +3 -15
- 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/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 +41 -0
- data/spec/models/payment_card_info_lookup_request_spec.rb +41 -0
- 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 +53 -0
- 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 +20 -2
- data/spec/models/payment_card_pre_auth_transaction_spec.rb +20 -2
- data/spec/models/payment_card_sale_transaction_all_of_spec.rb +20 -2
- data/spec/models/payment_card_sale_transaction_spec.rb +20 -2
- data/spec/models/payment_card_spec.rb +2 -8
- data/spec/models/payment_card_verification_request_all_of_spec.rb +41 -0
- data/spec/models/payment_card_verification_request_spec.rb +41 -0
- data/spec/models/payment_device_credit_transaction_all_of_spec.rb +41 -0
- data/spec/models/payment_device_credit_transaction_spec.rb +41 -0
- data/spec/models/payment_device_disbursement_transaction_all_of_spec.rb +47 -0
- data/spec/models/payment_device_disbursement_transaction_spec.rb +47 -0
- data/spec/models/payment_device_payment_method_all_of_spec.rb +47 -0
- data/spec/models/payment_device_payment_method_spec.rb +47 -0
- data/spec/models/payment_device_payment_tokenization_request_all_of_spec.rb +41 -0
- data/spec/models/payment_device_payment_tokenization_request_spec.rb +41 -0
- data/spec/models/payment_device_pre_auth_transaction_all_of_spec.rb +71 -0
- data/spec/models/payment_device_pre_auth_transaction_spec.rb +71 -0
- data/spec/models/payment_device_sale_transaction_all_of_spec.rb +53 -0
- data/spec/models/payment_device_sale_transaction_spec.rb +53 -0
- data/spec/models/payment_device_spec.rb +75 -0
- 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_all_of_spec.rb +71 -0
- data/spec/models/payment_registration_spec.rb +107 -0
- 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_all_of_spec.rb +57 -0
- data/spec/models/payment_schedules_response_spec.rb +2 -2
- data/spec/models/payment_spec.rb +4 -4
- 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 +41 -0
- data/spec/models/payment_token_info_lookup_request_spec.rb +41 -0
- 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 +20 -2
- data/spec/models/payment_token_pre_auth_transaction_spec.rb +20 -2
- data/spec/models/payment_token_sale_transaction_all_of_spec.rb +14 -2
- data/spec/models/payment_token_sale_transaction_spec.rb +14 -2
- data/spec/models/payment_token_update_response_all_of_spec.rb +57 -0
- data/spec/models/payment_token_update_response_spec.rb +75 -0
- data/spec/models/payment_token_verification_request_all_of_spec.rb +41 -0
- data/spec/models/payment_token_verification_request_spec.rb +41 -0
- data/spec/models/payment_tokenization_error_response_spec.rb +2 -2
- data/spec/models/payment_tokenization_request_spec.rb +8 -2
- data/spec/models/payment_tokenization_response_all_of_spec.rb +87 -0
- data/spec/models/payment_tokenization_response_spec.rb +2 -2
- data/spec/models/payment_url_detail_response_all_of_spec.rb +41 -0
- data/spec/models/payment_url_detail_response_spec.rb +59 -0
- data/spec/models/payment_url_detail_spec.rb +65 -0
- data/spec/models/payment_url_error_response_spec.rb +2 -2
- data/spec/models/payment_url_request_spec.rb +2 -2
- data/spec/models/payment_url_response_all_of_spec.rb +63 -0
- data/spec/models/payment_url_response_spec.rb +2 -2
- data/spec/models/payment_url_status_spec.rb +35 -0
- 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/{billing_address_phone_spec.rb → phone_spec.rb} +8 -8
- 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/primary_spec.rb +41 -0
- data/spec/models/primary_transaction_spec.rb +2 -2
- data/spec/models/processor_data_spec.rb +15 -3
- data/spec/models/properties_spec.rb +65 -0
- 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/receiver_info_spec.rb +2 -2
- data/spec/models/recurring_payment_details_response_all_of_spec.rb +41 -0
- data/spec/models/recurring_payment_details_response_spec.rb +3 -15
- 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 +81 -0
- data/spec/models/remove_fraud_blocked_items_response_all_of_spec.rb +41 -0
- data/spec/models/remove_fraud_blocked_items_response_spec.rb +59 -0
- data/spec/models/response_amount_components_all_of_spec.rb +2 -2
- data/spec/models/response_amount_components_spec.rb +2 -2
- data/spec/models/response_type_spec.rb +2 -2
- data/spec/models/return_transaction_all_of_spec.rb +2 -2
- data/spec/models/return_transaction_spec.rb +2 -2
- data/spec/models/score_only_request_spec.rb +2 -6
- data/spec/models/score_only_response_fraud_score_explanations_spec.rb +2 -2
- data/spec/models/score_only_response_fraud_score_spec.rb +2 -2
- data/spec/models/score_only_response_spec.rb +2 -2
- data/spec/models/secondary_transaction_spec.rb +14 -2
- data/spec/models/secure3_d10_authentication_request_all_of_spec.rb +41 -0
- data/spec/models/secure3_d10_authentication_request_spec.rb +41 -0
- 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 +53 -0
- data/spec/models/{secure3d_authentication_verification_request_all_of_spec.rb → secure3_d10_authentication_update_request_spec.rb} +14 -8
- data/spec/models/secure3_d21_authentication_request_all_of_spec.rb +67 -0
- data/spec/models/secure3_d21_authentication_request_spec.rb +67 -0
- 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 +51 -0
- data/spec/models/secure3_d21_authentication_update_request_spec.rb +51 -0
- data/spec/models/secure3_d_authentication_response_params_spec.rb +71 -0
- data/spec/models/{secure3d_authentication_verification_request_spec.rb → secure3_d_authentication_response_secure3d_method_spec.rb} +10 -10
- data/spec/models/secure3_d_authentication_response_spec.rb +67 -0
- 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/shared_secret_configuration_request_spec.rb +41 -0
- data/spec/models/shared_secret_configuration_response_all_of_spec.rb +59 -0
- data/spec/models/shared_secret_configuration_response_spec.rb +77 -0
- data/spec/models/{fraud_order_ship_to_address_spec.rb → ship_to_address_spec.rb} +8 -8
- data/spec/models/shipping_spec.rb +2 -2
- data/spec/models/soft_descriptor_spec.rb +2 -2
- data/spec/models/split_shipment_spec.rb +2 -2
- data/spec/models/store_branding_style_configuration_spec.rb +53 -0
- data/spec/models/store_email_settings_result_spec.rb +47 -0
- data/spec/models/store_email_settings_spec.rb +47 -0
- data/spec/models/store_fraud_settings_result_spec.rb +53 -0
- data/spec/models/store_fraud_settings_spec.rb +47 -0
- data/spec/models/store_url_configuration_request_spec.rb +41 -0
- data/spec/models/store_url_configuration_response_all_of_spec.rb +41 -0
- data/spec/models/store_url_configuration_response_spec.rb +59 -0
- data/spec/models/store_url_configuration_result_spec.rb +47 -0
- data/spec/models/store_url_configuration_spec.rb +83 -0
- 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 +95 -0
- data/spec/models/tele_check_ach_payment_method_spec.rb +165 -0
- data/spec/models/tele_check_cbp_payment_method_all_of_spec.rb +41 -0
- data/spec/models/tele_check_cbp_payment_method_spec.rb +41 -0
- data/spec/models/tele_check_ica_payment_method_all_of_spec.rb +53 -0
- data/spec/models/tele_check_ica_payment_method_spec.rb +53 -0
- data/spec/models/text_spec.rb +47 -0
- data/spec/models/title_spec.rb +41 -0
- data/spec/models/token_identifier_spec.rb +41 -0
- data/spec/models/top_bar_spec.rb +41 -0
- data/spec/models/transaction_error_response_spec.rb +15 -3
- data/spec/models/transaction_origin_spec.rb +2 -2
- data/spec/models/transaction_response_all_of_spec.rb +175 -0
- data/spec/models/transaction_response_spec.rb +15 -3
- 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 +47 -0
- data/spec/models/{union_pay_authentication_verification_request_all_of_spec.rb → union_pay_authentication_update_request_spec.rb} +14 -8
- data/spec/models/update_email_settings_request_spec.rb +41 -0
- data/spec/models/update_email_settings_response_all_of_spec.rb +41 -0
- data/spec/models/update_email_settings_response_spec.rb +59 -0
- data/spec/models/update_fraud_settings_request_spec.rb +41 -0
- data/spec/models/update_fraud_settings_response_all_of_spec.rb +41 -0
- data/spec/models/update_fraud_settings_response_spec.rb +59 -0
- data/spec/models/update_payment_token_spec.rb +59 -0
- data/spec/models/use_payment_token_spec.rb +14 -2
- data/spec/models/{payment_verification3ds_spec.rb → verification3ds_spec.rb} +8 -8
- data/spec/models/{payment_verification_avs_spec.rb → verification_avs_spec.rb} +8 -8
- data/spec/models/{payment_verification_cvv_spec.rb → verification_cvv_spec.rb} +8 -8
- data/spec/models/void_pre_auth_transactions_spec.rb +41 -0
- data/spec/models/void_transaction_all_of_spec.rb +41 -0
- data/spec/models/void_transaction_spec.rb +8 -2
- data/spec/models/wallet_payment_method_spec.rb +2 -2
- data/spec/models/wallet_pre_auth_transaction_all_of_spec.rb +8 -2
- data/spec/models/wallet_pre_auth_transaction_spec.rb +8 -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 +772 -99
- data/Gemfile.lock +0 -79
- data/docs/Authentication.md +0 -17
- data/docs/AuthenticationRedirect.md +0 -21
- data/docs/AuthenticationRedirectParams.md +0 -21
- data/docs/AuthenticationVerificationRequest.md +0 -23
- data/docs/BillingAddressPhone.md +0 -19
- data/docs/MerchantLocationMerchantAddress.md +0 -27
- data/docs/Transaction.md +0 -39
- data/docs/UnionPayAuthenticationVerificationRequest.md +0 -17
- data/docs/UnionPayAuthenticationVerificationRequestAllOf.md +0 -17
- data/lib/openapi_client/api/.DS_Store +0 -0
- data/lib/openapi_client/models/.DS_Store +0 -0
- data/lib/openapi_client/models/transaction.rb +0 -350
@@ -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: 6.
|
6
|
+
The version of the OpenAPI document: 6.12.0.20200605.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: unset
|
@@ -32,6 +32,12 @@ module OpenapiClient
|
|
32
32
|
}
|
33
33
|
end
|
34
34
|
|
35
|
+
# List of attributes with nullable: true
|
36
|
+
def self.openapi_nullable
|
37
|
+
Set.new([
|
38
|
+
])
|
39
|
+
end
|
40
|
+
|
35
41
|
# Initializes the object
|
36
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
37
43
|
def initialize(attributes = {})
|
@@ -95,17 +101,17 @@ module OpenapiClient
|
|
95
101
|
# Builds the object from hash
|
96
102
|
# @param [Hash] attributes Model attributes in the form of hash
|
97
103
|
# @return [Object] Returns the model itself
|
98
|
-
def build_from_hash(attributes)
|
104
|
+
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
99
105
|
return nil unless attributes.is_a?(Hash)
|
100
|
-
|
106
|
+
openapi_types.each_pair do |key, type|
|
101
107
|
if type =~ /\AArray<(.*)>/i
|
102
108
|
# check to ensure the input is an array given that the attribute
|
103
109
|
# is documented as an array but the input is not
|
104
|
-
if attributes[
|
105
|
-
self.send("#{key}=", attributes[
|
110
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
111
|
+
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
106
112
|
end
|
107
|
-
elsif !attributes[
|
108
|
-
self.send("#{key}=", _deserialize(type, attributes[
|
113
|
+
elsif !attributes[attribute_map[key]].nil?
|
114
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
109
115
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
110
116
|
end
|
111
117
|
|
@@ -149,7 +155,12 @@ module OpenapiClient
|
|
149
155
|
end
|
150
156
|
end
|
151
157
|
else # model
|
152
|
-
OpenapiClient.const_get(type)
|
158
|
+
klass = OpenapiClient.const_get(type)
|
159
|
+
if klass.respond_to?(:openapi_discriminator_name)
|
160
|
+
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
161
|
+
end
|
162
|
+
|
163
|
+
klass.build_from_hash(value)
|
153
164
|
end
|
154
165
|
end
|
155
166
|
|
@@ -167,11 +178,15 @@ module OpenapiClient
|
|
167
178
|
|
168
179
|
# Returns the object in the form of hash
|
169
180
|
# @return [Hash] Returns the object in the form of hash
|
170
|
-
def to_hash
|
181
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
|
171
182
|
hash = {}
|
172
|
-
|
183
|
+
attribute_map.each_pair do |attr, param|
|
173
184
|
value = self.send(attr)
|
174
|
-
|
185
|
+
if value.nil?
|
186
|
+
is_nullable = openapi_nullable.include?(attr)
|
187
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
188
|
+
end
|
189
|
+
|
175
190
|
hash[param] = _to_hash(value)
|
176
191
|
end
|
177
192
|
hash
|
@@ -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: 6.
|
6
|
+
The version of the OpenAPI document: 6.12.0.20200605.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: unset
|
@@ -77,6 +77,12 @@ module OpenapiClient
|
|
77
77
|
}
|
78
78
|
end
|
79
79
|
|
80
|
+
# List of attributes with nullable: true
|
81
|
+
def self.openapi_nullable
|
82
|
+
Set.new([
|
83
|
+
])
|
84
|
+
end
|
85
|
+
|
80
86
|
# Initializes the object
|
81
87
|
# @param [Hash] attributes Model attributes in the form of hash
|
82
88
|
def initialize(attributes = {})
|
@@ -141,8 +147,8 @@ module OpenapiClient
|
|
141
147
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
142
148
|
end
|
143
149
|
|
144
|
-
if @name.to_s.length >
|
145
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to
|
150
|
+
if @name.to_s.length > 30
|
151
|
+
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 30.')
|
146
152
|
end
|
147
153
|
|
148
154
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
@@ -154,8 +160,8 @@ module OpenapiClient
|
|
154
160
|
invalid_properties.push('invalid value for "street_address", street_address cannot be nil.')
|
155
161
|
end
|
156
162
|
|
157
|
-
if @street_address.to_s.length >
|
158
|
-
invalid_properties.push('invalid value for "street_address", the character length must be smaller than or equal to
|
163
|
+
if @street_address.to_s.length > 50
|
164
|
+
invalid_properties.push('invalid value for "street_address", the character length must be smaller than or equal to 50.')
|
159
165
|
end
|
160
166
|
|
161
167
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
@@ -167,8 +173,8 @@ module OpenapiClient
|
|
167
173
|
invalid_properties.push('invalid value for "city", city cannot be nil.')
|
168
174
|
end
|
169
175
|
|
170
|
-
if @city.to_s.length >
|
171
|
-
invalid_properties.push('invalid value for "city", the character length must be smaller than or equal to
|
176
|
+
if @city.to_s.length > 25
|
177
|
+
invalid_properties.push('invalid value for "city", the character length must be smaller than or equal to 25.')
|
172
178
|
end
|
173
179
|
|
174
180
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
@@ -180,10 +186,6 @@ module OpenapiClient
|
|
180
186
|
invalid_properties.push('invalid value for "state_code", state_code cannot be nil.')
|
181
187
|
end
|
182
188
|
|
183
|
-
if @state_code.to_s.length > 50
|
184
|
-
invalid_properties.push('invalid value for "state_code", the character length must be smaller than or equal to 50.')
|
185
|
-
end
|
186
|
-
|
187
189
|
pattern = Regexp.new(/[A-Z]{2}/)
|
188
190
|
if @state_code !~ pattern
|
189
191
|
invalid_properties.push("invalid value for \"state_code\", must conform to the pattern #{pattern}.")
|
@@ -202,8 +204,8 @@ module OpenapiClient
|
|
202
204
|
invalid_properties.push('invalid value for "postal_code", postal_code cannot be nil.')
|
203
205
|
end
|
204
206
|
|
205
|
-
if @postal_code.to_s.length >
|
206
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to
|
207
|
+
if @postal_code.to_s.length > 5
|
208
|
+
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 5.')
|
207
209
|
end
|
208
210
|
|
209
211
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
@@ -229,6 +231,10 @@ module OpenapiClient
|
|
229
231
|
invalid_properties.push('invalid value for "reference_number", reference_number cannot be nil.')
|
230
232
|
end
|
231
233
|
|
234
|
+
if @reference_number.to_s.length > 19
|
235
|
+
invalid_properties.push('invalid value for "reference_number", the character length must be smaller than or equal to 19.')
|
236
|
+
end
|
237
|
+
|
232
238
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
233
239
|
if @reference_number !~ pattern
|
234
240
|
invalid_properties.push("invalid value for \"reference_number\", must conform to the pattern #{pattern}.")
|
@@ -238,6 +244,10 @@ module OpenapiClient
|
|
238
244
|
invalid_properties.push('invalid value for "account_number", account_number cannot be nil.')
|
239
245
|
end
|
240
246
|
|
247
|
+
if @account_number.to_s.length > 19
|
248
|
+
invalid_properties.push('invalid value for "account_number", the character length must be smaller than or equal to 19.')
|
249
|
+
end
|
250
|
+
|
241
251
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
242
252
|
if @account_number !~ pattern
|
243
253
|
invalid_properties.push("invalid value for \"account_number\", must conform to the pattern #{pattern}.")
|
@@ -250,28 +260,29 @@ module OpenapiClient
|
|
250
260
|
# @return true if the model is valid
|
251
261
|
def valid?
|
252
262
|
return false if @name.nil?
|
253
|
-
return false if @name.to_s.length >
|
263
|
+
return false if @name.to_s.length > 30
|
254
264
|
return false if @name !~ Regexp.new(/^(?!\s*$).+/)
|
255
265
|
return false if @street_address.nil?
|
256
|
-
return false if @street_address.to_s.length >
|
266
|
+
return false if @street_address.to_s.length > 50
|
257
267
|
return false if @street_address !~ Regexp.new(/^(?!\s*$).+/)
|
258
268
|
return false if @city.nil?
|
259
|
-
return false if @city.to_s.length >
|
269
|
+
return false if @city.to_s.length > 25
|
260
270
|
return false if @city !~ Regexp.new(/^(?!\s*$).+/)
|
261
271
|
return false if @state_code.nil?
|
262
|
-
return false if @state_code.to_s.length > 50
|
263
272
|
return false if @state_code !~ Regexp.new(/[A-Z]{2}/)
|
264
273
|
return false if @country_code.nil?
|
265
274
|
return false if @country_code !~ Regexp.new(/[A-Z]{2}/)
|
266
275
|
return false if @postal_code.nil?
|
267
|
-
return false if @postal_code.to_s.length >
|
276
|
+
return false if @postal_code.to_s.length > 5
|
268
277
|
return false if @postal_code !~ Regexp.new(/^(?!\s*$).+/)
|
269
278
|
return false if @phone_number.nil?
|
270
279
|
return false if @phone_number !~ Regexp.new(/[0-9]{10}/)
|
271
280
|
return false if !@birth_date.nil? && @birth_date !~ Regexp.new(/^([0-9]{4})(1[0-2]|0[1-9])(3[01]|0[1-9]|[12][0-9])$/)
|
272
281
|
return false if @reference_number.nil?
|
282
|
+
return false if @reference_number.to_s.length > 19
|
273
283
|
return false if @reference_number !~ Regexp.new(/^(?!\s*$).+/)
|
274
284
|
return false if @account_number.nil?
|
285
|
+
return false if @account_number.to_s.length > 19
|
275
286
|
return false if @account_number !~ Regexp.new(/^(?!\s*$).+/)
|
276
287
|
true
|
277
288
|
end
|
@@ -283,8 +294,8 @@ module OpenapiClient
|
|
283
294
|
fail ArgumentError, 'name cannot be nil'
|
284
295
|
end
|
285
296
|
|
286
|
-
if name.to_s.length >
|
287
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to
|
297
|
+
if name.to_s.length > 30
|
298
|
+
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 30.'
|
288
299
|
end
|
289
300
|
|
290
301
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
@@ -302,8 +313,8 @@ module OpenapiClient
|
|
302
313
|
fail ArgumentError, 'street_address cannot be nil'
|
303
314
|
end
|
304
315
|
|
305
|
-
if street_address.to_s.length >
|
306
|
-
fail ArgumentError, 'invalid value for "street_address", the character length must be smaller than or equal to
|
316
|
+
if street_address.to_s.length > 50
|
317
|
+
fail ArgumentError, 'invalid value for "street_address", the character length must be smaller than or equal to 50.'
|
307
318
|
end
|
308
319
|
|
309
320
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
@@ -321,8 +332,8 @@ module OpenapiClient
|
|
321
332
|
fail ArgumentError, 'city cannot be nil'
|
322
333
|
end
|
323
334
|
|
324
|
-
if city.to_s.length >
|
325
|
-
fail ArgumentError, 'invalid value for "city", the character length must be smaller than or equal to
|
335
|
+
if city.to_s.length > 25
|
336
|
+
fail ArgumentError, 'invalid value for "city", the character length must be smaller than or equal to 25.'
|
326
337
|
end
|
327
338
|
|
328
339
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
@@ -340,10 +351,6 @@ module OpenapiClient
|
|
340
351
|
fail ArgumentError, 'state_code cannot be nil'
|
341
352
|
end
|
342
353
|
|
343
|
-
if state_code.to_s.length > 50
|
344
|
-
fail ArgumentError, 'invalid value for "state_code", the character length must be smaller than or equal to 50.'
|
345
|
-
end
|
346
|
-
|
347
354
|
pattern = Regexp.new(/[A-Z]{2}/)
|
348
355
|
if state_code !~ pattern
|
349
356
|
fail ArgumentError, "invalid value for \"state_code\", must conform to the pattern #{pattern}."
|
@@ -374,8 +381,8 @@ module OpenapiClient
|
|
374
381
|
fail ArgumentError, 'postal_code cannot be nil'
|
375
382
|
end
|
376
383
|
|
377
|
-
if postal_code.to_s.length >
|
378
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to
|
384
|
+
if postal_code.to_s.length > 5
|
385
|
+
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 5.'
|
379
386
|
end
|
380
387
|
|
381
388
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
@@ -419,6 +426,10 @@ module OpenapiClient
|
|
419
426
|
fail ArgumentError, 'reference_number cannot be nil'
|
420
427
|
end
|
421
428
|
|
429
|
+
if reference_number.to_s.length > 19
|
430
|
+
fail ArgumentError, 'invalid value for "reference_number", the character length must be smaller than or equal to 19.'
|
431
|
+
end
|
432
|
+
|
422
433
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
423
434
|
if reference_number !~ pattern
|
424
435
|
fail ArgumentError, "invalid value for \"reference_number\", must conform to the pattern #{pattern}."
|
@@ -434,6 +445,10 @@ module OpenapiClient
|
|
434
445
|
fail ArgumentError, 'account_number cannot be nil'
|
435
446
|
end
|
436
447
|
|
448
|
+
if account_number.to_s.length > 19
|
449
|
+
fail ArgumentError, 'invalid value for "account_number", the character length must be smaller than or equal to 19.'
|
450
|
+
end
|
451
|
+
|
437
452
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
438
453
|
if account_number !~ pattern
|
439
454
|
fail ArgumentError, "invalid value for \"account_number\", must conform to the pattern #{pattern}."
|
@@ -481,17 +496,17 @@ module OpenapiClient
|
|
481
496
|
# Builds the object from hash
|
482
497
|
# @param [Hash] attributes Model attributes in the form of hash
|
483
498
|
# @return [Object] Returns the model itself
|
484
|
-
def build_from_hash(attributes)
|
499
|
+
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
485
500
|
return nil unless attributes.is_a?(Hash)
|
486
|
-
|
501
|
+
openapi_types.each_pair do |key, type|
|
487
502
|
if type =~ /\AArray<(.*)>/i
|
488
503
|
# check to ensure the input is an array given that the attribute
|
489
504
|
# is documented as an array but the input is not
|
490
|
-
if attributes[
|
491
|
-
self.send("#{key}=", attributes[
|
505
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
506
|
+
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
492
507
|
end
|
493
|
-
elsif !attributes[
|
494
|
-
self.send("#{key}=", _deserialize(type, attributes[
|
508
|
+
elsif !attributes[attribute_map[key]].nil?
|
509
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
495
510
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
496
511
|
end
|
497
512
|
|
@@ -535,7 +550,12 @@ module OpenapiClient
|
|
535
550
|
end
|
536
551
|
end
|
537
552
|
else # model
|
538
|
-
OpenapiClient.const_get(type)
|
553
|
+
klass = OpenapiClient.const_get(type)
|
554
|
+
if klass.respond_to?(:openapi_discriminator_name)
|
555
|
+
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
556
|
+
end
|
557
|
+
|
558
|
+
klass.build_from_hash(value)
|
539
559
|
end
|
540
560
|
end
|
541
561
|
|
@@ -553,11 +573,15 @@ module OpenapiClient
|
|
553
573
|
|
554
574
|
# Returns the object in the form of hash
|
555
575
|
# @return [Hash] Returns the object in the form of hash
|
556
|
-
def to_hash
|
576
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
|
557
577
|
hash = {}
|
558
|
-
|
578
|
+
attribute_map.each_pair do |attr, param|
|
559
579
|
value = self.send(attr)
|
560
|
-
|
580
|
+
if value.nil?
|
581
|
+
is_nullable = openapi_nullable.include?(attr)
|
582
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
583
|
+
end
|
584
|
+
|
561
585
|
hash[param] = _to_hash(value)
|
562
586
|
end
|
563
587
|
hash
|
@@ -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: 6.
|
6
|
+
The version of the OpenAPI document: 6.12.0.20200605.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: unset
|
@@ -51,6 +51,12 @@ module OpenapiClient
|
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
54
|
+
# List of attributes with nullable: true
|
55
|
+
def self.openapi_nullable
|
56
|
+
Set.new([
|
57
|
+
])
|
58
|
+
end
|
59
|
+
|
54
60
|
# Initializes the object
|
55
61
|
# @param [Hash] attributes Model attributes in the form of hash
|
56
62
|
def initialize(attributes = {})
|
@@ -259,17 +265,17 @@ module OpenapiClient
|
|
259
265
|
# Builds the object from hash
|
260
266
|
# @param [Hash] attributes Model attributes in the form of hash
|
261
267
|
# @return [Object] Returns the model itself
|
262
|
-
def build_from_hash(attributes)
|
268
|
+
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
263
269
|
return nil unless attributes.is_a?(Hash)
|
264
|
-
|
270
|
+
openapi_types.each_pair do |key, type|
|
265
271
|
if type =~ /\AArray<(.*)>/i
|
266
272
|
# check to ensure the input is an array given that the attribute
|
267
273
|
# is documented as an array but the input is not
|
268
|
-
if attributes[
|
269
|
-
self.send("#{key}=", attributes[
|
274
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
275
|
+
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
270
276
|
end
|
271
|
-
elsif !attributes[
|
272
|
-
self.send("#{key}=", _deserialize(type, attributes[
|
277
|
+
elsif !attributes[attribute_map[key]].nil?
|
278
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
273
279
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
274
280
|
end
|
275
281
|
|
@@ -313,7 +319,12 @@ module OpenapiClient
|
|
313
319
|
end
|
314
320
|
end
|
315
321
|
else # model
|
316
|
-
OpenapiClient.const_get(type)
|
322
|
+
klass = OpenapiClient.const_get(type)
|
323
|
+
if klass.respond_to?(:openapi_discriminator_name)
|
324
|
+
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
325
|
+
end
|
326
|
+
|
327
|
+
klass.build_from_hash(value)
|
317
328
|
end
|
318
329
|
end
|
319
330
|
|
@@ -331,11 +342,15 @@ module OpenapiClient
|
|
331
342
|
|
332
343
|
# Returns the object in the form of hash
|
333
344
|
# @return [Hash] Returns the object in the form of hash
|
334
|
-
def to_hash
|
345
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
|
335
346
|
hash = {}
|
336
|
-
|
347
|
+
attribute_map.each_pair do |attr, param|
|
337
348
|
value = self.send(attr)
|
338
|
-
|
349
|
+
if value.nil?
|
350
|
+
is_nullable = openapi_nullable.include?(attr)
|
351
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
352
|
+
end
|
353
|
+
|
339
354
|
hash[param] = _to_hash(value)
|
340
355
|
end
|
341
356
|
hash
|
@@ -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: 6.
|
6
|
+
The version of the OpenAPI document: 6.12.0.20200605.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: unset
|
@@ -69,6 +69,12 @@ module OpenapiClient
|
|
69
69
|
}
|
70
70
|
end
|
71
71
|
|
72
|
+
# List of attributes with nullable: true
|
73
|
+
def self.openapi_nullable
|
74
|
+
Set.new([
|
75
|
+
])
|
76
|
+
end
|
77
|
+
|
72
78
|
# Initializes the object
|
73
79
|
# @param [Hash] attributes Model attributes in the form of hash
|
74
80
|
def initialize(attributes = {})
|
@@ -107,9 +113,9 @@ module OpenapiClient
|
|
107
113
|
# @return Array for valid properties with the reasons
|
108
114
|
def list_invalid_properties
|
109
115
|
invalid_properties = Array.new
|
110
|
-
if @reference.nil?
|
111
|
-
|
112
|
-
end
|
116
|
+
# if @reference.nil?
|
117
|
+
# invalid_properties.push('invalid value for "reference", reference cannot be nil.')
|
118
|
+
# end
|
113
119
|
|
114
120
|
if @reference.to_s.length > 35
|
115
121
|
invalid_properties.push('invalid value for "reference", the character length must be smaller than or equal to 35.')
|
@@ -120,9 +126,9 @@ module OpenapiClient
|
|
120
126
|
invalid_properties.push("invalid value for \"reference\", must conform to the pattern #{pattern}.")
|
121
127
|
end
|
122
128
|
|
123
|
-
if @url.nil?
|
124
|
-
|
125
|
-
end
|
129
|
+
# if @url.nil?
|
130
|
+
# invalid_properties.push('invalid value for "url", url cannot be nil.')
|
131
|
+
# end
|
126
132
|
|
127
133
|
if @url.to_s.length > 100
|
128
134
|
invalid_properties.push('invalid value for "url", the character length must be smaller than or equal to 100.')
|
@@ -133,9 +139,9 @@ module OpenapiClient
|
|
133
139
|
invalid_properties.push("invalid value for \"url\", must conform to the pattern #{pattern}.")
|
134
140
|
end
|
135
141
|
|
136
|
-
if @signature_date.nil?
|
137
|
-
|
138
|
-
end
|
142
|
+
# if @signature_date.nil?
|
143
|
+
# invalid_properties.push('invalid value for "signature_date", signature_date cannot be nil.')
|
144
|
+
# end
|
139
145
|
|
140
146
|
if @type.nil?
|
141
147
|
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
@@ -147,13 +153,13 @@ module OpenapiClient
|
|
147
153
|
# Check to see if the all the properties in the model are valid
|
148
154
|
# @return true if the model is valid
|
149
155
|
def valid?
|
150
|
-
return false if @reference.nil?
|
156
|
+
# return false if @reference.nil?
|
151
157
|
return false if @reference.to_s.length > 35
|
152
158
|
return false if @reference !~ Regexp.new(/[A-Za-z0-9:?\/+(),. -]{1,35}/)
|
153
|
-
return false if @url.nil?
|
159
|
+
# return false if @url.nil?
|
154
160
|
return false if @url.to_s.length > 100
|
155
161
|
return false if @url !~ Regexp.new(/^(?!\s*$).+/)
|
156
|
-
return false if @signature_date.nil?
|
162
|
+
# return false if @signature_date.nil?
|
157
163
|
return false if @type.nil?
|
158
164
|
type_validator = EnumAttributeValidator.new('String', ["SINGLE", "FIRST_COLLECTION", "RECURRING_COLLECTION", "FINAL_COLLECTION"])
|
159
165
|
return false unless type_validator.valid?(@type)
|
@@ -163,9 +169,9 @@ module OpenapiClient
|
|
163
169
|
# Custom attribute writer method with validation
|
164
170
|
# @param [Object] reference Value to be assigned
|
165
171
|
def reference=(reference)
|
166
|
-
if reference.nil?
|
167
|
-
|
168
|
-
end
|
172
|
+
# if reference.nil?
|
173
|
+
# fail ArgumentError, 'reference cannot be nil'
|
174
|
+
# end
|
169
175
|
|
170
176
|
if reference.to_s.length > 35
|
171
177
|
fail ArgumentError, 'invalid value for "reference", the character length must be smaller than or equal to 35.'
|
@@ -182,9 +188,9 @@ module OpenapiClient
|
|
182
188
|
# Custom attribute writer method with validation
|
183
189
|
# @param [Object] url Value to be assigned
|
184
190
|
def url=(url)
|
185
|
-
if url.nil?
|
186
|
-
|
187
|
-
end
|
191
|
+
# if url.nil?
|
192
|
+
# fail ArgumentError, 'url cannot be nil'
|
193
|
+
# end
|
188
194
|
|
189
195
|
if url.to_s.length > 100
|
190
196
|
fail ArgumentError, 'invalid value for "url", the character length must be smaller than or equal to 100.'
|
@@ -241,17 +247,17 @@ module OpenapiClient
|
|
241
247
|
# Builds the object from hash
|
242
248
|
# @param [Hash] attributes Model attributes in the form of hash
|
243
249
|
# @return [Object] Returns the model itself
|
244
|
-
def build_from_hash(attributes)
|
250
|
+
def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
|
245
251
|
return nil unless attributes.is_a?(Hash)
|
246
|
-
|
252
|
+
openapi_types.each_pair do |key, type|
|
247
253
|
if type =~ /\AArray<(.*)>/i
|
248
254
|
# check to ensure the input is an array given that the attribute
|
249
255
|
# is documented as an array but the input is not
|
250
|
-
if attributes[
|
251
|
-
self.send("#{key}=", attributes[
|
256
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
257
|
+
self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
|
252
258
|
end
|
253
|
-
elsif !attributes[
|
254
|
-
self.send("#{key}=", _deserialize(type, attributes[
|
259
|
+
elsif !attributes[attribute_map[key]].nil?
|
260
|
+
self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
|
255
261
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
256
262
|
end
|
257
263
|
|
@@ -295,7 +301,12 @@ module OpenapiClient
|
|
295
301
|
end
|
296
302
|
end
|
297
303
|
else # model
|
298
|
-
OpenapiClient.const_get(type)
|
304
|
+
klass = OpenapiClient.const_get(type)
|
305
|
+
if klass.respond_to?(:openapi_discriminator_name)
|
306
|
+
klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
|
307
|
+
end
|
308
|
+
|
309
|
+
klass.build_from_hash(value)
|
299
310
|
end
|
300
311
|
end
|
301
312
|
|
@@ -313,11 +324,15 @@ module OpenapiClient
|
|
313
324
|
|
314
325
|
# Returns the object in the form of hash
|
315
326
|
# @return [Hash] Returns the object in the form of hash
|
316
|
-
def to_hash
|
327
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
|
317
328
|
hash = {}
|
318
|
-
|
329
|
+
attribute_map.each_pair do |attr, param|
|
319
330
|
value = self.send(attr)
|
320
|
-
|
331
|
+
if value.nil?
|
332
|
+
is_nullable = openapi_nullable.include?(attr)
|
333
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
334
|
+
end
|
335
|
+
|
321
336
|
hash[param] = _to_hash(value)
|
322
337
|
end
|
323
338
|
hash
|