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,6 +30,9 @@ module OpenapiClient
30
30
  # The wallet provider type.
31
31
  attr_accessor :wallet_provider
32
32
 
33
+ # Provides receipt response data, if it has been requested.
34
+ attr_accessor :receipts
35
+
33
36
  class EnumAttributeValidator
34
37
  attr_reader :datatype
35
38
  attr_reader :allowable_values
@@ -59,7 +62,8 @@ module OpenapiClient
59
62
  :'invoice_number' => :'invoiceNumber',
60
63
  :'purchase_order_number' => :'purchaseOrderNumber',
61
64
  :'disbursement_trans_type' => :'disbursementTransType',
62
- :'wallet_provider' => :'walletProvider'
65
+ :'wallet_provider' => :'walletProvider',
66
+ :'receipts' => :'receipts'
63
67
  }
64
68
  end
65
69
 
@@ -70,16 +74,11 @@ module OpenapiClient
70
74
  :'invoice_number' => :'String',
71
75
  :'purchase_order_number' => :'String',
72
76
  :'disbursement_trans_type' => :'String',
73
- :'wallet_provider' => :'String'
77
+ :'wallet_provider' => :'String',
78
+ :'receipts' => :'Array<Receipt>'
74
79
  }
75
80
  end
76
81
 
77
- # List of attributes with nullable: true
78
- def self.openapi_nullable
79
- Set.new([
80
- ])
81
- end
82
-
83
82
  # Initializes the object
84
83
  # @param [Hash] attributes Model attributes in the form of hash
85
84
  def initialize(attributes = {})
@@ -114,6 +113,12 @@ module OpenapiClient
114
113
  if attributes.key?(:'wallet_provider')
115
114
  self.wallet_provider = attributes[:'wallet_provider']
116
115
  end
116
+
117
+ if attributes.key?(:'receipts')
118
+ if (value = attributes[:'receipts']).is_a?(Array)
119
+ self.receipts = value
120
+ end
121
+ end
117
122
  end
118
123
 
119
124
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -207,7 +212,8 @@ module OpenapiClient
207
212
  invoice_number == o.invoice_number &&
208
213
  purchase_order_number == o.purchase_order_number &&
209
214
  disbursement_trans_type == o.disbursement_trans_type &&
210
- wallet_provider == o.wallet_provider
215
+ wallet_provider == o.wallet_provider &&
216
+ receipts == o.receipts
211
217
  end
212
218
 
213
219
  # @see the `==` method
@@ -219,7 +225,7 @@ module OpenapiClient
219
225
  # Calculates hash code according to all attributes.
220
226
  # @return [Integer] Hash code
221
227
  def hash
222
- [comments, invoice_number, purchase_order_number, disbursement_trans_type, wallet_provider].hash
228
+ [comments, invoice_number, purchase_order_number, disbursement_trans_type, wallet_provider, receipts].hash
223
229
  end
224
230
 
225
231
  # Builds the object from hash
@@ -309,7 +315,7 @@ module OpenapiClient
309
315
 
310
316
  # Returns the object in the form of hash
311
317
  # @return [Hash] Returns the object in the form of hash
312
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
318
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
313
319
  hash = {}
314
320
  attribute_map.each_pair do |attr, param|
315
321
  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
 
@@ -62,12 +62,6 @@ module OpenapiClient
62
62
  }
63
63
  end
64
64
 
65
- # List of attributes with nullable: true
66
- def self.openapi_nullable
67
- Set.new([
68
- ])
69
- end
70
-
71
65
  # Initializes the object
72
66
  # @param [Hash] attributes Model attributes in the form of hash
73
67
  def initialize(attributes = {})
@@ -343,7 +337,7 @@ module OpenapiClient
343
337
 
344
338
  # Returns the object in the form of hash
345
339
  # @return [Hash] Returns the object in the form of hash
346
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
340
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
347
341
  hash = {}
348
342
  attribute_map.each_pair do |attr, param|
349
343
  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
 
@@ -119,12 +119,6 @@ module OpenapiClient
119
119
  }
120
120
  end
121
121
 
122
- # List of attributes with nullable: true
123
- def self.openapi_nullable
124
- Set.new([
125
- ])
126
- end
127
-
128
122
  # Initializes the object
129
123
  # @param [Hash] attributes Model attributes in the form of hash
130
124
  def initialize(attributes = {})
@@ -481,7 +475,7 @@ module OpenapiClient
481
475
 
482
476
  # Returns the object in the form of hash
483
477
  # @return [Hash] Returns the object in the form of hash
484
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
478
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
485
479
  hash = {}
486
480
  attribute_map.each_pair do |attr, param|
487
481
  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
 
@@ -53,12 +53,6 @@ module OpenapiClient
53
53
  }
54
54
  end
55
55
 
56
- # List of attributes with nullable: true
57
- def self.openapi_nullable
58
- Set.new([
59
- ])
60
- end
61
-
62
56
  # Initializes the object
63
57
  # @param [Hash] attributes Model attributes in the form of hash
64
58
  def initialize(attributes = {})
