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
@@ -3,10 +3,10 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.8.0.20190731.002
6
+ The version of the OpenAPI document: 6.13.0.20200810.001
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: unset
9
+ OpenAPI Generator version: 4.1.1
10
10
 
11
11
  =end
12
12
 
@@ -103,17 +103,17 @@ module OpenapiClient
103
103
  # Builds the object from hash
104
104
  # @param [Hash] attributes Model attributes in the form of hash
105
105
  # @return [Object] Returns the model itself
106
- def build_from_hash(attributes)
106
+ def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
107
107
  return nil unless attributes.is_a?(Hash)
108
- self.class.openapi_types.each_pair do |key, type|
108
+ openapi_types.each_pair do |key, type|
109
109
  if type =~ /\AArray<(.*)>/i
110
110
  # check to ensure the input is an array given that the attribute
111
111
  # is documented as an array but the input is not
112
- if attributes[self.class.attribute_map[key]].is_a?(Array)
113
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
112
+ if attributes[attribute_map[key]].is_a?(Array)
113
+ self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
114
114
  end
115
- elsif !attributes[self.class.attribute_map[key]].nil?
116
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
115
+ elsif !attributes[attribute_map[key]].nil?
116
+ self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
117
117
  end # or else data not found in attributes(hash), not an issue as the data can be optional
118
118
  end
119
119
 
@@ -157,7 +157,12 @@ module OpenapiClient
157
157
  end
158
158
  end
159
159
  else # model
160
- OpenapiClient.const_get(type).build_from_hash(value)
160
+ klass = OpenapiClient.const_get(type)
161
+ if klass.respond_to?(:openapi_discriminator_name)
162
+ klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
163
+ end
164
+
165
+ klass.build_from_hash(value)
161
166
  end
162
167
  end
163
168
 
@@ -175,11 +180,15 @@ module OpenapiClient
175
180
 
176
181
  # Returns the object in the form of hash
177
182
  # @return [Hash] Returns the object in the form of hash
178
- def to_hash
183
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
179
184
  hash = {}
180
- self.class.attribute_map.each_pair do |attr, param|
185
+ attribute_map.each_pair do |attr, param|
181
186
  value = self.send(attr)
182
- next if value.nil?
187
+ if value.nil?
188
+ is_nullable = openapi_nullable.include?(attr)
189
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
190
+ end
191
+
183
192
  hash[param] = _to_hash(value)
184
193
  end
185
194
  hash
@@ -3,10 +3,10 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.8.0.20190731.002
6
+ The version of the OpenAPI document: 6.13.0.20200810.001
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: unset
9
+ OpenAPI Generator version: 4.1.1
10
10
 
11
11
  =end
12
12
 
@@ -14,70 +14,12 @@ require 'date'
14
14
 
15
15
  module OpenapiClient
16
16
  # Request to create a new payment schedule using a payment method.
17
- class PaymentMethodPaymentSchedulesRequest
18
- # Object name of the payment schedules request.
19
- attr_accessor :request_type
20
-
21
- # Store ID number.
22
- attr_accessor :store_id
23
-
24
- # Date of mandate signature.
25
- attr_accessor :start_date
26
-
27
- # Number of times the recurring payment will process.
28
- attr_accessor :number_of_payments
29
-
30
- # Number of failures that can be encountered before re-tries cease.
31
- attr_accessor :maximum_failures
32
-
33
- # Invoice number.
34
- attr_accessor :invoice_number
35
-
36
- # Purchase order number.
37
- attr_accessor :purchase_order_number
38
-
39
- attr_accessor :transaction_origin
40
-
41
- # Dynamic merchant name for the cardholder's statement.
42
- attr_accessor :dynamic_merchant_name
43
-
44
- attr_accessor :frequency
45
-
46
- attr_accessor :transaction_amount
47
-
48
- attr_accessor :client_locale
49
-
50
- # Client order ID if supplied by client.
51
- attr_accessor :order_id
52
-
53
- attr_accessor :billing
54
-
55
- attr_accessor :shipping
56
-
57
- # User supplied comments.
58
- attr_accessor :comments
59
-
17
+ class PaymentMethodPaymentSchedulesRequest < PaymentSchedulesRequest
60
18
  attr_accessor :payment_method
