first_data_gateway 1.7.1 → 1.8.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 (455) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +2 -2
  4. data/docs/AccountVerificationRequest.md +2 -0
  5. data/docs/AdditionalDetails.md +7 -1
  6. data/docs/AdditionalTransactionDetails.md +3 -1
  7. data/docs/ChinaDomestic.md +3 -1
  8. data/docs/CurrencyConversionResponse.md +19 -0
  9. data/docs/DecryptedApplePay.md +2 -6
  10. data/docs/DecryptedGooglePay.md +2 -6
  11. data/docs/DecryptedSamsungPay.md +2 -6
  12. data/docs/DisbursementTransactionType.md +1 -2
  13. data/docs/{ExchangeRateResponseAllOf.md → ExchangeRateDetails.md} +7 -11
  14. data/docs/ExchangeRateResponse.md +4 -20
  15. data/docs/FraudOrder.md +3 -1
  16. data/docs/FraudOrderItems.md +4 -4
  17. data/docs/FundingTransactionType.md +1 -2
  18. data/docs/PaymentCardSaleTransaction.md +1 -3
  19. data/docs/PaymentCardSaleTransactionAllOf.md +1 -3
  20. data/docs/PaymentTokenizationErrorResponse.md +4 -0
  21. data/docs/PaymentTokenizationRequest.md +2 -0
  22. data/docs/PaymentTokenizationResponse.md +5 -1
  23. data/docs/ProcessorData.md +3 -1
  24. data/docs/Receipt.md +19 -0
  25. data/docs/ReceiptRequestInfo.md +21 -0
  26. data/docs/ScoreOnlyResponse.md +3 -5
  27. data/docs/ScoreOnlyResponseFraudScore.md +3 -1
  28. data/docs/Secure3D10AuthenticationRequest.md +1 -2
  29. data/docs/Secure3D21AuthenticationRequest.md +2 -2
  30. data/docs/Secure3D21AuthenticationRequestAllOf.md +2 -2
  31. data/docs/SoftDescriptor.md +5 -1
  32. data/docs/TeleCheckCBPPaymentMethod.md +1 -2
  33. data/docs/TransactionErrorResponse.md +2 -0
  34. data/docs/TransactionResponse.md +3 -1
  35. data/docs/VoidPreAuthTransactions.md +1 -2
  36. data/docs/VoidTransaction.md +1 -2
  37. data/first_data_gateway.gemspec +4 -4
  38. data/lib/openapi_client.rb +11 -37
  39. data/lib/openapi_client/api/authentication_api.rb +4 -4
  40. data/lib/openapi_client/api/currency_conversion_api.rb +4 -4
  41. data/lib/openapi_client/api/fraud_detect_api.rb +8 -8
  42. data/lib/openapi_client/api/information_lookup_api.rb +6 -6
  43. data/lib/openapi_client/api/order_api.rb +6 -6
  44. data/lib/openapi_client/api/payment_api.rb +7 -7
  45. data/lib/openapi_client/api/payment_schedules_api.rb +2 -2
  46. data/lib/openapi_client/api/payment_token_api.rb +2 -2
  47. data/lib/openapi_client/api/payment_url_api.rb +2 -2
  48. data/lib/openapi_client/api/verification_api.rb +2 -2
  49. data/lib/openapi_client/api_client.rb +7 -9
  50. data/lib/openapi_client/api_error.rb +2 -2
  51. data/lib/openapi_client/configuration.rb +4 -4
  52. data/lib/openapi_client/models/access_token_request.rb +3 -9
  53. data/lib/openapi_client/models/access_token_response.rb +3 -9
  54. data/lib/openapi_client/models/account_info_lookup_request.rb +3 -9
  55. data/lib/openapi_client/models/account_updater_response.rb +3 -9
  56. data/lib/openapi_client/models/account_verification_request.rb +29 -10
  57. data/lib/openapi_client/models/ach_credit_transaction.rb +4 -10
  58. data/lib/openapi_client/models/ach_post_auth_transaction.rb +4 -10
  59. data/lib/openapi_client/models/ach_post_auth_transaction_all_of.rb +3 -9
  60. data/lib/openapi_client/models/ach_pre_auth_transaction.rb +4 -10
  61. data/lib/openapi_client/models/ach_pre_auth_transaction_all_of.rb +3 -9
  62. data/lib/openapi_client/models/ach_recurring_type.rb +2 -2
  63. data/lib/openapi_client/models/ach_response.rb +11 -17
  64. data/lib/openapi_client/models/ach_return_transaction.rb +4 -10
  65. data/lib/openapi_client/models/ach_sale_transaction.rb +4 -10
  66. data/lib/openapi_client/models/ach_void_transaction.rb +4 -10
  67. data/lib/openapi_client/models/acs_response.rb +3 -9
  68. data/lib/openapi_client/models/additional_amount_rate.rb +3 -9
  69. data/lib/openapi_client/models/additional_details.rb +88 -13
  70. data/lib/openapi_client/models/additional_transaction_details.rb +19 -13
  71. data/lib/openapi_client/models/address.rb +3 -9
  72. data/lib/openapi_client/models/airline.rb +3 -9
  73. data/lib/openapi_client/models/airline_ancillary_service_category.rb +3 -9
  74. data/lib/openapi_client/models/airline_travel_route.rb +3 -9
  75. data/lib/openapi_client/models/ali_pay.rb +3 -9
  76. data/lib/openapi_client/models/ali_pay_payment_method.rb +5 -10
  77. data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +3 -9
  78. data/lib/openapi_client/models/ali_pay_sale_transaction.rb +4 -10
  79. data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +3 -9
  80. data/lib/openapi_client/models/amount.rb +22 -9
  81. data/lib/openapi_client/models/amount_components.rb +3 -9
  82. data/lib/openapi_client/models/authentication_request.rb +3 -9
  83. data/lib/openapi_client/models/authentication_result.rb +3 -9
  84. data/lib/openapi_client/models/authentication_update_request.rb +3 -9
  85. data/lib/openapi_client/models/avs_response.rb +3 -9
  86. data/lib/openapi_client/models/background.rb +3 -9
  87. data/lib/openapi_client/models/background_color.rb +3 -9
  88. data/lib/openapi_client/models/bancontact_qr.rb +3 -9
  89. data/lib/openapi_client/models/basic_response.rb +3 -9
  90. data/lib/openapi_client/models/billing.rb +3 -9
  91. data/lib/openapi_client/models/billing_address.rb +3 -9
  92. data/lib/openapi_client/models/block_card.rb +3 -9
  93. data/lib/openapi_client/models/block_domain.rb +3 -9
  94. data/lib/openapi_client/models/block_ip_address.rb +3 -9
  95. data/lib/openapi_client/models/block_name.rb +3 -9
  96. data/lib/openapi_client/models/blocked_card_number.rb +3 -9
  97. data/lib/openapi_client/models/blocked_items.rb +3 -9
  98. data/lib/openapi_client/models/body.rb +3 -9
  99. data/lib/openapi_client/models/borders.rb +3 -9
  100. data/lib/openapi_client/models/branding_style_configuration_request.rb +3 -9
  101. data/lib/openapi_client/models/branding_style_configuration_response.rb +4 -11
  102. data/lib/openapi_client/models/branding_style_configuration_result.rb +3 -9
  103. data/lib/openapi_client/models/button.rb +3 -9
  104. data/lib/openapi_client/models/car_rental.rb +3 -9
  105. data/lib/openapi_client/models/car_rental_extra_charges.rb +3 -9
  106. data/lib/openapi_client/models/card.rb +3 -9
  107. data/lib/openapi_client/models/card_function.rb +2 -2
  108. data/lib/openapi_client/models/card_info.rb +3 -9
  109. data/lib/openapi_client/models/card_info_lookup_request.rb +3 -9
  110. data/lib/openapi_client/models/card_info_lookup_response.rb +4 -11
  111. data/lib/openapi_client/models/card_verification_request.rb +3 -9
  112. data/lib/openapi_client/models/china_domestic.rb +32 -13
  113. data/lib/openapi_client/models/china_domestic_payment_method.rb +5 -10
  114. data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +3 -9
  115. data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +4 -10
  116. data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +3 -9
  117. data/lib/openapi_client/models/classic_mode.rb +3 -9
  118. data/lib/openapi_client/models/clearing_details.rb +3 -9
  119. data/lib/openapi_client/models/clearing_element.rb +3 -9
  120. data/lib/openapi_client/models/client_locale.rb +3 -9
  121. data/lib/openapi_client/models/client_registration.rb +3 -10
  122. data/lib/openapi_client/models/combined_mode.rb +3 -9
  123. data/lib/openapi_client/models/connect_mode.rb +2 -2
  124. data/lib/openapi_client/models/contact.rb +3 -9
  125. data/lib/openapi_client/models/content.rb +3 -9
  126. data/lib/openapi_client/models/country_profile.rb +3 -9
  127. data/lib/openapi_client/models/create_payment_token.rb +3 -9
  128. data/lib/openapi_client/models/currency_conversion.rb +3 -9
  129. data/lib/openapi_client/models/{disbursement_transaction_type_all_of.rb → currency_conversion_response.rb} +24 -24
  130. data/lib/openapi_client/models/customer.rb +3 -9
  131. data/lib/openapi_client/models/customer_address.rb +3 -10
  132. data/lib/openapi_client/models/dcc.rb +4 -10
  133. data/lib/openapi_client/models/dcc_all_of.rb +3 -9
  134. data/lib/openapi_client/models/dcc_exchange_rate_request.rb +4 -10
  135. data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +3 -9
  136. data/lib/openapi_client/models/decrypted_apple_pay.rb +13 -88
  137. data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +4 -10
  138. data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +3 -9
  139. data/lib/openapi_client/models/decrypted_google_pay.rb +13 -88
  140. data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +4 -10
  141. data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +3 -9
  142. data/lib/openapi_client/models/decrypted_samsung_pay.rb +13 -88
  143. data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +4 -10
  144. data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +3 -9
  145. data/lib/openapi_client/models/delete_branding_style_configuration_response.rb +4 -11
  146. data/lib/openapi_client/models/device.rb +3 -9
  147. data/lib/openapi_client/models/disbursement.rb +3 -9
  148. data/lib/openapi_client/models/disbursement_transaction_type.rb +7 -28
  149. data/lib/openapi_client/models/document.rb +3 -9
  150. data/lib/openapi_client/models/dynamic_pricing.rb +4 -10
  151. data/lib/openapi_client/models/dynamic_pricing_all_of.rb +3 -9
  152. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +4 -10
  153. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +3 -9
  154. data/lib/openapi_client/models/email_notification_data.rb +3 -9
  155. data/lib/openapi_client/models/encrypted_apple_pay.rb +3 -9
  156. data/lib/openapi_client/models/encrypted_apple_pay_header.rb +3 -9
  157. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +4 -10
  158. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +3 -9
  159. data/lib/openapi_client/models/encrypted_google_pay.rb +3 -9
  160. data/lib/openapi_client/models/encrypted_google_pay_data.rb +3 -9
  161. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +4 -10
  162. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +3 -9
  163. data/lib/openapi_client/models/encrypted_samsung_pay.rb +3 -9
  164. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +4 -10
  165. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +3 -9
  166. data/lib/openapi_client/models/endpoint_response.rb +3 -9
  167. data/lib/openapi_client/models/error.rb +3 -9
  168. data/lib/openapi_client/models/error_details.rb +3 -9
  169. data/lib/openapi_client/models/error_message.rb +3 -9
  170. data/lib/openapi_client/models/error_response.rb +4 -11
  171. data/lib/openapi_client/models/{exchange_rate_response_all_of.rb → exchange_rate_details.rb} +11 -36
  172. data/lib/openapi_client/models/exchange_rate_request.rb +3 -9
  173. data/lib/openapi_client/models/exchange_rate_response.rb +12 -100
  174. data/lib/openapi_client/models/expiration.rb +5 -11
  175. data/lib/openapi_client/models/font_face.rb +2 -2
  176. data/lib/openapi_client/models/font_properties.rb +3 -9
  177. data/lib/openapi_client/models/font_weight.rb +2 -2
  178. data/lib/openapi_client/models/footer.rb +3 -9
  179. data/lib/openapi_client/models/fraud_address.rb +3 -9
  180. data/lib/openapi_client/models/fraud_order.rb +3 -9
  181. data/lib/openapi_client/models/fraud_order_items.rb +3 -9
  182. data/lib/openapi_client/models/fraud_registration.rb +3 -9
  183. data/lib/openapi_client/models/fraud_registration_card.rb +3 -9
  184. data/lib/openapi_client/models/fraud_registration_device.rb +3 -9
  185. data/lib/openapi_client/models/fraud_registration_device_items.rb +3 -9
  186. data/lib/openapi_client/models/fraud_registration_error.rb +3 -9
  187. data/lib/openapi_client/models/fraud_registration_response.rb +4 -10
  188. data/lib/openapi_client/models/fraud_score.rb +3 -9
  189. data/lib/openapi_client/models/fraud_settings.rb +3 -9
  190. data/lib/openapi_client/models/fraud_settings_response.rb +4 -11
  191. data/lib/openapi_client/models/frequency.rb +3 -9
  192. data/lib/openapi_client/models/funding_transaction_type.rb +7 -28
  193. data/lib/openapi_client/models/header.rb +3 -9
  194. data/lib/openapi_client/models/hover.rb +3 -9
  195. data/lib/openapi_client/models/id_info.rb +3 -9
  196. data/lib/openapi_client/models/industry_specific_extensions.rb +3 -9
  197. data/lib/openapi_client/models/initiate_clearing_response.rb +3 -9
  198. data/lib/openapi_client/models/initiate_clearing_response_all_of.rb +3 -9
  199. data/lib/openapi_client/models/installment_options.rb +3 -9
  200. data/lib/openapi_client/models/issuer_response.rb +3 -9
  201. data/lib/openapi_client/models/items.rb +3 -9
  202. data/lib/openapi_client/models/location.rb +3 -9
  203. data/lib/openapi_client/models/lockout_time.rb +3 -9
  204. data/lib/openapi_client/models/lodging.rb +3 -9
  205. data/lib/openapi_client/models/lodging_extra_charges.rb +3 -9
  206. data/lib/openapi_client/models/logo.rb +3 -9
  207. data/lib/openapi_client/models/loyalty.rb +3 -9
  208. data/lib/openapi_client/models/masterpass_wallet_payment_method.rb +4 -10
  209. data/lib/openapi_client/models/masterpass_wallet_payment_method_all_of.rb +3 -9
  210. data/lib/openapi_client/models/maximum_purchase_amount.rb +3 -9
  211. data/lib/openapi_client/models/mcc6012.rb +3 -9
  212. data/lib/openapi_client/models/merchant.rb +3 -9
  213. data/lib/openapi_client/models/method.rb +3 -9
  214. data/lib/openapi_client/models/mobile.rb +3 -9
  215. data/lib/openapi_client/models/mobile_header_area.rb +3 -9
  216. data/lib/openapi_client/models/order.rb +3 -9
  217. data/lib/openapi_client/models/order_error_response.rb +3 -10
  218. data/lib/openapi_client/models/order_response.rb +4 -11
  219. data/lib/openapi_client/models/pay_pal.rb +3 -9
  220. data/lib/openapi_client/models/pay_pal_payment_method.rb +5 -10
  221. data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +3 -9
  222. data/lib/openapi_client/models/payment.rb +3 -9
  223. data/lib/openapi_client/models/payment_card.rb +10 -16
  224. data/lib/openapi_client/models/payment_card_credit_transaction.rb +4 -10
  225. data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +4 -10
  226. data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +3 -9
  227. data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +4 -10
  228. data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +3 -9
  229. data/lib/openapi_client/models/payment_card_info_lookup_request.rb +4 -10
  230. data/lib/openapi_client/models/payment_card_info_lookup_request_all_of.rb +3 -9
  231. data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +4 -10
  232. data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +3 -9
  233. data/lib/openapi_client/models/payment_card_payment_method.rb +5 -10
  234. data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +3 -9
  235. data/lib/openapi_client/models/payment_card_payment_token_update_request.rb +3 -9
  236. data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +4 -10
  237. data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +3 -9
  238. data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +5 -10
  239. data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +3 -9
  240. data/lib/openapi_client/models/payment_card_sale_transaction.rb +7 -25
  241. data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +4 -24
  242. data/lib/openapi_client/models/payment_card_verification_request.rb +4 -10
  243. data/lib/openapi_client/models/payment_card_verification_request_all_of.rb +3 -9
  244. data/lib/openapi_client/models/payment_device.rb +3 -9
  245. data/lib/openapi_client/models/payment_device_credit_transaction.rb +4 -10
  246. data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +3 -9
  247. data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +4 -10
  248. data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +3 -9
  249. data/lib/openapi_client/models/payment_device_payment_method.rb +5 -10
  250. data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +3 -9
  251. data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +4 -10
  252. data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +3 -9
  253. data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +4 -10
  254. data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +3 -9
  255. data/lib/openapi_client/models/payment_device_sale_transaction.rb +4 -10
  256. data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +3 -9
  257. data/lib/openapi_client/models/payment_facilitator.rb +3 -9
  258. data/lib/openapi_client/models/payment_method_details.rb +3 -9
  259. data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +4 -10
  260. data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +3 -9
  261. data/lib/openapi_client/models/payment_method_type.rb +2 -2
  262. data/lib/openapi_client/models/payment_registration.rb +4 -11
  263. data/lib/openapi_client/models/payment_schedules_error_response.rb +3 -10
  264. data/lib/openapi_client/models/payment_schedules_request.rb +3 -9
  265. data/lib/openapi_client/models/payment_schedules_response.rb +4 -11
  266. data/lib/openapi_client/models/payment_token_credit_transaction.rb +4 -10
  267. data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +3 -9
  268. data/lib/openapi_client/models/payment_token_details.rb +3 -9
  269. data/lib/openapi_client/models/payment_token_details_all_of.rb +3 -9
  270. data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +4 -10
  271. data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +3 -9
  272. data/lib/openapi_client/models/payment_token_info_lookup_request.rb +4 -10
  273. data/lib/openapi_client/models/payment_token_info_lookup_request_all_of.rb +3 -9
  274. data/lib/openapi_client/models/payment_token_payment_method.rb +4 -9
  275. data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +3 -9
  276. data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +4 -10
  277. data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +3 -9
  278. data/lib/openapi_client/models/payment_token_sale_transaction.rb +4 -10
  279. data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +3 -9
  280. data/lib/openapi_client/models/payment_token_update_response.rb +4 -11
  281. data/lib/openapi_client/models/payment_token_verification_request.rb +4 -10
  282. data/lib/openapi_client/models/payment_token_verification_request_all_of.rb +3 -9
  283. data/lib/openapi_client/models/payment_tokenization_error_response.rb +54 -11
  284. data/lib/openapi_client/models/payment_tokenization_request.rb +29 -10
  285. data/lib/openapi_client/models/payment_tokenization_response.rb +58 -15
  286. data/lib/openapi_client/models/payment_url_detail.rb +3 -9
  287. data/lib/openapi_client/models/payment_url_detail_response.rb +4 -11
  288. data/lib/openapi_client/models/payment_url_error_response.rb +3 -10
  289. data/lib/openapi_client/models/payment_url_request.rb +3 -9
  290. data/lib/openapi_client/models/payment_url_response.rb +4 -11
  291. data/lib/openapi_client/models/payment_url_status.rb +2 -2
  292. data/lib/openapi_client/models/paypal_credit_transaction.rb +4 -10
  293. data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +3 -9
  294. data/lib/openapi_client/models/phone.rb +3 -9
  295. data/lib/openapi_client/models/post_auth_transaction.rb +4 -10
  296. data/lib/openapi_client/models/post_auth_transaction_all_of.rb +3 -9
  297. data/lib/openapi_client/models/primary.rb +3 -9
  298. data/lib/openapi_client/models/primary_transaction.rb +3 -9
  299. data/lib/openapi_client/models/processor_data.rb +17 -13
  300. data/lib/openapi_client/models/properties.rb +3 -9
  301. data/lib/openapi_client/models/purchase_cards.rb +3 -9
  302. data/lib/openapi_client/models/purchase_cards_level2.rb +3 -9
  303. data/lib/openapi_client/models/purchase_cards_level3.rb +3 -9
  304. data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +3 -9
  305. data/lib/openapi_client/models/{card_info_lookup_response_all_of.rb → receipt.rb} +42 -37
  306. data/lib/openapi_client/models/{payment_token_update_response_all_of.rb → receipt_request_info.rb} +44 -43
  307. data/lib/openapi_client/models/receiver_info.rb +3 -9
  308. data/lib/openapi_client/models/recurring_payment_details.rb +3 -9
  309. data/lib/openapi_client/models/recurring_payment_details_response.rb +4 -11
  310. data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +4 -10
  311. data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +3 -9
  312. data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +4 -10
  313. data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +3 -9
  314. data/lib/openapi_client/models/registration_method.rb +3 -9
  315. data/lib/openapi_client/models/remove_fraud_blocked_items_response.rb +4 -11
  316. data/lib/openapi_client/models/response_amount_components.rb +3 -9
  317. data/lib/openapi_client/models/response_amount_components_all_of.rb +3 -9
  318. data/lib/openapi_client/models/response_type.rb +2 -2
  319. data/lib/openapi_client/models/return_transaction.rb +4 -10
  320. data/lib/openapi_client/models/return_transaction_all_of.rb +3 -9
  321. data/lib/openapi_client/models/score_only_request.rb +3 -9
  322. data/lib/openapi_client/models/score_only_response.rb +3 -9
  323. data/lib/openapi_client/models/score_only_response_fraud_score.rb +3 -9
  324. data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +3 -9
  325. data/lib/openapi_client/models/secondary_transaction.rb +3 -9
  326. data/lib/openapi_client/models/secure3_d10_authentication_request.rb +7 -28
  327. data/lib/openapi_client/models/secure3_d10_authentication_result.rb +4 -10
  328. data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +3 -9
  329. data/lib/openapi_client/models/secure3_d10_authentication_update_request.rb +4 -10
  330. data/lib/openapi_client/models/secure3_d10_authentication_update_request_all_of.rb +3 -9
  331. data/lib/openapi_client/models/secure3_d21_authentication_request.rb +6 -12
  332. data/lib/openapi_client/models/secure3_d21_authentication_request_all_of.rb +5 -11
  333. data/lib/openapi_client/models/secure3_d21_authentication_result.rb +4 -10
  334. data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +3 -9
  335. data/lib/openapi_client/models/secure3_d21_authentication_update_request.rb +4 -10
  336. data/lib/openapi_client/models/secure3_d21_authentication_update_request_all_of.rb +3 -9
  337. data/lib/openapi_client/models/secure3_d_authentication_response.rb +3 -9
  338. data/lib/openapi_client/models/secure3_d_authentication_response_params.rb +3 -9
  339. data/lib/openapi_client/models/secure3_d_authentication_response_secure3d_method.rb +3 -9
  340. data/lib/openapi_client/models/secure3d_response.rb +3 -9
  341. data/lib/openapi_client/models/sender_info.rb +3 -9
  342. data/lib/openapi_client/models/sepa.rb +3 -9
  343. data/lib/openapi_client/models/sepa_mandate.rb +21 -27
  344. data/lib/openapi_client/models/sepa_payment_method.rb +4 -9
  345. data/lib/openapi_client/models/sepa_payment_method_all_of.rb +3 -9
  346. data/lib/openapi_client/models/sepa_sale_transaction.rb +4 -10
  347. data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +3 -9
  348. data/lib/openapi_client/models/shared_secret_configuration_request.rb +3 -9
  349. data/lib/openapi_client/models/shared_secret_configuration_response.rb +4 -11
  350. data/lib/openapi_client/models/ship_to_address.rb +3 -9
  351. data/lib/openapi_client/models/shipping.rb +3 -9
  352. data/lib/openapi_client/models/soft_descriptor.rb +52 -13
  353. data/lib/openapi_client/models/split_shipment.rb +3 -9
  354. data/lib/openapi_client/models/store_branding_style_configuration.rb +3 -9
  355. data/lib/openapi_client/models/store_email_settings.rb +3 -9
  356. data/lib/openapi_client/models/store_email_settings_result.rb +3 -9
  357. data/lib/openapi_client/models/store_fraud_settings.rb +3 -9
  358. data/lib/openapi_client/models/store_fraud_settings_result.rb +3 -9
  359. data/lib/openapi_client/models/store_url_configuration.rb +3 -9
  360. data/lib/openapi_client/models/store_url_configuration_request.rb +3 -9
  361. data/lib/openapi_client/models/store_url_configuration_response.rb +4 -11
  362. data/lib/openapi_client/models/store_url_configuration_result.rb +3 -9
  363. data/lib/openapi_client/models/stored_credential.rb +3 -9
  364. data/lib/openapi_client/models/sub_merchant_data.rb +3 -9
  365. data/lib/openapi_client/models/sub_merchant_split.rb +3 -9
  366. data/lib/openapi_client/models/tele_check_ach_payment_method.rb +3 -9
  367. data/lib/openapi_client/models/tele_check_ach_payment_method_ach_bill_to.rb +3 -9
  368. data/lib/openapi_client/models/tele_check_cbp_payment_method.rb +7 -28
  369. data/lib/openapi_client/models/tele_check_ica_payment_method.rb +4 -10
  370. data/lib/openapi_client/models/tele_check_ica_payment_method_all_of.rb +3 -9
  371. data/lib/openapi_client/models/text.rb +3 -9
  372. data/lib/openapi_client/models/title.rb +3 -9
  373. data/lib/openapi_client/models/token_identifier.rb +3 -9
  374. data/lib/openapi_client/models/top_bar.rb +3 -9
  375. data/lib/openapi_client/models/transaction_error_response.rb +13 -11
  376. data/lib/openapi_client/models/transaction_origin.rb +2 -2
  377. data/lib/openapi_client/models/transaction_response.rb +17 -15
  378. data/lib/openapi_client/models/transaction_type.rb +2 -2
  379. data/lib/openapi_client/models/union_pay_authentication_request.rb +4 -10
  380. data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +3 -9
  381. data/lib/openapi_client/models/union_pay_authentication_update_request.rb +4 -10
  382. data/lib/openapi_client/models/union_pay_authentication_update_request_all_of.rb +3 -9
  383. data/lib/openapi_client/models/update_email_settings_request.rb +3 -9
  384. data/lib/openapi_client/models/update_email_settings_response.rb +4 -11
  385. data/lib/openapi_client/models/update_fraud_settings_request.rb +3 -9
  386. data/lib/openapi_client/models/update_fraud_settings_response.rb +4 -11
  387. data/lib/openapi_client/models/update_payment_token.rb +3 -9
  388. data/lib/openapi_client/models/use_payment_token.rb +3 -9
  389. data/lib/openapi_client/models/verification3ds.rb +3 -9
  390. data/lib/openapi_client/models/verification_avs.rb +3 -9
  391. data/lib/openapi_client/models/verification_cvv.rb +3 -9
  392. data/lib/openapi_client/models/void_pre_auth_transactions.rb +7 -28
  393. data/lib/openapi_client/models/void_transaction.rb +7 -28
  394. data/lib/openapi_client/models/wallet_payment_method.rb +3 -9
  395. data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +4 -10
  396. data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +3 -9
  397. data/lib/openapi_client/models/wallet_sale_transaction.rb +4 -10
  398. data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +3 -9
  399. data/lib/openapi_client/version.rb +3 -3
  400. data/lib/simple/gateway.rb +5 -4
  401. metadata +16 -65
  402. data/docs/BrandingStyleConfigurationResponseAllOf.md +0 -17
  403. data/docs/CardInfoLookupApi.md +0 -70
  404. data/docs/CardInfoLookupResponseAllOf.md +0 -19
  405. data/docs/CardVerificationApi.md +0 -70
  406. data/docs/ClientRegistrationAllOf.md +0 -17
  407. data/docs/CustomerAddressAllOf.md +0 -17
  408. data/docs/DeleteBrandingStyleConfigurationResponseAllOf.md +0 -19
  409. data/docs/DisbursementTransactionTypeAllOf.md +0 -17
  410. data/docs/ErrorResponseAllOf.md +0 -17
  411. data/docs/FraudSettingsResponseAllOf.md +0 -31
  412. data/docs/FundingTransactionTypeAllOf.md +0 -17
  413. data/docs/OrderResponseAllOf.md +0 -25
  414. data/docs/PaymentRegistrationAllOf.md +0 -27
  415. data/docs/PaymentSchedulesResponseAllOf.md +0 -21
  416. data/docs/PaymentTokenUpdateResponseAllOf.md +0 -21
  417. data/docs/PaymentTokenizationResponseAllOf.md +0 -31
  418. data/docs/PaymentUrlDetailResponseAllOf.md +0 -17
  419. data/docs/PaymentUrlResponseAllOf.md +0 -23
  420. data/docs/RecurringPaymentDetailsResponseAllOf.md +0 -17
  421. data/docs/RemoveFraudBlockedItemsResponseAllOf.md +0 -17
  422. data/docs/Secure3D10AuthenticationRequestAllOf.md +0 -17
  423. data/docs/SharedSecretConfigurationResponseAllOf.md +0 -23
  424. data/docs/StoreUrlConfigurationResponseAllOf.md +0 -17
  425. data/docs/TeleCheckCBPPaymentMethodAllOf.md +0 -17
  426. data/docs/TransactionResponseAllOf.md +0 -59
  427. data/docs/UpdateEmailSettingsResponseAllOf.md +0 -17
  428. data/docs/UpdateFraudSettingsResponseAllOf.md +0 -17
  429. data/docs/VoidTransactionAllOf.md +0 -17
  430. data/first_data_gateway-1.7.0.gem +0 -0
  431. data/lib/openapi_client/api/card_info_lookup_api.rb +0 -125
  432. data/lib/openapi_client/api/card_verification_api.rb +0 -125
  433. data/lib/openapi_client/models/branding_style_configuration_response_all_of.rb +0 -213
  434. data/lib/openapi_client/models/client_registration_all_of.rb +0 -212
  435. data/lib/openapi_client/models/customer_address_all_of.rb +0 -211
  436. data/lib/openapi_client/models/delete_branding_style_configuration_response_all_of.rb +0 -222
  437. data/lib/openapi_client/models/error_response_all_of.rb +0 -211
  438. data/lib/openapi_client/models/fraud_settings_response_all_of.rb +0 -291
  439. data/lib/openapi_client/models/funding_transaction_type_all_of.rb +0 -216
  440. data/lib/openapi_client/models/order_response_all_of.rb +0 -251
  441. data/lib/openapi_client/models/payment_registration_all_of.rb +0 -257
  442. data/lib/openapi_client/models/payment_schedules_response_all_of.rb +0 -265
  443. data/lib/openapi_client/models/payment_tokenization_response_all_of.rb +0 -313
  444. data/lib/openapi_client/models/payment_url_detail_response_all_of.rb +0 -214
  445. data/lib/openapi_client/models/payment_url_response_all_of.rb +0 -276
  446. data/lib/openapi_client/models/recurring_payment_details_response_all_of.rb +0 -211
  447. data/lib/openapi_client/models/remove_fraud_blocked_items_response_all_of.rb +0 -212
  448. data/lib/openapi_client/models/secure3_d10_authentication_request_all_of.rb +0 -216
  449. data/lib/openapi_client/models/shared_secret_configuration_response_all_of.rb +0 -242
  450. data/lib/openapi_client/models/store_url_configuration_response_all_of.rb +0 -213
  451. data/lib/openapi_client/models/tele_check_cbp_payment_method_all_of.rb +0 -216
  452. data/lib/openapi_client/models/transaction_response_all_of.rb +0 -502
  453. data/lib/openapi_client/models/update_email_settings_response_all_of.rb +0 -213
  454. data/lib/openapi_client/models/update_fraud_settings_response_all_of.rb +0 -213
  455. data/lib/openapi_client/models/void_transaction_all_of.rb +0 -216
