first_data_gateway 1.10.0 → 1.11.0

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