first_data_gateway 1.7.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (856) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +5 -2
  4. data/docs/AccountVerificationRequest.md +2 -0
  5. data/docs/AdditionalDetails.md +7 -1
  6. data/docs/AdditionalTransactionDetails.md +3 -1
  7. data/docs/ChinaDomestic.md +3 -1
  8. data/docs/CurrencyConversionResponse.md +19 -0
  9. data/docs/DCCExchangeRateRequest.md +1 -1
  10. data/docs/DCCExchangeRateRequestAllOf.md +1 -1
  11. data/docs/DecryptedApplePay.md +2 -6
  12. data/docs/DecryptedGooglePay.md +5 -7
  13. data/docs/DecryptedSamsungPay.md +2 -6
  14. data/docs/DisbursementTransactionType.md +1 -2
  15. data/docs/{ExchangeRateResponseAllOf.md → ExchangeRateDetails.md} +7 -11
  16. data/docs/ExchangeRateResponse.md +4 -20
  17. data/docs/FraudOrder.md +3 -1
  18. data/docs/FraudOrderItems.md +4 -4
  19. data/docs/FundingTransactionType.md +1 -2
  20. data/docs/PaymentCardSaleTransaction.md +1 -3
  21. data/docs/PaymentCardSaleTransactionAllOf.md +1 -3
  22. data/docs/PaymentTokenizationErrorResponse.md +4 -0
  23. data/docs/PaymentTokenizationRequest.md +2 -0
  24. data/docs/PaymentTokenizationResponse.md +5 -1
  25. data/docs/ProcessorData.md +3 -1
  26. data/docs/Receipt.md +19 -0
  27. data/docs/ReceiptLine.md +19 -0
  28. data/docs/ReceiptRequestInfo.md +21 -0
  29. data/docs/ReturnTransaction.md +2 -0
  30. data/docs/ReturnTransactionAllOf.md +2 -0
  31. data/docs/ScoreOnlyResponse.md +3 -5
  32. data/docs/ScoreOnlyResponseFraudScore.md +3 -1
  33. data/docs/Secure3D10AuthenticationRequest.md +1 -2
  34. data/docs/Secure3D21AuthenticationRequest.md +2 -2
  35. data/docs/Secure3D21AuthenticationRequestAllOf.md +2 -2
  36. data/docs/SoftDescriptor.md +5 -1
  37. data/docs/TeleCheckCBPPaymentMethod.md +1 -2
  38. data/docs/TransactionErrorResponse.md +2 -0
  39. data/docs/TransactionResponse.md +3 -1
  40. data/docs/VoidPreAuthTransactions.md +1 -2
  41. data/docs/VoidTransaction.md +2 -2
  42. data/docs/VoidTransactionAllOf.md +2 -2
  43. data/first_data_gateway.gemspec +4 -18
  44. data/git_push.sh +7 -10
  45. data/lib/openapi_client.rb +19 -27
  46. data/lib/openapi_client/api/authentication_api.rb +4 -4
  47. data/lib/openapi_client/api/currency_conversion_api.rb +4 -4
  48. data/lib/openapi_client/api/fraud_detect_api.rb +8 -8
  49. data/lib/openapi_client/api/information_lookup_api.rb +6 -6
  50. data/lib/openapi_client/api/order_api.rb +6 -6
  51. data/lib/openapi_client/api/payment_api.rb +12 -12
  52. data/lib/openapi_client/api/payment_schedules_api.rb +8 -8
  53. data/lib/openapi_client/api/payment_token_api.rb +8 -8
  54. data/lib/openapi_client/api/payment_url_api.rb +6 -6
  55. data/lib/openapi_client/api/verification_api.rb +6 -6
  56. data/lib/openapi_client/api_client.rb +8 -10
  57. data/lib/openapi_client/api_error.rb +2 -2
  58. data/lib/openapi_client/configuration.rb +5 -4
  59. data/lib/openapi_client/models/access_token_request.rb +3 -9
  60. data/lib/openapi_client/models/access_token_response.rb +3 -9
  61. data/lib/openapi_client/models/account_info_lookup_request.rb +3 -9
  62. data/lib/openapi_client/models/account_updater_response.rb +3 -9
  63. data/lib/openapi_client/models/account_verification_request.rb +29 -10
  64. data/lib/openapi_client/models/ach_credit_transaction.rb +4 -10
  65. data/lib/openapi_client/models/ach_post_auth_transaction.rb +4 -10
  66. data/lib/openapi_client/models/ach_post_auth_transaction_all_of.rb +3 -9
  67. data/lib/openapi_client/models/ach_pre_auth_transaction.rb +4 -10
  68. data/lib/openapi_client/models/ach_pre_auth_transaction_all_of.rb +3 -9
  69. data/lib/openapi_client/models/ach_recurring_type.rb +2 -2
  70. data/lib/openapi_client/models/ach_response.rb +11 -17
  71. data/lib/openapi_client/models/ach_return_transaction.rb +4 -10
  72. data/lib/openapi_client/models/ach_sale_transaction.rb +4 -10
  73. data/lib/openapi_client/models/ach_void_transaction.rb +4 -10
  74. data/lib/openapi_client/models/acs_response.rb +3 -9
  75. data/lib/openapi_client/models/additional_amount_rate.rb +3 -9
  76. data/lib/openapi_client/models/additional_details.rb +88 -13
  77. data/lib/openapi_client/models/additional_transaction_details.rb +19 -13
  78. data/lib/openapi_client/models/address.rb +3 -9
  79. data/lib/openapi_client/models/airline.rb +3 -9
  80. data/lib/openapi_client/models/airline_ancillary_service_category.rb +3 -9
  81. data/lib/openapi_client/models/airline_travel_route.rb +3 -9
  82. data/lib/openapi_client/models/ali_pay.rb +3 -9
  83. data/lib/openapi_client/models/ali_pay_payment_method.rb +5 -10
  84. data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +3 -9
  85. data/lib/openapi_client/models/ali_pay_sale_transaction.rb +4 -10
  86. data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +3 -9
  87. data/lib/openapi_client/models/amount.rb +22 -9
  88. data/lib/openapi_client/models/amount_components.rb +3 -9
  89. data/lib/openapi_client/models/authentication_request.rb +3 -9
  90. data/lib/openapi_client/models/authentication_result.rb +3 -9
  91. data/lib/openapi_client/models/authentication_update_request.rb +3 -9
  92. data/lib/openapi_client/models/avs_response.rb +3 -9
  93. data/lib/openapi_client/models/background.rb +3 -9
  94. data/lib/openapi_client/models/background_color.rb +3 -9
  95. data/lib/openapi_client/models/bancontact_qr.rb +3 -9
  96. data/lib/openapi_client/models/basic_response.rb +3 -9
  97. data/lib/openapi_client/models/billing.rb +54 -10
  98. data/lib/openapi_client/models/billing_address.rb +3 -9
  99. data/lib/openapi_client/models/block_card.rb +3 -9
  100. data/lib/openapi_client/models/block_domain.rb +3 -9
  101. data/lib/openapi_client/models/block_ip_address.rb +3 -9
  102. data/lib/openapi_client/models/block_name.rb +3 -9
  103. data/lib/openapi_client/models/blocked_card_number.rb +3 -9
  104. data/lib/openapi_client/models/blocked_items.rb +3 -9
  105. data/lib/openapi_client/models/body.rb +3 -9
  106. data/lib/openapi_client/models/borders.rb +3 -9
  107. data/lib/openapi_client/models/branding_style_configuration_request.rb +3 -9
  108. data/lib/openapi_client/models/branding_style_configuration_response.rb +4 -11
  109. data/lib/openapi_client/models/branding_style_configuration_result.rb +3 -9
  110. data/lib/openapi_client/models/button.rb +3 -9
  111. data/lib/openapi_client/models/car_rental.rb +3 -9
  112. data/lib/openapi_client/models/car_rental_extra_charges.rb +3 -9
  113. data/lib/openapi_client/models/card.rb +3 -9
  114. data/lib/openapi_client/models/card_function.rb +2 -2
  115. data/lib/openapi_client/models/card_info.rb +3 -9
  116. data/lib/openapi_client/models/card_info_lookup_request.rb +3 -9
  117. data/lib/openapi_client/models/card_info_lookup_response.rb +4 -11
  118. data/lib/openapi_client/models/card_verification_request.rb +3 -9
  119. data/lib/openapi_client/models/cardholder_info_response.rb +257 -0
  120. data/lib/openapi_client/models/china_domestic.rb +32 -13
  121. data/lib/openapi_client/models/china_domestic_payment_method.rb +5 -10
  122. data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +3 -9
  123. data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +4 -10
  124. data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +3 -9
  125. data/lib/openapi_client/models/classic_mode.rb +3 -9
  126. data/lib/openapi_client/models/clearing_details.rb +3 -9
  127. data/lib/openapi_client/models/clearing_element.rb +3 -9
  128. data/lib/openapi_client/models/client_locale.rb +3 -9
  129. data/lib/openapi_client/models/client_registration.rb +3 -10
  130. data/lib/openapi_client/models/combined_mode.rb +3 -9
  131. data/lib/openapi_client/models/connect_mode.rb +2 -2
  132. data/lib/openapi_client/models/contact.rb +3 -9
  133. data/lib/openapi_client/models/content.rb +3 -9
  134. data/lib/openapi_client/models/country_profile.rb +3 -9
  135. data/lib/openapi_client/models/create_payment_token.rb +3 -9
  136. data/lib/openapi_client/models/currency_conversion.rb +3 -9
  137. data/lib/openapi_client/models/{disbursement_transaction_type_all_of.rb → currency_conversion_response.rb} +24 -24
  138. data/lib/openapi_client/models/customer.rb +3 -9
  139. data/lib/openapi_client/models/customer_address.rb +3 -10
  140. data/lib/openapi_client/models/dcc.rb +4 -10
  141. data/lib/openapi_client/models/dcc_all_of.rb +3 -9
  142. data/lib/openapi_client/models/dcc_exchange_rate_request.rb +8 -23
  143. data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +7 -22
  144. data/lib/openapi_client/models/decrypted_apple_pay.rb +13 -88
  145. data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +4 -10
  146. data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +3 -9
  147. data/lib/openapi_client/models/decrypted_google_pay.rb +25 -91
  148. data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +4 -10
  149. data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +3 -9
  150. data/lib/openapi_client/models/decrypted_samsung_pay.rb +13 -88
  151. data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +4 -10
  152. data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +3 -9
  153. data/lib/openapi_client/models/delete_branding_style_configuration_response.rb +4 -11
  154. data/lib/openapi_client/models/device.rb +3 -9
  155. data/lib/openapi_client/models/disbursement.rb +3 -9
  156. data/lib/openapi_client/models/disbursement_transaction_type.rb +7 -28
  157. data/lib/openapi_client/models/document.rb +3 -9
  158. data/lib/openapi_client/models/dynamic_pricing.rb +4 -10
  159. data/lib/openapi_client/models/dynamic_pricing_all_of.rb +3 -9
  160. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +4 -10
  161. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +3 -9
  162. data/lib/openapi_client/models/email_notification_data.rb +3 -9
  163. data/lib/openapi_client/models/encrypted_apple_pay.rb +3 -9
  164. data/lib/openapi_client/models/encrypted_apple_pay_header.rb +3 -9
  165. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +4 -10
  166. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +3 -9
  167. data/lib/openapi_client/models/encrypted_google_pay.rb +3 -9
  168. data/lib/openapi_client/models/encrypted_google_pay_data.rb +3 -9
  169. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +4 -10
  170. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +3 -9
  171. data/lib/openapi_client/models/encrypted_samsung_pay.rb +3 -9
  172. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +4 -10
  173. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +3 -9
  174. data/lib/openapi_client/models/endpoint_response.rb +3 -9
  175. data/lib/openapi_client/models/error.rb +3 -9
  176. data/lib/openapi_client/models/error_details.rb +3 -9
  177. data/lib/openapi_client/models/error_message.rb +3 -9
  178. data/lib/openapi_client/models/error_response.rb +4 -11
  179. data/lib/openapi_client/models/{exchange_rate_response_all_of.rb → exchange_rate_details.rb} +11 -36
  180. data/lib/openapi_client/models/exchange_rate_request.rb +3 -9
  181. data/lib/openapi_client/models/exchange_rate_response.rb +12 -100
  182. data/lib/openapi_client/models/expiration.rb +6 -11
  183. data/lib/openapi_client/models/font_face.rb +2 -2
  184. data/lib/openapi_client/models/font_properties.rb +3 -9
  185. data/lib/openapi_client/models/font_weight.rb +2 -2
  186. data/lib/openapi_client/models/footer.rb +3 -9
  187. data/lib/openapi_client/models/fraud_address.rb +3 -9
  188. data/lib/openapi_client/models/fraud_order.rb +3 -9
  189. data/lib/openapi_client/models/fraud_order_items.rb +3 -9
  190. data/lib/openapi_client/models/fraud_registration.rb +3 -9
  191. data/lib/openapi_client/models/fraud_registration_card.rb +3 -9
  192. data/lib/openapi_client/models/fraud_registration_device.rb +3 -9
  193. data/lib/openapi_client/models/fraud_registration_device_items.rb +3 -9
  194. data/lib/openapi_client/models/fraud_registration_error.rb +3 -9
  195. data/lib/openapi_client/models/fraud_registration_response.rb +4 -10
  196. data/lib/openapi_client/models/fraud_score.rb +3 -9
  197. data/lib/openapi_client/models/fraud_settings.rb +3 -9
  198. data/lib/openapi_client/models/fraud_settings_response.rb +4 -11
  199. data/lib/openapi_client/models/frequency.rb +3 -9
  200. data/lib/openapi_client/models/funding_transaction_type.rb +7 -28
  201. data/lib/openapi_client/models/{store_url_configuration_response_all_of.rb → generate_certificate_from_csr_response.rb} +53 -19
  202. data/lib/openapi_client/models/{payment_registration_all_of.rb → generate_certificate_response.rb} +56 -51
  203. data/lib/openapi_client/models/header.rb +3 -9
  204. data/lib/openapi_client/models/hover.rb +3 -9
  205. data/lib/openapi_client/models/id_info.rb +3 -9
  206. data/lib/openapi_client/models/{payment_url_response_all_of.rb → ideal_setup.rb} +89 -78
  207. data/lib/openapi_client/models/{error_response_all_of.rb → ideal_setup_response.rb} +47 -17
  208. data/lib/openapi_client/models/industry_specific_extensions.rb +3 -9
  209. data/lib/openapi_client/models/initiate_clearing_response.rb +3 -9
  210. data/lib/openapi_client/models/initiate_clearing_response_all_of.rb +3 -9
  211. data/lib/openapi_client/models/installment_options.rb +3 -9
  212. data/lib/openapi_client/models/issuer_response.rb +3 -9
  213. data/lib/openapi_client/models/items.rb +3 -9
  214. data/lib/openapi_client/models/location.rb +3 -9
  215. data/lib/openapi_client/models/lockout_time.rb +3 -9
  216. data/lib/openapi_client/models/lodging.rb +3 -9
  217. data/lib/openapi_client/models/lodging_extra_charges.rb +3 -9
  218. data/lib/openapi_client/models/logo.rb +3 -9
  219. data/lib/openapi_client/models/loyalty.rb +3 -9
  220. data/lib/openapi_client/models/masterpass_wallet_payment_method.rb +4 -10
  221. data/lib/openapi_client/models/masterpass_wallet_payment_method_all_of.rb +3 -9
  222. data/lib/openapi_client/models/maximum_purchase_amount.rb +3 -9
  223. data/lib/openapi_client/models/mcc6012.rb +3 -9
  224. data/lib/openapi_client/models/merchant.rb +3 -9
  225. data/lib/openapi_client/models/method.rb +3 -9
  226. data/lib/openapi_client/models/mobile.rb +3 -9
  227. data/lib/openapi_client/models/mobile_header_area.rb +3 -9
  228. data/lib/openapi_client/models/order.rb +3 -9
  229. data/lib/openapi_client/models/order_error_response.rb +3 -10
  230. data/lib/openapi_client/models/order_response.rb +4 -11
  231. data/lib/openapi_client/models/pay_pal.rb +3 -9
  232. data/lib/openapi_client/models/pay_pal_payment_method.rb +5 -10
  233. data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +3 -9
  234. data/lib/openapi_client/models/payment.rb +3 -9
  235. data/lib/openapi_client/models/payment_card.rb +10 -16
  236. data/lib/openapi_client/models/payment_card_credit_transaction.rb +4 -10
  237. data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +4 -10
  238. data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +3 -9
  239. data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +4 -10
  240. data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +3 -9
  241. data/lib/openapi_client/models/payment_card_info_lookup_request.rb +4 -10
  242. data/lib/openapi_client/models/payment_card_info_lookup_request_all_of.rb +3 -9
  243. data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +4 -10
  244. data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +3 -9
  245. data/lib/openapi_client/models/payment_card_payment_method.rb +5 -10
  246. data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +3 -9
  247. data/lib/openapi_client/models/payment_card_payment_token_update_request.rb +3 -9
  248. data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +4 -10
  249. data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +3 -9
  250. data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +4 -10
  251. data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +3 -9
  252. data/lib/openapi_client/models/payment_card_sale_transaction.rb +5 -25
  253. data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +4 -24
  254. data/lib/openapi_client/models/payment_card_verification_request.rb +4 -10
  255. data/lib/openapi_client/models/payment_card_verification_request_all_of.rb +3 -9
  256. data/lib/openapi_client/models/payment_device.rb +3 -9
  257. data/lib/openapi_client/models/payment_device_credit_transaction.rb +4 -10
  258. data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +3 -9
  259. data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +4 -10
  260. data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +3 -9
  261. data/lib/openapi_client/models/payment_device_payment_method.rb +5 -10
  262. data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +3 -9
  263. data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +4 -10
  264. data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +3 -9
  265. data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +4 -10
  266. data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +3 -9
  267. data/lib/openapi_client/models/payment_device_sale_transaction.rb +4 -10
  268. data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +3 -9
  269. data/lib/openapi_client/models/payment_facilitator.rb +3 -9
  270. data/lib/openapi_client/models/payment_method_details.rb +3 -9
  271. data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +4 -10
  272. data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +3 -9
  273. data/lib/openapi_client/models/payment_method_type.rb +2 -2
  274. data/lib/openapi_client/models/payment_registration.rb +4 -11
  275. data/lib/openapi_client/models/payment_schedules_error_response.rb +3 -10
  276. data/lib/openapi_client/models/payment_schedules_request.rb +3 -9
  277. data/lib/openapi_client/models/payment_schedules_response.rb +4 -11
  278. data/lib/openapi_client/models/payment_token_credit_transaction.rb +4 -10
  279. data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +3 -9
  280. data/lib/openapi_client/models/payment_token_details.rb +3 -9
  281. data/lib/openapi_client/models/payment_token_details_all_of.rb +3 -9
  282. data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +4 -10
  283. data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +3 -9
  284. data/lib/openapi_client/models/payment_token_info_lookup_request.rb +4 -10
  285. data/lib/openapi_client/models/payment_token_info_lookup_request_all_of.rb +3 -9
  286. data/lib/openapi_client/models/payment_token_payment_method.rb +4 -9
  287. data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +3 -9
  288. data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +4 -10
  289. data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +3 -9
  290. data/lib/openapi_client/models/payment_token_sale_transaction.rb +4 -10
  291. data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +3 -9
  292. data/lib/openapi_client/models/payment_token_update_response.rb +4 -11
  293. data/lib/openapi_client/models/payment_token_verification_request.rb +4 -10
  294. data/lib/openapi_client/models/payment_token_verification_request_all_of.rb +3 -9
  295. data/lib/openapi_client/models/payment_tokenization_error_response.rb +54 -11
  296. data/lib/openapi_client/models/payment_tokenization_request.rb +29 -10
  297. data/lib/openapi_client/models/payment_tokenization_response.rb +58 -15
  298. data/lib/openapi_client/models/payment_url_detail.rb +3 -9
  299. data/lib/openapi_client/models/payment_url_detail_response.rb +4 -11
  300. data/lib/openapi_client/models/payment_url_error_response.rb +3 -10
  301. data/lib/openapi_client/models/payment_url_request.rb +3 -9
  302. data/lib/openapi_client/models/payment_url_response.rb +4 -11
  303. data/lib/openapi_client/models/payment_url_status.rb +2 -2
  304. data/lib/openapi_client/models/paypal_credit_transaction.rb +4 -10
  305. data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +3 -9
  306. data/lib/openapi_client/models/phone.rb +3 -9
  307. data/lib/openapi_client/models/post_auth_transaction.rb +4 -10
  308. data/lib/openapi_client/models/post_auth_transaction_all_of.rb +3 -9
  309. data/lib/openapi_client/models/primary.rb +3 -9
  310. data/lib/openapi_client/models/primary_transaction.rb +3 -9
  311. data/lib/openapi_client/models/processor_data.rb +26 -13
  312. data/lib/openapi_client/models/properties.rb +3 -9
  313. data/lib/openapi_client/models/purchase_cards.rb +3 -9
  314. data/lib/openapi_client/models/purchase_cards_level2.rb +3 -9
  315. data/lib/openapi_client/models/purchase_cards_level3.rb +3 -9
  316. data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +3 -9
  317. data/lib/openapi_client/models/{card_info_lookup_response_all_of.rb → receipt.rb} +42 -37
  318. data/lib/openapi_client/models/{delete_branding_style_configuration_response_all_of.rb → receipt_line.rb} +29 -27
  319. data/lib/openapi_client/models/{payment_token_update_response_all_of.rb → receipt_request_info.rb} +44 -43
  320. data/lib/openapi_client/models/receiver_info.rb +3 -9
  321. data/lib/openapi_client/models/recurring_payment_details.rb +3 -9
  322. data/lib/openapi_client/models/recurring_payment_details_response.rb +4 -11
  323. data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +4 -10
  324. data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +3 -9
  325. data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +4 -10
  326. data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +3 -9
  327. data/lib/openapi_client/models/registration_method.rb +3 -9
  328. data/lib/openapi_client/models/remove_fraud_blocked_items_response.rb +4 -11
  329. data/lib/openapi_client/models/response_amount_components.rb +3 -9
  330. data/lib/openapi_client/models/response_amount_components_all_of.rb +3 -9
  331. data/lib/openapi_client/models/response_type.rb +2 -2
  332. data/lib/openapi_client/models/return_transaction.rb +14 -11
  333. data/lib/openapi_client/models/return_transaction_all_of.rb +13 -10
  334. data/lib/openapi_client/models/score_only_request.rb +3 -9
  335. data/lib/openapi_client/models/score_only_response.rb +3 -9
  336. data/lib/openapi_client/models/score_only_response_fraud_score.rb +3 -9
  337. data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +3 -9
  338. data/lib/openapi_client/models/secondary_transaction.rb +3 -9
  339. data/lib/openapi_client/models/secure3_d10_authentication_request.rb +13 -23
  340. data/lib/openapi_client/models/secure3_d10_authentication_request_all_of.rb +11 -21
  341. data/lib/openapi_client/models/secure3_d10_authentication_result.rb +5 -11
  342. data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +3 -9
  343. data/lib/openapi_client/models/secure3_d10_authentication_update_request.rb +5 -11
  344. data/lib/openapi_client/models/secure3_d10_authentication_update_request_all_of.rb +3 -9
  345. data/lib/openapi_client/models/secure3_d21_authentication_request.rb +7 -13
  346. data/lib/openapi_client/models/secure3_d21_authentication_request_all_of.rb +5 -11
  347. data/lib/openapi_client/models/secure3_d21_authentication_result.rb +5 -11
  348. data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +3 -9
  349. data/lib/openapi_client/models/secure3_d21_authentication_update_request.rb +5 -11
  350. data/lib/openapi_client/models/secure3_d21_authentication_update_request_all_of.rb +3 -9
  351. data/lib/openapi_client/models/secure3_d_authentication_request.rb +329 -0
  352. data/lib/openapi_client/models/secure3_d_authentication_request_all_of.rb +316 -0
  353. data/lib/openapi_client/models/secure3_d_authentication_response.rb +3 -9
  354. data/lib/openapi_client/models/secure3_d_authentication_response_params.rb +3 -9
  355. data/lib/openapi_client/models/secure3_d_authentication_response_secure3d_method.rb +3 -9
  356. data/lib/openapi_client/models/secure3_d_authentication_result.rb +353 -0
  357. data/lib/openapi_client/models/secure3_d_authentication_result_all_of.rb +340 -0
  358. data/lib/openapi_client/models/{payment_schedules_response_all_of.rb → secure3_d_authentication_update_request.rb} +41 -44
  359. data/lib/openapi_client/models/secure3d_response.rb +3 -9
  360. data/lib/openapi_client/models/sender_info.rb +3 -9
  361. data/lib/openapi_client/models/sepa.rb +3 -9
  362. data/lib/openapi_client/models/sepa_mandate.rb +21 -27
  363. data/lib/openapi_client/models/sepa_payment_method.rb +4 -9
  364. data/lib/openapi_client/models/sepa_payment_method_all_of.rb +3 -9
  365. data/lib/openapi_client/models/sepa_sale_transaction.rb +4 -10
  366. data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +3 -9
  367. data/lib/openapi_client/models/shared_secret_configuration_request.rb +3 -9
  368. data/lib/openapi_client/models/shared_secret_configuration_response.rb +4 -11
  369. data/lib/openapi_client/models/ship_to_address.rb +3 -9
  370. data/lib/openapi_client/models/shipping.rb +3 -9
  371. data/lib/openapi_client/models/{payment_tokenization_response_all_of.rb → sofort_setup.rb} +126 -107
  372. data/lib/openapi_client/models/{funding_transaction_type_all_of.rb → sofort_setup_response.rb} +47 -22
  373. data/lib/openapi_client/models/soft_descriptor.rb +52 -13
  374. data/lib/openapi_client/models/split_shipment.rb +3 -9
  375. data/lib/openapi_client/models/store_branding_style_configuration.rb +3 -9
  376. data/lib/openapi_client/models/store_email_settings.rb +3 -9
  377. data/lib/openapi_client/models/store_email_settings_result.rb +3 -9
  378. data/lib/openapi_client/models/store_fraud_settings.rb +3 -9
  379. data/lib/openapi_client/models/store_fraud_settings_result.rb +3 -9
  380. data/lib/openapi_client/models/store_url_configuration.rb +3 -9
  381. data/lib/openapi_client/models/store_url_configuration_request.rb +3 -9
  382. data/lib/openapi_client/models/store_url_configuration_response.rb +4 -11
  383. data/lib/openapi_client/models/store_url_configuration_result.rb +3 -9
  384. data/lib/openapi_client/models/stored_credential.rb +3 -9
  385. data/lib/openapi_client/models/sub_merchant_data.rb +3 -9
  386. data/lib/openapi_client/models/sub_merchant_split.rb +3 -9
  387. data/lib/openapi_client/models/tele_check_ach_payment_method.rb +3 -9
  388. data/lib/openapi_client/models/tele_check_ach_payment_method_ach_bill_to.rb +3 -9
  389. data/lib/openapi_client/models/tele_check_cbp_payment_method.rb +7 -28
  390. data/lib/openapi_client/models/tele_check_ica_payment_method.rb +4 -10
  391. data/lib/openapi_client/models/tele_check_ica_payment_method_all_of.rb +3 -9
  392. data/lib/openapi_client/models/text.rb +3 -9
  393. data/lib/openapi_client/models/title.rb +3 -9
  394. data/lib/openapi_client/models/token_identifier.rb +3 -9
  395. data/lib/openapi_client/models/top_bar.rb +3 -9
  396. data/lib/openapi_client/models/transaction_error_response.rb +13 -11
  397. data/lib/openapi_client/models/transaction_origin.rb +3 -2
  398. data/lib/openapi_client/models/transaction_response.rb +17 -15
  399. data/lib/openapi_client/models/transaction_type.rb +2 -2
  400. data/lib/openapi_client/models/union_pay_authentication_request.rb +4 -10
  401. data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +3 -9
  402. data/lib/openapi_client/models/union_pay_authentication_update_request.rb +4 -10
  403. data/lib/openapi_client/models/union_pay_authentication_update_request_all_of.rb +3 -9
  404. data/lib/openapi_client/models/update_email_settings_request.rb +3 -9
  405. data/lib/openapi_client/models/update_email_settings_response.rb +4 -11
  406. data/lib/openapi_client/models/update_fraud_settings_request.rb +3 -9
  407. data/lib/openapi_client/models/update_fraud_settings_response.rb +4 -11
  408. data/lib/openapi_client/models/update_payment_token.rb +3 -9
  409. data/lib/openapi_client/models/use_payment_token.rb +3 -9
  410. data/lib/openapi_client/models/verification3ds.rb +3 -9
  411. data/lib/openapi_client/models/verification_avs.rb +3 -9
  412. data/lib/openapi_client/models/verification_cvv.rb +3 -9
  413. data/lib/openapi_client/models/void_pre_auth_transactions.rb +7 -28
  414. data/lib/openapi_client/models/void_transaction.rb +11 -22
  415. data/lib/openapi_client/models/void_transaction_all_of.rb +10 -21
  416. data/lib/openapi_client/models/wallet_payment_method.rb +3 -9
  417. data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +4 -10
  418. data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +3 -9
  419. data/lib/openapi_client/models/wallet_sale_transaction.rb +4 -10
  420. data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +3 -9
  421. data/lib/openapi_client/version.rb +3 -3
  422. data/lib/simple/gateway.rb +5 -4
  423. data/spec/api/authentication_api_spec.rb +2 -2
  424. data/spec/api/currency_conversion_api_spec.rb +2 -2
  425. data/spec/api/fraud_detect_api_spec.rb +2 -2
  426. data/spec/api/information_lookup_api_spec.rb +2 -2
  427. data/spec/api/order_api_spec.rb +2 -2
  428. data/spec/api/payment_api_spec.rb +3 -3
  429. data/spec/api/payment_schedules_api_spec.rb +2 -2
  430. data/spec/api/payment_token_api_spec.rb +2 -2
  431. data/spec/api/payment_url_api_spec.rb +2 -2
  432. data/spec/api/verification_api_spec.rb +2 -2
  433. data/spec/api_client_spec.rb +3 -3
  434. data/spec/configuration_spec.rb +2 -2
  435. data/spec/models/access_token_request_spec.rb +2 -2
  436. data/spec/models/access_token_response_spec.rb +2 -2
  437. data/spec/models/account_info_lookup_request_spec.rb +2 -2
  438. data/spec/models/account_updater_response_spec.rb +2 -2
  439. data/spec/models/account_verification_request_spec.rb +8 -2
  440. data/spec/models/ach_credit_transaction_spec.rb +2 -2
  441. data/spec/models/ach_post_auth_transaction_all_of_spec.rb +2 -2
  442. data/spec/models/ach_post_auth_transaction_spec.rb +2 -2
  443. data/spec/models/ach_pre_auth_transaction_all_of_spec.rb +2 -2
  444. data/spec/models/ach_pre_auth_transaction_spec.rb +2 -2
  445. data/spec/models/ach_recurring_type_spec.rb +2 -2
  446. data/spec/models/ach_response_spec.rb +2 -2
  447. data/spec/models/ach_return_transaction_spec.rb +2 -2
  448. data/spec/models/ach_sale_transaction_spec.rb +2 -2
  449. data/spec/models/ach_void_transaction_spec.rb +2 -2
  450. data/spec/models/acs_response_spec.rb +2 -2
  451. data/spec/models/additional_amount_rate_spec.rb +2 -2
  452. data/spec/models/additional_details_spec.rb +24 -2
  453. data/spec/models/additional_transaction_details_spec.rb +8 -2
  454. data/spec/models/address_spec.rb +2 -2
  455. data/spec/models/airline_ancillary_service_category_spec.rb +2 -2
  456. data/spec/models/airline_spec.rb +2 -2
  457. data/spec/models/airline_travel_route_spec.rb +2 -2
  458. data/spec/models/ali_pay_payment_method_all_of_spec.rb +2 -2
  459. data/spec/models/ali_pay_payment_method_spec.rb +2 -2
  460. data/spec/models/ali_pay_sale_transaction_all_of_spec.rb +2 -2
  461. data/spec/models/ali_pay_sale_transaction_spec.rb +2 -2
  462. data/spec/models/ali_pay_spec.rb +2 -2
  463. data/spec/models/amount_components_spec.rb +2 -2
  464. data/spec/models/amount_spec.rb +2 -2
  465. data/spec/models/authentication_request_spec.rb +2 -2
  466. data/spec/models/authentication_result_spec.rb +2 -2
  467. data/spec/models/authentication_update_request_spec.rb +2 -2
  468. data/spec/models/avs_response_spec.rb +2 -2
  469. data/spec/models/background_color_spec.rb +2 -2
  470. data/spec/models/background_spec.rb +2 -2
  471. data/spec/models/bancontact_qr_spec.rb +2 -2
  472. data/spec/models/basic_response_spec.rb +2 -2
  473. data/spec/models/billing_address_spec.rb +2 -2
  474. data/spec/models/billing_spec.rb +14 -2
  475. data/spec/models/block_card_spec.rb +2 -2
  476. data/spec/models/block_domain_spec.rb +2 -2
  477. data/spec/models/block_ip_address_spec.rb +2 -2
  478. data/spec/models/block_name_spec.rb +2 -2
  479. data/spec/models/blocked_card_number_spec.rb +2 -2
  480. data/spec/models/blocked_items_spec.rb +2 -2
  481. data/spec/models/body_spec.rb +2 -2
  482. data/spec/models/borders_spec.rb +2 -2
  483. data/spec/models/branding_style_configuration_request_spec.rb +2 -2
  484. data/spec/models/branding_style_configuration_response_spec.rb +2 -2
  485. data/spec/models/branding_style_configuration_result_spec.rb +2 -2
  486. data/spec/models/button_spec.rb +2 -2
  487. data/spec/models/car_rental_extra_charges_spec.rb +2 -2
  488. data/spec/models/car_rental_spec.rb +2 -2
  489. data/spec/models/card_function_spec.rb +2 -2
  490. data/spec/models/card_info_lookup_request_spec.rb +2 -2
  491. data/spec/models/card_info_lookup_response_spec.rb +2 -2
  492. data/spec/models/card_info_spec.rb +2 -2
  493. data/spec/models/card_spec.rb +2 -2
  494. data/spec/models/card_verification_request_spec.rb +2 -2
  495. data/spec/models/{payment_registration_all_of_spec.rb → cardholder_info_response_spec.rb} +14 -14
  496. data/spec/models/china_domestic_payment_method_all_of_spec.rb +2 -2
  497. data/spec/models/china_domestic_payment_method_spec.rb +2 -2
  498. data/spec/models/china_domestic_spec.rb +8 -2
  499. data/spec/models/china_pn_r_sale_transaction_all_of_spec.rb +2 -2
  500. data/spec/models/china_pn_r_sale_transaction_spec.rb +2 -2
  501. data/spec/models/classic_mode_spec.rb +2 -2
  502. data/spec/models/clearing_details_spec.rb +2 -2
  503. data/spec/models/clearing_element_spec.rb +2 -2
  504. data/spec/models/client_locale_spec.rb +2 -2
  505. data/spec/models/client_registration_spec.rb +2 -2
  506. data/spec/models/combined_mode_spec.rb +2 -2
  507. data/spec/models/connect_mode_spec.rb +2 -2
  508. data/spec/models/contact_spec.rb +2 -2
  509. data/spec/models/content_spec.rb +2 -2
  510. data/spec/models/country_profile_spec.rb +2 -2
  511. data/spec/models/create_payment_token_spec.rb +2 -2
  512. data/spec/models/{delete_branding_style_configuration_response_all_of_spec.rb → currency_conversion_response_spec.rb} +10 -10
  513. data/spec/models/currency_conversion_spec.rb +2 -2
  514. data/spec/models/customer_address_spec.rb +2 -2
  515. data/spec/models/customer_spec.rb +2 -2
  516. data/spec/models/dcc_all_of_spec.rb +2 -2
  517. data/spec/models/dcc_exchange_rate_request_all_of_spec.rb +2 -2
  518. data/spec/models/dcc_exchange_rate_request_spec.rb +2 -2
  519. data/spec/models/dcc_spec.rb +2 -2
  520. data/spec/models/decrypted_apple_pay_spec.rb +2 -14
  521. data/spec/models/decrypted_apple_pay_wallet_payment_method_all_of_spec.rb +2 -2
  522. data/spec/models/decrypted_apple_pay_wallet_payment_method_spec.rb +2 -2
  523. data/spec/models/decrypted_google_pay_spec.rb +7 -13
  524. data/spec/models/decrypted_google_pay_wallet_payment_method_all_of_spec.rb +2 -2
  525. data/spec/models/decrypted_google_pay_wallet_payment_method_spec.rb +2 -2
  526. data/spec/models/decrypted_samsung_pay_spec.rb +2 -14
  527. data/spec/models/decrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +2 -2
  528. data/spec/models/decrypted_samsung_pay_wallet_payment_method_spec.rb +2 -2
  529. data/spec/models/delete_branding_style_configuration_response_spec.rb +2 -2
  530. data/spec/models/device_spec.rb +2 -2
  531. data/spec/models/disbursement_spec.rb +2 -2
  532. data/spec/models/disbursement_transaction_type_spec.rb +2 -8
  533. data/spec/models/document_spec.rb +2 -2
  534. data/spec/models/dynamic_pricing_all_of_spec.rb +2 -2
  535. data/spec/models/dynamic_pricing_exchange_rate_request_all_of_spec.rb +2 -2
  536. data/spec/models/dynamic_pricing_exchange_rate_request_spec.rb +2 -2
  537. data/spec/models/dynamic_pricing_spec.rb +2 -2
  538. data/spec/models/email_notification_data_spec.rb +2 -2
  539. data/spec/models/encrypted_apple_pay_header_spec.rb +2 -2
  540. data/spec/models/encrypted_apple_pay_spec.rb +2 -2
  541. data/spec/models/encrypted_apple_pay_wallet_payment_method_all_of_spec.rb +2 -2
  542. data/spec/models/encrypted_apple_pay_wallet_payment_method_spec.rb +2 -2
  543. data/spec/models/encrypted_google_pay_data_spec.rb +2 -2
  544. data/spec/models/encrypted_google_pay_spec.rb +2 -2
  545. data/spec/models/encrypted_google_pay_wallet_payment_method_all_of_spec.rb +2 -2
  546. data/spec/models/encrypted_google_pay_wallet_payment_method_spec.rb +2 -2
  547. data/spec/models/encrypted_samsung_pay_spec.rb +2 -2
  548. data/spec/models/encrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +2 -2
  549. data/spec/models/encrypted_samsung_pay_wallet_payment_method_spec.rb +2 -2
  550. data/spec/models/endpoint_response_spec.rb +2 -2
  551. data/spec/models/error_details_spec.rb +2 -2
  552. data/spec/models/error_message_spec.rb +2 -2
  553. data/spec/models/error_response_spec.rb +2 -2
  554. data/spec/models/error_spec.rb +2 -2
  555. data/spec/models/{exchange_rate_response_all_of_spec.rb → exchange_rate_details_spec.rb} +8 -20
  556. data/spec/models/exchange_rate_request_spec.rb +2 -2
  557. data/spec/models/exchange_rate_response_spec.rb +3 -51
  558. data/spec/models/expiration_spec.rb +2 -2
  559. data/spec/models/font_face_spec.rb +2 -2
  560. data/spec/models/font_properties_spec.rb +2 -2
  561. data/spec/models/font_weight_spec.rb +2 -2
  562. data/spec/models/footer_spec.rb +2 -2
  563. data/spec/models/fraud_address_spec.rb +2 -2
  564. data/spec/models/fraud_order_items_spec.rb +2 -2
  565. data/spec/models/fraud_order_spec.rb +8 -2
  566. data/spec/models/fraud_registration_card_spec.rb +2 -2
  567. data/spec/models/fraud_registration_device_items_spec.rb +2 -2
  568. data/spec/models/fraud_registration_device_spec.rb +2 -2
  569. data/spec/models/fraud_registration_error_spec.rb +2 -2
  570. data/spec/models/fraud_registration_response_spec.rb +3 -3
  571. data/spec/models/fraud_registration_spec.rb +2 -2
  572. data/spec/models/fraud_score_spec.rb +2 -2
  573. data/spec/models/fraud_settings_response_spec.rb +2 -2
  574. data/spec/models/fraud_settings_spec.rb +2 -2
  575. data/spec/models/frequency_spec.rb +2 -2
  576. data/spec/models/funding_transaction_type_spec.rb +2 -8
  577. data/spec/models/{shared_secret_configuration_response_all_of_spec.rb → generate_certificate_from_csr_response_spec.rb} +12 -12
  578. data/spec/models/{order_response_all_of_spec.rb → generate_certificate_response_spec.rb} +13 -13
  579. data/spec/models/header_spec.rb +2 -2
  580. data/spec/models/hover_spec.rb +2 -2
  581. data/spec/models/id_info_spec.rb +2 -2
  582. data/spec/models/{payment_url_response_all_of_spec.rb → ideal_setup_response_spec.rb} +12 -16
  583. data/spec/models/{disbursement_transaction_type_all_of_spec.rb → ideal_setup_spec.rb} +15 -9
  584. data/spec/models/industry_specific_extensions_spec.rb +2 -2
  585. data/spec/models/initiate_clearing_response_all_of_spec.rb +2 -2
  586. data/spec/models/initiate_clearing_response_spec.rb +2 -2
  587. data/spec/models/installment_options_spec.rb +2 -2
  588. data/spec/models/issuer_response_spec.rb +2 -2
  589. data/spec/models/items_spec.rb +2 -2
  590. data/spec/models/location_spec.rb +2 -2
  591. data/spec/models/lockout_time_spec.rb +2 -2
  592. data/spec/models/lodging_extra_charges_spec.rb +2 -2
  593. data/spec/models/lodging_spec.rb +2 -2
  594. data/spec/models/logo_spec.rb +2 -2
  595. data/spec/models/loyalty_spec.rb +2 -2
  596. data/spec/models/masterpass_wallet_payment_method_all_of_spec.rb +2 -2
  597. data/spec/models/masterpass_wallet_payment_method_spec.rb +2 -2
  598. data/spec/models/maximum_purchase_amount_spec.rb +2 -2
  599. data/spec/models/mcc6012_spec.rb +2 -2
  600. data/spec/models/merchant_spec.rb +2 -2
  601. data/spec/models/method_spec.rb +2 -2
  602. data/spec/models/mobile_header_area_spec.rb +2 -2
  603. data/spec/models/mobile_spec.rb +2 -2
  604. data/spec/models/order_error_response_spec.rb +2 -2
  605. data/spec/models/order_response_spec.rb +2 -2
  606. data/spec/models/order_spec.rb +2 -2
  607. data/spec/models/pay_pal_payment_method_all_of_spec.rb +2 -2
  608. data/spec/models/pay_pal_payment_method_spec.rb +2 -2
  609. data/spec/models/pay_pal_spec.rb +2 -2
  610. data/spec/models/payment_card_credit_transaction_spec.rb +2 -2
  611. data/spec/models/payment_card_disbursement_transaction_all_of_spec.rb +2 -2
  612. data/spec/models/payment_card_disbursement_transaction_spec.rb +2 -2
  613. data/spec/models/payment_card_forced_ticket_transaction_all_of_spec.rb +2 -2
  614. data/spec/models/payment_card_forced_ticket_transaction_spec.rb +2 -2
  615. data/spec/models/payment_card_info_lookup_request_all_of_spec.rb +2 -2
  616. data/spec/models/payment_card_info_lookup_request_spec.rb +2 -2
  617. data/spec/models/payment_card_payer_auth_transaction_all_of_spec.rb +2 -2
  618. data/spec/models/payment_card_payer_auth_transaction_spec.rb +2 -2
  619. data/spec/models/payment_card_payment_method_all_of_spec.rb +2 -2
  620. data/spec/models/payment_card_payment_method_spec.rb +2 -2
  621. data/spec/models/payment_card_payment_token_update_request_spec.rb +2 -2
  622. data/spec/models/payment_card_payment_tokenization_request_all_of_spec.rb +2 -2
  623. data/spec/models/payment_card_payment_tokenization_request_spec.rb +2 -2
  624. data/spec/models/payment_card_pre_auth_transaction_all_of_spec.rb +2 -2
  625. data/spec/models/payment_card_pre_auth_transaction_spec.rb +2 -2
  626. data/spec/models/payment_card_sale_transaction_all_of_spec.rb +2 -8
  627. data/spec/models/payment_card_sale_transaction_spec.rb +2 -8
  628. data/spec/models/payment_card_spec.rb +2 -2
  629. data/spec/models/payment_card_verification_request_all_of_spec.rb +2 -2
  630. data/spec/models/payment_card_verification_request_spec.rb +2 -2
  631. data/spec/models/payment_device_credit_transaction_all_of_spec.rb +2 -2
  632. data/spec/models/payment_device_credit_transaction_spec.rb +2 -2
  633. data/spec/models/payment_device_disbursement_transaction_all_of_spec.rb +2 -2
  634. data/spec/models/payment_device_disbursement_transaction_spec.rb +2 -2
  635. data/spec/models/payment_device_payment_method_all_of_spec.rb +2 -2
  636. data/spec/models/payment_device_payment_method_spec.rb +2 -2
  637. data/spec/models/payment_device_payment_tokenization_request_all_of_spec.rb +2 -2
  638. data/spec/models/payment_device_payment_tokenization_request_spec.rb +2 -2
  639. data/spec/models/payment_device_pre_auth_transaction_all_of_spec.rb +2 -2
  640. data/spec/models/payment_device_pre_auth_transaction_spec.rb +2 -2
  641. data/spec/models/payment_device_sale_transaction_all_of_spec.rb +2 -2
  642. data/spec/models/payment_device_sale_transaction_spec.rb +2 -2
  643. data/spec/models/payment_device_spec.rb +2 -2
  644. data/spec/models/payment_facilitator_spec.rb +2 -2
  645. data/spec/models/payment_method_details_spec.rb +2 -2
  646. data/spec/models/payment_method_payment_schedules_request_all_of_spec.rb +2 -2
  647. data/spec/models/payment_method_payment_schedules_request_spec.rb +2 -2
  648. data/spec/models/payment_method_type_spec.rb +2 -2
  649. data/spec/models/payment_registration_spec.rb +2 -2
  650. data/spec/models/payment_schedules_error_response_spec.rb +2 -2
  651. data/spec/models/payment_schedules_request_spec.rb +2 -2
  652. data/spec/models/payment_schedules_response_spec.rb +2 -2
  653. data/spec/models/payment_spec.rb +2 -2
  654. data/spec/models/payment_token_credit_transaction_all_of_spec.rb +2 -2
  655. data/spec/models/payment_token_credit_transaction_spec.rb +2 -2
  656. data/spec/models/payment_token_details_all_of_spec.rb +2 -2
  657. data/spec/models/payment_token_details_spec.rb +2 -2
  658. data/spec/models/payment_token_disbursement_transaction_all_of_spec.rb +2 -2
  659. data/spec/models/payment_token_disbursement_transaction_spec.rb +2 -2
  660. data/spec/models/payment_token_info_lookup_request_all_of_spec.rb +2 -2
  661. data/spec/models/payment_token_info_lookup_request_spec.rb +2 -2
  662. data/spec/models/payment_token_payment_method_all_of_spec.rb +2 -2
  663. data/spec/models/payment_token_payment_method_spec.rb +2 -2
  664. data/spec/models/payment_token_pre_auth_transaction_all_of_spec.rb +2 -2
  665. data/spec/models/payment_token_pre_auth_transaction_spec.rb +2 -2
  666. data/spec/models/payment_token_sale_transaction_all_of_spec.rb +2 -2
  667. data/spec/models/payment_token_sale_transaction_spec.rb +2 -2
  668. data/spec/models/payment_token_update_response_spec.rb +2 -2
  669. data/spec/models/payment_token_verification_request_all_of_spec.rb +2 -2
  670. data/spec/models/payment_token_verification_request_spec.rb +2 -2
  671. data/spec/models/payment_tokenization_error_response_spec.rb +14 -2
  672. data/spec/models/payment_tokenization_request_spec.rb +8 -2
  673. data/spec/models/payment_tokenization_response_spec.rb +14 -2
  674. data/spec/models/payment_url_detail_response_spec.rb +2 -2
  675. data/spec/models/payment_url_detail_spec.rb +2 -2
  676. data/spec/models/payment_url_error_response_spec.rb +2 -2
  677. data/spec/models/payment_url_request_spec.rb +2 -2
  678. data/spec/models/payment_url_response_spec.rb +2 -2
  679. data/spec/models/payment_url_status_spec.rb +2 -2
  680. data/spec/models/paypal_credit_transaction_all_of_spec.rb +2 -2
  681. data/spec/models/paypal_credit_transaction_spec.rb +2 -2
  682. data/spec/models/phone_spec.rb +2 -2
  683. data/spec/models/post_auth_transaction_all_of_spec.rb +2 -2
  684. data/spec/models/post_auth_transaction_spec.rb +2 -2
  685. data/spec/models/primary_spec.rb +2 -2
  686. data/spec/models/primary_transaction_spec.rb +2 -2
  687. data/spec/models/processor_data_spec.rb +14 -2
  688. data/spec/models/properties_spec.rb +2 -2
  689. data/spec/models/purchase_cards_level2_spec.rb +2 -2
  690. data/spec/models/purchase_cards_level3_line_items_spec.rb +2 -2
  691. data/spec/models/purchase_cards_level3_spec.rb +2 -2
  692. data/spec/models/purchase_cards_spec.rb +2 -2
  693. data/spec/models/{client_registration_all_of_spec.rb → receipt_line_spec.rb} +15 -9
  694. data/spec/models/{payment_token_update_response_all_of_spec.rb → receipt_request_info_spec.rb} +13 -13
  695. data/spec/models/{card_info_lookup_response_all_of_spec.rb → receipt_spec.rb} +14 -14
  696. data/spec/models/receiver_info_spec.rb +2 -2
  697. data/spec/models/recurring_payment_details_response_spec.rb +2 -2
  698. data/spec/models/recurring_payment_details_spec.rb +2 -2
  699. data/spec/models/referenced_order_payment_schedules_request_all_of_spec.rb +2 -2
  700. data/spec/models/referenced_order_payment_schedules_request_spec.rb +2 -2
  701. data/spec/models/referenced_order_payment_tokenization_request_all_of_spec.rb +2 -2
  702. data/spec/models/referenced_order_payment_tokenization_request_spec.rb +2 -2
  703. data/spec/models/registration_method_spec.rb +2 -2
  704. data/spec/models/remove_fraud_blocked_items_response_spec.rb +2 -2
  705. data/spec/models/response_amount_components_all_of_spec.rb +2 -2
  706. data/spec/models/response_amount_components_spec.rb +2 -2
  707. data/spec/models/response_type_spec.rb +2 -2
  708. data/spec/models/return_transaction_all_of_spec.rb +8 -2
  709. data/spec/models/return_transaction_spec.rb +8 -2
  710. data/spec/models/score_only_request_spec.rb +2 -2
  711. data/spec/models/score_only_response_fraud_score_explanations_spec.rb +2 -2
  712. data/spec/models/score_only_response_fraud_score_spec.rb +8 -2
  713. data/spec/models/score_only_response_spec.rb +4 -10
  714. data/spec/models/secondary_transaction_spec.rb +2 -2
  715. data/spec/models/secure3_d10_authentication_request_all_of_spec.rb +3 -3
  716. data/spec/models/secure3_d10_authentication_request_spec.rb +3 -3
  717. data/spec/models/secure3_d10_authentication_result_all_of_spec.rb +2 -2
  718. data/spec/models/secure3_d10_authentication_result_spec.rb +2 -2
  719. data/spec/models/secure3_d10_authentication_update_request_all_of_spec.rb +2 -2
  720. data/spec/models/secure3_d10_authentication_update_request_spec.rb +2 -2
  721. data/spec/models/secure3_d21_authentication_request_all_of_spec.rb +2 -2
  722. data/spec/models/secure3_d21_authentication_request_spec.rb +2 -2
  723. data/spec/models/secure3_d21_authentication_result_all_of_spec.rb +2 -2
  724. data/spec/models/secure3_d21_authentication_result_spec.rb +2 -2
  725. data/spec/models/secure3_d21_authentication_update_request_all_of_spec.rb +2 -2
  726. data/spec/models/secure3_d21_authentication_update_request_spec.rb +2 -2
  727. data/spec/models/secure3_d_authentication_request_all_of_spec.rb +77 -0
  728. data/spec/models/secure3_d_authentication_request_spec.rb +77 -0
  729. data/spec/models/secure3_d_authentication_response_params_spec.rb +2 -2
  730. data/spec/models/secure3_d_authentication_response_secure3d_method_spec.rb +2 -2
  731. data/spec/models/secure3_d_authentication_response_spec.rb +2 -2
  732. data/spec/models/secure3_d_authentication_result_all_of_spec.rb +73 -0
  733. data/spec/models/{fraud_settings_response_all_of_spec.rb → secure3_d_authentication_result_spec.rb} +21 -31
  734. data/spec/models/secure3_d_authentication_update_request_spec.rb +51 -0
  735. data/spec/models/secure3d_response_spec.rb +2 -2
  736. data/spec/models/sender_info_spec.rb +2 -2
  737. data/spec/models/sepa_mandate_spec.rb +2 -2
  738. data/spec/models/sepa_payment_method_all_of_spec.rb +2 -2
  739. data/spec/models/sepa_payment_method_spec.rb +2 -2
  740. data/spec/models/sepa_sale_transaction_all_of_spec.rb +2 -2
  741. data/spec/models/sepa_sale_transaction_spec.rb +2 -2
  742. data/spec/models/sepa_spec.rb +2 -2
  743. data/spec/models/shared_secret_configuration_request_spec.rb +2 -2
  744. data/spec/models/shared_secret_configuration_response_spec.rb +2 -2
  745. data/spec/models/ship_to_address_spec.rb +2 -2
  746. data/spec/models/shipping_spec.rb +2 -2
  747. data/spec/models/sofort_setup_response_spec.rb +59 -0
  748. data/spec/models/{payment_schedules_response_all_of_spec.rb → sofort_setup_spec.rb} +11 -15
  749. data/spec/models/soft_descriptor_spec.rb +14 -2
  750. data/spec/models/split_shipment_spec.rb +2 -2
  751. data/spec/models/store_branding_style_configuration_spec.rb +2 -2
  752. data/spec/models/store_email_settings_result_spec.rb +2 -2
  753. data/spec/models/store_email_settings_spec.rb +2 -2
  754. data/spec/models/store_fraud_settings_result_spec.rb +2 -2
  755. data/spec/models/store_fraud_settings_spec.rb +2 -2
  756. data/spec/models/store_url_configuration_request_spec.rb +2 -2
  757. data/spec/models/store_url_configuration_response_spec.rb +2 -2
  758. data/spec/models/store_url_configuration_result_spec.rb +2 -2
  759. data/spec/models/store_url_configuration_spec.rb +2 -2
  760. data/spec/models/stored_credential_spec.rb +2 -2
  761. data/spec/models/sub_merchant_data_spec.rb +2 -2
  762. data/spec/models/sub_merchant_split_spec.rb +2 -2
  763. data/spec/models/tele_check_ach_payment_method_ach_bill_to_spec.rb +2 -2
  764. data/spec/models/tele_check_ach_payment_method_spec.rb +2 -2
  765. data/spec/models/tele_check_cbp_payment_method_spec.rb +2 -8
  766. data/spec/models/tele_check_ica_payment_method_all_of_spec.rb +2 -2
  767. data/spec/models/tele_check_ica_payment_method_spec.rb +2 -2
  768. data/spec/models/text_spec.rb +2 -2
  769. data/spec/models/title_spec.rb +2 -2
  770. data/spec/models/token_identifier_spec.rb +2 -2
  771. data/spec/models/top_bar_spec.rb +2 -2
  772. data/spec/models/transaction_error_response_spec.rb +8 -2
  773. data/spec/models/transaction_origin_spec.rb +2 -2
  774. data/spec/models/transaction_response_spec.rb +8 -2
  775. data/spec/models/transaction_type_spec.rb +2 -2
  776. data/spec/models/union_pay_authentication_request_all_of_spec.rb +2 -2
  777. data/spec/models/union_pay_authentication_request_spec.rb +2 -2
  778. data/spec/models/union_pay_authentication_update_request_all_of_spec.rb +2 -2
  779. data/spec/models/union_pay_authentication_update_request_spec.rb +2 -2
  780. data/spec/models/update_email_settings_request_spec.rb +2 -2
  781. data/spec/models/update_email_settings_response_spec.rb +2 -2
  782. data/spec/models/update_fraud_settings_request_spec.rb +2 -2
  783. data/spec/models/update_fraud_settings_response_spec.rb +2 -2
  784. data/spec/models/update_payment_token_spec.rb +2 -2
  785. data/spec/models/use_payment_token_spec.rb +2 -2
  786. data/spec/models/verification3ds_spec.rb +2 -2
  787. data/spec/models/verification_avs_spec.rb +2 -2
  788. data/spec/models/verification_cvv_spec.rb +2 -2
  789. data/spec/models/void_pre_auth_transactions_spec.rb +2 -8
  790. data/spec/models/void_transaction_all_of_spec.rb +3 -3
  791. data/spec/models/void_transaction_spec.rb +3 -3
  792. data/spec/models/wallet_payment_method_spec.rb +2 -2
  793. data/spec/models/wallet_pre_auth_transaction_all_of_spec.rb +2 -2
  794. data/spec/models/wallet_pre_auth_transaction_spec.rb +2 -2
  795. data/spec/models/wallet_sale_transaction_all_of_spec.rb +2 -2
  796. data/spec/models/wallet_sale_transaction_spec.rb +2 -2
  797. data/spec/spec_helper.rb +2 -2
  798. metadata +62 -114
  799. data/docs/BrandingStyleConfigurationResponseAllOf.md +0 -17
  800. data/docs/CardInfoLookupApi.md +0 -70
  801. data/docs/CardInfoLookupResponseAllOf.md +0 -19
  802. data/docs/CardVerificationApi.md +0 -70
  803. data/docs/ClientRegistrationAllOf.md +0 -17
  804. data/docs/CustomerAddressAllOf.md +0 -17
  805. data/docs/DeleteBrandingStyleConfigurationResponseAllOf.md +0 -19
  806. data/docs/DisbursementTransactionTypeAllOf.md +0 -17
  807. data/docs/ErrorResponseAllOf.md +0 -17
  808. data/docs/FraudSettingsResponseAllOf.md +0 -31
  809. data/docs/FundingTransactionTypeAllOf.md +0 -17
  810. data/docs/OrderResponseAllOf.md +0 -25
  811. data/docs/PaymentRegistrationAllOf.md +0 -27
  812. data/docs/PaymentSchedulesResponseAllOf.md +0 -21
  813. data/docs/PaymentTokenUpdateResponseAllOf.md +0 -21
  814. data/docs/PaymentTokenizationResponseAllOf.md +0 -31
  815. data/docs/PaymentUrlDetailResponseAllOf.md +0 -17
  816. data/docs/PaymentUrlResponseAllOf.md +0 -23
  817. data/docs/RecurringPaymentDetailsResponseAllOf.md +0 -17
  818. data/docs/RemoveFraudBlockedItemsResponseAllOf.md +0 -17
  819. data/docs/Secure3D10AuthenticationRequestAllOf.md +0 -17
  820. data/docs/SharedSecretConfigurationResponseAllOf.md +0 -23
  821. data/docs/StoreUrlConfigurationResponseAllOf.md +0 -17
  822. data/docs/TeleCheckCBPPaymentMethodAllOf.md +0 -17
  823. data/docs/TransactionResponseAllOf.md +0 -59
  824. data/docs/UpdateEmailSettingsResponseAllOf.md +0 -17
  825. data/docs/UpdateFraudSettingsResponseAllOf.md +0 -17
  826. data/lib/openapi_client/.DS_Store +0 -0
  827. data/lib/openapi_client/api/card_info_lookup_api.rb +0 -125
  828. data/lib/openapi_client/api/card_verification_api.rb +0 -125
  829. data/lib/openapi_client/models/branding_style_configuration_response_all_of.rb +0 -213
  830. data/lib/openapi_client/models/client_registration_all_of.rb +0 -212
  831. data/lib/openapi_client/models/customer_address_all_of.rb +0 -211
  832. data/lib/openapi_client/models/fraud_settings_response_all_of.rb +0 -291
  833. data/lib/openapi_client/models/order_response_all_of.rb +0 -251
  834. data/lib/openapi_client/models/payment_url_detail_response_all_of.rb +0 -214
  835. data/lib/openapi_client/models/recurring_payment_details_response_all_of.rb +0 -211
  836. data/lib/openapi_client/models/remove_fraud_blocked_items_response_all_of.rb +0 -212
  837. data/lib/openapi_client/models/shared_secret_configuration_response_all_of.rb +0 -242
  838. data/lib/openapi_client/models/tele_check_cbp_payment_method_all_of.rb +0 -216
  839. data/lib/openapi_client/models/transaction_response_all_of.rb +0 -502
  840. data/lib/openapi_client/models/update_email_settings_response_all_of.rb +0 -213
  841. data/lib/openapi_client/models/update_fraud_settings_response_all_of.rb +0 -213
  842. data/spec/api/card_info_lookup_api_spec.rb +0 -53
  843. data/spec/api/card_verification_api_spec.rb +0 -53
  844. data/spec/models/branding_style_configuration_response_all_of_spec.rb +0 -41
  845. data/spec/models/customer_address_all_of_spec.rb +0 -41
  846. data/spec/models/error_response_all_of_spec.rb +0 -41
  847. data/spec/models/funding_transaction_type_all_of_spec.rb +0 -41
  848. data/spec/models/payment_tokenization_response_all_of_spec.rb +0 -87
  849. data/spec/models/payment_url_detail_response_all_of_spec.rb +0 -41
  850. data/spec/models/recurring_payment_details_response_all_of_spec.rb +0 -41
  851. data/spec/models/remove_fraud_blocked_items_response_all_of_spec.rb +0 -41
  852. data/spec/models/store_url_configuration_response_all_of_spec.rb +0 -41
  853. data/spec/models/tele_check_cbp_payment_method_all_of_spec.rb +0 -41
  854. data/spec/models/transaction_response_all_of_spec.rb +0 -175
  855. data/spec/models/update_email_settings_response_all_of_spec.rb +0 -41
  856. data/spec/models/update_fraud_settings_response_all_of_spec.rb +0 -41