@@ -1,17 +0,0 @@
1
- # OpenapiClient::PaymentUrlDetailResponseAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **payment_url_details** | [**Array<PaymentUrlDetail>**](PaymentUrlDetail.md) | Array of payment URL details. | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'OpenapiClient'
13
-
14
- instance = OpenapiClient::PaymentUrlDetailResponseAllOf.new(payment_url_details: null)
15
- ```
16
-
17
-
@@ -1,23 +0,0 @@
1
- # OpenapiClient::PaymentUrlResponseAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **request_status** | **String** | Request status. If it is anything other than 'SUCCESS', please refer to 400s HTTP error codes or decline. See Error object for details. | [optional]
8
- **order_id** | **String** | Client order ID if supplied by client, otherwise the order ID. | [optional]
9
- **payment_url** | **String** | URL for embedded payment link. | [optional]
10
- **transaction_id** | **String** | ID code from the transaction. | [optional]
11
-
12
- ## Code Sample
13
-
14
- ```ruby
15
- require 'OpenapiClient'
16
-
17
- instance = OpenapiClient::PaymentUrlResponseAllOf.new(request_status: SUCCESS,
18
- order_id: 123456,
19
- payment_url: https://api.firstdata.com/connect/gateway/processing?storename=123456789&oid=R-96cdbaa4-c22e-4598-a2f1-c2b5fed79ef1&paymentUrlId=d3eb74fe-cf63-47e1-b89f-52ba0cc7965c,
20
- transaction_id: 123978432)
21
- ```
22
-
23
-
@@ -1,17 +0,0 @@
1
- # OpenapiClient::RecurringPaymentDetailsResponseAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **recurring_payment_details** | [**RecurringPaymentDetails**](RecurringPaymentDetails.md) | | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'OpenapiClient'
13
-
14
- instance = OpenapiClient::RecurringPaymentDetailsResponseAllOf.new(recurring_payment_details: null)
15
- ```
16
-
17
-
@@ -1,17 +0,0 @@
1
- # OpenapiClient::RemoveFraudBlockedItemsResponseAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **status** | **String** | Status from delete fraud blocked items operation. | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'OpenapiClient'
13
-
14
- instance = OpenapiClient::RemoveFraudBlockedItemsResponseAllOf.new(status: SUCCESS. Fraud settings was updated successfully.)
15
- ```
16
-
17
-
@@ -1,17 +0,0 @@
1
- # OpenapiClient::Secure3D10AuthenticationRequestAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **authentication_type** | **String** | | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'OpenapiClient'
13
-
14
- instance = OpenapiClient::Secure3D10AuthenticationRequestAllOf.new(authentication_type: null)
15
- ```
16
-
17
-
@@ -1,23 +0,0 @@
1
- # OpenapiClient::SharedSecretConfigurationResponseAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **store_id** | **String** | An optional outlet ID for clients that support multiple stores in the same developer app. | [optional]
8
- **shared_secret** | **String** | Shared secret/password for Connect. | [optional]
9
- **response_message** | **String** | The message/status received after updating shared secret service config. | [optional]
10
- **response_timestamp** | **Integer** | Response timestamp. | [optional]
11
-
12
- ## Code Sample
13
-
14
- ```ruby
15
- require 'OpenapiClient'
16
-
17
- instance = OpenapiClient::SharedSecretConfigurationResponseAllOf.new(store_id: 12345500000,
18
- shared_secret: 6768tr457r,
19
- response_message: SUCCESS,
20
- response_timestamp: 1561035070)
21
- ```
22
-
23
-
@@ -1,17 +0,0 @@
1
- # OpenapiClient::StoreUrlConfigurationResponseAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **stores** | [**Array<StoreUrlConfigurationResult>**](StoreUrlConfigurationResult.md) | | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'OpenapiClient'
13
-
14
- instance = OpenapiClient::StoreUrlConfigurationResponseAllOf.new(stores: [{"id":"12099500088","status":"SUCCESS. Connect url settings was changed successfully."},{"id":"12099500044","status":"SUCCESS. Connect url settings was changed successfully."}])
15
- ```
16
-
17
-
@@ -1,17 +0,0 @@
1
- # OpenapiClient::TeleCheckCBPPaymentMethodAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **ach_type** | **String** | | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'OpenapiClient'
13
-
14
- instance = OpenapiClient::TeleCheckCBPPaymentMethodAllOf.new(ach_type: null)
15
- ```
16
-
17
-
@@ -1,59 +0,0 @@
1
- # OpenapiClient::TransactionResponseAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **ipg_transaction_id** | **String** | The response transaction ID. | [optional]
8
- **order_id** | **String** | Client order ID if supplied by client, otherwise the order ID. | [optional]
9
- **transaction_type** | [**TransactionType**](TransactionType.md) | | [optional]
10
- **payment_token** | [**PaymentTokenDetails**](PaymentTokenDetails.md) | | [optional]
11
- **transaction_origin** | [**TransactionOrigin**](TransactionOrigin.md) | | [optional]
12
- **payment_method_details** | [**PaymentMethodDetails**](PaymentMethodDetails.md) | | [optional]
13
- **country** | **String** | Country of the card issuer. | [optional]
14
- **terminal_id** | **String** | The terminal that is processing the transaction. | [optional]
15
- **merchant_id** | **String** | The unique (on Acquirer level) mechant ID. Usually this value has been chosen from the merchant itself and will be used in communication with the endpoint. | [optional]
16
- **merchant_transaction_id** | **String** | The unique merchant transaction ID from the request header, if supplied. | [optional]
17
- **transaction_time** | **Integer** | The transaction time in seconds since epoch. | [optional]
18
- **approved_amount** | [**Amount**](Amount.md) | | [optional]
19
- **transaction_status** | **String** | Represents the status of a transaction immediately following the original processing request. This value is not stored for the transaction and is only available in the response when the transaction is processed. TransactionStatus is not returned on either the transaction inquiry or on the order inquiry. | [optional]
20
- **transaction_state** | **String** | Shows the state of the current transaction. | [optional]
21
- **secure3d_response** | [**Secure3dResponse**](Secure3dResponse.md) | | [optional]
22
- **redirect_url** | **String** | The endpoint redirection URL. | [optional]
23
- **authentication_response** | [**Secure3DAuthenticationResponse**](Secure3DAuthenticationResponse.md) | | [optional]
24
- **scheme_transaction_id** | **String** | The transaction ID received from schemes for the initial transaction of card on file flows. | [optional]
25
- **processor** | [**ProcessorData**](ProcessorData.md) | | [optional]
26
- **additional_details** | [**AdditionalTransactionDetails**](AdditionalTransactionDetails.md) | | [optional]
27
- **account_updater_response** | [**AccountUpdaterResponse**](AccountUpdaterResponse.md) | | [optional]
28
- **ach_response** | [**AchResponse**](AchResponse.md) | | [optional]
29
-
30
- ## Code Sample
31
-
32
- ```ruby
33
- require 'OpenapiClient'
34
-
35
- instance = OpenapiClient::TransactionResponseAllOf.new(ipg_transaction_id: 838916029301,
36
- order_id: 123456,
37
- transaction_type: null,
38
- payment_token: null,
39
- transaction_origin: null,
40
- payment_method_details: null,
41
- country: USA,
42
- terminal_id: 123456,
43
- merchant_id: 199950008,
44
- merchant_transaction_id: lsk23532djljff3,
45
- transaction_time: 1518811817,
46
- approved_amount: null,
47
- transaction_status: APPROVED,
48
- transaction_state: AUTHORIZED,
49
- secure3d_response: null,
50
- redirect_url: http://pay.issuer-bank.com/sessionID=123&sharedKey=456,
51
- authentication_response: null,
52
- scheme_transaction_id: 019078743804756,
53
- processor: null,
54
- additional_details: null,
55
- account_updater_response: null,
56
- ach_response: null)
57
- ```
58
-
59
-
@@ -1,17 +0,0 @@
1
- # OpenapiClient::UpdateEmailSettingsResponseAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **stores** | [**Array<StoreEmailSettingsResult>**](StoreEmailSettingsResult.md) | | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'OpenapiClient'
13
-
14
- instance = OpenapiClient::UpdateEmailSettingsResponseAllOf.new(stores: [{"id":"12345500000","status":"SUCCESS. Email settings was updated successfully."},{"id":"1234550000044","status":"SUCCESS. Email settings was updated successfully."}])
15
- ```
16
-
17
-
@@ -1,17 +0,0 @@
1
- # OpenapiClient::UpdateFraudSettingsResponseAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **stores** | [**Array<StoreFraudSettingsResult>**](StoreFraudSettingsResult.md) | | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'OpenapiClient'
13
-
14
- instance = OpenapiClient::UpdateFraudSettingsResponseAllOf.new(stores: [{"id":"12345500000","blockedCardIdentifier":{"tokenIdentifier":"570e66b0d4fd91b27155a36911220e0e98d0db7e22fcf0b86544fdf175c707d0"},"status":"SUCCESS. Fraud settings was updated successfully."},{"id":"1234550000044","blockedCardIdentifier":{"tokenIdentifier":"8535993dsrfs9898fssdfgddse9898fv9dfu8f98d0db7e22fcf0b86544fdf178"},"status":"SUCCESS. Fraud settings was updated successfully."}])
15
- ```
16
-
17
-
@@ -1,17 +0,0 @@
1
- # OpenapiClient::VoidTransactionAllOf
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **request_type** | **String** | | [optional]
8
-
9
- ## Code Sample
10
-
11
- ```ruby
12
- require 'OpenapiClient'
13
-
14
- instance = OpenapiClient::VoidTransactionAllOf.new(request_type: null)
15
- ```
16
-
17
-
Binary file
@@ -1,125 +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: 6.10.1.20200226.002
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: unset
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module OpenapiClient
16
- class CardInfoLookupApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Card information lookup.
23
- # Use this to look up card related information such as issuer country, card function and card brand.
24
- # @param content_type [String] Content type.
25
- # @param client_request_id [String] A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.
26
- # @param api_key [String] Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
27
- # @param timestamp [Integer] Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
28
- # @param card_info_lookup_request [CardInfoLookupRequest] Accepted request type: CardInfoLookupRequest.
29
- # @param [Hash] opts the optional parameters
30
- # @option opts [String] :message_signature Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.
31
- # @option opts [String] :region Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
32
- # @return [CardInfoLookupResponse]
33
- def card_info_lookup(content_type, client_request_id, api_key, timestamp, card_info_lookup_request, opts = {})
34
- data, _status_code, _headers = card_info_lookup_with_http_info(content_type, client_request_id, api_key, timestamp, card_info_lookup_request, opts)
35
- data
36
- end
37
-
38
- # Card information lookup.
39
- # Use this to look up card related information such as issuer country, card function and card brand.
40
- # @param content_type [String] Content type.
41
- # @param client_request_id [String] A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.
42
- # @param api_key [String] Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
43
- # @param timestamp [Integer] Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
44
- # @param card_info_lookup_request [CardInfoLookupRequest] Accepted request type: CardInfoLookupRequest.
45
- # @param [Hash] opts the optional parameters
46
- # @option opts [String] :message_signature Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.
47
- # @option opts [String] :region Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
48
- # @return [Array<(CardInfoLookupResponse, Integer, Hash)>] CardInfoLookupResponse data, response status code and response headers
49
- def card_info_lookup_with_http_info(content_type, client_request_id, api_key, timestamp, card_info_lookup_request, opts = {})
50
- if @api_client.config.debugging
51
- @api_client.config.logger.debug 'Calling API: CardInfoLookupApi.card_info_lookup ...'
52
- end
53
- # verify the required parameter 'content_type' is set
54
- if @api_client.config.client_side_validation && content_type.nil?
55
- fail ArgumentError, "Missing the required parameter 'content_type' when calling CardInfoLookupApi.card_info_lookup"
56
- end
57
- # verify enum value
58
- allowable_values = ["application/json"]
59
- if @api_client.config.client_side_validation && !allowable_values.include?(content_type)
60
- fail ArgumentError, "invalid value for \"content_type\", must be one of #{allowable_values}"
61
- end
62
- # verify the required parameter 'client_request_id' is set
63
- if @api_client.config.client_side_validation && client_request_id.nil?
64
- fail ArgumentError, "Missing the required parameter 'client_request_id' when calling CardInfoLookupApi.card_info_lookup"
65
- end
66
- # verify the required parameter 'api_key' is set
67
- if @api_client.config.client_side_validation && api_key.nil?
68
- fail ArgumentError, "Missing the required parameter 'api_key' when calling CardInfoLookupApi.card_info_lookup"
69
- end
70
- # verify the required parameter 'timestamp' is set
71
- if @api_client.config.client_side_validation && timestamp.nil?
72
- fail ArgumentError, "Missing the required parameter 'timestamp' when calling CardInfoLookupApi.card_info_lookup"
73
- end
74
- # verify the required parameter 'card_info_lookup_request' is set
75
- if @api_client.config.client_side_validation && card_info_lookup_request.nil?
76
- fail ArgumentError, "Missing the required parameter 'card_info_lookup_request' when calling CardInfoLookupApi.card_info_lookup"
77
- end
78
- # resource path
79
- local_var_path = '/card-information'
80
-
81
- # query parameters
82
- query_params = opts[:query_params] || {}
83
-
84
- # header parameters
85
- header_params = opts[:header_params] || {}
86
- # HTTP header 'Accept' (if needed)
87
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
88
- # HTTP header 'Content-Type'
89
- # header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
90
- # header_params[:'Content-Type'] = content_type
91
- header_params[:'Client-Request-Id'] = client_request_id
92
- header_params[:'Api-Key'] = api_key
93
- header_params[:'Timestamp'] = timestamp
94
- header_params[:'Message-Signature'] = opts[:'message_signature'] if !opts[:'message_signature'].nil?
95
- header_params[:'Region'] = opts[:'region'] if !opts[:'region'].nil?
96
-
97
- # form parameters
98
- form_params = opts[:form_params] || {}
99
-
100
- # http body (model)
101
- post_body = opts[:body] || @api_client.object_to_http_body(card_info_lookup_request)
102
-
103
- # return_type
104
- return_type = opts[:return_type] || 'CardInfoLookupResponse'
105
-
106
- # auth_names
107
- auth_names = opts[:auth_names] || []
108
-
109
- new_options = opts.merge(
110
- :header_params => header_params,
111
- :query_params => query_params,
112
- :form_params => form_params,
113
- :body => post_body,
114
- :auth_names => auth_names,
115
- :return_type => 'CardInfoLookupResponse',
116
- :default_error_type => 'ErrorResponse')
117
-
118
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
119
- if @api_client.config.debugging
120
- @api_client.config.logger.debug "API called: CardInfoLookupApi#card_info_lookup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
121
- end
122
- return data, status_code, headers
123
- end
124
- end
125
- end
@@ -1,125 +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: 6.10.1.20200226.002
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: unset
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module OpenapiClient
16
- class CardVerificationApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # Verify a payment card.
23
- # Use this to perform card verification for a payment card.
24
- # @param content_type [String] Content type.
25
- # @param client_request_id [String] A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.
26
- # @param api_key [String] Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
27
- # @param timestamp [Integer] Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
28
- # @param card_verification_request [CardVerificationRequest] Accepted request type: CardVerificationRequest.
29
- # @param [Hash] opts the optional parameters
30
- # @option opts [String] :message_signature Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.
31
- # @option opts [String] :region Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
32
- # @return [TransactionResponse]
33
- def verify_card(content_type, client_request_id, api_key, timestamp, card_verification_request, opts = {})
34
- data, _status_code, _headers = verify_card_with_http_info(content_type, client_request_id, api_key, timestamp, card_verification_request, opts)
35
- data
36
- end
37
-
38
- # Verify a payment card.
39
- # Use this to perform card verification for a payment card.
40
- # @param content_type [String] Content type.
41
- # @param client_request_id [String] A client-generated ID for request tracking and signature creation, unique per request. This is also used for idempotency control. We recommend 128-bit UUID format.
42
- # @param api_key [String] Key given to merchant after boarding associating their requests with the appropriate app in Apigee.
43
- # @param timestamp [Integer] Epoch timestamp in milliseconds in the request from a client system. Used for Message Signature generation and time limit (5 mins).
44
- # @param card_verification_request [CardVerificationRequest] Accepted request type: CardVerificationRequest.
45
- # @param [Hash] opts the optional parameters
46
- # @option opts [String] :message_signature Used to ensure the request has not been tampered with during transmission. The Message-Signature is the Base64 encoded HMAC hash (SHA256 algorithm with the API Secret as the key.) For more information, refer to the supporting documentation on the Developer Portal.
47
- # @option opts [String] :region Indicates the region where the client wants the transaction to be processed. This will override the default processing region identified for the client. Available options are argentina, brazil, germany, india and northamerica. Region specific store setup and APIGEE boarding is required in order to use an alternate region for processing.
48
- # @return [Array<(TransactionResponse, Integer, Hash)>] TransactionResponse data, response status code and response headers
49
- def verify_card_with_http_info(content_type, client_request_id, api_key, timestamp, card_verification_request, opts = {})
50
- if @api_client.config.debugging
51
- @api_client.config.logger.debug 'Calling API: CardVerificationApi.verify_card ...'
52
- end
53
- # verify the required parameter 'content_type' is set
54
- if @api_client.config.client_side_validation && content_type.nil?
55
- fail ArgumentError, "Missing the required parameter 'content_type' when calling CardVerificationApi.verify_card"
56
- end
57
- # verify enum value
58
- allowable_values = ["application/json"]
59
- if @api_client.config.client_side_validation && !allowable_values.include?(content_type)
60
- fail ArgumentError, "invalid value for \"content_type\", must be one of #{allowable_values}"
61
- end
62
- # verify the required parameter 'client_request_id' is set
63
- if @api_client.config.client_side_validation && client_request_id.nil?
64
- fail ArgumentError, "Missing the required parameter 'client_request_id' when calling CardVerificationApi.verify_card"
65
- end
66
- # verify the required parameter 'api_key' is set
67
- if @api_client.config.client_side_validation && api_key.nil?
68
- fail ArgumentError, "Missing the required parameter 'api_key' when calling CardVerificationApi.verify_card"
69
- end
70
- # verify the required parameter 'timestamp' is set
71
- if @api_client.config.client_side_validation && timestamp.nil?
72
- fail ArgumentError, "Missing the required parameter 'timestamp' when calling CardVerificationApi.verify_card"
73
- end
74
- # verify the required parameter 'card_verification_request' is set
75
- if @api_client.config.client_side_validation && card_verification_request.nil?
76
- fail ArgumentError, "Missing the required parameter 'card_verification_request' when calling CardVerificationApi.verify_card"
77
- end
78
- # resource path
79
- local_var_path = '/card-verification'
80
-
81
- # query parameters
82
- query_params = opts[:query_params] || {}
83
-
84
- # header parameters
85
- header_params = opts[:header_params] || {}
86
- # HTTP header 'Accept' (if needed)
87
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
88
- # HTTP header 'Content-Type'
89
- # header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
90
- # header_params[:'Content-Type'] = content_type
91
- header_params[:'Client-Request-Id'] = client_request_id
92
- header_params[:'Api-Key'] = api_key
93
- header_params[:'Timestamp'] = timestamp
94
- header_params[:'Message-Signature'] = opts[:'message_signature'] if !opts[:'message_signature'].nil?
95
- header_params[:'Region'] = opts[:'region'] if !opts[:'region'].nil?
96
-
97
- # form parameters
98
- form_params = opts[:form_params] || {}
99
-
100
- # http body (model)
101
- post_body = opts[:body] || @api_client.object_to_http_body(card_verification_request)
102
-
103
- # return_type
104
- return_type = opts[:return_type] || 'TransactionResponse'
105
-
106
- # auth_names
107
- auth_names = opts[:auth_names] || []
108
-
109
- new_options = opts.merge(
110
- :header_params => header_params,
111
- :query_params => query_params,
112
- :form_params => form_params,
113
- :body => post_body,
114
- :auth_names => auth_names,
115
- :return_type => 'TransactionResponse',
116
- :default_error_type => 'ErrorResponse')
117
-
118
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
119
- if @api_client.config.debugging
120
- @api_client.config.logger.debug "API called: CardVerificationApi#verify_card\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
121
- end
122
- return data, status_code, headers
123
- end
124
- end
125
- end