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
 
@@ -30,12 +30,6 @@ module OpenapiClient
30
30
  }
31
31
  end
32
32
 
33
- # List of attributes with nullable: true
34
- def self.openapi_nullable
35
- Set.new([
36
- ])
37
- end
38
-
39
33
  # Initializes the object
40
34
  # @param [Hash] attributes Model attributes in the form of hash
41
35
  def initialize(attributes = {})
@@ -181,7 +175,7 @@ module OpenapiClient
181
175
 
182
176
  # Returns the object in the form of hash
183
177
  # @return [Hash] Returns the object in the form of hash
184
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
178
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
185
179
  hash = {}
186
180
  attribute_map.each_pair do |attr, param|
187
181
  value = self.send(attr)
@@ -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
 
@@ -44,6 +44,12 @@ module OpenapiClient
44
44
  # Client order ID if supplied by client, otherwise the order ID.
45
45
  attr_accessor :order_id
46
46
 
47
+ # The response transaction ID.
48
+ attr_accessor :ipg_transaction_id
49
+
50
+ # The unique merchant transaction ID from the request header, if supplied.
51
+ attr_accessor :merchant_transaction_id
52
+
47
53
  attr_accessor :error
48
54
 
49
55
  class EnumAttributeValidator
@@ -82,6 +88,8 @@ module OpenapiClient
82
88
  :'payment_card' => :'paymentCard',
83
89
  :'processor' => :'processor',
84
90
  :'order_id' => :'orderId',
91
+ :'ipg_transaction_id' => :'ipgTransactionId',
92
+ :'merchant_transaction_id' => :'merchantTransactionId',
85
93
  :'error' => :'error'
86
94
  }
87
95
  end
@@ -100,20 +108,15 @@ module OpenapiClient
100
108
  :'payment_card' => :'PaymentCard',
101
109
  :'processor' => :'ProcessorData',
102
110
  :'order_id' => :'String',
111
+ :'ipg_transaction_id' => :'String',
112
+ :'merchant_transaction_id' => :'String',
103
113
  :'error' => :'Error'
104
114
  }
105
115
  end
106
116
 
107
- # List of attributes with nullable: true
108
- def self.openapi_nullable
109
- Set.new([
110
- ])
111
- end
112
-
113
117
  # List of class defined in allOf (OpenAPI v3)
114
118
  def self.openapi_all_of
115
119
  [
116
- :'ErrorResponseAllOf',
117
120
  :'PaymentTokenizationResponse'
118
121
  ]
119
122
  end
@@ -177,6 +180,14 @@ module OpenapiClient
177
180
  self.order_id = attributes[:'order_id']
178
181
  end
179
182
 
183
+ if attributes.key?(:'ipg_transaction_id')
184
+ self.ipg_transaction_id = attributes[:'ipg_transaction_id']
185
+ end
186
+
187
+ if attributes.key?(:'merchant_transaction_id')
188
+ self.merchant_transaction_id = attributes[:'merchant_transaction_id']
189
+ end
190
+
180
191
  if attributes.key?(:'error')
181
192
  self.error = attributes[:'error']
182
193
  end
@@ -186,6 +197,14 @@ module OpenapiClient
186
197
  # @return Array for valid properties with the reasons
187
198
  def list_invalid_properties
188
199
  invalid_properties = Array.new
200
+ if !@ipg_transaction_id.nil? && @ipg_transaction_id.to_s.length > 14
201
+ invalid_properties.push('invalid value for "ipg_transaction_id", the character length must be smaller than or equal to 14.')
202
+ end
203
+
204
+ if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
205
+ invalid_properties.push('invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.')
206
+ end
207
+
189
208
  invalid_properties
190
209
  end
191
210
 
@@ -194,6 +213,8 @@ module OpenapiClient
194
213
  def valid?
195
214
  request_status_validator = EnumAttributeValidator.new('String', ["DELETED", "FAILED", "SUCCESS", "APPROVED", "WAITING", "VALIDATION_FAILED", "DECLINED"])
196
215
  return false unless request_status_validator.valid?(@request_status)
216
+ return false if !@ipg_transaction_id.nil? && @ipg_transaction_id.to_s.length > 14
217
+ return false if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
197
218
  true
198
219
  end
199
220
 
@@ -207,6 +228,26 @@ module OpenapiClient
207
228
  @request_status = request_status
208
229
  end