@@ -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.12.0.20200605.001
6
+ The version of the OpenAPI document: 21.1.0.20210122.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
 
@@ -41,12 +41,6 @@ module OpenapiClient
41
41
  }
42
42
  end
43
43
 
44
- # List of attributes with nullable: true
45
- def self.openapi_nullable
46
- Set.new([
47
- ])
48
- end
49
-
50
44
  # Initializes the object
51
45
  # @param [Hash] attributes Model attributes in the form of hash
52
46
  def initialize(attributes = {})
@@ -249,7 +243,7 @@ module OpenapiClient
249
243
 
250
244
  # Returns the object in the form of hash
251
245
  # @return [Hash] Returns the object in the form of hash
252
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
246
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
253
247
  hash = {}
254
248
  attribute_map.each_pair do |attr, param|
255
249
  value = self.send(attr)
@@ -3,22 +3,22 @@
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.12.0.20200605.001
6
+ The version of the OpenAPI document: 21.1.0.20210122.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
 
13
13
  require 'date'
14
14
 
15
15
  module OpenapiClient
16
- # Request authentication of the payment card using the 3DS 2.x URL redirect scheme.
16
+ # Request authentication of the payment card using the 3DS 2.x URL redirect scheme. DEPRECATED - use Secure3DAuthenticationRequest instead
17
17
  class Secure3D21AuthenticationRequest < AuthenticationRequest
