first_data_gateway 1.11.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (708) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +2 -2
  4. data/docs/AdditionalDetails.md +3 -1
  5. data/docs/AvailableCurrenciesResponse.md +23 -0
  6. data/docs/DecryptedApplePay.md +1 -1
  7. data/docs/DecryptedSamsungPay.md +1 -1
  8. data/docs/Order.md +5 -1
  9. data/docs/PaymentApi.md +2 -2
  10. data/docs/PaymentCardCreditTransactionAllOf.md +19 -0
  11. data/docs/PaymentCardPayerAuthTransaction.md +3 -1
  12. data/docs/PaymentCardPayerAuthTransactionAllOf.md +3 -1
  13. data/docs/PaymentUrlRequest.md +3 -1
  14. data/docs/PrimaryTransaction.md +3 -1
  15. data/docs/PurchaseCardsLevel2.md +3 -1
  16. data/docs/Secure3D21AuthenticationRequest.md +6 -2
  17. data/docs/Secure3D21AuthenticationRequestAllOf.md +6 -2
  18. data/docs/Secure3DAuthenticationRequest.md +6 -2
  19. data/docs/Secure3DAuthenticationRequestAllOf.md +6 -2
  20. data/docs/Secure3DAuthenticationResult.md +3 -1
  21. data/docs/Secure3DAuthenticationResultAllOf.md +3 -1
  22. data/docs/SepaCredit.md +19 -0
  23. data/docs/{SepaPaymentMethodAllOf.md → SepaCreditPaymentMethod.md} +3 -3
  24. data/docs/SepaCreditPaymentMethodAllOf.md +17 -0
  25. data/docs/SepaCreditTransaction.md +17 -0
  26. data/docs/SepaCreditTransactionAllOf.md +17 -0
  27. data/docs/{Sepa.md → SepaSale.md} +2 -2
  28. data/docs/{SepaPaymentMethod.md → SepaSalePaymentMethod.md} +3 -3
  29. data/docs/SepaSalePaymentMethodAllOf.md +17 -0
  30. data/docs/SepaSaleTransaction.md +1 -1
  31. data/docs/SepaSaleTransactionAllOf.md +1 -1
  32. data/docs/StandInDetails.md +27 -0
  33. data/docs/StandinResponseDetails.md +27 -0
  34. data/docs/TransactionErrorResponse.md +4 -0
  35. data/docs/TransactionResponse.md +4 -0
  36. data/first_data_gateway.gemspec +1 -1
  37. data/lib/.DS_Store +0 -0
  38. data/lib/openapi_client.rb +14 -5
  39. data/lib/openapi_client/.DS_Store +0 -0
  40. data/lib/openapi_client/api/authentication_api.rb +2 -2
  41. data/lib/openapi_client/api/currency_conversion_api.rb +2 -2
  42. data/lib/openapi_client/api/fraud_detect_api.rb +2 -2
  43. data/lib/openapi_client/api/information_lookup_api.rb +2 -2
  44. data/lib/openapi_client/api/order_api.rb +3 -3
  45. data/lib/openapi_client/api/payment_api.rb +4 -4
  46. data/lib/openapi_client/api/payment_schedules_api.rb +2 -2
  47. data/lib/openapi_client/api/payment_token_api.rb +2 -2
  48. data/lib/openapi_client/api/payment_url_api.rb +2 -2
  49. data/lib/openapi_client/api/verification_api.rb +2 -2
  50. data/lib/openapi_client/api_client.rb +3 -3
  51. data/lib/openapi_client/api_error.rb +2 -2
  52. data/lib/openapi_client/configuration.rb +2 -3
  53. data/lib/openapi_client/models/access_token_request.rb +2 -2
  54. data/lib/openapi_client/models/access_token_response.rb +2 -2
  55. data/lib/openapi_client/models/account_info_lookup_request.rb +2 -2
  56. data/lib/openapi_client/models/account_updater_response.rb +2 -2
  57. data/lib/openapi_client/models/account_verification_request.rb +2 -2
  58. data/lib/openapi_client/models/ach_credit_transaction.rb +2 -2
  59. data/lib/openapi_client/models/ach_post_auth_transaction.rb +2 -2
  60. data/lib/openapi_client/models/ach_post_auth_transaction_all_of.rb +2 -2
  61. data/lib/openapi_client/models/ach_pre_auth_transaction.rb +2 -2
  62. data/lib/openapi_client/models/ach_pre_auth_transaction_all_of.rb +2 -2
  63. data/lib/openapi_client/models/ach_recurring_type.rb +2 -2
  64. data/lib/openapi_client/models/ach_response.rb +10 -10
  65. data/lib/openapi_client/models/ach_return_transaction.rb +2 -2
  66. data/lib/openapi_client/models/ach_sale_transaction.rb +2 -2
  67. data/lib/openapi_client/models/ach_void_transaction.rb +2 -2
  68. data/lib/openapi_client/models/acs_response.rb +2 -2
  69. data/lib/openapi_client/models/additional_amount_rate.rb +3 -3
  70. data/lib/openapi_client/models/additional_details.rb +28 -6
  71. data/lib/openapi_client/models/additional_transaction_details.rb +2 -2
  72. data/lib/openapi_client/models/address.rb +2 -2
  73. data/lib/openapi_client/models/airline.rb +2 -2
  74. data/lib/openapi_client/models/airline_ancillary_service_category.rb +2 -2
  75. data/lib/openapi_client/models/airline_travel_route.rb +2 -2
  76. data/lib/openapi_client/models/ali_pay.rb +2 -2
  77. data/lib/openapi_client/models/ali_pay_payment_method.rb +2 -2
  78. data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +2 -2
  79. data/lib/openapi_client/models/ali_pay_sale_transaction.rb +2 -2
  80. data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +2 -2
  81. data/lib/openapi_client/models/amount.rb +2 -2
  82. data/lib/openapi_client/models/amount_components.rb +2 -2
  83. data/lib/openapi_client/models/apm_payment_method.rb +2 -2
  84. data/lib/openapi_client/models/apm_payment_method_all_of.rb +2 -2
  85. data/lib/openapi_client/models/apm_sale_transaction.rb +2 -2
  86. data/lib/openapi_client/models/apm_sale_transaction_all_of.rb +2 -2
  87. data/lib/openapi_client/models/authentication_request.rb +2 -2
  88. data/lib/openapi_client/models/authentication_result.rb +2 -2
  89. data/lib/openapi_client/models/authentication_update_request.rb +2 -2
  90. data/lib/openapi_client/models/available_currencies_response.rb +244 -0
  91. data/lib/openapi_client/models/avs_response.rb +2 -2
  92. data/lib/openapi_client/models/bancontact_qr.rb +2 -2
  93. data/lib/openapi_client/models/basic_response.rb +2 -2
  94. data/lib/openapi_client/models/billing.rb +2 -2
  95. data/lib/openapi_client/models/billing_address.rb +2 -2
  96. data/lib/openapi_client/models/car_rental.rb +2 -2
  97. data/lib/openapi_client/models/car_rental_extra_charges.rb +2 -2
  98. data/lib/openapi_client/models/card.rb +2 -2
  99. data/lib/openapi_client/models/card_function.rb +2 -2
  100. data/lib/openapi_client/models/card_info.rb +2 -2
  101. data/lib/openapi_client/models/card_info_lookup_request.rb +2 -2
  102. data/lib/openapi_client/models/card_info_lookup_response.rb +2 -2
  103. data/lib/openapi_client/models/card_verification_request.rb +2 -2
  104. data/lib/openapi_client/models/cardholder_info_response.rb +2 -2
  105. data/lib/openapi_client/models/china_domestic.rb +2 -2
  106. data/lib/openapi_client/models/china_domestic_payment_method.rb +2 -2
  107. data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +2 -2
  108. data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +2 -2
  109. data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +2 -2
  110. data/lib/openapi_client/models/client_locale.rb +2 -2
  111. data/lib/openapi_client/models/client_registration.rb +2 -2
  112. data/lib/openapi_client/models/contact.rb +2 -2
  113. data/lib/openapi_client/models/create_payment_token.rb +2 -2
  114. data/lib/openapi_client/models/currency_conversion.rb +2 -2
  115. data/lib/openapi_client/models/currency_conversion_response.rb +2 -2
  116. data/lib/openapi_client/models/customer.rb +2 -2
  117. data/lib/openapi_client/models/customer_address.rb +2 -2
  118. data/lib/openapi_client/models/dcc.rb +2 -2
  119. data/lib/openapi_client/models/dcc_all_of.rb +2 -2
  120. data/lib/openapi_client/models/dcc_exchange_rate_request.rb +2 -2
  121. data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +2 -2
  122. data/lib/openapi_client/models/decrypted_apple_pay.rb +5 -14
  123. data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +2 -2
  124. data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +2 -2
  125. data/lib/openapi_client/models/decrypted_google_pay.rb +2 -2
  126. data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +2 -2
  127. data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +2 -2
  128. data/lib/openapi_client/models/decrypted_samsung_pay.rb +5 -14
  129. data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +2 -2
  130. data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +2 -2
  131. data/lib/openapi_client/models/device.rb +2 -2
  132. data/lib/openapi_client/models/disbursement.rb +2 -2
  133. data/lib/openapi_client/models/disbursement_transaction_type.rb +2 -2
  134. data/lib/openapi_client/models/document.rb +2 -2
  135. data/lib/openapi_client/models/dynamic_pricing.rb +2 -2
  136. data/lib/openapi_client/models/dynamic_pricing_all_of.rb +2 -2
  137. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +2 -2
  138. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +2 -2
  139. data/lib/openapi_client/models/encrypted_apple_pay.rb +2 -2
  140. data/lib/openapi_client/models/encrypted_apple_pay_header.rb +2 -2
  141. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +2 -2
  142. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +2 -2
  143. data/lib/openapi_client/models/encrypted_google_pay.rb +2 -2
  144. data/lib/openapi_client/models/encrypted_google_pay_data.rb +2 -2
  145. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +2 -2
  146. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +2 -2
  147. data/lib/openapi_client/models/encrypted_samsung_pay.rb +2 -2
  148. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +2 -2
  149. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +2 -2
  150. data/lib/openapi_client/models/error.rb +2 -2
  151. data/lib/openapi_client/models/error_details.rb +2 -2
  152. data/lib/openapi_client/models/error_message.rb +2 -2
  153. data/lib/openapi_client/models/error_response.rb +2 -2
  154. data/lib/openapi_client/models/exchange_rate_details.rb +2 -2
  155. data/lib/openapi_client/models/exchange_rate_request.rb +2 -2
  156. data/lib/openapi_client/models/exchange_rate_response.rb +2 -2
  157. data/lib/openapi_client/models/expiration.rb +4 -4
  158. data/lib/openapi_client/models/fraud_address.rb +2 -2
  159. data/lib/openapi_client/models/fraud_order.rb +2 -2
  160. data/lib/openapi_client/models/fraud_order_items.rb +2 -2
  161. data/lib/openapi_client/models/fraud_registration.rb +2 -2
  162. data/lib/openapi_client/models/fraud_registration_card.rb +2 -2
  163. data/lib/openapi_client/models/fraud_registration_device.rb +2 -2
  164. data/lib/openapi_client/models/fraud_registration_device_items.rb +2 -2
  165. data/lib/openapi_client/models/fraud_registration_error.rb +2 -2
  166. data/lib/openapi_client/models/fraud_registration_response.rb +2 -2
  167. data/lib/openapi_client/models/fraud_score.rb +2 -2
  168. data/lib/openapi_client/models/frequency.rb +2 -2
  169. data/lib/openapi_client/models/funding_transaction_type.rb +2 -2
  170. data/lib/openapi_client/models/id_info.rb +2 -2
  171. data/lib/openapi_client/models/industry_specific_extensions.rb +2 -2
  172. data/lib/openapi_client/models/installment_options.rb +2 -2
  173. data/lib/openapi_client/models/issuer_response.rb +2 -2
  174. data/lib/openapi_client/models/items.rb +2 -2
  175. data/lib/openapi_client/models/location.rb +2 -2
  176. data/lib/openapi_client/models/lodging.rb +2 -2
  177. data/lib/openapi_client/models/lodging_extra_charges.rb +2 -2
  178. data/lib/openapi_client/models/loyalty.rb +2 -2
  179. data/lib/openapi_client/models/masterpass_wallet_payment_method.rb +2 -2
  180. data/lib/openapi_client/models/masterpass_wallet_payment_method_all_of.rb +2 -2
  181. data/lib/openapi_client/models/mcc6012.rb +2 -2
  182. data/lib/openapi_client/models/merchant.rb +2 -2
  183. data/lib/openapi_client/models/method.rb +2 -2
  184. data/lib/openapi_client/models/order.rb +24 -6
  185. data/lib/openapi_client/models/order_error_response.rb +2 -2
  186. data/lib/openapi_client/models/order_response.rb +2 -2
  187. data/lib/openapi_client/models/pay_pal.rb +2 -2
  188. data/lib/openapi_client/models/pay_pal_payment_method.rb +2 -2
  189. data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +2 -2
  190. data/lib/openapi_client/models/payment.rb +2 -2
  191. data/lib/openapi_client/models/payment_brand_response.rb +2 -2
  192. data/lib/openapi_client/models/payment_card.rb +2 -2
  193. data/lib/openapi_client/models/payment_card_credit_transaction.rb +3 -3
  194. data/lib/openapi_client/models/payment_card_credit_transaction_all_of.rb +219 -0
  195. data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +2 -2
  196. data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +2 -2
  197. data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +2 -2
  198. data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +2 -2
  199. data/lib/openapi_client/models/payment_card_info_lookup_request.rb +2 -2
  200. data/lib/openapi_client/models/payment_card_info_lookup_request_all_of.rb +2 -2
  201. data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +15 -6
  202. data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +15 -6
  203. data/lib/openapi_client/models/payment_card_payment_method.rb +2 -2
  204. data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +2 -2
  205. data/lib/openapi_client/models/payment_card_payment_token_update_request.rb +2 -2
  206. data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +2 -2
  207. data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +2 -2
  208. data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +2 -2
  209. data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +2 -2
  210. data/lib/openapi_client/models/payment_card_sale_transaction.rb +2 -2
  211. data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +2 -2
  212. data/lib/openapi_client/models/payment_card_verification_request.rb +2 -2
  213. data/lib/openapi_client/models/payment_card_verification_request_all_of.rb +2 -2
  214. data/lib/openapi_client/models/payment_device.rb +2 -2
  215. data/lib/openapi_client/models/payment_device_credit_transaction.rb +2 -2
  216. data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +2 -2
  217. data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +2 -2
  218. data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +2 -2
  219. data/lib/openapi_client/models/payment_device_payment_method.rb +2 -2
  220. data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +2 -2
  221. data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +2 -2
  222. data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +2 -2
  223. data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +2 -2
  224. data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +2 -2
  225. data/lib/openapi_client/models/payment_device_sale_transaction.rb +2 -2
  226. data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +2 -2
  227. data/lib/openapi_client/models/payment_facilitator.rb +2 -2
  228. data/lib/openapi_client/models/payment_method_details.rb +2 -2
  229. data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +2 -2
  230. data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +2 -2
  231. data/lib/openapi_client/models/payment_method_type.rb +6 -4
  232. data/lib/openapi_client/models/payment_registration.rb +2 -2
  233. data/lib/openapi_client/models/payment_schedules_error_response.rb +2 -2
  234. data/lib/openapi_client/models/payment_schedules_request.rb +2 -2
  235. data/lib/openapi_client/models/payment_schedules_response.rb +2 -2
  236. data/lib/openapi_client/models/payment_step_request.rb +2 -2
  237. data/lib/openapi_client/models/payment_step_response.rb +2 -2
  238. data/lib/openapi_client/models/payment_token_credit_transaction.rb +2 -2
  239. data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +2 -2
  240. data/lib/openapi_client/models/payment_token_details.rb +2 -2
  241. data/lib/openapi_client/models/payment_token_details_all_of.rb +2 -2
  242. data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +2 -2
  243. data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +2 -2
  244. data/lib/openapi_client/models/payment_token_info_lookup_request.rb +2 -2
  245. data/lib/openapi_client/models/payment_token_info_lookup_request_all_of.rb +2 -2
  246. data/lib/openapi_client/models/payment_token_payment_method.rb +2 -2
  247. data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +2 -2
  248. data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +2 -2
  249. data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +2 -2
  250. data/lib/openapi_client/models/payment_token_sale_transaction.rb +2 -2
  251. data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +2 -2
  252. data/lib/openapi_client/models/payment_token_update_response.rb +2 -2
  253. data/lib/openapi_client/models/payment_token_verification_request.rb +2 -2
  254. data/lib/openapi_client/models/payment_token_verification_request_all_of.rb +2 -2
  255. data/lib/openapi_client/models/payment_tokenization_error_response.rb +2 -2
  256. data/lib/openapi_client/models/payment_tokenization_request.rb +2 -2
  257. data/lib/openapi_client/models/payment_tokenization_response.rb +2 -2
  258. data/lib/openapi_client/models/payment_url_detail.rb +2 -2
  259. data/lib/openapi_client/models/payment_url_detail_response.rb +2 -2
  260. data/lib/openapi_client/models/payment_url_error_response.rb +2 -2
  261. data/lib/openapi_client/models/payment_url_request.rb +15 -6
  262. data/lib/openapi_client/models/payment_url_response.rb +2 -2
  263. data/lib/openapi_client/models/payment_url_status.rb +2 -2
  264. data/lib/openapi_client/models/paypal_credit_transaction.rb +2 -2
  265. data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +2 -2
  266. data/lib/openapi_client/models/phone.rb +2 -2
  267. data/lib/openapi_client/models/post_auth_transaction.rb +2 -2
  268. data/lib/openapi_client/models/post_auth_transaction_all_of.rb +2 -2
  269. data/lib/openapi_client/models/pre_auth_secondary_transaction.rb +2 -2
  270. data/lib/openapi_client/models/pre_auth_secondary_transaction_all_of.rb +2 -2
  271. data/lib/openapi_client/models/primary_transaction.rb +16 -6
  272. data/lib/openapi_client/models/processor_data.rb +2 -2
  273. data/lib/openapi_client/models/provide_detail_payment_step_request.rb +2 -2
  274. data/lib/openapi_client/models/provide_detail_payment_step_request_all_of.rb +2 -2
  275. data/lib/openapi_client/models/provide_detail_payment_step_response.rb +2 -2
  276. data/lib/openapi_client/models/provide_detail_payment_step_response_all_of.rb +2 -2
  277. data/lib/openapi_client/models/purchase_cards.rb +2 -2
  278. data/lib/openapi_client/models/purchase_cards_level2.rb +15 -6
  279. data/lib/openapi_client/models/purchase_cards_level3.rb +2 -2
  280. data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +2 -2
  281. data/lib/openapi_client/models/receipt.rb +2 -2
  282. data/lib/openapi_client/models/receipt_line.rb +2 -2
  283. data/lib/openapi_client/models/receipt_request_info.rb +2 -2
  284. data/lib/openapi_client/models/receiver_info.rb +2 -2
  285. data/lib/openapi_client/models/recurring_payment_details.rb +2 -2
  286. data/lib/openapi_client/models/recurring_payment_details_response.rb +2 -2
  287. data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +2 -2
  288. data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +2 -2
  289. data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +2 -2
  290. data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +2 -2
  291. data/lib/openapi_client/models/registration_method.rb +2 -2
  292. data/lib/openapi_client/models/response_amount_components.rb +2 -2
  293. data/lib/openapi_client/models/response_amount_components_all_of.rb +2 -2
  294. data/lib/openapi_client/models/response_type.rb +2 -2
  295. data/lib/openapi_client/models/return_transaction.rb +2 -2
  296. data/lib/openapi_client/models/return_transaction_all_of.rb +2 -2
  297. data/lib/openapi_client/models/revolving_options.rb +2 -2
  298. data/lib/openapi_client/models/score_only_request.rb +2 -2
  299. data/lib/openapi_client/models/score_only_response.rb +2 -2
  300. data/lib/openapi_client/models/score_only_response_fraud_score.rb +2 -2
  301. data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +2 -2
  302. data/lib/openapi_client/models/secondary_transaction.rb +2 -2
  303. data/lib/openapi_client/models/secure3_d10_authentication_request.rb +2 -2
  304. data/lib/openapi_client/models/secure3_d10_authentication_request_all_of.rb +2 -2
  305. data/lib/openapi_client/models/secure3_d10_authentication_result.rb +2 -2
  306. data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +2 -2
  307. data/lib/openapi_client/models/secure3_d10_authentication_update_request.rb +2 -2
  308. data/lib/openapi_client/models/secure3_d10_authentication_update_request_all_of.rb +2 -2
  309. data/lib/openapi_client/models/secure3_d21_authentication_request.rb +43 -9
  310. data/lib/openapi_client/models/secure3_d21_authentication_request_all_of.rb +43 -9
  311. data/lib/openapi_client/models/secure3_d21_authentication_result.rb +2 -2
  312. data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +2 -2
  313. data/lib/openapi_client/models/secure3_d21_authentication_update_request.rb +2 -2
  314. data/lib/openapi_client/models/secure3_d21_authentication_update_request_all_of.rb +2 -2
  315. data/lib/openapi_client/models/secure3_d_authentication_request.rb +43 -9
  316. data/lib/openapi_client/models/secure3_d_authentication_request_all_of.rb +43 -9
  317. data/lib/openapi_client/models/secure3_d_authentication_response.rb +2 -2
  318. data/lib/openapi_client/models/secure3_d_authentication_response_params.rb +2 -2
  319. data/lib/openapi_client/models/secure3_d_authentication_response_secure3d_method.rb +2 -2
  320. data/lib/openapi_client/models/secure3_d_authentication_result.rb +28 -6
  321. data/lib/openapi_client/models/secure3_d_authentication_result_all_of.rb +28 -6
  322. data/lib/openapi_client/models/secure3_d_authentication_update_request.rb +2 -2
  323. data/lib/openapi_client/models/secure3d_response.rb +2 -2
  324. data/lib/openapi_client/models/sender_info.rb +2 -2
  325. data/lib/openapi_client/models/sepa_credit.rb +287 -0
  326. data/lib/openapi_client/models/sepa_credit_payment_method.rb +219 -0
  327. data/lib/openapi_client/models/sepa_credit_payment_method_all_of.rb +210 -0
  328. data/lib/openapi_client/models/sepa_credit_transaction.rb +223 -0
  329. data/lib/openapi_client/models/sepa_credit_transaction_all_of.rb +210 -0
  330. data/lib/openapi_client/models/sepa_mandate.rb +2 -2
  331. data/lib/openapi_client/models/{sepa.rb → sepa_sale.rb} +5 -5
  332. data/lib/openapi_client/models/{sepa_payment_method.rb → sepa_sale_payment_method.rb} +7 -7
  333. data/lib/openapi_client/models/{sepa_payment_method_all_of.rb → sepa_sale_payment_method_all_of.rb} +6 -6
  334. data/lib/openapi_client/models/sepa_sale_transaction.rb +3 -3
  335. data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +3 -3
  336. data/lib/openapi_client/models/ship_to_address.rb +2 -2
  337. data/lib/openapi_client/models/shipping.rb +2 -2
  338. data/lib/openapi_client/models/soft_descriptor.rb +2 -2
  339. data/lib/openapi_client/models/split_shipment.rb +2 -2
  340. data/lib/openapi_client/models/stand_in_details.rb +373 -0
  341. data/lib/openapi_client/models/standin_response_details.rb +257 -0
  342. data/lib/openapi_client/models/step_request.rb +2 -2
  343. data/lib/openapi_client/models/step_response.rb +2 -2
  344. data/lib/openapi_client/models/stored_credential.rb +2 -2
  345. data/lib/openapi_client/models/sub_merchant_data.rb +2 -2
  346. data/lib/openapi_client/models/sub_merchant_split.rb +2 -2
  347. data/lib/openapi_client/models/tele_check_ach_payment_method.rb +2 -2
  348. data/lib/openapi_client/models/tele_check_ach_payment_method_ach_bill_to.rb +2 -2
  349. data/lib/openapi_client/models/tele_check_cbp_payment_method.rb +2 -2
  350. data/lib/openapi_client/models/tele_check_ica_payment_method.rb +2 -2
  351. data/lib/openapi_client/models/tele_check_ica_payment_method_all_of.rb +2 -2
  352. data/lib/openapi_client/models/transaction_error_response.rb +37 -3
  353. data/lib/openapi_client/models/transaction_origin.rb +2 -2
  354. data/lib/openapi_client/models/transaction_response.rb +37 -3
  355. data/lib/openapi_client/models/transaction_type.rb +2 -2
  356. data/lib/openapi_client/models/union_pay_authentication_request.rb +2 -2
  357. data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +2 -2
  358. data/lib/openapi_client/models/union_pay_authentication_update_request.rb +2 -2
  359. data/lib/openapi_client/models/union_pay_authentication_update_request_all_of.rb +2 -2
  360. data/lib/openapi_client/models/update_payment_token.rb +2 -2
  361. data/lib/openapi_client/models/use_payment_token.rb +2 -2
  362. data/lib/openapi_client/models/verification3ds.rb +2 -2
  363. data/lib/openapi_client/models/verification_avs.rb +2 -2
  364. data/lib/openapi_client/models/verification_cvv.rb +2 -2
  365. data/lib/openapi_client/models/void_pre_auth_transactions.rb +2 -2
  366. data/lib/openapi_client/models/void_transaction.rb +2 -2
  367. data/lib/openapi_client/models/void_transaction_all_of.rb +2 -2
  368. data/lib/openapi_client/models/wallet_payment_method.rb +2 -2
  369. data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +2 -2
  370. data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +2 -2
  371. data/lib/openapi_client/models/wallet_sale_transaction.rb +2 -2
  372. data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +2 -2
  373. data/lib/openapi_client/version.rb +3 -3
  374. data/spec/.DS_Store +0 -0
  375. data/spec/api/authentication_api_spec.rb +2 -2
  376. data/spec/api/currency_conversion_api_spec.rb +2 -2
  377. data/spec/api/fraud_detect_api_spec.rb +2 -2
  378. data/spec/api/information_lookup_api_spec.rb +2 -2
  379. data/spec/api/order_api_spec.rb +2 -2
  380. data/spec/api/payment_api_spec.rb +3 -3
  381. data/spec/api/payment_schedules_api_spec.rb +2 -2
  382. data/spec/api/payment_token_api_spec.rb +2 -2
  383. data/spec/api/payment_url_api_spec.rb +2 -2
  384. data/spec/api/verification_api_spec.rb +2 -2
  385. data/spec/api_client_spec.rb +2 -2
  386. data/spec/configuration_spec.rb +2 -2
  387. data/spec/models/access_token_request_spec.rb +2 -2
  388. data/spec/models/access_token_response_spec.rb +2 -2
  389. data/spec/models/account_info_lookup_request_spec.rb +2 -2
  390. data/spec/models/account_updater_response_spec.rb +2 -2
  391. data/spec/models/account_verification_request_spec.rb +2 -2
  392. data/spec/models/ach_credit_transaction_spec.rb +2 -2
  393. data/spec/models/ach_post_auth_transaction_all_of_spec.rb +2 -2
  394. data/spec/models/ach_post_auth_transaction_spec.rb +2 -2
  395. data/spec/models/ach_pre_auth_transaction_all_of_spec.rb +2 -2
  396. data/spec/models/ach_pre_auth_transaction_spec.rb +2 -2
  397. data/spec/models/ach_recurring_type_spec.rb +2 -2
  398. data/spec/models/ach_response_spec.rb +2 -2
  399. data/spec/models/ach_return_transaction_spec.rb +2 -2
  400. data/spec/models/ach_sale_transaction_spec.rb +2 -2
  401. data/spec/models/ach_void_transaction_spec.rb +2 -2
  402. data/spec/models/acs_response_spec.rb +2 -2
  403. data/spec/models/additional_amount_rate_spec.rb +2 -2
  404. data/spec/models/additional_details_spec.rb +12 -2
  405. data/spec/models/additional_transaction_details_spec.rb +2 -2
  406. data/spec/models/address_spec.rb +2 -2
  407. data/spec/models/airline_ancillary_service_category_spec.rb +2 -2
  408. data/spec/models/airline_spec.rb +2 -2
  409. data/spec/models/airline_travel_route_spec.rb +2 -2
  410. data/spec/models/ali_pay_payment_method_all_of_spec.rb +2 -2
  411. data/spec/models/ali_pay_payment_method_spec.rb +2 -2
  412. data/spec/models/ali_pay_sale_transaction_all_of_spec.rb +2 -2
  413. data/spec/models/ali_pay_sale_transaction_spec.rb +2 -2
  414. data/spec/models/ali_pay_spec.rb +2 -2
  415. data/spec/models/amount_components_spec.rb +2 -2
  416. data/spec/models/amount_spec.rb +2 -2
  417. data/spec/models/apm_payment_method_all_of_spec.rb +2 -2
  418. data/spec/models/apm_payment_method_spec.rb +2 -2
  419. data/spec/models/apm_sale_transaction_all_of_spec.rb +2 -2
  420. data/spec/models/apm_sale_transaction_spec.rb +2 -2
  421. data/spec/models/authentication_request_spec.rb +2 -2
  422. data/spec/models/authentication_result_spec.rb +2 -2
  423. data/spec/models/authentication_update_request_spec.rb +2 -2
  424. data/spec/models/available_currencies_response_spec.rb +59 -0
  425. data/spec/models/avs_response_spec.rb +2 -2
  426. data/spec/models/bancontact_qr_spec.rb +2 -2
  427. data/spec/models/basic_response_spec.rb +2 -2
  428. data/spec/models/billing_address_spec.rb +2 -2
  429. data/spec/models/billing_spec.rb +2 -2
  430. data/spec/models/car_rental_extra_charges_spec.rb +2 -2
  431. data/spec/models/car_rental_spec.rb +2 -2
  432. data/spec/models/card_function_spec.rb +2 -2
  433. data/spec/models/card_info_lookup_request_spec.rb +2 -2
  434. data/spec/models/card_info_lookup_response_spec.rb +2 -2
  435. data/spec/models/card_info_spec.rb +2 -2
  436. data/spec/models/card_spec.rb +2 -2
  437. data/spec/models/card_verification_request_spec.rb +2 -2
  438. data/spec/models/cardholder_info_response_spec.rb +2 -2
  439. data/spec/models/china_domestic_payment_method_all_of_spec.rb +2 -2
  440. data/spec/models/china_domestic_payment_method_spec.rb +2 -2
  441. data/spec/models/china_domestic_spec.rb +2 -2
  442. data/spec/models/china_pn_r_sale_transaction_all_of_spec.rb +2 -2
  443. data/spec/models/china_pn_r_sale_transaction_spec.rb +2 -2
  444. data/spec/models/client_locale_spec.rb +2 -2
  445. data/spec/models/client_registration_spec.rb +2 -2
  446. data/spec/models/contact_spec.rb +2 -2
  447. data/spec/models/create_payment_token_spec.rb +2 -2
  448. data/spec/models/currency_conversion_response_spec.rb +2 -2
  449. data/spec/models/currency_conversion_spec.rb +2 -2
  450. data/spec/models/customer_address_spec.rb +2 -2
  451. data/spec/models/customer_spec.rb +2 -2
  452. data/spec/models/dcc_all_of_spec.rb +2 -2
  453. data/spec/models/dcc_exchange_rate_request_all_of_spec.rb +2 -2
  454. data/spec/models/dcc_exchange_rate_request_spec.rb +2 -2
  455. data/spec/models/dcc_spec.rb +2 -2
  456. data/spec/models/decrypted_apple_pay_spec.rb +2 -2
  457. data/spec/models/decrypted_apple_pay_wallet_payment_method_all_of_spec.rb +2 -2
  458. data/spec/models/decrypted_apple_pay_wallet_payment_method_spec.rb +2 -2
  459. data/spec/models/decrypted_google_pay_spec.rb +2 -2
  460. data/spec/models/decrypted_google_pay_wallet_payment_method_all_of_spec.rb +2 -2
  461. data/spec/models/decrypted_google_pay_wallet_payment_method_spec.rb +2 -2
  462. data/spec/models/decrypted_samsung_pay_spec.rb +2 -2
  463. data/spec/models/decrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +2 -2
  464. data/spec/models/decrypted_samsung_pay_wallet_payment_method_spec.rb +2 -2
  465. data/spec/models/device_spec.rb +2 -2
  466. data/spec/models/disbursement_spec.rb +2 -2
  467. data/spec/models/disbursement_transaction_type_spec.rb +2 -2
  468. data/spec/models/document_spec.rb +2 -2
  469. data/spec/models/dynamic_pricing_all_of_spec.rb +2 -2
  470. data/spec/models/dynamic_pricing_exchange_rate_request_all_of_spec.rb +2 -2
  471. data/spec/models/dynamic_pricing_exchange_rate_request_spec.rb +2 -2
  472. data/spec/models/dynamic_pricing_spec.rb +2 -2
  473. data/spec/models/encrypted_apple_pay_header_spec.rb +2 -2
  474. data/spec/models/encrypted_apple_pay_spec.rb +2 -2
  475. data/spec/models/encrypted_apple_pay_wallet_payment_method_all_of_spec.rb +2 -2
  476. data/spec/models/encrypted_apple_pay_wallet_payment_method_spec.rb +2 -2
  477. data/spec/models/encrypted_google_pay_data_spec.rb +2 -2
  478. data/spec/models/encrypted_google_pay_spec.rb +2 -2
  479. data/spec/models/encrypted_google_pay_wallet_payment_method_all_of_spec.rb +2 -2
  480. data/spec/models/encrypted_google_pay_wallet_payment_method_spec.rb +2 -2
  481. data/spec/models/encrypted_samsung_pay_spec.rb +2 -2
  482. data/spec/models/encrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +2 -2
  483. data/spec/models/encrypted_samsung_pay_wallet_payment_method_spec.rb +2 -2
  484. data/spec/models/error_details_spec.rb +2 -2
  485. data/spec/models/error_message_spec.rb +2 -2
  486. data/spec/models/error_response_spec.rb +2 -2
  487. data/spec/models/error_spec.rb +2 -2
  488. data/spec/models/exchange_rate_details_spec.rb +2 -2
  489. data/spec/models/exchange_rate_request_spec.rb +2 -2
  490. data/spec/models/exchange_rate_response_spec.rb +2 -2
  491. data/spec/models/expiration_spec.rb +2 -2
  492. data/spec/models/fraud_address_spec.rb +2 -2
  493. data/spec/models/fraud_order_items_spec.rb +2 -2
  494. data/spec/models/fraud_order_spec.rb +2 -2
  495. data/spec/models/fraud_registration_card_spec.rb +2 -2
  496. data/spec/models/fraud_registration_device_items_spec.rb +2 -2
  497. data/spec/models/fraud_registration_device_spec.rb +2 -2
  498. data/spec/models/fraud_registration_error_spec.rb +2 -2
  499. data/spec/models/fraud_registration_response_spec.rb +2 -2
  500. data/spec/models/fraud_registration_spec.rb +2 -2
  501. data/spec/models/fraud_score_spec.rb +2 -2
  502. data/spec/models/frequency_spec.rb +2 -2
  503. data/spec/models/funding_transaction_type_spec.rb +2 -2
  504. data/spec/models/id_info_spec.rb +2 -2
  505. data/spec/models/industry_specific_extensions_spec.rb +2 -2
  506. data/spec/models/installment_options_spec.rb +2 -2
  507. data/spec/models/issuer_response_spec.rb +2 -2
  508. data/spec/models/items_spec.rb +2 -2
  509. data/spec/models/location_spec.rb +2 -2
  510. data/spec/models/lodging_extra_charges_spec.rb +2 -2
  511. data/spec/models/lodging_spec.rb +2 -2
  512. data/spec/models/loyalty_spec.rb +2 -2
  513. data/spec/models/masterpass_wallet_payment_method_all_of_spec.rb +2 -2
  514. data/spec/models/masterpass_wallet_payment_method_spec.rb +2 -2
  515. data/spec/models/mcc6012_spec.rb +2 -2
  516. data/spec/models/merchant_spec.rb +2 -2
  517. data/spec/models/method_spec.rb +2 -2
  518. data/spec/models/order_error_response_spec.rb +2 -2
  519. data/spec/models/order_response_spec.rb +2 -2
  520. data/spec/models/order_spec.rb +14 -2
  521. data/spec/models/pay_pal_payment_method_all_of_spec.rb +2 -2
  522. data/spec/models/pay_pal_payment_method_spec.rb +2 -2
  523. data/spec/models/pay_pal_spec.rb +2 -2
  524. data/spec/models/payment_brand_response_spec.rb +2 -2
  525. data/spec/models/payment_card_credit_transaction_all_of_spec.rb +47 -0
  526. data/spec/models/payment_card_credit_transaction_spec.rb +2 -2
  527. data/spec/models/payment_card_disbursement_transaction_all_of_spec.rb +2 -2
  528. data/spec/models/payment_card_disbursement_transaction_spec.rb +2 -2
  529. data/spec/models/payment_card_forced_ticket_transaction_all_of_spec.rb +2 -2
  530. data/spec/models/payment_card_forced_ticket_transaction_spec.rb +2 -2
  531. data/spec/models/payment_card_info_lookup_request_all_of_spec.rb +2 -2
  532. data/spec/models/payment_card_info_lookup_request_spec.rb +2 -2
  533. data/spec/models/payment_card_payer_auth_transaction_all_of_spec.rb +8 -2
  534. data/spec/models/payment_card_payer_auth_transaction_spec.rb +8 -2
  535. data/spec/models/payment_card_payment_method_all_of_spec.rb +2 -2
  536. data/spec/models/payment_card_payment_method_spec.rb +2 -2
  537. data/spec/models/payment_card_payment_token_update_request_spec.rb +2 -2
  538. data/spec/models/payment_card_payment_tokenization_request_all_of_spec.rb +2 -2
  539. data/spec/models/payment_card_payment_tokenization_request_spec.rb +2 -2
  540. data/spec/models/payment_card_pre_auth_transaction_all_of_spec.rb +2 -2
  541. data/spec/models/payment_card_pre_auth_transaction_spec.rb +2 -2
  542. data/spec/models/payment_card_sale_transaction_all_of_spec.rb +2 -2
  543. data/spec/models/payment_card_sale_transaction_spec.rb +2 -2
  544. data/spec/models/payment_card_spec.rb +2 -2
  545. data/spec/models/payment_card_verification_request_all_of_spec.rb +2 -2
  546. data/spec/models/payment_card_verification_request_spec.rb +2 -2
  547. data/spec/models/payment_device_credit_transaction_all_of_spec.rb +2 -2
  548. data/spec/models/payment_device_credit_transaction_spec.rb +2 -2
  549. data/spec/models/payment_device_disbursement_transaction_all_of_spec.rb +2 -2
  550. data/spec/models/payment_device_disbursement_transaction_spec.rb +2 -2
  551. data/spec/models/payment_device_payment_method_all_of_spec.rb +2 -2
  552. data/spec/models/payment_device_payment_method_spec.rb +2 -2
  553. data/spec/models/payment_device_payment_tokenization_request_all_of_spec.rb +2 -2
  554. data/spec/models/payment_device_payment_tokenization_request_spec.rb +2 -2
  555. data/spec/models/payment_device_pre_auth_transaction_all_of_spec.rb +2 -2
  556. data/spec/models/payment_device_pre_auth_transaction_spec.rb +2 -2
  557. data/spec/models/payment_device_sale_transaction_all_of_spec.rb +2 -2
  558. data/spec/models/payment_device_sale_transaction_spec.rb +2 -2
  559. data/spec/models/payment_device_spec.rb +2 -2
  560. data/spec/models/payment_facilitator_spec.rb +2 -2
  561. data/spec/models/payment_method_details_spec.rb +2 -2
  562. data/spec/models/payment_method_payment_schedules_request_all_of_spec.rb +2 -2
  563. data/spec/models/payment_method_payment_schedules_request_spec.rb +2 -2
  564. data/spec/models/payment_method_type_spec.rb +2 -2
  565. data/spec/models/payment_registration_spec.rb +2 -2
  566. data/spec/models/payment_schedules_error_response_spec.rb +2 -2
  567. data/spec/models/payment_schedules_request_spec.rb +2 -2
  568. data/spec/models/payment_schedules_response_spec.rb +2 -2
  569. data/spec/models/payment_spec.rb +2 -2
  570. data/spec/models/payment_step_request_spec.rb +2 -2
  571. data/spec/models/payment_step_response_spec.rb +2 -2
  572. data/spec/models/payment_token_credit_transaction_all_of_spec.rb +2 -2
  573. data/spec/models/payment_token_credit_transaction_spec.rb +2 -2
  574. data/spec/models/payment_token_details_all_of_spec.rb +2 -2
  575. data/spec/models/payment_token_details_spec.rb +2 -2
  576. data/spec/models/payment_token_disbursement_transaction_all_of_spec.rb +2 -2
  577. data/spec/models/payment_token_disbursement_transaction_spec.rb +2 -2
  578. data/spec/models/payment_token_info_lookup_request_all_of_spec.rb +2 -2
  579. data/spec/models/payment_token_info_lookup_request_spec.rb +2 -2
  580. data/spec/models/payment_token_payment_method_all_of_spec.rb +2 -2
  581. data/spec/models/payment_token_payment_method_spec.rb +2 -2
  582. data/spec/models/payment_token_pre_auth_transaction_all_of_spec.rb +2 -2
  583. data/spec/models/payment_token_pre_auth_transaction_spec.rb +2 -2
  584. data/spec/models/payment_token_sale_transaction_all_of_spec.rb +2 -2
  585. data/spec/models/payment_token_sale_transaction_spec.rb +2 -2
  586. data/spec/models/payment_token_update_response_spec.rb +2 -2
  587. data/spec/models/payment_token_verification_request_all_of_spec.rb +2 -2
  588. data/spec/models/payment_token_verification_request_spec.rb +2 -2
  589. data/spec/models/payment_tokenization_error_response_spec.rb +2 -2
  590. data/spec/models/payment_tokenization_request_spec.rb +2 -2
  591. data/spec/models/payment_tokenization_response_spec.rb +2 -2
  592. data/spec/models/payment_url_detail_response_spec.rb +2 -2
  593. data/spec/models/payment_url_detail_spec.rb +2 -2
  594. data/spec/models/payment_url_error_response_spec.rb +2 -2
  595. data/spec/models/payment_url_request_spec.rb +8 -2
  596. data/spec/models/payment_url_response_spec.rb +2 -2
  597. data/spec/models/payment_url_status_spec.rb +2 -2
  598. data/spec/models/paypal_credit_transaction_all_of_spec.rb +2 -2
  599. data/spec/models/paypal_credit_transaction_spec.rb +2 -2
  600. data/spec/models/phone_spec.rb +2 -2
  601. data/spec/models/post_auth_transaction_all_of_spec.rb +2 -2
  602. data/spec/models/post_auth_transaction_spec.rb +2 -2
  603. data/spec/models/pre_auth_secondary_transaction_all_of_spec.rb +2 -2
  604. data/spec/models/pre_auth_secondary_transaction_spec.rb +2 -2
  605. data/spec/models/primary_transaction_spec.rb +8 -2
  606. data/spec/models/processor_data_spec.rb +2 -2
  607. data/spec/models/provide_detail_payment_step_request_all_of_spec.rb +2 -2
  608. data/spec/models/provide_detail_payment_step_request_spec.rb +2 -2
  609. data/spec/models/provide_detail_payment_step_response_all_of_spec.rb +2 -2
  610. data/spec/models/provide_detail_payment_step_response_spec.rb +2 -2
  611. data/spec/models/purchase_cards_level2_spec.rb +8 -2
  612. data/spec/models/purchase_cards_level3_line_items_spec.rb +2 -2
  613. data/spec/models/purchase_cards_level3_spec.rb +2 -2
  614. data/spec/models/purchase_cards_spec.rb +2 -2
  615. data/spec/models/receipt_line_spec.rb +2 -2
  616. data/spec/models/receipt_request_info_spec.rb +2 -2
  617. data/spec/models/receipt_spec.rb +2 -2
  618. data/spec/models/receiver_info_spec.rb +2 -2
  619. data/spec/models/recurring_payment_details_response_spec.rb +2 -2
  620. data/spec/models/recurring_payment_details_spec.rb +2 -2
  621. data/spec/models/referenced_order_payment_schedules_request_all_of_spec.rb +2 -2
  622. data/spec/models/referenced_order_payment_schedules_request_spec.rb +2 -2
  623. data/spec/models/referenced_order_payment_tokenization_request_all_of_spec.rb +2 -2
  624. data/spec/models/referenced_order_payment_tokenization_request_spec.rb +2 -2
  625. data/spec/models/registration_method_spec.rb +2 -2
  626. data/spec/models/response_amount_components_all_of_spec.rb +2 -2
  627. data/spec/models/response_amount_components_spec.rb +2 -2
  628. data/spec/models/response_type_spec.rb +2 -2
  629. data/spec/models/return_transaction_all_of_spec.rb +2 -2
  630. data/spec/models/return_transaction_spec.rb +2 -2
  631. data/spec/models/revolving_options_spec.rb +2 -2
  632. data/spec/models/score_only_request_spec.rb +2 -2
  633. data/spec/models/score_only_response_fraud_score_explanations_spec.rb +2 -2
  634. data/spec/models/score_only_response_fraud_score_spec.rb +2 -2
  635. data/spec/models/score_only_response_spec.rb +2 -2
  636. data/spec/models/secondary_transaction_spec.rb +2 -2
  637. data/spec/models/secure3_d10_authentication_request_all_of_spec.rb +2 -2
  638. data/spec/models/secure3_d10_authentication_request_spec.rb +2 -2
  639. data/spec/models/secure3_d10_authentication_result_all_of_spec.rb +2 -2
  640. data/spec/models/secure3_d10_authentication_result_spec.rb +2 -2
  641. data/spec/models/secure3_d10_authentication_update_request_all_of_spec.rb +2 -2
  642. data/spec/models/secure3_d10_authentication_update_request_spec.rb +2 -2
  643. data/spec/models/secure3_d21_authentication_request_all_of_spec.rb +19 -3
  644. data/spec/models/secure3_d21_authentication_request_spec.rb +19 -3
  645. data/spec/models/secure3_d21_authentication_result_all_of_spec.rb +2 -2
  646. data/spec/models/secure3_d21_authentication_result_spec.rb +2 -2
  647. data/spec/models/secure3_d21_authentication_update_request_all_of_spec.rb +2 -2
  648. data/spec/models/secure3_d21_authentication_update_request_spec.rb +2 -2
  649. data/spec/models/secure3_d_authentication_request_all_of_spec.rb +19 -3
  650. data/spec/models/secure3_d_authentication_request_spec.rb +19 -3
  651. data/spec/models/secure3_d_authentication_response_params_spec.rb +2 -2
  652. data/spec/models/secure3_d_authentication_response_secure3d_method_spec.rb +2 -2
  653. data/spec/models/secure3_d_authentication_response_spec.rb +2 -2
  654. data/spec/models/secure3_d_authentication_result_all_of_spec.rb +12 -2
  655. data/spec/models/secure3_d_authentication_result_spec.rb +12 -2
  656. data/spec/models/secure3_d_authentication_update_request_spec.rb +2 -2
  657. data/spec/models/secure3d_response_spec.rb +2 -2
  658. data/spec/models/sender_info_spec.rb +2 -2
  659. data/spec/models/sepa_credit_payment_method_all_of_spec.rb +41 -0
  660. data/spec/models/{sepa_payment_method_all_of_spec.rb → sepa_credit_payment_method_spec.rb} +8 -8
  661. data/spec/models/sepa_credit_spec.rb +47 -0
  662. data/spec/models/sepa_credit_transaction_all_of_spec.rb +41 -0
  663. data/spec/models/sepa_credit_transaction_spec.rb +41 -0
  664. data/spec/models/sepa_mandate_spec.rb +2 -2
  665. data/spec/models/sepa_sale_payment_method_all_of_spec.rb +41 -0
  666. data/spec/models/{sepa_payment_method_spec.rb → sepa_sale_payment_method_spec.rb} +8 -8
  667. data/spec/models/{sepa_spec.rb → sepa_sale_spec.rb} +8 -8
  668. data/spec/models/sepa_sale_transaction_all_of_spec.rb +2 -2
  669. data/spec/models/sepa_sale_transaction_spec.rb +2 -2
  670. data/spec/models/ship_to_address_spec.rb +2 -2
  671. data/spec/models/shipping_spec.rb +2 -2
  672. data/spec/models/soft_descriptor_spec.rb +2 -2
  673. data/spec/models/split_shipment_spec.rb +2 -2
  674. data/spec/models/stand_in_details_spec.rb +79 -0
  675. data/spec/models/standin_response_details_spec.rb +71 -0
  676. data/spec/models/step_request_spec.rb +2 -2
  677. data/spec/models/step_response_spec.rb +2 -2
  678. data/spec/models/stored_credential_spec.rb +2 -2
  679. data/spec/models/sub_merchant_data_spec.rb +2 -2
  680. data/spec/models/sub_merchant_split_spec.rb +2 -2
  681. data/spec/models/tele_check_ach_payment_method_ach_bill_to_spec.rb +2 -2
  682. data/spec/models/tele_check_ach_payment_method_spec.rb +2 -2
  683. data/spec/models/tele_check_cbp_payment_method_spec.rb +2 -2
  684. data/spec/models/tele_check_ica_payment_method_all_of_spec.rb +2 -2
  685. data/spec/models/tele_check_ica_payment_method_spec.rb +2 -2
  686. data/spec/models/transaction_error_response_spec.rb +14 -2
  687. data/spec/models/transaction_origin_spec.rb +2 -2
  688. data/spec/models/transaction_response_spec.rb +14 -2
  689. data/spec/models/transaction_type_spec.rb +2 -2
  690. data/spec/models/union_pay_authentication_request_all_of_spec.rb +2 -2
  691. data/spec/models/union_pay_authentication_request_spec.rb +2 -2
  692. data/spec/models/union_pay_authentication_update_request_all_of_spec.rb +2 -2
  693. data/spec/models/union_pay_authentication_update_request_spec.rb +2 -2
  694. data/spec/models/update_payment_token_spec.rb +2 -2
  695. data/spec/models/use_payment_token_spec.rb +2 -2
  696. data/spec/models/verification3ds_spec.rb +2 -2
  697. data/spec/models/verification_avs_spec.rb +2 -2
  698. data/spec/models/verification_cvv_spec.rb +2 -2
  699. data/spec/models/void_pre_auth_transactions_spec.rb +2 -2
  700. data/spec/models/void_transaction_all_of_spec.rb +2 -2
  701. data/spec/models/void_transaction_spec.rb +2 -2
  702. data/spec/models/wallet_payment_method_spec.rb +2 -2
  703. data/spec/models/wallet_pre_auth_transaction_all_of_spec.rb +2 -2
  704. data/spec/models/wallet_pre_auth_transaction_spec.rb +2 -2
  705. data/spec/models/wallet_sale_transaction_all_of_spec.rb +2 -2
  706. data/spec/models/wallet_sale_transaction_spec.rb +2 -2
  707. data/spec/spec_helper.rb +2 -2
  708. metadata +51 -15
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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,16 @@ module OpenapiClient
30
30
 