61
19
 
62
20
  # Attribute mapping from ruby-style variable name to JSON key.
63
21
  def self.attribute_map
64
22
  {
65
- :'request_type' => :'requestType',
66
- :'store_id' => :'storeId',
67
- :'start_date' => :'startDate',
68
- :'number_of_payments' => :'numberOfPayments',
69
- :'maximum_failures' => :'maximumFailures',
70
- :'invoice_number' => :'invoiceNumber',
71
- :'purchase_order_number' => :'purchaseOrderNumber',
72
- :'transaction_origin' => :'transactionOrigin',
73
- :'dynamic_merchant_name' => :'dynamicMerchantName',
74
- :'frequency' => :'frequency',
75
- :'transaction_amount' => :'transactionAmount',
76
- :'client_locale' => :'clientLocale',
77
- :'order_id' => :'orderId',
78
- :'billing' => :'billing',
79
- :'shipping' => :'shipping',
80
- :'comments' => :'comments',
81
23
  :'payment_method' => :'paymentMethod'
82
24
  }
83
25
  end
@@ -85,22 +27,6 @@ module OpenapiClient
85
27
  # Attribute type mapping.
86
28
  def self.openapi_types
87
29
  {
88
- :'request_type' => :'String',
89
- :'store_id' => :'String',
90
- :'start_date' => :'Date',
91
- :'number_of_payments' => :'Integer',
92
- :'maximum_failures' => :'Integer',
93
- :'invoice_number' => :'String',
94
- :'purchase_order_number' => :'String',
95
- :'transaction_origin' => :'TransactionOrigin',
96
- :'dynamic_merchant_name' => :'String',
97
- :'frequency' => :'Frequency',
98
- :'transaction_amount' => :'Amount',
99
- :'client_locale' => :'ClientLocale',
100
- :'order_id' => :'String',
101
- :'billing' => :'Billing',
102
- :'shipping' => :'Shipping',
103
- :'comments' => :'String',
104
30
  :'payment_method' => :'PaymentCardPaymentMethod'
105
31
  }
106
32
  end
@@ -128,69 +54,8 @@ module OpenapiClient
128
54
  h[k.to_sym] = v
129
55
  }
130
56
 
131
- if attributes.key?(:'request_type')
132
- self.request_type = attributes[:'request_type']
133
- end
134
-
135
- if attributes.key?(:'store_id')
136
- self.store_id = attributes[:'store_id']
137
- end
138
-
139
- if attributes.key?(:'start_date')
140
- self.start_date = attributes[:'start_date']
141
- end
142
-
143
- if attributes.key?(:'number_of_payments')
144
- self.number_of_payments = attributes[:'number_of_payments']
145
- end
146
-
147
- if attributes.key?(:'maximum_failures')
148
- self.maximum_failures = attributes[:'maximum_failures']
149
- end
150
-
151
- if attributes.key?(:'invoice_number')
152
- self.invoice_number = attributes[:'invoice_number']
153
- end
154
-
155
- if attributes.key?(:'purchase_order_number')
156
- self.purchase_order_number = attributes[:'purchase_order_number']
157
- end
158
-
159
- if attributes.key?(:'transaction_origin')
160
- self.transaction_origin = attributes[:'transaction_origin']
161
- end
162
-
163
- if attributes.key?(:'dynamic_merchant_name')
164
- self.dynamic_merchant_name = attributes[:'dynamic_merchant_name']
165
- end
166
-
167
- if attributes.key?(:'frequency')
168
- self.frequency = attributes[:'frequency']
169
- end
170
-
171
- if attributes.key?(:'transaction_amount')
172
- self.transaction_amount = attributes[:'transaction_amount']
173
- end
174
-
175
- if attributes.key?(:'client_locale')
176
- self.client_locale = attributes[:'client_locale']
177
- end
178
-
179
- if attributes.key?(:'order_id')
180
- self.order_id = attributes[:'order_id']
181
- end
182
-
183
- if attributes.key?(:'billing')
184
- self.billing = attributes[:'billing']
185
- end
186
-
187
- if attributes.key?(:'shipping')
188
- self.shipping = attributes[:'shipping']
189
- end
190
-
191
- if attributes.key?(:'comments')
192
- self.comments = attributes[:'comments']
193
- end
57
+ # call parent's initialize
58
+ super(attributes)
194
59
 