209
230
 
231
+ # Custom attribute writer method with validation
232
+ # @param [Object] ipg_transaction_id Value to be assigned
233
+ def ipg_transaction_id=(ipg_transaction_id)
234
+ if !ipg_transaction_id.nil? && ipg_transaction_id.to_s.length > 14
235
+ fail ArgumentError, 'invalid value for "ipg_transaction_id", the character length must be smaller than or equal to 14.'
236
+ end
237
+
238
+ @ipg_transaction_id = ipg_transaction_id
239
+ end
240
+
241
+ # Custom attribute writer method with validation
242
+ # @param [Object] merchant_transaction_id Value to be assigned
243
+ def merchant_transaction_id=(merchant_transaction_id)
244
+ if !merchant_transaction_id.nil? && merchant_transaction_id.to_s.length > 40
245
+ fail ArgumentError, 'invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.'
246
+ end
247
+
248
+ @merchant_transaction_id = merchant_transaction_id
249
+ end
250
+
210
251
  # Checks equality by comparing each attribute.
211
252
  # @param [Object] Object to be compared
212
253
  def ==(o)
@@ -223,6 +264,8 @@ module OpenapiClient
223
264
  payment_card == o.payment_card &&
224
265
  processor == o.processor &&
225
266
  order_id == o.order_id &&
267
+ ipg_transaction_id == o.ipg_transaction_id &&
268
+ merchant_transaction_id == o.merchant_transaction_id &&
226
269
  error == o.error
227
270
  end
228
271
 
@@ -235,7 +278,7 @@ module OpenapiClient
235
278
  # Calculates hash code according to all attributes.
236
279
  # @return [Integer] Hash code
237
280
  def hash
238
- [client_request_id, api_trace_id, response_type, request_status, request_time, brand, country, payment_token, payment_card, processor, order_id, error].hash
281
+ [client_request_id, api_trace_id, response_type, request_status, request_time, brand, country, payment_token, payment_card, processor, order_id, ipg_transaction_id, merchant_transaction_id, error].hash
239
282
  end
240
283
 
241
284
  # Builds the object from hash
@@ -325,7 +368,7 @@ module OpenapiClient
325
368
 
326
369
  # Returns the object in the form of hash
327
370
  # @return [Hash] Returns the object in the form of hash
328
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
371
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
329
372
  hash = {}
330
373
  attribute_map.each_pair do |attr, param|
331
374
  value = self.send(attr)
@@ -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
 
@@ -28,6 +28,9 @@ module OpenapiClient
28
28
  # If the account should be verified prior to token creation.
29
29
  attr_accessor :account_verification
30
30
 
31
+ # The unique merchant transaction ID from the request, if supplied.
32
+ attr_accessor :merchant_transaction_id
33
+
31
34
  attr_accessor :additional_details
32
35
 
33
36
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,6 +41,7 @@ module OpenapiClient
38
41
  :'billing_address' => :'billingAddress',
39
42
  :'create_token' => :'createToken',
40
43
  :'account_verification' => :'accountVerification',
44
+ :'merchant_transaction_id' => :'merchantTransactionId',
41
45
  :'additional_details' => :'additionalDetails'
42
46
  }
43
47
  end
@@ -50,16 +54,11 @@ module OpenapiClient
50
54
  :'billing_address' => :'Address',
51
55
  :'create_token' => :'CreatePaymentToken',
52
56
  :'account_verification' => :'Boolean',
57
+ :'merchant_transaction_id' => :'String',
53
58
  :'additional_details' => :'AdditionalDetails'
54
59
  }
55
60
  end
56
61
 
57
- # List of attributes with nullable: true
58
- def self.openapi_nullable
59
- Set.new([
60
- ])
61
- end
62
-
63
62
  # discriminator's property name in OpenAPI v3
64
63
  def self.openapi_discriminator_name
65
64
  :'request_type'
@@ -102,6 +101,10 @@ module OpenapiClient
102
101
  self.account_verification = false
103
102
  end
104
103
 
104
+ if attributes.key?(:'merchant_transaction_id')
105
+ self.merchant_transaction_id = attributes[:'merchant_transaction_id']
106
+ end
107
+
105
108
  if attributes.key?(:'additional_details')
106
109
  self.additional_details = attributes[:'additional_details']
107
110
  end