18
- # The result of the authentication will be sent to this URL. If not provided, a term URL will be dynamically generated.
18
+ # The result of the authentication will be sent to this URL. If not provided, a term URL will be dynamically generated. Note this must be a valid URL (special characters should be URL-encoded).
19
19
  attr_accessor :term_url
20
20
 
21
- # The 3DS method iframe and transaction ID will be sent here.
21
+ # The 3DS method iframe and transaction ID will be sent here. Note this must be a valid URL (special characters should be URL-encoded).
22
22
  attr_accessor :method_notification_url
23
23
 
24
24
  # Indicates whether or not a challenge should be performed. 01 = No preference (You have no preference whether a challenge should be performed. This is the default value) 02 = No challenge requested (You prefer that no challenge should be performed) 03 = Challenge requested: 3DS Requestor Preference (You prefer that a challenge should be performed) 04 = Challenge requested: Mandate (There are local or regional mandates that mean that a challenge must be performed)
@@ -69,12 +69,6 @@ module OpenapiClient
69
69
  }
70
70
  end
71
71
 
72
- # List of attributes with nullable: true
73
- def self.openapi_nullable
74
- Set.new([
75
- ])
76
- end
77
-
78
72
  # List of class defined in allOf (OpenAPI v3)
79
73
  def self.openapi_all_of