195
60
  if attributes.key?(:'payment_method')
196
61
  self.payment_method = attributes[:'payment_method']
@@ -200,43 +65,7 @@ module OpenapiClient
200
65
  # Show invalid properties with the reasons. Usually used together with valid?
201
66
  # @return Array for valid properties with the reasons
202
67
  def list_invalid_properties
203
- invalid_properties = Array.new
204
- if @request_type.nil?
205
- invalid_properties.push('invalid value for "request_type", request_type cannot be nil.')
206
- end
207
-
208
- if !@store_id.nil? && @store_id.to_s.length > 20
209
- invalid_properties.push('invalid value for "store_id", the character length must be smaller than or equal to 20.')
210
- end
211
-
212
- if @start_date.nil?
213
- invalid_properties.push('invalid value for "start_date", start_date cannot be nil.')
214
- end
215
-
216
- if !@number_of_payments.nil? && @number_of_payments > 999
217
- invalid_properties.push('invalid value for "number_of_payments", must be smaller than or equal to 999.')
218
- end
219
-
220
- if !@number_of_payments.nil? && @number_of_payments < 1
221
- invalid_properties.push('invalid value for "number_of_payments", must be greater than or equal to 1.')
222
- end
223
-
224
- if !@maximum_failures.nil? && @maximum_failures > 999
225
- invalid_properties.push('invalid value for "maximum_failures", must be smaller than or equal to 999.')
226
- end
227
-
228
- if !@maximum_failures.nil? && @maximum_failures < 1
229
- invalid_properties.push('invalid value for "maximum_failures", must be greater than or equal to 1.')
230
- end
231
-
232
- if @frequency.nil?
233
- invalid_properties.push('invalid value for "frequency", frequency cannot be nil.')
234
- end
235
-
236
- if @transaction_amount.nil?
237
- invalid_properties.push('invalid value for "transaction_amount", transaction_amount cannot be nil.')
238
- end
239
-
68
+ invalid_properties = super
240
69
  if @payment_method.nil?
241
70
  invalid_properties.push('invalid value for "payment_method", payment_method cannot be nil.')
242
71
  end
@@ -247,55 +76,8 @@ module OpenapiClient
247
76
  # Check to see if the all the properties in the model are valid
248
77
  # @return true if the model is valid
249
78
  def valid?
250
- return false if @request_type.nil?
251
- return false if !@store_id.nil? && @store_id.to_s.length > 20
252
- return false if @start_date.nil?
253
- return false if !@number_of_payments.nil? && @number_of_payments > 999
254
- return false if !@number_of_payments.nil? && @number_of_payments < 1
255
- return false if !@maximum_failures.nil? && @maximum_failures > 999
256
- return false if !@maximum_failures.nil? && @maximum_failures < 1
257
- return false if @frequency.nil?
258
- return false if @transaction_amount.nil?
259
79
  return false if @payment_method.nil?