31
31
  attr_accessor :revolving_options
32
32
 
33
+ attr_accessor :stand_in_details
34
+
33
35
  attr_accessor :soft_descriptor
34
36
 
35
37
  attr_accessor :additional_details
36
38
 
37
39
  attr_accessor :bancontact_qr
38
40
 
41
+ attr_accessor :client_locale
42
+
39
43
  # Attribute mapping from ruby-style variable name to JSON key.
40
44
  def self.attribute_map
41
45
  {
@@ -46,9 +50,11 @@ module OpenapiClient
46
50
  :'purchase_card' => :'purchaseCard',
47
51
  :'installment_options' => :'installmentOptions',
48
52
  :'revolving_options' => :'revolvingOptions',
53
+ :'stand_in_details' => :'standInDetails',
49
54
  :'soft_descriptor' => :'softDescriptor',
50
55
  :'additional_details' => :'additionalDetails',
51
- :'bancontact_qr' => :'bancontactQR'
56
+ :'bancontact_qr' => :'bancontactQR',
57
+ :'client_locale' => :'clientLocale'
52
58
  }
53
59
  end
54
60
 
@@ -62,9 +68,11 @@ module OpenapiClient
62
68
  :'purchase_card' => :'PurchaseCards',
63
69
  :'installment_options' => :'InstallmentOptions',