80
74
  [
@@ -268,8 +262,8 @@ module OpenapiClient
268
262
 
269
263
  # Returns the object in the form of hash
270
264
  # @return [Hash] Returns the object in the form of hash
271
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
272
- hash = super(self.class.superclass.attribute_map, self.class.superclass.openapi_nullable)
265
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
266
+ hash = super(self.class.superclass.attribute_map, openapi_nullable)
273
267
  attribute_map.each_pair do |attr, param|
274
268
  value = self.send(attr)
275
269
  if value.nil?
@@ -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.12.0.20200605.001
6
+ The version of the OpenAPI document: 21.1.0.20210122.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,10 +14,10 @@ require 'date'
14
14
 
15
15
  module OpenapiClient
16
16
  class Secure3D21AuthenticationRequestAllOf
17
- # The result of the authentication will be sent to this URL. If not provided, a term URL will be dynamically generated.
17
+ # The result of the authentication will be sent to this URL. If not provided, a term URL will be dynamically generated. Note this must be a valid URL (special characters should be URL-encoded).
18
18
  attr_accessor :term_url
19
19
 
20
- # The 3DS method iframe and transaction ID will be sent here.
20
+ # The 3DS method iframe and transaction ID will be sent here. Note this must be a valid URL (special characters should be URL-encoded).
21
21
  attr_accessor :method_notification_url
22
22
 
23
23
  # Indicates whether or not a challenge should be performed. 01 = No preference (You have no preference whether a challenge should be performed. This is the default value) 02 = No challenge requested (You prefer that no challenge should be performed) 03 = Challenge requested: 3DS Requestor Preference (You prefer that a challenge should be performed) 04 = Challenge requested: Mandate (There are local or regional mandates that mean that a challenge must be performed)
@@ -68,12 +68,6 @@ module OpenapiClient
68
68
  }