260
- true
261
- end
262
-
263
- # Custom attribute writer method with validation
264
- # @param [Object] store_id Value to be assigned
265
- def store_id=(store_id)
266
- if !store_id.nil? && store_id.to_s.length > 20
267
- fail ArgumentError, 'invalid value for "store_id", the character length must be smaller than or equal to 20.'
268
- end
269
-
270
- @store_id = store_id
271
- end
272
-
273
- # Custom attribute writer method with validation
274
- # @param [Object] number_of_payments Value to be assigned
275
- def number_of_payments=(number_of_payments)
276
- if !number_of_payments.nil? && number_of_payments > 999
277
- fail ArgumentError, 'invalid value for "number_of_payments", must be smaller than or equal to 999.'
278
- end
279
-
280
- if !number_of_payments.nil? && number_of_payments < 1
281
- fail ArgumentError, 'invalid value for "number_of_payments", must be greater than or equal to 1.'
282
- end
283
-
284
- @number_of_payments = number_of_payments
285
- end
286
-
287
- # Custom attribute writer method with validation
288
- # @param [Object] maximum_failures Value to be assigned
289
- def maximum_failures=(maximum_failures)
290
- if !maximum_failures.nil? && maximum_failures > 999
291
- fail ArgumentError, 'invalid value for "maximum_failures", must be smaller than or equal to 999.'
292
- end
293
-
294
- if !maximum_failures.nil? && maximum_failures < 1
295
- fail ArgumentError, 'invalid value for "maximum_failures", must be greater than or equal to 1.'
296
- end
297
-
298
- @maximum_failures = maximum_failures
80
+ true && super
299
81
  end
300
82
 
301
83
  # Checks equality by comparing each attribute.
@@ -303,23 +85,7 @@ module OpenapiClient
303
85
  def ==(o)
304
86
  return true if self.equal?(o)
305
87
  self.class == o.class &&
306
- request_type == o.request_type &&
307
- store_id == o.store_id &&
308
- start_date == o.start_date &&
309
- number_of_payments == o.number_of_payments &&
310
- maximum_failures == o.maximum_failures &&
311
- invoice_number == o.invoice_number &&
312
- purchase_order_number == o.purchase_order_number &&
313
- transaction_origin == o.transaction_origin &&
314
- dynamic_merchant_name == o.dynamic_merchant_name &&
315
- frequency == o.frequency &&
316
- transaction_amount == o.transaction_amount &&
317
- client_locale == o.client_locale &&
318
- order_id == o.order_id &&
319
- billing == o.billing &&
320
- shipping == o.shipping &&
321
- comments == o.comments &&
322
- payment_method == o.payment_method
88
+ payment_method == o.payment_method && super(o)
323
89
  end
324
90
 
325
91
  # @see the `==` method
@@ -331,7 +97,7 @@ module OpenapiClient
331
97
  # Calculates hash code according to all attributes.
332
98
  # @return [Integer] Hash code
333
99
  def hash
334
- [request_type, store_id, start_date, number_of_payments, maximum_failures, invoice_number, purchase_order_number, transaction_origin, dynamic_merchant_name, frequency, transaction_amount, client_locale, order_id, billing, shipping, comments, payment_method].hash
100
+ [payment_method].hash
335
101
  end
336
102
 
337
103
  # Builds the object from hash
@@ -344,17 +110,18 @@ module OpenapiClient
344
110
  # Builds the object from hash
345
111
  # @param [Hash] attributes Model attributes in the form of hash
346
112
  # @return [Object] Returns the model itself
347
- def build_from_hash(attributes)
113
+ def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
348
114
  return nil unless attributes.is_a?(Hash)
349
- self.class.openapi_types.each_pair do |key, type|
115
+ super(attributes, self.class.superclass.attribute_map, self.class.superclass.openapi_types)
116
+ openapi_types.each_pair do |key, type|
350
117
  if type =~ /\AArray<(.*)>/i
351
118
  # check to ensure the input is an array given that the attribute
352
119
  # is documented as an array but the input is not
353
- if attributes[self.class.attribute_map[key]].is_a?(Array)
354
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
120
+ if attributes[attribute_map[key]].is_a?(Array)
121
+ self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
355
122
  end