64
70
  :'revolving_options' => :'RevolvingOptions',
71
+ :'stand_in_details' => :'StandInDetails',
65
72
  :'soft_descriptor' => :'SoftDescriptor',
66
73
  :'additional_details' => :'AdditionalDetails',
67
- :'bancontact_qr' => :'BancontactQR'
74
+ :'bancontact_qr' => :'BancontactQR',
75
+ :'client_locale' => :'ClientLocale'
68
76
  }
69
77
  end
70
78
 
@@ -111,6 +119,10 @@ module OpenapiClient
111
119
  self.revolving_options = attributes[:'revolving_options']
112
120
  end
113
121
 
122
+ if attributes.key?(:'stand_in_details')
123
+ self.stand_in_details = attributes[:'stand_in_details']
124
+ end
125
+
114
126
  if attributes.key?(:'soft_descriptor')
115
127
  self.soft_descriptor = attributes[:'soft_descriptor']
116
128
  end
@@ -122,6 +134,10 @@ module OpenapiClient
122
134
  if attributes.key?(:'bancontact_qr')
123
135
  self.bancontact_qr = attributes[:'bancontact_qr']
124
136
  end
137
+
138
+ if attributes.key?(:'client_locale')
139
+ self.client_locale = attributes[:'client_locale']
140
+ end
125
141
  end