69
69
  end
70
70
 
71
- # List of attributes with nullable: true
72
- def self.openapi_nullable
73
- Set.new([
74
- ])
75
- end
76
-
77
71
  # Initializes the object
78
72
  # @param [Hash] attributes Model attributes in the form of hash
79
73
  def initialize(attributes = {})
@@ -255,7 +249,7 @@ module OpenapiClient
255
249
 
256
250
  # Returns the object in the form of hash
257
251
  # @return [Hash] Returns the object in the form of hash
258
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
252
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
259
253
  hash = {}
260
254
  attribute_map.each_pair do |attr, param|
261
255
  value = self.send(attr)
@@ -3,17 +3,17 @@
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.12.0.20200605.001
6
+ The version of the OpenAPI document: 21.1.0.20210122.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
 
13
13
  require 'date'
14
14
 
15
15
  module OpenapiClient
16
- # Submit the result of the authentication managed outside of the gateway for a 3-D Secure 2.x scheme. For more convenient usage without implementing 3-D Secure yourself see \"authenticationRequest\" section.
16
+ # Submit the result of the authentication managed outside of the gateway for a 3-D Secure 2.x scheme. For more convenient usage without implementing 3-D Secure yourself see \"authenticationRequest\" section. DEPRECATED - use Secure3DAuthenticationResult instead
17
17
  class Secure3D21AuthenticationResult < AuthenticationResult