@@ -123,6 +126,10 @@ module OpenapiClient
123
126
  invalid_properties.push('invalid value for "create_token", create_token cannot be nil.')
124
127
  end
125
128
 
129
+ if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
130
+ invalid_properties.push('invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.')
131
+ end
132
+
126
133
  invalid_properties
127
134
  end
128
135
 
@@ -132,6 +139,7 @@ module OpenapiClient
132
139
  return false if @request_type.nil?
133
140
  return false if !@store_id.nil? && @store_id.to_s.length > 20
134
141
  return false if @create_token.nil?
142
+ return false if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
135
143
  true
136
144
  end
137
145
 
@@ -145,6 +153,16 @@ module OpenapiClient
145
153
  @store_id = store_id
146
154
  end
147
155
 
156
+ # Custom attribute writer method with validation
157
+ # @param [Object] merchant_transaction_id Value to be assigned
158
+ def merchant_transaction_id=(merchant_transaction_id)
159
+ if !merchant_transaction_id.nil? && merchant_transaction_id.to_s.length > 40
160
+ fail ArgumentError, 'invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.'
161
+ end
162
+
163
+ @merchant_transaction_id = merchant_transaction_id
164
+ end
165
+
148
166
  # Checks equality by comparing each attribute.
149
167
  # @param [Object] Object to be compared
150
168
  def ==(o)
@@ -155,6 +173,7 @@ module OpenapiClient
155
173
  billing_address == o.billing_address &&
156
174
  create_token == o.create_token &&
157
175
  account_verification == o.account_verification &&
176
+ merchant_transaction_id == o.merchant_transaction_id &&
158
177
  additional_details == o.additional_details
159
178
  end
160
179
 
@@ -167,7 +186,7 @@ module OpenapiClient
167
186
  # Calculates hash code according to all attributes.
168
187
  # @return [Integer] Hash code
169
188
  def hash
170
- [request_type, store_id, billing_address, create_token, account_verification, additional_details].hash
189
+ [request_type, store_id, billing_address, create_token, account_verification, merchant_transaction_id, additional_details].hash
171
190
  end
172
191
 
173
192
  # Builds the object from hash
@@ -257,7 +276,7 @@ module OpenapiClient
257
276
 
258
277
  # Returns the object in the form of hash
259
278
  # @return [Hash] Returns the object in the form of hash
260
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
279
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
261
280
  hash = {}
262
281
  attribute_map.each_pair do |attr, param|
263
282
  value = self.send(attr)
@@ -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
 
@@ -43,6 +43,12 @@ module OpenapiClient
43
43
  # Client order ID if supplied by client, otherwise the order ID.
44
44
  attr_accessor :order_id
45
45
 
46
+ # The response transaction ID.
47
+ attr_accessor :ipg_transaction_id
48
+
49
+ # The unique merchant transaction ID from the request header, if supplied.
50
+ attr_accessor :merchant_transaction_id
51
+
46
52
  class EnumAttributeValidator
47
53
  attr_reader :datatype
48
54
  attr_reader :allowable_values
@@ -78,7 +84,9 @@ module OpenapiClient
78
84
  :'payment_token' => :'paymentToken',
79
85
  :'payment_card' => :'paymentCard',
80
86
  :'processor' => :'processor',
81
- :'order_id' => :'orderId'
87
+ :'order_id' => :'orderId',
88
+ :'ipg_transaction_id' => :'ipgTransactionId',
89
+ :'merchant_transaction_id' => :'merchantTransactionId'
82
90
  }
83
91
  end
84
92
 
@@ -95,21 +103,16 @@ module OpenapiClient
95
103
  :'payment_token' => :'PaymentTokenDetails',
96
104
  :'payment_card' => :'PaymentCard',
97
105
  :'processor' => :'ProcessorData',
98
- :'order_id' => :'String'
106
+ :'order_id' => :'String',
107
+ :'ipg_transaction_id' => :'String',
108
+ :'merchant_transaction_id' => :'String'
99
109
  }
100
110
  end
101
111
 
102
- # List of attributes with nullable: true
103
- def self.openapi_nullable
104
- Set.new([
105
- ])
106
- end
107
-
108
112
  # List of class defined in allOf (OpenAPI v3)
109
113
  def self.openapi_all_of
110
114
  [
111
- :'BasicResponse',
112
- :'PaymentTokenizationResponseAllOf'
115
+ :'BasicResponse'
113
116
  ]
