first_data_gateway 1.4.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1001) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +1 -1
  3. data/README.md +260 -25
  4. data/docs/ACSResponse.md +17 -0
  5. data/docs/AVSResponse.md +3 -1
  6. data/docs/AccessTokenRequest.md +21 -0
  7. data/docs/AccessTokenResponse.md +13 -5
  8. data/docs/AccountInfoLookupRequest.md +19 -0
  9. data/docs/AccountVerificationRequest.md +25 -0
  10. data/docs/AchCreditTransaction.md +17 -0
  11. data/docs/AchPostAuthTransaction.md +17 -0
  12. data/docs/AchPostAuthTransactionAllOf.md +17 -0
  13. data/docs/AchPreAuthTransaction.md +17 -0
  14. data/docs/AchPreAuthTransactionAllOf.md +17 -0
  15. data/docs/{Secure3dAuthenticationRequest.md → AchRecurringType.md} +2 -2
  16. data/docs/AchResponse.md +25 -0
  17. data/docs/AchReturnTransaction.md +17 -0
  18. data/docs/AchSaleTransaction.md +17 -0
  19. data/docs/AchVoidTransaction.md +17 -0
  20. data/docs/AdditionalDetails.md +15 -1
  21. data/docs/AdditionalTransactionDetails.md +3 -1
  22. data/docs/AirlineTravelRoute.md +1 -1
  23. data/docs/Amount.md +1 -1
  24. data/docs/AmountComponents.md +2 -2
  25. data/docs/AuthenticationApi.md +5 -3
  26. data/docs/AuthenticationRequest.md +17 -0
  27. data/docs/AuthenticationResult.md +17 -0
  28. data/docs/AuthenticationUpdateRequest.md +21 -0
  29. data/docs/Background.md +23 -0
  30. data/docs/BackgroundColor.md +21 -0
  31. data/docs/BancontactQR.md +19 -0
  32. data/docs/Billing.md +1 -1
  33. data/docs/BillingAddress.md +1 -1
  34. data/docs/BlockCard.md +21 -0
  35. data/docs/BlockDomain.md +17 -0
  36. data/docs/BlockIPAddress.md +19 -0
  37. data/docs/BlockName.md +19 -0
  38. data/docs/BlockedCardNumber.md +19 -0
  39. data/docs/BlockedItems.md +23 -0
  40. data/docs/Body.md +17 -0
  41. data/docs/Borders.md +17 -0
  42. data/docs/BrandingStyleConfigurationRequest.md +17 -0
  43. data/docs/BrandingStyleConfigurationResponse.md +23 -0
  44. data/docs/BrandingStyleConfigurationResult.md +19 -0
  45. data/docs/Button.md +19 -0
  46. data/docs/CarRental.md +2 -2
  47. data/docs/ChinaDomestic.md +3 -1
  48. data/docs/ClassicMode.md +35 -0
  49. data/docs/ClearingDetails.md +25 -0
  50. data/docs/ClearingElement.md +21 -0
  51. data/docs/ClientRegistration.md +29 -0
  52. data/docs/CombinedMode.md +23 -0
  53. data/docs/ConnectMode.md +16 -0
  54. data/docs/Content.md +17 -0
  55. data/docs/CountryProfile.md +17 -0
  56. data/docs/CurrencyConversionResponse.md +19 -0
  57. data/docs/CustomerAddress.md +3 -3
  58. data/docs/DCCExchangeRateRequest.md +1 -1
  59. data/docs/DCCExchangeRateRequestAllOf.md +1 -1
  60. data/docs/DecryptedApplePay.md +27 -0
  61. data/docs/DecryptedApplePayWalletPaymentMethod.md +17 -0
  62. data/docs/DecryptedApplePayWalletPaymentMethodAllOf.md +17 -0
  63. data/docs/DecryptedGooglePay.md +27 -0
  64. data/docs/DecryptedGooglePayWalletPaymentMethod.md +17 -0
  65. data/docs/DecryptedGooglePayWalletPaymentMethodAllOf.md +17 -0
  66. data/docs/DecryptedSamsungPay.md +27 -0
  67. data/docs/DecryptedSamsungPayWalletPaymentMethod.md +17 -0
  68. data/docs/DecryptedSamsungPayWalletPaymentMethodAllOf.md +17 -0
  69. data/docs/DeleteBrandingStyleConfigurationResponse.md +25 -0
  70. data/docs/Device.md +1 -1
  71. data/docs/EmailNotificationData.md +25 -0
  72. data/docs/EncryptedSamsungPay.md +19 -0
  73. data/docs/EncryptedSamsungPayWalletPaymentMethod.md +17 -0
  74. data/docs/EncryptedSamsungPayWalletPaymentMethodAllOf.md +17 -0
  75. data/docs/EndpointResponse.md +21 -0
  76. data/docs/ErrorMessage.md +19 -0
  77. data/docs/ExchangeRateDetails.md +33 -0
  78. data/docs/ExchangeRateResponse.md +4 -20
  79. data/docs/Expiration.md +2 -2
  80. data/docs/FontFace.md +16 -0
  81. data/docs/FontProperties.md +23 -0
  82. data/docs/FontWeight.md +16 -0
  83. data/docs/Footer.md +17 -0
  84. data/docs/FraudAddress.md +27 -0
  85. data/docs/FraudDetectApi.md +124 -0
  86. data/docs/FraudOrder.md +4 -2
  87. data/docs/FraudOrderItems.md +4 -4
  88. data/docs/FraudRegistration.md +27 -0
  89. data/docs/FraudRegistrationCard.md +27 -0
  90. data/docs/FraudRegistrationDevice.md +39 -0
  91. data/docs/FraudRegistrationDeviceItems.md +27 -0
  92. data/docs/FraudRegistrationError.md +17 -0
  93. data/docs/FraudRegistrationResponse.md +27 -0
  94. data/docs/FraudScore.md +23 -0
  95. data/docs/FraudSettings.md +23 -0
  96. data/docs/FraudSettingsResponse.md +37 -0
  97. data/docs/Header.md +17 -0
  98. data/docs/Hover.md +17 -0
  99. data/docs/IdInfo.md +19 -0
  100. data/docs/IndustrySpecificExtensions.md +3 -1
  101. data/docs/InformationLookupApi.md +132 -0
  102. data/docs/InitiateClearingResponse.md +27 -0
  103. data/docs/InitiateClearingResponseAllOf.md +21 -0
  104. data/docs/{PaymentIssuerResponse.md → IssuerResponse.md} +2 -2
  105. data/docs/{DeviceNetworks.md → Items.md} +2 -2
  106. data/docs/{MerchantLocation.md → Location.md} +3 -3
  107. data/docs/LockoutTime.md +19 -0
  108. data/docs/Lodging.md +2 -2
  109. data/docs/Logo.md +21 -0
  110. data/docs/MasterpassWalletPaymentMethod.md +19 -0
  111. data/docs/MasterpassWalletPaymentMethodAllOf.md +19 -0
  112. data/docs/MaximumPurchaseAmount.md +19 -0
  113. data/docs/Mcc6012.md +27 -0
  114. data/docs/Merchant.md +1 -1
  115. data/docs/{PaymentPayMethod.md → Method.md} +2 -2
  116. data/docs/Mobile.md +19 -0
  117. data/docs/MobileHeaderArea.md +17 -0
  118. data/docs/Order.md +3 -1
  119. data/docs/OrderApi.md +2 -2
  120. data/docs/OrderErrorResponse.md +3 -7
  121. data/docs/OrderResponse.md +3 -7
  122. data/docs/Payment.md +6 -6
  123. data/docs/PaymentApi.md +15 -15
  124. data/docs/PaymentCard.md +0 -2
  125. data/docs/PaymentCardInfoLookupRequest.md +17 -0
  126. data/docs/PaymentCardInfoLookupRequestAllOf.md +17 -0
  127. data/docs/PaymentCardPaymentTokenUpdateRequest.md +21 -0
  128. data/docs/PaymentCardPreAuthTransaction.md +7 -1
  129. data/docs/PaymentCardPreAuthTransactionAllOf.md +7 -1
  130. data/docs/PaymentCardSaleTransaction.md +5 -1
  131. data/docs/PaymentCardSaleTransactionAllOf.md +5 -1
  132. data/docs/PaymentCardVerificationRequest.md +17 -0
  133. data/docs/PaymentCardVerificationRequestAllOf.md +17 -0
  134. data/docs/PaymentDevice.md +27 -0
  135. data/docs/PaymentDeviceCreditTransaction.md +17 -0
  136. data/docs/PaymentDeviceCreditTransactionAllOf.md +17 -0
  137. data/docs/PaymentDeviceDisbursementTransaction.md +19 -0
  138. data/docs/PaymentDeviceDisbursementTransactionAllOf.md +19 -0
  139. data/docs/PaymentDevicePaymentMethod.md +19 -0
  140. data/docs/PaymentDevicePaymentMethodAllOf.md +19 -0
  141. data/docs/PaymentDevicePaymentTokenizationRequest.md +17 -0
  142. data/docs/PaymentDevicePaymentTokenizationRequestAllOf.md +17 -0
  143. data/docs/PaymentDevicePreAuthTransaction.md +27 -0
  144. data/docs/PaymentDevicePreAuthTransactionAllOf.md +27 -0
  145. data/docs/PaymentDeviceSaleTransaction.md +21 -0
  146. data/docs/PaymentDeviceSaleTransactionAllOf.md +21 -0
  147. data/docs/PaymentRegistration.md +39 -0
  148. data/docs/PaymentSchedulesRequest.md +1 -1
  149. data/docs/PaymentTokenApi.md +132 -2
  150. data/docs/PaymentTokenInfoLookupRequest.md +17 -0
  151. data/docs/PaymentTokenInfoLookupRequestAllOf.md +17 -0
  152. data/docs/PaymentTokenPreAuthTransaction.md +7 -1
  153. data/docs/PaymentTokenPreAuthTransactionAllOf.md +7 -1
  154. data/docs/PaymentTokenSaleTransaction.md +5 -1
  155. data/docs/PaymentTokenSaleTransactionAllOf.md +5 -1
  156. data/docs/PaymentTokenUpdateResponse.md +27 -0
  157. data/docs/PaymentTokenVerificationRequest.md +17 -0
  158. data/docs/PaymentTokenVerificationRequestAllOf.md +17 -0
  159. data/docs/PaymentTokenizationErrorResponse.md +4 -0
  160. data/docs/PaymentTokenizationRequest.md +5 -1
  161. data/docs/PaymentTokenizationResponse.md +5 -1
  162. data/docs/PaymentURLApi.md +142 -0
  163. data/docs/PaymentUrlDetail.md +25 -0
  164. data/docs/PaymentUrlDetailResponse.md +23 -0
  165. data/docs/PaymentUrlRequest.md +1 -1
  166. data/docs/PaymentUrlStatus.md +16 -0
  167. data/docs/{CustomerAddressPhone.md → Phone.md} +2 -2
  168. data/docs/Primary.md +17 -0
  169. data/docs/ProcessorData.md +7 -1
  170. data/docs/Properties.md +25 -0
  171. data/docs/PurchaseCardsLevel3.md +1 -1
  172. data/docs/Receipt.md +19 -0
  173. data/docs/ReceiptRequestInfo.md +21 -0
  174. data/docs/RecurringPaymentDetailsResponse.md +3 -7
  175. data/docs/RegistrationMethod.md +29 -0
  176. data/docs/RemoveFraudBlockedItemsResponse.md +23 -0
  177. data/docs/ResponseAmountComponents.md +2 -2
  178. data/docs/ScoreOnlyRequest.md +1 -1
  179. data/docs/ScoreOnlyResponse.md +3 -5
  180. data/docs/ScoreOnlyResponseFraudScore.md +3 -1
  181. data/docs/SecondaryTransaction.md +5 -1
  182. data/docs/Secure3D10AuthenticationRequest.md +16 -0
  183. data/docs/{Secure3dAuthenticationVerificationRequest.md → Secure3D10AuthenticationUpdateRequest.md} +5 -3
  184. data/docs/{Secure3dAuthenticationVerificationRequestAllOf.md → Secure3D10AuthenticationUpdateRequestAllOf.md} +5 -3
  185. data/docs/Secure3D21AuthenticationRequest.md +23 -0
  186. data/docs/Secure3D21AuthenticationRequestAllOf.md +23 -0
  187. data/docs/Secure3D21AuthenticationResult.md +2 -2
  188. data/docs/Secure3D21AuthenticationResultAllOf.md +2 -2
  189. data/docs/Secure3D21AuthenticationUpdateRequest.md +19 -0
  190. data/docs/Secure3D21AuthenticationUpdateRequestAllOf.md +19 -0
  191. data/docs/Secure3DAuthenticationResponse.md +23 -0
  192. data/docs/Secure3DAuthenticationResponseParams.md +27 -0
  193. data/docs/Secure3DAuthenticationResponseSecure3dMethod.md +35 -0
  194. data/docs/SepaMandate.md +1 -1
  195. data/docs/SharedSecretConfigurationRequest.md +17 -0
  196. data/docs/SharedSecretConfigurationResponse.md +29 -0
  197. data/docs/{FraudOrderShipToAddress.md → ShipToAddress.md} +2 -2
  198. data/docs/SoftDescriptor.md +5 -1
  199. data/docs/StoreBrandingStyleConfiguration.md +21 -0
  200. data/docs/StoreEmailSettings.md +19 -0
  201. data/docs/StoreEmailSettingsResult.md +19 -0
  202. data/docs/StoreFraudSettings.md +19 -0
  203. data/docs/StoreFraudSettingsResult.md +21 -0
  204. data/docs/StoreUrlConfiguration.md +31 -0
  205. data/docs/StoreUrlConfigurationRequest.md +17 -0
  206. data/docs/StoreUrlConfigurationResponse.md +23 -0
  207. data/docs/StoreUrlConfigurationResult.md +19 -0
  208. data/docs/StoredCredential.md +1 -1
  209. data/docs/TeleCheckAchPaymentMethod.md +53 -0
  210. data/docs/TeleCheckAchPaymentMethodAchBillTo.md +35 -0
  211. data/docs/TeleCheckCBPPaymentMethod.md +16 -0
  212. data/docs/TeleCheckICAPaymentMethod.md +21 -0
  213. data/docs/TeleCheckICAPaymentMethodAllOf.md +21 -0
  214. data/docs/Text.md +19 -0
  215. data/docs/Title.md +17 -0
  216. data/docs/TokenIdentifier.md +17 -0
  217. data/docs/TopBar.md +17 -0
  218. data/docs/TransactionErrorResponse.md +10 -4
  219. data/docs/TransactionResponse.md +11 -5
  220. data/docs/UnionPayAuthenticationUpdateRequest.md +19 -0
  221. data/docs/UnionPayAuthenticationUpdateRequestAllOf.md +19 -0
  222. data/docs/UpdateEmailSettingsRequest.md +17 -0
  223. data/docs/UpdateEmailSettingsResponse.md +23 -0
  224. data/docs/UpdateFraudSettingsRequest.md +17 -0
  225. data/docs/UpdateFraudSettingsResponse.md +23 -0
  226. data/docs/UpdatePaymentToken.md +23 -0
  227. data/docs/UsePaymentToken.md +5 -1
  228. data/docs/{PaymentVerification3ds.md → Verification3ds.md} +2 -2
  229. data/docs/VerificationApi.md +132 -0
  230. data/docs/{PaymentVerificationAvs.md → VerificationAvs.md} +2 -2
  231. data/docs/{PaymentVerificationCvv.md → VerificationCvv.md} +2 -2
  232. data/docs/VoidPreAuthTransactions.md +16 -0
  233. data/docs/WalletPreAuthTransaction.md +3 -1
  234. data/docs/WalletPreAuthTransactionAllOf.md +3 -1
  235. data/first_data_gateway.gemspec +6 -7
  236. data/git_push.sh +10 -7
  237. data/lib/openapi_client.rb +129 -13
  238. data/lib/openapi_client/.DS_Store +0 -0
  239. data/lib/openapi_client/api/authentication_api.rb +17 -9
  240. data/lib/openapi_client/api/currency_conversion_api.rb +6 -6
  241. data/lib/openapi_client/api/fraud_detect_api.rb +14 -20
  242. data/lib/openapi_client/api/information_lookup_api.rb +228 -0
  243. data/lib/openapi_client/api/order_api.rb +11 -12
  244. data/lib/openapi_client/api/payment_api.rb +36 -40
  245. data/lib/openapi_client/api/payment_schedules_api.rb +16 -17
  246. data/lib/openapi_client/api/payment_token_api.rb +222 -10
  247. data/lib/openapi_client/api/payment_url_api.rb +14 -14
  248. data/lib/openapi_client/api/verification_api.rb +228 -0
  249. data/lib/openapi_client/api_client.rb +15 -30
  250. data/lib/openapi_client/api_error.rb +2 -2
  251. data/lib/openapi_client/configuration.rb +4 -4
  252. data/lib/openapi_client/models/access_token_request.rb +242 -0
  253. data/lib/openapi_client/models/access_token_response.rb +81 -66
  254. data/lib/openapi_client/models/{authentication_verification_request.rb → account_info_lookup_request.rb} +39 -49
  255. data/lib/openapi_client/models/account_updater_response.rb +21 -12
  256. data/lib/openapi_client/models/{union_pay_authentication_verification_request.rb → account_verification_request.rb} +67 -73
  257. data/lib/openapi_client/models/ach_credit_transaction.rb +223 -0
  258. data/lib/openapi_client/models/ach_post_auth_transaction.rb +223 -0
  259. data/lib/openapi_client/models/ach_post_auth_transaction_all_of.rb +210 -0
  260. data/lib/openapi_client/models/ach_pre_auth_transaction.rb +223 -0
  261. data/lib/openapi_client/models/ach_pre_auth_transaction_all_of.rb +210 -0
  262. data/lib/openapi_client/models/ach_recurring_type.rb +36 -0
  263. data/lib/openapi_client/models/ach_response.rb +307 -0
  264. data/lib/openapi_client/models/ach_return_transaction.rb +223 -0
  265. data/lib/openapi_client/models/ach_sale_transaction.rb +223 -0
  266. data/lib/openapi_client/models/ach_void_transaction.rb +223 -0
  267. data/lib/openapi_client/models/acs_response.rb +207 -0
  268. data/lib/openapi_client/models/additional_amount_rate.rb +21 -12
  269. data/lib/openapi_client/models/additional_details.rb +198 -16
  270. data/lib/openapi_client/models/additional_transaction_details.rb +39 -18
  271. data/lib/openapi_client/models/address.rb +21 -12
  272. data/lib/openapi_client/models/airline.rb +21 -12
  273. data/lib/openapi_client/models/airline_ancillary_service_category.rb +21 -12
  274. data/lib/openapi_client/models/airline_travel_route.rb +21 -12
  275. data/lib/openapi_client/models/ali_pay.rb +21 -12
  276. data/lib/openapi_client/models/ali_pay_payment_method.rb +21 -12
  277. data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +21 -12
  278. data/lib/openapi_client/models/ali_pay_sale_transaction.rb +30 -114
  279. data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +21 -12
  280. data/lib/openapi_client/models/amount.rb +41 -13
  281. data/lib/openapi_client/models/amount_components.rb +21 -12
  282. data/lib/openapi_client/models/authentication_request.rb +217 -0
  283. data/lib/openapi_client/models/authentication_result.rb +217 -0
  284. data/lib/openapi_client/models/authentication_update_request.rb +251 -0
  285. data/lib/openapi_client/models/avs_response.rb +35 -16
  286. data/lib/openapi_client/models/background.rb +233 -0
  287. data/lib/openapi_client/models/background_color.rb +224 -0
  288. data/lib/openapi_client/models/bancontact_qr.rb +271 -0
  289. data/lib/openapi_client/models/basic_response.rb +21 -12
  290. data/lib/openapi_client/models/billing.rb +21 -12
  291. data/lib/openapi_client/models/billing_address.rb +21 -12
  292. data/lib/openapi_client/models/block_card.rb +242 -0
  293. data/lib/openapi_client/models/{secure3d_authentication_request.rb → block_domain.rb} +33 -36
  294. data/lib/openapi_client/models/block_ip_address.rb +217 -0
  295. data/lib/openapi_client/models/block_name.rb +217 -0
  296. data/lib/openapi_client/models/blocked_card_number.rb +217 -0
  297. data/lib/openapi_client/models/blocked_items.rb +233 -0
  298. data/lib/openapi_client/models/body.rb +223 -0
  299. data/lib/openapi_client/models/borders.rb +223 -0
  300. data/lib/openapi_client/models/branding_style_configuration_request.rb +208 -0
  301. data/lib/openapi_client/models/branding_style_configuration_response.rb +243 -0
  302. data/lib/openapi_client/models/branding_style_configuration_result.rb +216 -0
  303. data/lib/openapi_client/models/button.rb +215 -0
  304. data/lib/openapi_client/models/car_rental.rb +21 -12
  305. data/lib/openapi_client/models/car_rental_extra_charges.rb +21 -12
  306. data/lib/openapi_client/models/card.rb +21 -12
  307. data/lib/openapi_client/models/card_function.rb +2 -2
  308. data/lib/openapi_client/models/card_info.rb +21 -12
  309. data/lib/openapi_client/models/card_info_lookup_request.rb +21 -12
  310. data/lib/openapi_client/models/card_info_lookup_response.rb +21 -12
  311. data/lib/openapi_client/models/card_verification_request.rb +21 -12
  312. data/lib/openapi_client/models/china_domestic.rb +50 -16
  313. data/lib/openapi_client/models/china_domestic_payment_method.rb +21 -12
  314. data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +21 -12
  315. data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +30 -114
  316. data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +21 -12
  317. data/lib/openapi_client/models/classic_mode.rb +287 -0
  318. data/lib/openapi_client/models/clearing_details.rb +338 -0
  319. data/lib/openapi_client/models/clearing_element.rb +227 -0
  320. data/lib/openapi_client/models/client_locale.rb +21 -12
  321. data/lib/openapi_client/models/client_registration.rb +21 -12
  322. data/lib/openapi_client/models/combined_mode.rb +233 -0
  323. data/lib/openapi_client/models/connect_mode.rb +36 -0
  324. data/lib/openapi_client/models/contact.rb +21 -12
  325. data/lib/openapi_client/models/content.rb +223 -0
  326. data/lib/openapi_client/models/{authentication.rb → country_profile.rb} +33 -34
  327. data/lib/openapi_client/models/create_payment_token.rb +21 -12
  328. data/lib/openapi_client/models/currency_conversion.rb +21 -12
  329. data/lib/openapi_client/models/currency_conversion_response.rb +216 -0
  330. data/lib/openapi_client/models/customer.rb +21 -12
  331. data/lib/openapi_client/models/customer_address.rb +21 -12
  332. data/lib/openapi_client/models/dcc.rb +30 -68
  333. data/lib/openapi_client/models/dcc_all_of.rb +21 -12
  334. data/lib/openapi_client/models/dcc_exchange_rate_request.rb +31 -73
  335. data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +22 -13
  336. data/lib/openapi_client/models/decrypted_apple_pay.rb +404 -0
  337. data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +223 -0
  338. data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +210 -0
  339. data/lib/openapi_client/models/decrypted_google_pay.rb +404 -0
  340. data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +223 -0
  341. data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +210 -0
  342. data/lib/openapi_client/models/decrypted_samsung_pay.rb +404 -0
  343. data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +223 -0
  344. data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +210 -0
  345. data/lib/openapi_client/models/delete_branding_style_configuration_response.rb +252 -0
  346. data/lib/openapi_client/models/device.rb +21 -12
  347. data/lib/openapi_client/models/disbursement.rb +21 -12
  348. data/lib/openapi_client/models/disbursement_transaction_type.rb +30 -60
  349. data/lib/openapi_client/models/document.rb +21 -12
  350. data/lib/openapi_client/models/dynamic_pricing.rb +30 -68
  351. data/lib/openapi_client/models/dynamic_pricing_all_of.rb +21 -12
  352. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +30 -72
  353. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +21 -12
  354. data/lib/openapi_client/models/email_notification_data.rb +247 -0
  355. data/lib/openapi_client/models/encrypted_apple_pay.rb +21 -12
  356. data/lib/openapi_client/models/encrypted_apple_pay_header.rb +21 -12
  357. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +30 -32
  358. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +21 -12
  359. data/lib/openapi_client/models/encrypted_google_pay.rb +21 -12
  360. data/lib/openapi_client/models/encrypted_google_pay_data.rb +21 -12
  361. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +30 -32
  362. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +21 -12
  363. data/lib/openapi_client/models/encrypted_samsung_pay.rb +21 -12
  364. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +30 -32
  365. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +21 -12
  366. data/lib/openapi_client/models/endpoint_response.rb +261 -0
  367. data/lib/openapi_client/models/error.rb +21 -12
  368. data/lib/openapi_client/models/error_details.rb +21 -12
  369. data/lib/openapi_client/models/error_message.rb +21 -12
  370. data/lib/openapi_client/models/error_response.rb +21 -12
  371. data/lib/openapi_client/models/exchange_rate_details.rb +287 -0
  372. data/lib/openapi_client/models/exchange_rate_request.rb +21 -12
  373. data/lib/openapi_client/models/exchange_rate_response.rb +29 -101
  374. data/lib/openapi_client/models/expiration.rb +29 -20
  375. data/lib/openapi_client/models/font_face.rb +39 -0
  376. data/lib/openapi_client/models/font_properties.rb +252 -0
  377. data/lib/openapi_client/models/font_weight.rb +36 -0
  378. data/lib/openapi_client/models/footer.rb +223 -0
  379. data/lib/openapi_client/models/fraud_address.rb +21 -12
  380. data/lib/openapi_client/models/fraud_order.rb +32 -13
  381. data/lib/openapi_client/models/fraud_order_items.rb +26 -15
  382. data/lib/openapi_client/models/fraud_registration.rb +21 -12
  383. data/lib/openapi_client/models/fraud_registration_card.rb +21 -12
  384. data/lib/openapi_client/models/fraud_registration_device.rb +21 -12
  385. data/lib/openapi_client/models/fraud_registration_device_items.rb +21 -12
  386. data/lib/openapi_client/models/fraud_registration_error.rb +21 -12
  387. data/lib/openapi_client/models/fraud_registration_response.rb +22 -13
  388. data/lib/openapi_client/models/fraud_score.rb +21 -12
  389. data/lib/openapi_client/models/fraud_settings.rb +235 -0
  390. data/lib/openapi_client/models/fraud_settings_response.rb +322 -0
  391. data/lib/openapi_client/models/frequency.rb +21 -12
  392. data/lib/openapi_client/models/funding_transaction_type.rb +30 -60
  393. data/lib/openapi_client/models/header.rb +223 -0
  394. data/lib/openapi_client/models/hover.rb +223 -0
  395. data/lib/openapi_client/models/id_info.rb +256 -0
  396. data/lib/openapi_client/models/industry_specific_extensions.rb +34 -16
  397. data/lib/openapi_client/models/initiate_clearing_response.rb +298 -0
  398. data/lib/openapi_client/models/initiate_clearing_response_all_of.rb +261 -0
  399. data/lib/openapi_client/models/installment_options.rb +21 -12
  400. data/lib/openapi_client/models/issuer_response.rb +21 -12
  401. data/lib/openapi_client/models/items.rb +21 -12
  402. data/lib/openapi_client/models/location.rb +21 -12
  403. data/lib/openapi_client/models/lockout_time.rb +217 -0
  404. data/lib/openapi_client/models/lodging.rb +21 -12
  405. data/lib/openapi_client/models/lodging_extra_charges.rb +21 -12
  406. data/lib/openapi_client/models/logo.rb +276 -0
  407. data/lib/openapi_client/models/loyalty.rb +21 -12
  408. data/lib/openapi_client/models/masterpass_wallet_payment_method.rb +268 -0
  409. data/lib/openapi_client/models/masterpass_wallet_payment_method_all_of.rb +255 -0
  410. data/lib/openapi_client/models/maximum_purchase_amount.rb +227 -0
  411. data/lib/openapi_client/models/mcc6012.rb +347 -0
  412. data/lib/openapi_client/models/merchant.rb +21 -12
  413. data/lib/openapi_client/models/method.rb +21 -12
  414. data/lib/openapi_client/models/mobile.rb +216 -0
  415. data/lib/openapi_client/models/mobile_header_area.rb +223 -0
  416. data/lib/openapi_client/models/order.rb +34 -16
  417. data/lib/openapi_client/models/order_error_response.rb +21 -12
  418. data/lib/openapi_client/models/order_response.rb +21 -12
  419. data/lib/openapi_client/models/pay_pal.rb +21 -12
  420. data/lib/openapi_client/models/pay_pal_payment_method.rb +21 -12
  421. data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +21 -12
  422. data/lib/openapi_client/models/payment.rb +21 -12
  423. data/lib/openapi_client/models/payment_card.rb +22 -22
  424. data/lib/openapi_client/models/payment_card_credit_transaction.rb +30 -114
  425. data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +30 -114
  426. data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +21 -12
  427. data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +30 -114
  428. data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +21 -12
  429. data/lib/openapi_client/models/payment_card_info_lookup_request.rb +223 -0
  430. data/lib/openapi_client/models/payment_card_info_lookup_request_all_of.rb +210 -0
  431. data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +30 -114
  432. data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +21 -12
  433. data/lib/openapi_client/models/payment_card_payment_method.rb +21 -12
  434. data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +21 -12
  435. data/lib/openapi_client/models/payment_card_payment_token_update_request.rb +259 -0
  436. data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +30 -92
  437. data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +21 -12
  438. data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +61 -114
  439. data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +55 -16
  440. data/lib/openapi_client/models/payment_card_sale_transaction.rb +52 -116
  441. data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +43 -16
  442. data/lib/openapi_client/models/payment_card_verification_request.rb +223 -0
  443. data/lib/openapi_client/models/payment_card_verification_request_all_of.rb +210 -0
  444. data/lib/openapi_client/models/payment_device.rb +21 -12
  445. data/lib/openapi_client/models/payment_device_credit_transaction.rb +30 -114
  446. data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +21 -12
  447. data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +30 -114
  448. data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +21 -12
  449. data/lib/openapi_client/models/payment_device_payment_method.rb +21 -12
  450. data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +21 -12
  451. data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +30 -92
  452. data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +21 -12
  453. data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +44 -116
  454. data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +37 -16
  455. data/lib/openapi_client/models/payment_device_sale_transaction.rb +30 -114
  456. data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +21 -12
  457. data/lib/openapi_client/models/payment_facilitator.rb +21 -12
  458. data/lib/openapi_client/models/payment_method_details.rb +21 -12
  459. data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +30 -254
  460. data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +21 -12
  461. data/lib/openapi_client/models/payment_method_type.rb +3 -2
  462. data/lib/openapi_client/models/payment_registration.rb +21 -12
  463. data/lib/openapi_client/models/payment_schedules_error_response.rb +21 -12
  464. data/lib/openapi_client/models/payment_schedules_request.rb +21 -12
  465. data/lib/openapi_client/models/payment_schedules_response.rb +21 -12
  466. data/lib/openapi_client/models/payment_token_credit_transaction.rb +30 -114
  467. data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +21 -12
  468. data/lib/openapi_client/models/payment_token_details.rb +21 -12
  469. data/lib/openapi_client/models/payment_token_details_all_of.rb +21 -12
  470. data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +30 -114
  471. data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +21 -12
  472. data/lib/openapi_client/models/payment_token_info_lookup_request.rb +223 -0
  473. data/lib/openapi_client/models/payment_token_info_lookup_request_all_of.rb +210 -0
  474. data/lib/openapi_client/models/payment_token_payment_method.rb +21 -12
  475. data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +21 -12
  476. data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +60 -114
  477. data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +55 -16
  478. data/lib/openapi_client/models/payment_token_sale_transaction.rb +50 -116
  479. data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +43 -16
  480. data/lib/openapi_client/models/payment_token_update_response.rb +297 -0
  481. data/lib/openapi_client/models/payment_token_verification_request.rb +223 -0
  482. data/lib/openapi_client/models/payment_token_verification_request_all_of.rb +210 -0
  483. data/lib/openapi_client/models/payment_tokenization_error_response.rb +72 -13
  484. data/lib/openapi_client/models/payment_tokenization_request.rb +59 -16
  485. data/lib/openapi_client/models/payment_tokenization_response.rb +75 -16
  486. data/lib/openapi_client/models/payment_url_detail.rb +21 -12
  487. data/lib/openapi_client/models/payment_url_detail_response.rb +21 -12
  488. data/lib/openapi_client/models/payment_url_error_response.rb +21 -12
  489. data/lib/openapi_client/models/payment_url_request.rb +21 -12
  490. data/lib/openapi_client/models/payment_url_response.rb +21 -12
  491. data/lib/openapi_client/models/payment_url_status.rb +2 -2
  492. data/lib/openapi_client/models/paypal_credit_transaction.rb +30 -114
  493. data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +21 -12
  494. data/lib/openapi_client/models/phone.rb +21 -12
  495. data/lib/openapi_client/models/post_auth_transaction.rb +30 -67
  496. data/lib/openapi_client/models/post_auth_transaction_all_of.rb +21 -12
  497. data/lib/openapi_client/models/primary.rb +223 -0
  498. data/lib/openapi_client/models/primary_transaction.rb +21 -12
  499. data/lib/openapi_client/models/processor_data.rb +57 -18
  500. data/lib/openapi_client/models/properties.rb +279 -0
  501. data/lib/openapi_client/models/purchase_cards.rb +21 -12
  502. data/lib/openapi_client/models/purchase_cards_level2.rb +21 -12
  503. data/lib/openapi_client/models/purchase_cards_level3.rb +21 -12
  504. data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +21 -12
  505. data/lib/openapi_client/models/{authentication_redirect.rb → receipt.rb} +48 -36
  506. data/lib/openapi_client/models/receipt_request_info.rb +268 -0
  507. data/lib/openapi_client/models/receiver_info.rb +59 -41
  508. data/lib/openapi_client/models/recurring_payment_details.rb +21 -12
  509. data/lib/openapi_client/models/recurring_payment_details_response.rb +21 -12
  510. data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +30 -254
  511. data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +21 -12
  512. data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +30 -92
  513. data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +21 -12
  514. data/lib/openapi_client/models/registration_method.rb +21 -12
  515. data/lib/openapi_client/models/remove_fraud_blocked_items_response.rb +243 -0
  516. data/lib/openapi_client/models/response_amount_components.rb +21 -12
  517. data/lib/openapi_client/models/response_amount_components_all_of.rb +21 -12
  518. data/lib/openapi_client/models/response_type.rb +2 -3
  519. data/lib/openapi_client/models/return_transaction.rb +30 -67
  520. data/lib/openapi_client/models/return_transaction_all_of.rb +21 -12
  521. data/lib/openapi_client/models/score_only_request.rb +21 -12
  522. data/lib/openapi_client/models/score_only_response.rb +31 -32
  523. data/lib/openapi_client/models/score_only_response_fraud_score.rb +35 -16
  524. data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +21 -12
  525. data/lib/openapi_client/models/secondary_transaction.rb +59 -16
  526. data/lib/openapi_client/models/secure3_d10_authentication_request.rb +208 -0
  527. data/lib/openapi_client/models/secure3_d10_authentication_result.rb +31 -33
  528. data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +21 -12
  529. data/lib/openapi_client/models/{secure3d_authentication_verification_request.rb → secure3_d10_authentication_update_request.rb} +47 -83
  530. data/lib/openapi_client/models/{secure3d_authentication_verification_request_all_of.rb → secure3_d10_authentication_update_request_all_of.rb} +38 -19
  531. data/lib/openapi_client/models/secure3_d21_authentication_request.rb +297 -0
  532. data/lib/openapi_client/models/secure3_d21_authentication_request_all_of.rb +284 -0
  533. data/lib/openapi_client/models/secure3_d21_authentication_result.rb +35 -35
  534. data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +24 -13
  535. data/lib/openapi_client/models/secure3_d21_authentication_update_request.rb +262 -0
  536. data/lib/openapi_client/models/secure3_d21_authentication_update_request_all_of.rb +249 -0
  537. data/lib/openapi_client/models/secure3_d_authentication_response.rb +281 -0
  538. data/lib/openapi_client/models/secure3_d_authentication_response_params.rb +257 -0
  539. data/lib/openapi_client/models/secure3_d_authentication_response_secure3d_method.rb +217 -0
  540. data/lib/openapi_client/models/secure3d_response.rb +21 -12
  541. data/lib/openapi_client/models/sender_info.rb +59 -41
  542. data/lib/openapi_client/models/sepa.rb +21 -12
  543. data/lib/openapi_client/models/sepa_mandate.rb +21 -12
  544. data/lib/openapi_client/models/sepa_payment_method.rb +21 -12
  545. data/lib/openapi_client/models/sepa_payment_method_all_of.rb +21 -12
  546. data/lib/openapi_client/models/sepa_sale_transaction.rb +30 -114
  547. data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +21 -12
  548. data/lib/openapi_client/models/shared_secret_configuration_request.rb +233 -0
  549. data/lib/openapi_client/models/shared_secret_configuration_response.rb +273 -0
  550. data/lib/openapi_client/models/ship_to_address.rb +21 -12
  551. data/lib/openapi_client/models/shipping.rb +21 -12
  552. data/lib/openapi_client/models/soft_descriptor.rb +70 -16
  553. data/lib/openapi_client/models/split_shipment.rb +21 -12
  554. data/lib/openapi_client/models/store_branding_style_configuration.rb +229 -0
  555. data/lib/openapi_client/models/store_email_settings.rb +226 -0
  556. data/lib/openapi_client/models/store_email_settings_result.rb +217 -0
  557. data/lib/openapi_client/models/store_fraud_settings.rb +226 -0
  558. data/lib/openapi_client/models/store_fraud_settings_result.rb +226 -0
  559. data/lib/openapi_client/models/store_url_configuration.rb +281 -0
  560. data/lib/openapi_client/models/{authentication_redirect_params.rb → store_url_configuration_request.rb} +34 -44
  561. data/lib/openapi_client/models/store_url_configuration_response.rb +244 -0
  562. data/lib/openapi_client/models/store_url_configuration_result.rb +216 -0
  563. data/lib/openapi_client/models/stored_credential.rb +27 -18
  564. data/lib/openapi_client/models/sub_merchant_data.rb +21 -12
  565. data/lib/openapi_client/models/sub_merchant_split.rb +21 -12
  566. data/lib/openapi_client/models/tele_check_ach_payment_method.rb +784 -0
  567. data/lib/openapi_client/models/tele_check_ach_payment_method_ach_bill_to.rb +611 -0
  568. data/lib/openapi_client/models/tele_check_cbp_payment_method.rb +230 -0
  569. data/lib/openapi_client/models/tele_check_ica_payment_method.rb +321 -0
  570. data/lib/openapi_client/models/tele_check_ica_payment_method_all_of.rb +286 -0
  571. data/lib/openapi_client/models/text.rb +215 -0
  572. data/lib/openapi_client/models/title.rb +223 -0
  573. data/lib/openapi_client/models/token_identifier.rb +207 -0
  574. data/lib/openapi_client/models/top_bar.rb +223 -0
  575. data/lib/openapi_client/models/transaction_error_response.rb +73 -21
  576. data/lib/openapi_client/models/transaction_origin.rb +2 -2
  577. data/lib/openapi_client/models/transaction_response.rb +76 -24
  578. data/lib/openapi_client/models/transaction_type.rb +2 -2
  579. data/lib/openapi_client/models/union_pay_authentication_request.rb +31 -33
  580. data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +21 -12
  581. data/lib/openapi_client/models/union_pay_authentication_update_request.rb +255 -0
  582. data/lib/openapi_client/models/{union_pay_authentication_verification_request_all_of.rb → union_pay_authentication_update_request_all_of.rb} +38 -19
  583. data/lib/openapi_client/models/update_email_settings_request.rb +213 -0
  584. data/lib/openapi_client/models/update_email_settings_response.rb +244 -0
  585. data/lib/openapi_client/models/update_fraud_settings_request.rb +208 -0
  586. data/lib/openapi_client/models/update_fraud_settings_response.rb +244 -0
  587. data/lib/openapi_client/models/update_payment_token.rb +250 -0
  588. data/lib/openapi_client/models/use_payment_token.rb +34 -16
  589. data/lib/openapi_client/models/verification3ds.rb +21 -12
  590. data/lib/openapi_client/models/verification_avs.rb +21 -12
  591. data/lib/openapi_client/models/verification_cvv.rb +21 -12
  592. data/lib/openapi_client/models/void_pre_auth_transactions.rb +208 -0
  593. data/lib/openapi_client/models/void_transaction.rb +30 -67
  594. data/lib/openapi_client/models/wallet_payment_method.rb +22 -13
  595. data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +44 -116
  596. data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +37 -16
  597. data/lib/openapi_client/models/wallet_sale_transaction.rb +30 -114
  598. data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +21 -12
  599. data/lib/openapi_client/version.rb +3 -3
  600. data/lib/simple/client_context.rb +2 -2
  601. data/lib/simple/gateway.rb +78 -10
  602. data/spec/api/authentication_api_spec.rb +3 -2
  603. data/spec/api/card_info_lookup_api_spec.rb +1 -1
  604. data/spec/api/card_verification_api_spec.rb +1 -1
  605. data/spec/api/currency_conversion_api_spec.rb +2 -2
  606. data/spec/api/fraud_detect_api_spec.rb +38 -2
  607. data/spec/api/information_lookup_api_spec.rb +71 -0
  608. data/spec/api/order_api_spec.rb +3 -3
  609. data/spec/api/payment_api_spec.rb +9 -9
  610. data/spec/api/payment_schedules_api_spec.rb +2 -2
  611. data/spec/api/payment_token_api_spec.rb +42 -3
  612. data/spec/api/payment_url_api_spec.rb +47 -2
  613. data/spec/api/verification_api_spec.rb +71 -0
  614. data/spec/api_client_spec.rb +3 -3
  615. data/spec/configuration_spec.rb +2 -2
  616. data/spec/models/access_token_request_spec.rb +53 -0
  617. data/spec/models/access_token_response_spec.rb +29 -9
  618. data/spec/models/account_info_lookup_request_spec.rb +47 -0
  619. data/spec/models/account_updater_response_spec.rb +2 -2
  620. data/spec/models/{authentication_verification_request_spec.rb → account_verification_request_spec.rb} +12 -12
  621. data/spec/models/{union_pay_authentication_verification_request_spec.rb → ach_credit_transaction_spec.rb} +9 -9
  622. data/spec/models/ach_post_auth_transaction_all_of_spec.rb +41 -0
  623. data/spec/models/ach_post_auth_transaction_spec.rb +41 -0
  624. data/spec/models/ach_pre_auth_transaction_all_of_spec.rb +41 -0
  625. data/spec/models/ach_pre_auth_transaction_spec.rb +41 -0
  626. data/spec/models/{secure3d_authentication_request_spec.rb → ach_recurring_type_spec.rb} +8 -8
  627. data/spec/models/ach_response_spec.rb +65 -0
  628. data/spec/models/ach_return_transaction_spec.rb +41 -0
  629. data/spec/models/ach_sale_transaction_spec.rb +41 -0
  630. data/spec/models/ach_void_transaction_spec.rb +41 -0
  631. data/spec/models/acs_response_spec.rb +41 -0
  632. data/spec/models/additional_amount_rate_spec.rb +2 -2
  633. data/spec/models/additional_details_spec.rb +26 -2
  634. data/spec/models/additional_transaction_details_spec.rb +3 -3
  635. data/spec/models/address_spec.rb +2 -2
  636. data/spec/models/airline_ancillary_service_category_spec.rb +2 -2
  637. data/spec/models/airline_spec.rb +2 -2
  638. data/spec/models/airline_travel_route_spec.rb +2 -2
  639. data/spec/models/ali_pay_payment_method_all_of_spec.rb +2 -2
  640. data/spec/models/ali_pay_payment_method_spec.rb +2 -2
  641. data/spec/models/ali_pay_sale_transaction_all_of_spec.rb +2 -2
  642. data/spec/models/ali_pay_sale_transaction_spec.rb +2 -2
  643. data/spec/models/ali_pay_spec.rb +2 -2
  644. data/spec/models/amount_components_spec.rb +2 -2
  645. data/spec/models/amount_spec.rb +2 -2
  646. data/spec/models/authentication_request_spec.rb +41 -0
  647. data/spec/models/{authentication_spec.rb → authentication_result_spec.rb} +9 -9
  648. data/spec/models/{authentication_redirect_params_spec.rb → authentication_update_request_spec.rb} +11 -11
  649. data/spec/models/avs_response_spec.rb +8 -2
  650. data/spec/models/background_color_spec.rb +53 -0
  651. data/spec/models/background_spec.rb +59 -0
  652. data/spec/models/bancontact_qr_spec.rb +51 -0
  653. data/spec/models/basic_response_spec.rb +2 -2
  654. data/spec/models/billing_address_spec.rb +2 -2
  655. data/spec/models/billing_spec.rb +2 -2
  656. data/spec/models/block_card_spec.rb +53 -0
  657. data/spec/models/block_domain_spec.rb +41 -0
  658. data/spec/models/{customer_address_phone_spec.rb → block_ip_address_spec.rb} +10 -10
  659. data/spec/models/block_name_spec.rb +47 -0
  660. data/spec/models/blocked_card_number_spec.rb +47 -0
  661. data/spec/models/blocked_items_spec.rb +59 -0
  662. data/spec/models/body_spec.rb +41 -0
  663. data/spec/models/borders_spec.rb +41 -0
  664. data/spec/models/branding_style_configuration_request_spec.rb +41 -0
  665. data/spec/models/branding_style_configuration_response_all_of_spec.rb +41 -0
  666. data/spec/models/branding_style_configuration_response_spec.rb +59 -0
  667. data/spec/models/branding_style_configuration_result_spec.rb +47 -0
  668. data/spec/models/button_spec.rb +47 -0
  669. data/spec/models/car_rental_extra_charges_spec.rb +2 -2
  670. data/spec/models/car_rental_spec.rb +2 -2
  671. data/spec/models/card_function_spec.rb +2 -2
  672. data/spec/models/card_info_lookup_request_spec.rb +2 -2
  673. data/spec/models/card_info_lookup_response_all_of_spec.rb +51 -0
  674. data/spec/models/card_info_lookup_response_spec.rb +2 -2
  675. data/spec/models/card_info_spec.rb +2 -2
  676. data/spec/models/card_spec.rb +2 -2
  677. data/spec/models/card_verification_request_spec.rb +2 -2
  678. data/spec/models/china_domestic_payment_method_all_of_spec.rb +2 -2
  679. data/spec/models/china_domestic_payment_method_spec.rb +2 -2
  680. data/spec/models/china_domestic_spec.rb +2 -2
  681. data/spec/models/china_pn_r_sale_transaction_all_of_spec.rb +2 -2
  682. data/spec/models/china_pn_r_sale_transaction_spec.rb +2 -2
  683. data/spec/models/classic_mode_spec.rb +95 -0
  684. data/spec/models/clearing_details_spec.rb +65 -0
  685. data/spec/models/clearing_element_spec.rb +53 -0
  686. data/spec/models/client_locale_spec.rb +2 -2
  687. data/spec/models/client_registration_all_of_spec.rb +41 -0
  688. data/spec/models/client_registration_spec.rb +77 -0
  689. data/spec/models/combined_mode_spec.rb +59 -0
  690. data/spec/models/connect_mode_spec.rb +35 -0
  691. data/spec/models/contact_spec.rb +2 -2
  692. data/spec/models/content_spec.rb +41 -0
  693. data/spec/models/country_profile_spec.rb +41 -0
  694. data/spec/models/create_payment_token_spec.rb +2 -2
  695. data/spec/models/currency_conversion_spec.rb +2 -2
  696. data/spec/models/customer_address_all_of_spec.rb +41 -0
  697. data/spec/models/customer_address_spec.rb +4 -4
  698. data/spec/models/customer_spec.rb +2 -2
  699. data/spec/models/dcc_all_of_spec.rb +2 -2
  700. data/spec/models/dcc_exchange_rate_request_all_of_spec.rb +2 -2
  701. data/spec/models/dcc_exchange_rate_request_spec.rb +2 -2
  702. data/spec/models/dcc_spec.rb +2 -2
  703. data/spec/models/decrypted_apple_pay_spec.rb +83 -0
  704. data/spec/models/decrypted_apple_pay_wallet_payment_method_all_of_spec.rb +41 -0
  705. data/spec/models/decrypted_apple_pay_wallet_payment_method_spec.rb +41 -0
  706. data/spec/models/decrypted_google_pay_spec.rb +83 -0
  707. data/spec/models/decrypted_google_pay_wallet_payment_method_all_of_spec.rb +41 -0
  708. data/spec/models/decrypted_google_pay_wallet_payment_method_spec.rb +41 -0
  709. data/spec/models/decrypted_samsung_pay_spec.rb +83 -0
  710. data/spec/models/decrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +41 -0
  711. data/spec/models/decrypted_samsung_pay_wallet_payment_method_spec.rb +41 -0
  712. data/spec/models/delete_branding_style_configuration_response_all_of_spec.rb +47 -0
  713. data/spec/models/delete_branding_style_configuration_response_spec.rb +65 -0
  714. data/spec/models/device_spec.rb +2 -2
  715. data/spec/models/disbursement_spec.rb +2 -2
  716. data/spec/models/disbursement_transaction_type_all_of_spec.rb +41 -0
  717. data/spec/models/disbursement_transaction_type_spec.rb +8 -2
  718. data/spec/models/document_spec.rb +2 -2
  719. data/spec/models/dynamic_pricing_all_of_spec.rb +2 -2
  720. data/spec/models/dynamic_pricing_exchange_rate_request_all_of_spec.rb +2 -2
  721. data/spec/models/dynamic_pricing_exchange_rate_request_spec.rb +2 -2
  722. data/spec/models/dynamic_pricing_spec.rb +2 -2
  723. data/spec/models/email_notification_data_spec.rb +65 -0
  724. data/spec/models/encrypted_apple_pay_header_spec.rb +2 -2
  725. data/spec/models/encrypted_apple_pay_spec.rb +2 -2
  726. data/spec/models/encrypted_apple_pay_wallet_payment_method_all_of_spec.rb +2 -2
  727. data/spec/models/encrypted_apple_pay_wallet_payment_method_spec.rb +2 -2
  728. data/spec/models/encrypted_google_pay_data_spec.rb +2 -2
  729. data/spec/models/encrypted_google_pay_spec.rb +2 -2
  730. data/spec/models/encrypted_google_pay_wallet_payment_method_all_of_spec.rb +2 -2
  731. data/spec/models/encrypted_google_pay_wallet_payment_method_spec.rb +2 -2
  732. data/spec/models/encrypted_samsung_pay_spec.rb +47 -0
  733. data/spec/models/encrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +41 -0
  734. data/spec/models/encrypted_samsung_pay_wallet_payment_method_spec.rb +41 -0
  735. data/spec/models/{authentication_redirect_spec.rb → endpoint_response_spec.rb} +15 -15
  736. data/spec/models/error_details_spec.rb +2 -2
  737. data/spec/models/error_message_spec.rb +47 -0
  738. data/spec/models/error_response_all_of_spec.rb +41 -0
  739. data/spec/models/error_response_spec.rb +2 -2
  740. data/spec/models/error_spec.rb +2 -2
  741. data/spec/models/exchange_rate_request_spec.rb +2 -2
  742. data/spec/models/exchange_rate_response_all_of_spec.rb +101 -0
  743. data/spec/models/exchange_rate_response_spec.rb +2 -2
  744. data/spec/models/expiration_spec.rb +2 -2
  745. data/spec/models/font_face_spec.rb +35 -0
  746. data/spec/models/font_properties_spec.rb +59 -0
  747. data/spec/models/font_weight_spec.rb +35 -0
  748. data/spec/models/footer_spec.rb +41 -0
  749. data/spec/models/{merchant_location_merchant_address_spec.rb → fraud_address_spec.rb} +8 -8
  750. data/spec/models/fraud_order_items_spec.rb +2 -2
  751. data/spec/models/fraud_order_spec.rb +2 -2
  752. data/spec/models/fraud_registration_card_spec.rb +71 -0
  753. data/spec/models/fraud_registration_device_items_spec.rb +75 -0
  754. data/spec/models/{transaction_spec.rb → fraud_registration_device_spec.rb} +22 -26
  755. data/spec/models/fraud_registration_error_spec.rb +41 -0
  756. data/spec/models/fraud_registration_response_spec.rb +75 -0
  757. data/spec/models/fraud_registration_spec.rb +71 -0
  758. data/spec/models/fraud_score_spec.rb +59 -0
  759. data/spec/models/fraud_settings_response_all_of_spec.rb +83 -0
  760. data/spec/models/fraud_settings_response_spec.rb +101 -0
  761. data/spec/models/fraud_settings_spec.rb +59 -0
  762. data/spec/models/frequency_spec.rb +2 -2
  763. data/spec/models/funding_transaction_type_all_of_spec.rb +41 -0
  764. data/spec/models/funding_transaction_type_spec.rb +8 -2
  765. data/spec/models/header_spec.rb +41 -0
  766. data/spec/models/hover_spec.rb +41 -0
  767. data/spec/models/id_info_spec.rb +47 -0
  768. data/spec/models/industry_specific_extensions_spec.rb +8 -2
  769. data/spec/models/initiate_clearing_response_all_of_spec.rb +57 -0
  770. data/spec/models/initiate_clearing_response_spec.rb +75 -0
  771. data/spec/models/installment_options_spec.rb +2 -2
  772. data/spec/models/{payment_issuer_response_spec.rb → issuer_response_spec.rb} +8 -8
  773. data/spec/models/{device_networks_spec.rb → items_spec.rb} +8 -8
  774. data/spec/models/{merchant_location_spec.rb → location_spec.rb} +8 -8
  775. data/spec/models/lockout_time_spec.rb +47 -0
  776. data/spec/models/lodging_extra_charges_spec.rb +2 -2
  777. data/spec/models/lodging_spec.rb +2 -2
  778. data/spec/models/logo_spec.rb +57 -0
  779. data/spec/models/loyalty_spec.rb +2 -2
  780. data/spec/models/masterpass_wallet_payment_method_all_of_spec.rb +47 -0
  781. data/spec/models/masterpass_wallet_payment_method_spec.rb +47 -0
  782. data/spec/models/maximum_purchase_amount_spec.rb +47 -0
  783. data/spec/models/mcc6012_spec.rb +71 -0
  784. data/spec/models/merchant_spec.rb +2 -2
  785. data/spec/models/{payment_pay_method_spec.rb → method_spec.rb} +8 -8
  786. data/spec/models/mobile_header_area_spec.rb +41 -0
  787. data/spec/models/mobile_spec.rb +47 -0
  788. data/spec/models/order_error_response_spec.rb +3 -15
  789. data/spec/models/order_response_all_of_spec.rb +65 -0
  790. data/spec/models/order_response_spec.rb +3 -15
  791. data/spec/models/order_spec.rb +8 -2
  792. data/spec/models/pay_pal_payment_method_all_of_spec.rb +2 -2
  793. data/spec/models/pay_pal_payment_method_spec.rb +2 -2
  794. data/spec/models/pay_pal_spec.rb +2 -2
  795. data/spec/models/payment_card_credit_transaction_spec.rb +2 -2
  796. data/spec/models/payment_card_disbursement_transaction_all_of_spec.rb +2 -2
  797. data/spec/models/payment_card_disbursement_transaction_spec.rb +2 -2
  798. data/spec/models/payment_card_forced_ticket_transaction_all_of_spec.rb +2 -2
  799. data/spec/models/payment_card_forced_ticket_transaction_spec.rb +2 -2
  800. data/spec/models/payment_card_info_lookup_request_all_of_spec.rb +41 -0
  801. data/spec/models/payment_card_info_lookup_request_spec.rb +41 -0
  802. data/spec/models/payment_card_payer_auth_transaction_all_of_spec.rb +2 -2
  803. data/spec/models/payment_card_payer_auth_transaction_spec.rb +2 -2
  804. data/spec/models/payment_card_payment_method_all_of_spec.rb +2 -2
  805. data/spec/models/payment_card_payment_method_spec.rb +2 -2
  806. data/spec/models/payment_card_payment_token_update_request_spec.rb +53 -0
  807. data/spec/models/payment_card_payment_tokenization_request_all_of_spec.rb +2 -2
  808. data/spec/models/payment_card_payment_tokenization_request_spec.rb +2 -2
  809. data/spec/models/payment_card_pre_auth_transaction_all_of_spec.rb +20 -2
  810. data/spec/models/payment_card_pre_auth_transaction_spec.rb +20 -2
  811. data/spec/models/payment_card_sale_transaction_all_of_spec.rb +20 -2
  812. data/spec/models/payment_card_sale_transaction_spec.rb +20 -2
  813. data/spec/models/payment_card_spec.rb +2 -8
  814. data/spec/models/payment_card_verification_request_all_of_spec.rb +41 -0
  815. data/spec/models/payment_card_verification_request_spec.rb +41 -0
  816. data/spec/models/payment_device_credit_transaction_all_of_spec.rb +41 -0
  817. data/spec/models/payment_device_credit_transaction_spec.rb +41 -0
  818. data/spec/models/payment_device_disbursement_transaction_all_of_spec.rb +47 -0
  819. data/spec/models/payment_device_disbursement_transaction_spec.rb +47 -0
  820. data/spec/models/payment_device_payment_method_all_of_spec.rb +47 -0
  821. data/spec/models/payment_device_payment_method_spec.rb +47 -0
  822. data/spec/models/payment_device_payment_tokenization_request_all_of_spec.rb +41 -0
  823. data/spec/models/payment_device_payment_tokenization_request_spec.rb +41 -0
  824. data/spec/models/payment_device_pre_auth_transaction_all_of_spec.rb +71 -0
  825. data/spec/models/payment_device_pre_auth_transaction_spec.rb +71 -0
  826. data/spec/models/payment_device_sale_transaction_all_of_spec.rb +53 -0
  827. data/spec/models/payment_device_sale_transaction_spec.rb +53 -0
  828. data/spec/models/payment_device_spec.rb +75 -0
  829. data/spec/models/payment_facilitator_spec.rb +2 -2
  830. data/spec/models/payment_method_details_spec.rb +2 -2
  831. data/spec/models/payment_method_payment_schedules_request_all_of_spec.rb +2 -2
  832. data/spec/models/payment_method_payment_schedules_request_spec.rb +2 -2
  833. data/spec/models/payment_method_type_spec.rb +2 -2
  834. data/spec/models/payment_registration_all_of_spec.rb +71 -0
  835. data/spec/models/payment_registration_spec.rb +107 -0
  836. data/spec/models/payment_schedules_error_response_spec.rb +2 -2
  837. data/spec/models/payment_schedules_request_spec.rb +2 -2
  838. data/spec/models/payment_schedules_response_all_of_spec.rb +57 -0
  839. data/spec/models/payment_schedules_response_spec.rb +2 -2
  840. data/spec/models/payment_spec.rb +4 -4
  841. data/spec/models/payment_token_credit_transaction_all_of_spec.rb +2 -2
  842. data/spec/models/payment_token_credit_transaction_spec.rb +2 -2
  843. data/spec/models/payment_token_details_all_of_spec.rb +2 -2
  844. data/spec/models/payment_token_details_spec.rb +2 -2
  845. data/spec/models/payment_token_disbursement_transaction_all_of_spec.rb +2 -2
  846. data/spec/models/payment_token_disbursement_transaction_spec.rb +2 -2
  847. data/spec/models/payment_token_info_lookup_request_all_of_spec.rb +41 -0
  848. data/spec/models/payment_token_info_lookup_request_spec.rb +41 -0
  849. data/spec/models/payment_token_payment_method_all_of_spec.rb +2 -2
  850. data/spec/models/payment_token_payment_method_spec.rb +2 -2
  851. data/spec/models/payment_token_pre_auth_transaction_all_of_spec.rb +20 -2
  852. data/spec/models/payment_token_pre_auth_transaction_spec.rb +20 -2
  853. data/spec/models/payment_token_sale_transaction_all_of_spec.rb +14 -2
  854. data/spec/models/payment_token_sale_transaction_spec.rb +14 -2
  855. data/spec/models/payment_token_update_response_all_of_spec.rb +57 -0
  856. data/spec/models/payment_token_update_response_spec.rb +75 -0
  857. data/spec/models/payment_token_verification_request_all_of_spec.rb +41 -0
  858. data/spec/models/payment_token_verification_request_spec.rb +41 -0
  859. data/spec/models/payment_tokenization_error_response_spec.rb +2 -2
  860. data/spec/models/payment_tokenization_request_spec.rb +8 -2
  861. data/spec/models/payment_tokenization_response_all_of_spec.rb +87 -0
  862. data/spec/models/payment_tokenization_response_spec.rb +2 -2
  863. data/spec/models/payment_url_detail_response_all_of_spec.rb +41 -0
  864. data/spec/models/payment_url_detail_response_spec.rb +59 -0
  865. data/spec/models/payment_url_detail_spec.rb +65 -0
  866. data/spec/models/payment_url_error_response_spec.rb +2 -2
  867. data/spec/models/payment_url_request_spec.rb +2 -2
  868. data/spec/models/payment_url_response_all_of_spec.rb +63 -0
  869. data/spec/models/payment_url_response_spec.rb +2 -2
  870. data/spec/models/payment_url_status_spec.rb +35 -0
  871. data/spec/models/paypal_credit_transaction_all_of_spec.rb +2 -2
  872. data/spec/models/paypal_credit_transaction_spec.rb +2 -2
  873. data/spec/models/{billing_address_phone_spec.rb → phone_spec.rb} +8 -8
  874. data/spec/models/post_auth_transaction_all_of_spec.rb +2 -2
  875. data/spec/models/post_auth_transaction_spec.rb +2 -2
  876. data/spec/models/primary_spec.rb +41 -0
  877. data/spec/models/primary_transaction_spec.rb +2 -2
  878. data/spec/models/processor_data_spec.rb +15 -3
  879. data/spec/models/properties_spec.rb +65 -0
  880. data/spec/models/purchase_cards_level2_spec.rb +2 -2
  881. data/spec/models/purchase_cards_level3_line_items_spec.rb +2 -2
  882. data/spec/models/purchase_cards_level3_spec.rb +2 -2
  883. data/spec/models/purchase_cards_spec.rb +2 -2
  884. data/spec/models/receiver_info_spec.rb +2 -2
  885. data/spec/models/recurring_payment_details_response_all_of_spec.rb +41 -0
  886. data/spec/models/recurring_payment_details_response_spec.rb +3 -15
  887. data/spec/models/recurring_payment_details_spec.rb +2 -2
  888. data/spec/models/referenced_order_payment_schedules_request_all_of_spec.rb +2 -2
  889. data/spec/models/referenced_order_payment_schedules_request_spec.rb +2 -2
  890. data/spec/models/referenced_order_payment_tokenization_request_all_of_spec.rb +2 -2
  891. data/spec/models/referenced_order_payment_tokenization_request_spec.rb +2 -2
  892. data/spec/models/registration_method_spec.rb +81 -0
  893. data/spec/models/remove_fraud_blocked_items_response_all_of_spec.rb +41 -0
  894. data/spec/models/remove_fraud_blocked_items_response_spec.rb +59 -0
  895. data/spec/models/response_amount_components_all_of_spec.rb +2 -2
  896. data/spec/models/response_amount_components_spec.rb +2 -2
  897. data/spec/models/response_type_spec.rb +2 -2
  898. data/spec/models/return_transaction_all_of_spec.rb +2 -2
  899. data/spec/models/return_transaction_spec.rb +2 -2
  900. data/spec/models/score_only_request_spec.rb +2 -6
  901. data/spec/models/score_only_response_fraud_score_explanations_spec.rb +2 -2
  902. data/spec/models/score_only_response_fraud_score_spec.rb +2 -2
  903. data/spec/models/score_only_response_spec.rb +2 -2
  904. data/spec/models/secondary_transaction_spec.rb +14 -2
  905. data/spec/models/secure3_d10_authentication_request_all_of_spec.rb +41 -0
  906. data/spec/models/secure3_d10_authentication_request_spec.rb +41 -0
  907. data/spec/models/secure3_d10_authentication_result_all_of_spec.rb +2 -2
  908. data/spec/models/secure3_d10_authentication_result_spec.rb +2 -2
  909. data/spec/models/secure3_d10_authentication_update_request_all_of_spec.rb +53 -0
  910. data/spec/models/{secure3d_authentication_verification_request_all_of_spec.rb → secure3_d10_authentication_update_request_spec.rb} +14 -8
  911. data/spec/models/secure3_d21_authentication_request_all_of_spec.rb +67 -0
  912. data/spec/models/secure3_d21_authentication_request_spec.rb +67 -0
  913. data/spec/models/secure3_d21_authentication_result_all_of_spec.rb +2 -2
  914. data/spec/models/secure3_d21_authentication_result_spec.rb +2 -2
  915. data/spec/models/secure3_d21_authentication_update_request_all_of_spec.rb +51 -0
  916. data/spec/models/secure3_d21_authentication_update_request_spec.rb +51 -0
  917. data/spec/models/secure3_d_authentication_response_params_spec.rb +71 -0
  918. data/spec/models/{secure3d_authentication_verification_request_spec.rb → secure3_d_authentication_response_secure3d_method_spec.rb} +10 -10
  919. data/spec/models/secure3_d_authentication_response_spec.rb +67 -0
  920. data/spec/models/secure3d_response_spec.rb +2 -2
  921. data/spec/models/sender_info_spec.rb +2 -2
  922. data/spec/models/sepa_mandate_spec.rb +2 -2
  923. data/spec/models/sepa_payment_method_all_of_spec.rb +2 -2
  924. data/spec/models/sepa_payment_method_spec.rb +2 -2
  925. data/spec/models/sepa_sale_transaction_all_of_spec.rb +2 -2
  926. data/spec/models/sepa_sale_transaction_spec.rb +2 -2
  927. data/spec/models/sepa_spec.rb +2 -2
  928. data/spec/models/shared_secret_configuration_request_spec.rb +41 -0
  929. data/spec/models/shared_secret_configuration_response_all_of_spec.rb +59 -0
  930. data/spec/models/shared_secret_configuration_response_spec.rb +77 -0
  931. data/spec/models/{fraud_order_ship_to_address_spec.rb → ship_to_address_spec.rb} +8 -8
  932. data/spec/models/shipping_spec.rb +2 -2
  933. data/spec/models/soft_descriptor_spec.rb +2 -2
  934. data/spec/models/split_shipment_spec.rb +2 -2
  935. data/spec/models/store_branding_style_configuration_spec.rb +53 -0
  936. data/spec/models/store_email_settings_result_spec.rb +47 -0
  937. data/spec/models/store_email_settings_spec.rb +47 -0
  938. data/spec/models/store_fraud_settings_result_spec.rb +53 -0
  939. data/spec/models/store_fraud_settings_spec.rb +47 -0
  940. data/spec/models/store_url_configuration_request_spec.rb +41 -0
  941. data/spec/models/store_url_configuration_response_all_of_spec.rb +41 -0
  942. data/spec/models/store_url_configuration_response_spec.rb +59 -0
  943. data/spec/models/store_url_configuration_result_spec.rb +47 -0
  944. data/spec/models/store_url_configuration_spec.rb +83 -0
  945. data/spec/models/stored_credential_spec.rb +2 -2
  946. data/spec/models/sub_merchant_data_spec.rb +2 -2
  947. data/spec/models/sub_merchant_split_spec.rb +2 -2
  948. data/spec/models/tele_check_ach_payment_method_ach_bill_to_spec.rb +95 -0
  949. data/spec/models/tele_check_ach_payment_method_spec.rb +165 -0
  950. data/spec/models/tele_check_cbp_payment_method_all_of_spec.rb +41 -0
  951. data/spec/models/tele_check_cbp_payment_method_spec.rb +41 -0
  952. data/spec/models/tele_check_ica_payment_method_all_of_spec.rb +53 -0
  953. data/spec/models/tele_check_ica_payment_method_spec.rb +53 -0
  954. data/spec/models/text_spec.rb +47 -0
  955. data/spec/models/title_spec.rb +41 -0
  956. data/spec/models/token_identifier_spec.rb +41 -0
  957. data/spec/models/top_bar_spec.rb +41 -0
  958. data/spec/models/transaction_error_response_spec.rb +15 -3
  959. data/spec/models/transaction_origin_spec.rb +2 -2
  960. data/spec/models/transaction_response_all_of_spec.rb +175 -0
  961. data/spec/models/transaction_response_spec.rb +15 -3
  962. data/spec/models/transaction_type_spec.rb +2 -2
  963. data/spec/models/union_pay_authentication_request_all_of_spec.rb +2 -2
  964. data/spec/models/union_pay_authentication_request_spec.rb +2 -2
  965. data/spec/models/union_pay_authentication_update_request_all_of_spec.rb +47 -0
  966. data/spec/models/{union_pay_authentication_verification_request_all_of_spec.rb → union_pay_authentication_update_request_spec.rb} +14 -8
  967. data/spec/models/update_email_settings_request_spec.rb +41 -0
  968. data/spec/models/update_email_settings_response_all_of_spec.rb +41 -0
  969. data/spec/models/update_email_settings_response_spec.rb +59 -0
  970. data/spec/models/update_fraud_settings_request_spec.rb +41 -0
  971. data/spec/models/update_fraud_settings_response_all_of_spec.rb +41 -0
  972. data/spec/models/update_fraud_settings_response_spec.rb +59 -0
  973. data/spec/models/update_payment_token_spec.rb +59 -0
  974. data/spec/models/use_payment_token_spec.rb +14 -2
  975. data/spec/models/{payment_verification3ds_spec.rb → verification3ds_spec.rb} +8 -8
  976. data/spec/models/{payment_verification_avs_spec.rb → verification_avs_spec.rb} +8 -8
  977. data/spec/models/{payment_verification_cvv_spec.rb → verification_cvv_spec.rb} +8 -8
  978. data/spec/models/void_pre_auth_transactions_spec.rb +41 -0
  979. data/spec/models/void_transaction_all_of_spec.rb +41 -0
  980. data/spec/models/void_transaction_spec.rb +8 -2
  981. data/spec/models/wallet_payment_method_spec.rb +2 -2
  982. data/spec/models/wallet_pre_auth_transaction_all_of_spec.rb +8 -2
  983. data/spec/models/wallet_pre_auth_transaction_spec.rb +8 -2
  984. data/spec/models/wallet_sale_transaction_all_of_spec.rb +2 -2
  985. data/spec/models/wallet_sale_transaction_spec.rb +2 -2
  986. data/spec/spec_helper.rb +2 -2
  987. metadata +692 -93
  988. data/Gemfile.lock +0 -79
  989. data/docs/Authentication.md +0 -17
  990. data/docs/AuthenticationRedirect.md +0 -21
  991. data/docs/AuthenticationRedirectParams.md +0 -21
  992. data/docs/AuthenticationVerificationRequest.md +0 -23
  993. data/docs/BillingAddressPhone.md +0 -19
  994. data/docs/CardInfoLookupApi.md +0 -70
  995. data/docs/CardVerificationApi.md +0 -70
  996. data/docs/MerchantLocationMerchantAddress.md +0 -27
  997. data/docs/Transaction.md +0 -39
  998. data/docs/UnionPayAuthenticationVerificationRequest.md +0 -17
  999. data/docs/UnionPayAuthenticationVerificationRequestAllOf.md +0 -17
  1000. data/lib/openapi_client/api/card_info_lookup_api.rb +0 -125
  1001. data/lib/openapi_client/api/card_verification_api.rb +0 -125