18
18
  # The Cardholder Authentication Verification Value (CAVV) is a cryptographic value derived by the issuer during payment authentication that can provide evidence of the results of payment authentication during an online purchase.
19
19
  attr_accessor :cavv
@@ -74,12 +74,6 @@ module OpenapiClient
74
74
  }
75
75
  end
76
76
 
77
- # List of attributes with nullable: true
78
- def self.openapi_nullable
79
- Set.new([
80
- ])
81
- end
82
-
83
77
  # List of class defined in allOf (OpenAPI v3)
84
78
  def self.openapi_all_of
85
79
  [
@@ -326,8 +320,8 @@ module OpenapiClient
326
320
 
327
321
  # Returns the object in the form of hash
328
322
  # @return [Hash] Returns the object in the form of hash
329
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
330
- hash = super(self.class.superclass.attribute_map, self.class.superclass.openapi_nullable)
323
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
324
+ hash = super(self.class.superclass.attribute_map, openapi_nullable)
331
325
  attribute_map.each_pair do |attr, param|
332
326
  value = self.send(attr)
333
327
  if value.nil?
@@ -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.12.0.20200605.001
6
+ The version of the OpenAPI document: 21.1.0.20210122.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
 
@@ -73,12 +73,6 @@ module OpenapiClient
73
73
  }