114
117
  end
115
118
 
@@ -171,12 +174,28 @@ module OpenapiClient
171
174
  if attributes.key?(:'order_id')
172
175
  self.order_id = attributes[:'order_id']
173
176
  end
177
+
178
+ if attributes.key?(:'ipg_transaction_id')
179
+ self.ipg_transaction_id = attributes[:'ipg_transaction_id']
180
+ end
181
+
182
+ if attributes.key?(:'merchant_transaction_id')
183
+ self.merchant_transaction_id = attributes[:'merchant_transaction_id']
184
+ end
174
185
  end
175
186
 
176
187
  # Show invalid properties with the reasons. Usually used together with valid?
177
188
  # @return Array for valid properties with the reasons
178
189
  def list_invalid_properties
179
190
  invalid_properties = Array.new
191
+ if !@ipg_transaction_id.nil? && @ipg_transaction_id.to_s.length > 14
192
+ invalid_properties.push('invalid value for "ipg_transaction_id", the character length must be smaller than or equal to 14.')
193
+ end
194
+
195
+ if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
196
+ invalid_properties.push('invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.')
197
+ end
198
+
180
199
  invalid_properties
181
200
  end
182
201
 
@@ -185,6 +204,8 @@ module OpenapiClient
185
204
  def valid?
186
205
  request_status_validator = EnumAttributeValidator.new('String', ["DELETED", "FAILED", "SUCCESS", "APPROVED", "WAITING", "VALIDATION_FAILED", "DECLINED"])
187
206
  return false unless request_status_validator.valid?(@request_status)
207
+ return false if !@ipg_transaction_id.nil? && @ipg_transaction_id.to_s.length > 14
208
+ return false if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
188
209
  true
189
210
  end
190
211
 
@@ -198,6 +219,26 @@ module OpenapiClient
198
219
  @request_status = request_status
199
220
  end
200
221
 
222
+ # Custom attribute writer method with validation
223
+ # @param [Object] ipg_transaction_id Value to be assigned
224
+ def ipg_transaction_id=(ipg_transaction_id)
225
+ if !ipg_transaction_id.nil? && ipg_transaction_id.to_s.length > 14
226
+ fail ArgumentError, 'invalid value for "ipg_transaction_id", the character length must be smaller than or equal to 14.'
227
+ end
228
+
229
+ @ipg_transaction_id = ipg_transaction_id
230
+ end
231
+
232
+ # Custom attribute writer method with validation
233
+ # @param [Object] merchant_transaction_id Value to be assigned
234
+ def merchant_transaction_id=(merchant_transaction_id)
235
+ if !merchant_transaction_id.nil? && merchant_transaction_id.to_s.length > 40
236
+ fail ArgumentError, 'invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.'
237
+ end
238
+
239
+ @merchant_transaction_id = merchant_transaction_id
240
+ end
241
+
201
242
  # Checks equality by comparing each attribute.
202
243
  # @param [Object] Object to be compared
203
244
  def ==(o)
@@ -213,7 +254,9 @@ module OpenapiClient
213
254
  payment_token == o.payment_token &&
214
255
  payment_card == o.payment_card &&
215
256
  processor == o.processor &&
216
- order_id == o.order_id
257
+ order_id == o.order_id &&
258
+ ipg_transaction_id == o.ipg_transaction_id &&
259
+ merchant_transaction_id == o.merchant_transaction_id
217
260
  end
218
261
 
219
262
  # @see the `==` method
@@ -225,7 +268,7 @@ module OpenapiClient
225
268
  # Calculates hash code according to all attributes.
226
269
  # @return [Integer] Hash code
227
270
  def hash
228
- [client_request_id, api_trace_id, response_type, request_status, request_time, brand, country, payment_token, payment_card, processor, order_id].hash
271
+ [client_request_id, api_trace_id, response_type, request_status, request_time, brand, country, payment_token, payment_card, processor, order_id, ipg_transaction_id, merchant_transaction_id].hash
229
272
  end
230
273
 
231
274
  # Builds the object from hash
@@ -315,7 +358,7 @@ module OpenapiClient
315
358
 
316
359
  # Returns the object in the form of hash
317
360
  # @return [Hash] Returns the object in the form of hash
318
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
361
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
319
362
  hash = {}
320
363
  attribute_map.each_pair do |attr, param|
321
364
  value = self.send(attr)