@@ -0,0 +1,227 @@
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.13.0.20200810.001
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.1.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module OpenapiClient
16
+ # Object that holds information about maximum purchase amount limit.
17
+ class MaximumPurchaseAmount
18
+ # Currency in alphabetic ISO 4217 currency code format.
19
+ attr_accessor :currency
20
+
21
+ # Maximum purchase amount limit.
22
+ attr_accessor :max_amount
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'currency' => :'currency',
28
+ :'max_amount' => :'maxAmount'
29
+ }
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'currency' => :'String',
36
+ :'max_amount' => :'String'
37
+ }
38
+ end
39
+
40
+ # Initializes the object
41
+ # @param [Hash] attributes Model attributes in the form of hash
42
+ def initialize(attributes = {})
43
+ if (!attributes.is_a?(Hash))
44
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::MaximumPurchaseAmount` initialize method"
45
+ end
46
+
47
+ # check to see if the attribute exists and convert string to symbol for hash key
48
+ attributes = attributes.each_with_object({}) { |(k, v), h|
49
+ if (!self.class.attribute_map.key?(k.to_sym))
50
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::MaximumPurchaseAmount`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
51
+ end
52
+ h[k.to_sym] = v
53
+ }
54
+
55
+ if attributes.key?(:'currency')
56
+ self.currency = attributes[:'currency']
57
+ end
58
+
59
+ if attributes.key?(:'max_amount')
60
+ self.max_amount = attributes[:'max_amount']
61
+ end
62
+ end
63
+
64
+ # Show invalid properties with the reasons. Usually used together with valid?
65
+ # @return Array for valid properties with the reasons
66
+ def list_invalid_properties
67
+ invalid_properties = Array.new
68
+ if @currency.nil?
69
+ invalid_properties.push('invalid value for "currency", currency cannot be nil.')
70
+ end
71
+
72
+ if @max_amount.nil?
73
+ invalid_properties.push('invalid value for "max_amount", max_amount cannot be nil.')
74
+ end
75
+
76
+ invalid_properties
77
+ end
78
+
79
+ # Check to see if the all the properties in the model are valid
80
+ # @return true if the model is valid
81
+ def valid?
82
+ return false if @currency.nil?
83
+ return false if @max_amount.nil?
84
+ true
85
+ end
86
+
87
+ # Checks equality by comparing each attribute.
88
+ # @param [Object] Object to be compared
89
+ def ==(o)
90
+ return true if self.equal?(o)
91
+ self.class == o.class &&
92
+ currency == o.currency &&
93
+ max_amount == o.max_amount
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(o)
99
+ self == o
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Integer] Hash code
104
+ def hash
105
+ [currency, max_amount].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def self.build_from_hash(attributes)
112
+ new.build_from_hash(attributes)
113
+ end
114
+
115
+ # Builds the object from hash
116
+ # @param [Hash] attributes Model attributes in the form of hash
117
+ # @return [Object] Returns the model itself
118
+ def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
119
+ return nil unless attributes.is_a?(Hash)
120
+ openapi_types.each_pair do |key, type|
121
+ if type =~ /\AArray<(.*)>/i
122
+ # check to ensure the input is an array given that the attribute
123
+ # is documented as an array but the input is not
124
+ if attributes[attribute_map[key]].is_a?(Array)
125
+ self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
126
+ end
127
+ elsif !attributes[attribute_map[key]].nil?
128
+ self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
129
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
130
+ end
131
+
132
+ self
133
+ end
134
+
135
+ # Deserializes the data based on type
136
+ # @param string type Data type
137
+ # @param string value Value to be deserialized
138
+ # @return [Object] Deserialized data
139
+ def _deserialize(type, value)
140
+ case type.to_sym
141
+ when :DateTime
142
+ DateTime.parse(value)
143
+ when :Date
144
+ Date.parse(value)
145
+ when :String
146
+ value.to_s
147
+ when :Integer
148
+ value.to_i
149
+ when :Float
150
+ value.to_f
151
+ when :Boolean
152
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
153
+ true
154
+ else
155
+ false
156
+ end
157
+ when :Object
158
+ # generic object (usually a Hash), return directly
159
+ value
160
+ when /\AArray<(?<inner_type>.+)>\z/
161
+ inner_type = Regexp.last_match[:inner_type]
162
+ value.map { |v| _deserialize(inner_type, v) }
163
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
164
+ k_type = Regexp.last_match[:k_type]
165
+ v_type = Regexp.last_match[:v_type]
166
+ {}.tap do |hash|
167
+ value.each do |k, v|
168
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
169
+ end
170
+ end
171
+ else # model
172
+ klass = OpenapiClient.const_get(type)
173
+ if klass.respond_to?(:openapi_discriminator_name)
174
+ klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
175
+ end
176
+
177
+ klass.build_from_hash(value)
178
+ end
179
+ end
180
+
181
+ # Returns the string representation of the object
182
+ # @return [String] String presentation of the object
183
+ def to_s
184
+ to_hash.to_s
185
+ end
186
+
187
+ # to_body is an alias to to_hash (backward compatibility)
188
+ # @return [Hash] Returns the object in the form of hash
189
+ def to_body
190
+ to_hash
191
+ end
192
+
193
+ # Returns the object in the form of hash
194
+ # @return [Hash] Returns the object in the form of hash
195
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
196
+ hash = {}
197
+ attribute_map.each_pair do |attr, param|
198
+ value = self.send(attr)
199
+ if value.nil?
200
+ is_nullable = openapi_nullable.include?(attr)
201
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
202
+ end
203
+
204
+ hash[param] = _to_hash(value)
205
+ end
206
+ hash
207
+ end
208
+
209
+ # Outputs non-array value in the form of hash
210
+ # For object, use to_hash. Otherwise, just return the value
211
+ # @param [Object] value Any valid value
212
+ # @return [Hash] Returns the value in the form of hash
213
+ def _to_hash(value)
214
+ if value.is_a?(Array)
215
+ value.compact.map { |v| _to_hash(v) }
216
+ elsif value.is_a?(Hash)
217
+ {}.tap do |hash|
218
+ value.each { |k, v| hash[k] = _to_hash(v) }
219
+ end
220
+ elsif value.respond_to? :to_hash
221
+ value.to_hash
222
+ else
223
+ value
224
+ end
225
+ end
226
+ end
227
+ end
@@ -0,0 +1,347 @@
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.13.0.20200810.001
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.1.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module OpenapiClient
16
+ # The group MCC (Merchant Category Code) 6012
17
+ class Mcc6012
18
+ # The date of birth of the cardholder (YYYYMMDD).
19
+ attr_accessor :date_of_birth
20
+
21
+ # The first six digits of the primary account number.
22
+ attr_accessor :account_first6
23
+
24
+ # The last four digits of the primary account number.
25
+ attr_accessor :account_last4
26
+
27
+ # The account number where the primary account number is not a card.
28
+ attr_accessor :account_num
29
+
30
+ # The postal code of the cardholder.
31
+ attr_accessor :post_code
32
+
33
+ # Surname or last name of the card holder.
34
+ attr_accessor :surname
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+ :'date_of_birth' => :'dateOfBirth',
40
+ :'account_first6' => :'accountFirst6',
41
+ :'account_last4' => :'accountLast4',
42
+ :'account_num' => :'accountNum',
43
+ :'post_code' => :'postCode',
44
+ :'surname' => :'surname'
45
+ }
46
+ end
47
+
48
+ # Attribute type mapping.
49
+ def self.openapi_types
50
+ {
51
+ :'date_of_birth' => :'String',
52
+ :'account_first6' => :'String',
53
+ :'account_last4' => :'String',
54
+ :'account_num' => :'String',
55
+ :'post_code' => :'String',
56
+ :'surname' => :'String'
57
+ }
58
+ end
59
+
60
+ # Initializes the object
61
+ # @param [Hash] attributes Model attributes in the form of hash
62
+ def initialize(attributes = {})
63
+ if (!attributes.is_a?(Hash))
64
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::Mcc6012` initialize method"
65
+ end
66
+
67
+ # check to see if the attribute exists and convert string to symbol for hash key
68
+ attributes = attributes.each_with_object({}) { |(k, v), h|
69
+ if (!self.class.attribute_map.key?(k.to_sym))
70
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::Mcc6012`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
71
+ end
72
+ h[k.to_sym] = v
73
+ }
74
+
75
+ if attributes.key?(:'date_of_birth')
76
+ self.date_of_birth = attributes[:'date_of_birth']
77
+ end
78
+
79
+ if attributes.key?(:'account_first6')
80
+ self.account_first6 = attributes[:'account_first6']
81
+ end
82
+
83
+ if attributes.key?(:'account_last4')
84
+ self.account_last4 = attributes[:'account_last4']
85
+ end
86
+
87
+ if attributes.key?(:'account_num')
88
+ self.account_num = attributes[:'account_num']
89
+ end
90
+
91
+ if attributes.key?(:'post_code')
92
+ self.post_code = attributes[:'post_code']
93
+ end
94
+
95
+ if attributes.key?(:'surname')
96
+ self.surname = attributes[:'surname']
97
+ end
98
+ end
99
+
100
+ # Show invalid properties with the reasons. Usually used together with valid?
101
+ # @return Array for valid properties with the reasons
102
+ def list_invalid_properties
103
+ invalid_properties = Array.new
104
+ if !@date_of_birth.nil? && @date_of_birth.to_s.length > 8
105
+ invalid_properties.push('invalid value for "date_of_birth", the character length must be smaller than or equal to 8.')
106
+ end
107
+
108
+ if !@account_first6.nil? && @account_first6.to_s.length > 6
109
+ invalid_properties.push('invalid value for "account_first6", the character length must be smaller than or equal to 6.')
110
+ end
111
+
112
+ if !@account_last4.nil? && @account_last4.to_s.length > 4
113
+ invalid_properties.push('invalid value for "account_last4", the character length must be smaller than or equal to 4.')
114
+ end
115
+
116
+ if !@account_num.nil? && @account_num.to_s.length > 50
117
+ invalid_properties.push('invalid value for "account_num", the character length must be smaller than or equal to 50.')
118
+ end
119
+
120
+ if !@post_code.nil? && @post_code.to_s.length > 50
121
+ invalid_properties.push('invalid value for "post_code", the character length must be smaller than or equal to 50.')
122
+ end
123
+
124
+ if !@surname.nil? && @surname.to_s.length > 100
125
+ invalid_properties.push('invalid value for "surname", the character length must be smaller than or equal to 100.')
126
+ end
127
+
128
+ invalid_properties
129
+ end
130
+
131
+ # Check to see if the all the properties in the model are valid
132
+ # @return true if the model is valid
133
+ def valid?
134
+ return false if !@date_of_birth.nil? && @date_of_birth.to_s.length > 8
135
+ return false if !@account_first6.nil? && @account_first6.to_s.length > 6
136
+ return false if !@account_last4.nil? && @account_last4.to_s.length > 4
137
+ return false if !@account_num.nil? && @account_num.to_s.length > 50
138
+ return false if !@post_code.nil? && @post_code.to_s.length > 50
139
+ return false if !@surname.nil? && @surname.to_s.length > 100
140
+ true
141
+ end
142
+
143
+ # Custom attribute writer method with validation
144
+ # @param [Object] date_of_birth Value to be assigned
145
+ def date_of_birth=(date_of_birth)
146
+ if !date_of_birth.nil? && date_of_birth.to_s.length > 8
147
+ fail ArgumentError, 'invalid value for "date_of_birth", the character length must be smaller than or equal to 8.'
148
+ end
149
+
150
+ @date_of_birth = date_of_birth
151
+ end
152
+
153
+ # Custom attribute writer method with validation
154
+ # @param [Object] account_first6 Value to be assigned
155
+ def account_first6=(account_first6)
156
+ if !account_first6.nil? && account_first6.to_s.length > 6
157
+ fail ArgumentError, 'invalid value for "account_first6", the character length must be smaller than or equal to 6.'
158
+ end
159
+
160
+ @account_first6 = account_first6
161
+ end
162
+
163
+ # Custom attribute writer method with validation
164
+ # @param [Object] account_last4 Value to be assigned
165
+ def account_last4=(account_last4)
166
+ if !account_last4.nil? && account_last4.to_s.length > 4
167
+ fail ArgumentError, 'invalid value for "account_last4", the character length must be smaller than or equal to 4.'
168
+ end
169
+
170
+ @account_last4 = account_last4
171
+ end
172
+
173
+ # Custom attribute writer method with validation
174
+ # @param [Object] account_num Value to be assigned
175
+ def account_num=(account_num)
176
+ if !account_num.nil? && account_num.to_s.length > 50
177
+ fail ArgumentError, 'invalid value for "account_num", the character length must be smaller than or equal to 50.'
178
+ end
179
+
180
+ @account_num = account_num
181
+ end
182
+
183
+ # Custom attribute writer method with validation
184
+ # @param [Object] post_code Value to be assigned
185
+ def post_code=(post_code)
186
+ if !post_code.nil? && post_code.to_s.length > 50
187
+ fail ArgumentError, 'invalid value for "post_code", the character length must be smaller than or equal to 50.'
188
+ end
189
+
190
+ @post_code = post_code
191
+ end
192
+
193
+ # Custom attribute writer method with validation
194
+ # @param [Object] surname Value to be assigned
195
+ def surname=(surname)
196
+ if !surname.nil? && surname.to_s.length > 100
197
+ fail ArgumentError, 'invalid value for "surname", the character length must be smaller than or equal to 100.'
198
+ end
199
+
200
+ @surname = surname
201
+ end
202
+
203
+ # Checks equality by comparing each attribute.
204
+ # @param [Object] Object to be compared
205
+ def ==(o)
206
+ return true if self.equal?(o)
207
+ self.class == o.class &&
208
+ date_of_birth == o.date_of_birth &&
209
+ account_first6 == o.account_first6 &&
210
+ account_last4 == o.account_last4 &&
211
+ account_num == o.account_num &&
212
+ post_code == o.post_code &&
213
+ surname == o.surname
214
+ end
215
+
216
+ # @see the `==` method
217
+ # @param [Object] Object to be compared
218
+ def eql?(o)
219
+ self == o
220
+ end
221
+
222
+ # Calculates hash code according to all attributes.
223
+ # @return [Integer] Hash code
224
+ def hash
225
+ [date_of_birth, account_first6, account_last4, account_num, post_code, surname].hash
226
+ end
227
+
228
+ # Builds the object from hash
229
+ # @param [Hash] attributes Model attributes in the form of hash
230
+ # @return [Object] Returns the model itself
231
+ def self.build_from_hash(attributes)
232
+ new.build_from_hash(attributes)
233
+ end
234
+
235
+ # Builds the object from hash
236
+ # @param [Hash] attributes Model attributes in the form of hash
237
+ # @return [Object] Returns the model itself
238
+ def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
239
+ return nil unless attributes.is_a?(Hash)
240
+ openapi_types.each_pair do |key, type|
241
+ if type =~ /\AArray<(.*)>/i
242
+ # check to ensure the input is an array given that the attribute
243
+ # is documented as an array but the input is not
244
+ if attributes[attribute_map[key]].is_a?(Array)
245
+ self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
246
+ end
247
+ elsif !attributes[attribute_map[key]].nil?
248
+ self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
249
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
250
+ end
251
+
252
+ self
253
+ end
254
+
255
+ # Deserializes the data based on type
256
+ # @param string type Data type
257
+ # @param string value Value to be deserialized
258
+ # @return [Object] Deserialized data
259
+ def _deserialize(type, value)
260
+ case type.to_sym
261
+ when :DateTime
262
+ DateTime.parse(value)
263
+ when :Date
264
+ Date.parse(value)
265
+ when :String
266
+ value.to_s
267
+ when :Integer
268
+ value.to_i
269
+ when :Float
270
+ value.to_f
271
+ when :Boolean
272
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
273
+ true
274
+ else
275
+ false
276
+ end
277
+ when :Object
278
+ # generic object (usually a Hash), return directly
279
+ value
280
+ when /\AArray<(?<inner_type>.+)>\z/
281
+ inner_type = Regexp.last_match[:inner_type]
282
+ value.map { |v| _deserialize(inner_type, v) }
283
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
284
+ k_type = Regexp.last_match[:k_type]
285
+ v_type = Regexp.last_match[:v_type]
286
+ {}.tap do |hash|
287
+ value.each do |k, v|
288
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
289
+ end
290
+ end
291
+ else # model
292
+ klass = OpenapiClient.const_get(type)
293
+ if klass.respond_to?(:openapi_discriminator_name)
294
+ klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
295
+ end
296
+
297
+ klass.build_from_hash(value)
298
+ end
299
+ end
300
+
301
+ # Returns the string representation of the object
302
+ # @return [String] String presentation of the object
303
+ def to_s
304
+ to_hash.to_s
305
+ end
306
+
307
+ # to_body is an alias to to_hash (backward compatibility)
308
+ # @return [Hash] Returns the object in the form of hash
309
+ def to_body
310
+ to_hash
311
+ end
312
+
313
+ # Returns the object in the form of hash
314
+ # @return [Hash] Returns the object in the form of hash
315
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
316
+ hash = {}
317
+ attribute_map.each_pair do |attr, param|
318
+ value = self.send(attr)
319
+ if value.nil?
320
+ is_nullable = openapi_nullable.include?(attr)
321
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
322
+ end
323
+
324
+ hash[param] = _to_hash(value)
325
+ end
326
+ hash
327
+ end
328
+
329
+ # Outputs non-array value in the form of hash
330
+ # For object, use to_hash. Otherwise, just return the value
331
+ # @param [Object] value Any valid value
332
+ # @return [Hash] Returns the value in the form of hash
333
+ def _to_hash(value)
334
+ if value.is_a?(Array)
335
+ value.compact.map { |v| _to_hash(v) }
336
+ elsif value.is_a?(Hash)
337
+ {}.tap do |hash|
338
+ value.each { |k, v| hash[k] = _to_hash(v) }
339
+ end
340
+ elsif value.respond_to? :to_hash
341
+ value.to_hash
342
+ else
343
+ value
344
+ end
345
+ end
346
+ end
347
+ end