126
142
 
127
143
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -164,9 +180,11 @@ module OpenapiClient
164
180
  purchase_card == o.purchase_card &&
165
181
  installment_options == o.installment_options &&
166
182
  revolving_options == o.revolving_options &&
183
+ stand_in_details == o.stand_in_details &&
167
184
  soft_descriptor == o.soft_descriptor &&
168
185
  additional_details == o.additional_details &&
169
- bancontact_qr == o.bancontact_qr
186
+ bancontact_qr == o.bancontact_qr &&
187
+ client_locale == o.client_locale
170
188
  end
171
189
 
172
190
  # @see the `==` method
@@ -178,7 +196,7 @@ module OpenapiClient
178
196
  # Calculates hash code according to all attributes.
179
197
  # @return [Integer] Hash code
180
198
  def hash
181
- [order_id, billing, shipping, industry_specific_extensions, purchase_card, installment_options, revolving_options, soft_descriptor, additional_details, bancontact_qr].hash
199
+ [order_id, billing, shipping, industry_specific_extensions, purchase_card, installment_options, revolving_options, stand_in_details, soft_descriptor, additional_details, bancontact_qr, client_locale].hash
182
200
  end
183
201
 
184
202
  # Builds the object from hash
@@ -3,10 +3,10 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -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: 21.2.0.20210406.001
6
+ The version of the OpenAPI document: 21.3.0.20210608.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
 