74
74
  end
75
75
 
76
- # List of attributes with nullable: true
77
- def self.openapi_nullable
78
- Set.new([
79
- ])
80
- end
81
-
82
76
  # Initializes the object
83
77
  # @param [Hash] attributes Model attributes in the form of hash
84
78
  def initialize(attributes = {})
@@ -313,7 +307,7 @@ module OpenapiClient
313
307
 
314
308
  # Returns the object in the form of hash
315
309
  # @return [Hash] Returns the object in the form of hash
316
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
310
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
317
311
  hash = {}
318
312
  attribute_map.each_pair do |attr, param|
319
313
  value = self.send(attr)
@@ -3,17 +3,17 @@
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.12.0.20200605.001
6
+ The version of the OpenAPI document: 21.1.0.20210122.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
 
13
13
  require 'date'
14
14
 
15
15
  module OpenapiClient
16
- # Authentication update request specific to 3DSecure 2.x transactions.
16
+ # Authentication update request specific to 3DSecure 2.x transactions. DEPRECATED - use Secure3DAuthenticationUpdateRequest instead
17
17
  class Secure3D21AuthenticationUpdateRequest < AuthenticationUpdateRequest
18
18
  # Indicates how the merchant received the 3DS method.
19
19
  attr_accessor :method_notification_status
@@ -58,12 +58,6 @@ module OpenapiClient
58
58
  }
59
59
  end
60
60
 
61
- # List of attributes with nullable: true
62
- def self.openapi_nullable
63
- Set.new([
64
- ])
65
- end
66
-
67
61
  # List of class defined in allOf (OpenAPI v3)
68
62
  def self.openapi_all_of
69
63
  [
@@ -233,8 +227,8 @@ module OpenapiClient
233
227
 
234
228
  # Returns the object in the form of hash
235
229
  # @return [Hash] Returns the object in the form of hash
236
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
237
- hash = super(self.class.superclass.attribute_map, self.class.superclass.openapi_nullable)
230
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
231
+ hash = super(self.class.superclass.attribute_map, openapi_nullable)
238
232
  attribute_map.each_pair do |attr, param|
239
233
  value = self.send(attr)
240
234
  if value.nil?
@@ -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.12.0.20200605.001
6
+ The version of the OpenAPI document: 21.1.0.20210122.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
 
@@ -57,12 +57,6 @@ module OpenapiClient
57
57
  }
58
58
  end
59
59
 
60
- # List of attributes with nullable: true
61
- def self.openapi_nullable
62
- Set.new([
63
- ])
64
- end
65
-
66
60
  # Initializes the object
67
61
  # @param [Hash] attributes Model attributes in the form of hash
68
62
  def initialize(attributes = {})
@@ -220,7 +214,7 @@ module OpenapiClient
220
214
 
221
215
  # Returns the object in the form of hash
222
216
  # @return [Hash] Returns the object in the form of hash
223
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
217
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
224
218
  hash = {}
225
219
  attribute_map.each_pair do |attr, param|
226
220
  value = self.send(attr)