356
- elsif !attributes[self.class.attribute_map[key]].nil?
357
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
123
+ elsif !attributes[attribute_map[key]].nil?
124
+ self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
358
125
  end # or else data not found in attributes(hash), not an issue as the data can be optional
359
126
  end
360
127
 
@@ -398,7 +165,12 @@ module OpenapiClient
398
165
  end
399
166
  end
400
167
  else # model
401
- OpenapiClient.const_get(type).build_from_hash(value)
168
+ klass = OpenapiClient.const_get(type)
169
+ if klass.respond_to?(:openapi_discriminator_name)
170
+ klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
171
+ end
172
+
173
+ klass.build_from_hash(value)
402
174
  end
403
175
  end
404
176
 
@@ -416,11 +188,15 @@ module OpenapiClient
416
188
 
417
189
  # Returns the object in the form of hash
418
190
  # @return [Hash] Returns the object in the form of hash
419
- def to_hash
420
- hash = {}
421
- self.class.attribute_map.each_pair do |attr, param|
191
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
192
+ hash = super(self.class.superclass.attribute_map, openapi_nullable)
193
+ attribute_map.each_pair do |attr, param|
422
194
  value = self.send(attr)
423
- next if value.nil?
195
+ if value.nil?
196
+ is_nullable = openapi_nullable.include?(attr)
197
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
198
+ end
199
+
424
200
  hash[param] = _to_hash(value)
425
201
  end
426
202
  hash
@@ -3,10 +3,10 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.8.0.20190731.002
6
+ The version of the OpenAPI document: 6.13.0.20200810.001
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: unset
9
+ OpenAPI Generator version: 4.1.1
10
10
 
11
11
  =end
12
12
 
@@ -98,17 +98,17 @@ module OpenapiClient
98
98
  # Builds the object from hash
99
99
  # @param [Hash] attributes Model attributes in the form of hash
100
100
  # @return [Object] Returns the model itself
101
- def build_from_hash(attributes)
101
+ def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
102
102
  return nil unless attributes.is_a?(Hash)
103
- self.class.openapi_types.each_pair do |key, type|
103
+ openapi_types.each_pair do |key, type|
104
104
  if type =~ /\AArray<(.*)>/i
105
105
  # check to ensure the input is an array given that the attribute
106
106
  # is documented as an array but the input is not
107
- if attributes[self.class.attribute_map[key]].is_a?(Array)
108
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
107
+ if attributes[attribute_map[key]].is_a?(Array)
108
+ self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
109
109
  end
110
- elsif !attributes[self.class.attribute_map[key]].nil?
111
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
110
+ elsif !attributes[attribute_map[key]].nil?
111
+ self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
112
112
  end # or else data not found in attributes(hash), not an issue as the data can be optional
113
113
  end
114
114
 
@@ -152,7 +152,12 @@ module OpenapiClient
152
152
  end
153
153
  end
154
154
  else # model
155
- OpenapiClient.const_get(type).build_from_hash(value)
155
+ klass = OpenapiClient.const_get(type)
156
+ if klass.respond_to?(:openapi_discriminator_name)
157
+ klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
158
+ end
159
+
160
+ klass.build_from_hash(value)
156
161
  end
157
162
  end
158
163
 
@@ -170,11 +175,15 @@ module OpenapiClient
170
175
 
171
176
  # Returns the object in the form of hash
172
177
  # @return [Hash] Returns the object in the form of hash
173
- def to_hash
178
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
174
179
  hash = {}
175
- self.class.attribute_map.each_pair do |attr, param|
180
+ attribute_map.each_pair do |attr, param|
176
181
  value = self.send(attr)
177
- next if value.nil?
182
+ if value.nil?
183
+ is_nullable = openapi_nullable.include?(attr)
184
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
185
+ end
186
+
178
187
  hash[param] = _to_hash(value)
179
188
  end
180
189
  hash