@@ -216,7 +210,7 @@ module OpenapiClient
216
210
 
217
211
  # Returns the object in the form of hash
218
212
  # @return [Hash] Returns the object in the form of hash
219
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
213
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
220
214
  hash = {}
221
215
  attribute_map.each_pair do |attr, param|
222
216
  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
 
@@ -94,12 +94,6 @@ module OpenapiClient
94
94
  }
95
95
  end
96
96
 
97
- # List of attributes with nullable: true
98
- def self.openapi_nullable
99
- Set.new([
100
- ])
101
- end
102
-
103
97
  # Initializes the object
104
98
  # @param [Hash] attributes Model attributes in the form of hash
105
99
  def initialize(attributes = {})
@@ -397,7 +391,7 @@ module OpenapiClient
397
391
 
398
392
  # Returns the object in the form of hash
399
393
  # @return [Hash] Returns the object in the form of hash
400
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
394
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
401
395
  hash = {}
402
396
  attribute_map.each_pair do |attr, param|
403
397
  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
 
@@ -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
  # Initializes the object
79
73
  # @param [Hash] attributes Model attributes in the form of hash
80
74
  def initialize(attributes = {})
@@ -352,7 +346,7 @@ module OpenapiClient
352
346
 
353
347
  # Returns the object in the form of hash
354
348
  # @return [Hash] Returns the object in the form of hash
355
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
349
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
356
350
  hash = {}
357
351
  attribute_map.each_pair do |attr, param|
358
352
  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
 
@@ -31,16 +31,11 @@ module OpenapiClient
31
31
  }
32
32
  end
33
33
 
34
- # List of attributes with nullable: true
35
- def self.openapi_nullable
36
- Set.new([
37
- ])
38
- end
39
-
40
34
  # List of class defined in allOf (OpenAPI v3)
41
35
  def self.openapi_all_of
42
36
  [
43
- :'AliPayPaymentMethodAllOf'
37
+ :'AliPayPaymentMethodAllOf',
38
+ :'PaymentMethod'
44
39
  ]
45
40
  end
46
41
 
@@ -189,7 +184,7 @@ module OpenapiClient
189
184
 
190
185
  # Returns the object in the form of hash
191
186
  # @return [Hash] Returns the object in the form of hash
192
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
187
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
193
188
  hash = {}
194
189
  attribute_map.each_pair do |attr, param|
195
190
  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
 
@@ -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
 
@@ -31,12 +31,6 @@ module OpenapiClient
31
31
  }
32
32
  end
33
33
 
34
- # List of attributes with nullable: true
35
- def self.openapi_nullable
36
- Set.new([
37
- ])
38
- end
39
-
40
34
  # List of class defined in allOf (OpenAPI v3)
41
35
  def self.openapi_all_of
42
36
  [
@@ -194,8 +188,8 @@ module OpenapiClient
194
188
 
195
189
  # Returns the object in the form of hash
196
190
  # @return [Hash] Returns the object in the form of hash
197
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
198
- hash = super(self.class.superclass.attribute_map, self.class.superclass.openapi_nullable)
191
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
192
+ hash = super(self.class.superclass.attribute_map, openapi_nullable)
199
193
  attribute_map.each_pair do |attr, param|
200
194
  value = self.send(attr)
201
195
  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
 
@@ -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
 
@@ -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 = {})
@@ -83,6 +77,10 @@ module OpenapiClient
83
77
  invalid_properties.push('invalid value for "total", total cannot be nil.')
84
78
  end
85
79
 
80
+ if @total < 0
81
+ invalid_properties.push('invalid value for "total", must be greater than or equal to 0.')
82
+ end
83
+
86
84
  if @currency.nil?
87
85
  invalid_properties.push('invalid value for "currency", currency cannot be nil.')
88
86
  end
@@ -99,11 +97,26 @@ module OpenapiClient
99
97
  # @return true if the model is valid
100
98
  def valid?
101
99
  return false if @total.nil?
100
+ return false if @total < 0
102
101
  return false if @currency.nil?
103
102
  return false if @currency !~ Regexp.new(/([A-Z]{3})|([0-9]{3})/)
104
103
  true
105
104
  end
106
105
 
106
+ # Custom attribute writer method with validation
107
+ # @param [Object] total Value to be assigned
108
+ def total=(total)
109
+ if total.nil?
110
+ fail ArgumentError, 'total cannot be nil'
111
+ end
112
+
113
+ if total < 0
114
+ fail ArgumentError, 'invalid value for "total", must be greater than or equal to 0.'
115
+ end
116
+
117
+ @total = total
118
+ end
119
+
107
120
  # Custom attribute writer method with validation
108
121
  # @param [Object] currency Value to be assigned
109
122
  def currency=(currency)
@@ -228,7 +241,7 @@ module OpenapiClient
228
241
 
229
242
  # Returns the object in the form of hash
230
243
  # @return [Hash] Returns the object in the form of hash
231
- def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = self.class.openapi_nullable)
244
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
232
245
  hash = {}
233
246
  attribute_map.each_pair do |attr, param|
234
247
  value = self.send(attr)