@@ -0,0 +1,329 @@
1
+ =begin
2
+ #Payment Gateway API Specification.
3
+
4
+ #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
+
6
+ The version of the OpenAPI document: 21.1.0.20210122.001
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.1.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module OpenapiClient
16
+ # Request authentication of the payment card using the 3DS 2.x URL redirect scheme.
17
+ class Secure3DAuthenticationRequest < AuthenticationRequest
18
+ # The result of the authentication will be sent to this URL. If not provided, a term URL will be dynamically generated. Note this must be a valid URL (special characters should be URL-encoded).
19
+ attr_accessor :term_url
20
+
21
+ # The 3DS method iframe and transaction ID will be sent here. Note this must be a valid URL (special characters should be URL-encoded).
22
+ attr_accessor :method_notification_url
23
+
24
+ # Indicates whether or not a challenge should be performed. 01 = No preference (You have no preference whether a challenge should be performed. This is the default value) 02 = No challenge requested (You prefer that no challenge should be performed) 03 = Challenge requested: 3DS Requestor Preference (You prefer that a challenge should be performed) 04 = Challenge requested: Mandate (There are local or regional mandates that mean that a challenge must be performed)
25
+ attr_accessor :challenge_indicator
26
+
27
+ # Indicates the message category of 3d secure authentication version 2.X. 01 = Payment Authentication 02 = Non-Payment Authentication 80 = Mastercard Data Only
28
+ attr_accessor :message_category
29
+
30
+ # Defines the size of the challenge window displayed to customers during authentication. 01 = 250 x 400 02 = 390 x 400 03 = 500 x 600 04 = 600 x 400 05 = Full screen
31
+ attr_accessor :challenge_window_size
32
+
33
+ class EnumAttributeValidator
34
+ attr_reader :datatype
35
+ attr_reader :allowable_values
36
+
37
+ def initialize(datatype, allowable_values)
38
+ @allowable_values = allowable_values.map do |value|
39
+ case datatype.to_s
40
+ when /Integer/i
41
+ value.to_i
42
+ when /Float/i
43
+ value.to_f
44
+ else
45
+ value
46
+ end
47
+ end
48
+ end
49
+
50
+ def valid?(value)
51
+ !value || allowable_values.include?(value)
52
+ end
53
+ end
54
+
55
+ # Attribute mapping from ruby-style variable name to JSON key.
56
+ def self.attribute_map
57
+ {
58
+ :'term_url' => :'termURL',
59
+ :'method_notification_url' => :'methodNotificationURL',
60
+ :'challenge_indicator' => :'challengeIndicator',
61
+ :'message_category' => :'messageCategory',
62
+ :'challenge_window_size' => :'challengeWindowSize'
63
+ }
64
+ end
65
+
66
+ # Attribute type mapping.
67
+ def self.openapi_types
68
+ {
69
+ :'term_url' => :'String',
70
+ :'method_notification_url' => :'String',
71
+ :'challenge_indicator' => :'String',
72
+ :'message_category' => :'String',
73
+ :'challenge_window_size' => :'String'
74
+ }
75
+ end
76
+
77
+ # List of class defined in allOf (OpenAPI v3)
78
+ def self.openapi_all_of
79
+ [
80
+ :'AuthenticationRequest',
81
+ :'Secure3DAuthenticationRequestAllOf'
82
+ ]
83
+ end
84
+
85
+ # Initializes the object
86
+ # @param [Hash] attributes Model attributes in the form of hash
87
+ def initialize(attributes = {})
88
+ if (!attributes.is_a?(Hash))
89
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::Secure3DAuthenticationRequest` initialize method"
90
+ end
91
+
92
+ # check to see if the attribute exists and convert string to symbol for hash key
93
+ attributes = attributes.each_with_object({}) { |(k, v), h|
94
+ if (!self.class.attribute_map.key?(k.to_sym))
95
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::Secure3DAuthenticationRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
96
+ end
97
+ h[k.to_sym] = v
98
+ }
99
+
100
+ # call parent's initialize
101
+ super(attributes)
102
+
103
+ if attributes.key?(:'term_url')
104
+ self.term_url = attributes[:'term_url']
105
+ end
106
+
107
+ if attributes.key?(:'method_notification_url')
108
+ self.method_notification_url = attributes[:'method_notification_url']
109
+ end
110
+
111
+ if attributes.key?(:'challenge_indicator')
112
+ self.challenge_indicator = attributes[:'challenge_indicator']
113
+ else
114
+ self.challenge_indicator = '01'
115
+ end
116
+
117
+ if attributes.key?(:'message_category')
118
+ self.message_category = attributes[:'message_category']
119
+ end
120
+
121
+ if attributes.key?(:'challenge_window_size')
122
+ self.challenge_window_size = attributes[:'challenge_window_size']
123
+ end
124
+ end
125
+
126
+ # Show invalid properties with the reasons. Usually used together with valid?
127
+ # @return Array for valid properties with the reasons
128
+ def list_invalid_properties
129
+ invalid_properties = super
130
+ if @term_url.nil?
131
+ invalid_properties.push('invalid value for "term_url", term_url cannot be nil.')
132
+ end
133
+
134
+ if @method_notification_url.nil?
135
+ invalid_properties.push('invalid value for "method_notification_url", method_notification_url cannot be nil.')
136
+ end
137
+
138
+ invalid_properties
139
+ end
140
+
141
+ # Check to see if the all the properties in the model are valid
142
+ # @return true if the model is valid
143
+ def valid?
144
+ return false if @term_url.nil?
145
+ return false if @method_notification_url.nil?
146
+ challenge_indicator_validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04"])
147
+ return false unless challenge_indicator_validator.valid?(@challenge_indicator)
148
+ message_category_validator = EnumAttributeValidator.new('String', ["01", "02", "80"])
149
+ return false unless message_category_validator.valid?(@message_category)
150
+ challenge_window_size_validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04", "05"])
151
+ return false unless challenge_window_size_validator.valid?(@challenge_window_size)
152
+ true && super
153
+ end
154
+
155
+ # Custom attribute writer method checking allowed values (enum).
156
+ # @param [Object] challenge_indicator Object to be assigned
157
+ def challenge_indicator=(challenge_indicator)
158
+ validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04"])
159
+ unless validator.valid?(challenge_indicator)
160
+ fail ArgumentError, "invalid value for \"challenge_indicator\", must be one of #{validator.allowable_values}."
161
+ end
162
+ @challenge_indicator = challenge_indicator
163
+ end
164
+
165
+ # Custom attribute writer method checking allowed values (enum).
166
+ # @param [Object] message_category Object to be assigned
167
+ def message_category=(message_category)
168
+ validator = EnumAttributeValidator.new('String', ["01", "02", "80"])
169
+ unless validator.valid?(message_category)
170
+ fail ArgumentError, "invalid value for \"message_category\", must be one of #{validator.allowable_values}."
171
+ end
172
+ @message_category = message_category
173
+ end
174
+
175
+ # Custom attribute writer method checking allowed values (enum).
176
+ # @param [Object] challenge_window_size Object to be assigned
177
+ def challenge_window_size=(challenge_window_size)
178
+ validator = EnumAttributeValidator.new('String', ["01", "02", "03", "04", "05"])
179
+ unless validator.valid?(challenge_window_size)
180
+ fail ArgumentError, "invalid value for \"challenge_window_size\", must be one of #{validator.allowable_values}."
181
+ end
182
+ @challenge_window_size = challenge_window_size
183
+ end
184
+
185
+ # Checks equality by comparing each attribute.
186
+ # @param [Object] Object to be compared
187
+ def ==(o)
188
+ return true if self.equal?(o)
189
+ self.class == o.class &&
190
+ term_url == o.term_url &&
191
+ method_notification_url == o.method_notification_url &&
192
+ challenge_indicator == o.challenge_indicator &&
193
+ message_category == o.message_category &&
194
+ challenge_window_size == o.challenge_window_size && super(o)
195
+ end
196
+
197
+ # @see the `==` method
198
+ # @param [Object] Object to be compared
199
+ def eql?(o)
200
+ self == o
201
+ end
202
+
203
+ # Calculates hash code according to all attributes.
204
+ # @return [Integer] Hash code
205
+ def hash
206
+ [term_url, method_notification_url, challenge_indicator, message_category, challenge_window_size].hash
207
+ end
208
+
209
+ # Builds the object from hash
210
+ # @param [Hash] attributes Model attributes in the form of hash
211
+ # @return [Object] Returns the model itself
212
+ def self.build_from_hash(attributes)
213
+ new.build_from_hash(attributes)
214
+ end
215
+
216
+ # Builds the object from hash
217
+ # @param [Hash] attributes Model attributes in the form of hash
218
+ # @return [Object] Returns the model itself
219
+ def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
220
+ return nil unless attributes.is_a?(Hash)
221
+ super(attributes, self.class.superclass.attribute_map, self.class.superclass.openapi_types)
222
+ openapi_types.each_pair do |key, type|
223
+ if type =~ /\AArray<(.*)>/i
224
+ # check to ensure the input is an array given that the attribute
225
+ # is documented as an array but the input is not
226
+ if attributes[attribute_map[key]].is_a?(Array)
227
+ self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
228
+ end
229
+ elsif !attributes[attribute_map[key]].nil?
230
+ self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
231
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
232
+ end
233
+
234
+ self
235
+ end
236
+
237
+ # Deserializes the data based on type
238
+ # @param string type Data type
239
+ # @param string value Value to be deserialized
240
+ # @return [Object] Deserialized data
241
+ def _deserialize(type, value)
242
+ case type.to_sym
243
+ when :DateTime
244
+ DateTime.parse(value)
245
+ when :Date
246
+ Date.parse(value)
247
+ when :String
248
+ value.to_s
249
+ when :Integer
250
+ value.to_i
251
+ when :Float
252
+ value.to_f
253
+ when :Boolean
254
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
255
+ true
256
+ else
257
+ false
258
+ end
259
+ when :Object
260
+ # generic object (usually a Hash), return directly
261
+ value
262
+ when /\AArray<(?<inner_type>.+)>\z/
263
+ inner_type = Regexp.last_match[:inner_type]
264
+ value.map { |v| _deserialize(inner_type, v) }
265
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
266
+ k_type = Regexp.last_match[:k_type]
267
+ v_type = Regexp.last_match[:v_type]
268
+ {}.tap do |hash|
269
+ value.each do |k, v|
270
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
271
+ end
272
+ end
273
+ else # model
274
+ klass = OpenapiClient.const_get(type)
275
+ if klass.respond_to?(:openapi_discriminator_name)
276
+ klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
277
+ end
278
+
279
+ klass.build_from_hash(value)
280
+ end
281
+ end
282
+
283
+ # Returns the string representation of the object
284
+ # @return [String] String presentation of the object
285
+ def to_s
286
+ to_hash.to_s
287
+ end
288
+
289
+ # to_body is an alias to to_hash (backward compatibility)
290
+ # @return [Hash] Returns the object in the form of hash
291
+ def to_body
292
+ to_hash
293
+ end
294
+
295
+ # Returns the object in the form of hash
296
+ # @return [Hash] Returns the object in the form of hash
297
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
298
+ hash = super(self.class.superclass.attribute_map, openapi_nullable)
299
+ attribute_map.each_pair do |attr, param|
300
+ value = self.send(attr)
301
+ if value.nil?
302
+ is_nullable = openapi_nullable.include?(attr)
303
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
304
+ end
305
+
306
+ hash[param] = _to_hash(value)
307
+ end
308
+ hash
309
+ end
310
+
311
+ # Outputs non-array value in the form of hash
312
+ # For object, use to_hash. Otherwise, just return the value
313
+ # @param [Object] value Any valid value
314
+ # @return [Hash] Returns the value in the form of hash
315
+ def _to_hash(value)
316
+ if value.is_a?(Array)
317
+ value.compact.map { |v| _to_hash(v) }
318
+ elsif value.is_a?(Hash)
319
+ {}.tap do |hash|
320
+ value.each { |k, v| hash[k] = _to_hash(v) }
321
+ end
322
+ elsif value.respond_to? :to_hash
323
+ value.to_hash
324
+ else
325
+ value
326
+ end
327
+ end
328
+ end
329
+ end