@@ -38,7 +38,7 @@ module OpenapiClient
38
38
  # List of class defined in allOf (OpenAPI v3)
39
39
  def self.openapi_all_of
40
40
  [
41
- :'PaymentCardPayerAuthTransactionAllOf',
41
+ :'PaymentCardCreditTransactionAllOf',
42
42
  :'PrimaryTransaction'
43
43
  ]
44
44
  end
@@ -0,0 +1,219 @@
1
+ =begin
2
+ #Payment Gateway API Specification.
3
+
4
+ #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
+
6
+ The version of the OpenAPI document: 21.3.0.20210608.001
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.1.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module OpenapiClient
16
+ class PaymentCardCreditTransactionAllOf
17
+ attr_accessor :payment_method
18
+
19
+ attr_accessor :currency_conversion
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'payment_method' => :'paymentMethod',
25
+ :'currency_conversion' => :'currencyConversion'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.openapi_types
31
+ {
32
+ :'payment_method' => :'PaymentCardPaymentMethod',
33
+ :'currency_conversion' => :'CurrencyConversion'
34
+ }
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ if (!attributes.is_a?(Hash))
41
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::PaymentCardCreditTransactionAllOf` initialize method"
42
+ end
43
+
44
+ # check to see if the attribute exists and convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h|
46
+ if (!self.class.attribute_map.key?(k.to_sym))
47
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::PaymentCardCreditTransactionAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
48
+ end
49
+ h[k.to_sym] = v
50
+ }
51
+
52
+ if attributes.key?(:'payment_method')
53
+ self.payment_method = attributes[:'payment_method']
54
+ end
55
+
56
+ if attributes.key?(:'currency_conversion')
57
+ self.currency_conversion = attributes[:'currency_conversion']
58
+ end
59
+ end
60
+
61
+ # Show invalid properties with the reasons. Usually used together with valid?
62
+ # @return Array for valid properties with the reasons
63
+ def list_invalid_properties
64
+ invalid_properties = Array.new
65
+ if @payment_method.nil?
66
+ invalid_properties.push('invalid value for "payment_method", payment_method cannot be nil.')
67
+ end
68
+
69
+ invalid_properties
70
+ end
71
+
72
+ # Check to see if the all the properties in the model are valid
73
+ # @return true if the model is valid
74
+ def valid?
75
+ return false if @payment_method.nil?
76
+ true
77
+ end
78
+
79
+ # Checks equality by comparing each attribute.
80
+ # @param [Object] Object to be compared
81
+ def ==(o)
82
+ return true if self.equal?(o)
83
+ self.class == o.class &&
84
+ payment_method == o.payment_method &&
85
+ currency_conversion == o.currency_conversion
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Integer] Hash code
96
+ def hash
97
+ [payment_method, currency_conversion].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def self.build_from_hash(attributes)
104
+ new.build_from_hash(attributes)
105
+ end
106
+
107
+ # Builds the object from hash
108
+ # @param [Hash] attributes Model attributes in the form of hash
109
+ # @return [Object] Returns the model itself
110
+ def build_from_hash(attributes, attribute_map = self.class.attribute_map, openapi_types = self.class.openapi_types)
111
+ return nil unless attributes.is_a?(Hash)
112
+ openapi_types.each_pair do |key, type|
113
+ if type =~ /\AArray<(.*)>/i
114
+ # check to ensure the input is an array given that the attribute
115
+ # is documented as an array but the input is not
116
+ if attributes[attribute_map[key]].is_a?(Array)
117
+ self.send("#{key}=", attributes[attribute_map[key]].map { |v| _deserialize($1, v) })
118
+ end
119
+ elsif !attributes[attribute_map[key]].nil?
120
+ self.send("#{key}=", _deserialize(type, attributes[attribute_map[key]]))
121
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
122
+ end
123
+
124
+ self
125
+ end
126
+
127
+ # Deserializes the data based on type
128
+ # @param string type Data type
129
+ # @param string value Value to be deserialized
130
+ # @return [Object] Deserialized data
131
+ def _deserialize(type, value)
132
+ case type.to_sym
133
+ when :DateTime
134
+ DateTime.parse(value)
135
+ when :Date
136
+ Date.parse(value)
137
+ when :String
138
+ value.to_s
139
+ when :Integer
140
+ value.to_i
141
+ when :Float
142
+ value.to_f
143
+ when :Boolean
144
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
145
+ true
146
+ else
147
+ false
148
+ end
149
+ when :Object
150
+ # generic object (usually a Hash), return directly
151
+ value
152
+ when /\AArray<(?<inner_type>.+)>\z/
153
+ inner_type = Regexp.last_match[:inner_type]
154
+ value.map { |v| _deserialize(inner_type, v) }
155
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
156
+ k_type = Regexp.last_match[:k_type]
157
+ v_type = Regexp.last_match[:v_type]
158
+ {}.tap do |hash|
159
+ value.each do |k, v|
160
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
161
+ end
162
+ end
163
+ else # model
164
+ klass = OpenapiClient.const_get(type)
165
+ if klass.respond_to?(:openapi_discriminator_name)
166
+ klass = OpenapiClient.const_get(value[klass.attribute_map[klass.openapi_discriminator_name]])
167
+ end
168
+
169
+ klass.build_from_hash(value)
170
+ end
171
+ end
172
+
173
+ # Returns the string representation of the object
174
+ # @return [String] String presentation of the object
175
+ def to_s
176
+ to_hash.to_s
177
+ end
178
+
179
+ # to_body is an alias to to_hash (backward compatibility)
180
+ # @return [Hash] Returns the object in the form of hash
181
+ def to_body
182
+ to_hash
183
+ end
184
+
185
+ # Returns the object in the form of hash
186
+ # @return [Hash] Returns the object in the form of hash
187
+ def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
188
+ hash = {}
189
+ attribute_map.each_pair do |attr, param|
190
+ value = self.send(attr)
191
+ if value.nil?
192
+ is_nullable = openapi_nullable.include?(attr)
193
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
194
+ end
195
+
196
+ hash[param] = _to_hash(value)
197
+ end
198
+ hash
199
+ end
200
+
201
+ # Outputs non-array value in the form of hash
202
+ # For object, use to_hash. Otherwise, just return the value
203
+ # @param [Object] value Any valid value
204
+ # @return [Hash] Returns the value in the form of hash
205
+ def _to_hash(value)
206
+ if value.is_a?(Array)
207
+ value.compact.map { |v| _to_hash(v) }
208
+ elsif value.is_a?(Hash)
209
+ {}.tap do |hash|
210
+ value.each { |k, v| hash[k] = _to_hash(v) }
211
+ end
212
+ elsif value.respond_to? :to_hash
213
+ value.to_hash
214
+ else
215
+ value
216
+ end
217
+ end
218
+ end
219
+ end