first_data_gateway 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -2
  3. data/lib/openapi_client.rb +41 -13
  4. data/lib/openapi_client/api/authentication_api.rb +2 -2
  5. data/lib/openapi_client/api/card_info_lookup_api.rb +2 -2
  6. data/lib/openapi_client/api/card_verification_api.rb +2 -2
  7. data/lib/openapi_client/api/currency_conversion_api.rb +2 -2
  8. data/lib/openapi_client/api/fraud_detect_api.rb +214 -4
  9. data/lib/openapi_client/api/order_api.rb +4 -4
  10. data/lib/openapi_client/api/payment_api.rb +9 -9
  11. data/lib/openapi_client/api/payment_schedules_api.rb +5 -5
  12. data/lib/openapi_client/api/payment_token_api.rb +7 -6
  13. data/lib/openapi_client/api/payment_url_api.rb +233 -2
  14. data/lib/openapi_client/api_client.rb +31 -31
  15. data/lib/openapi_client/api_error.rb +1 -1
  16. data/lib/openapi_client/configuration.rb +2 -5
  17. data/lib/openapi_client/models/access_token_response.rb +1 -1
  18. data/lib/openapi_client/models/account_updater_response.rb +1 -1
  19. data/lib/openapi_client/models/additional_amount_rate.rb +1 -1
  20. data/lib/openapi_client/models/additional_details.rb +1 -1
  21. data/lib/openapi_client/models/additional_transaction_details.rb +3 -3
  22. data/lib/openapi_client/models/address.rb +1 -1
  23. data/lib/openapi_client/models/airline.rb +1 -1
  24. data/lib/openapi_client/models/airline_ancillary_service_category.rb +1 -1
  25. data/lib/openapi_client/models/airline_travel_route.rb +1 -1
  26. data/lib/openapi_client/models/ali_pay.rb +1 -1
  27. data/lib/openapi_client/models/ali_pay_payment_method.rb +1 -1
  28. data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +1 -1
  29. data/lib/openapi_client/models/ali_pay_sale_transaction.rb +1 -1
  30. data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +1 -1
  31. data/lib/openapi_client/models/amount.rb +1 -1
  32. data/lib/openapi_client/models/amount_components.rb +1 -1
  33. data/lib/openapi_client/models/authentication.rb +1 -1
  34. data/lib/openapi_client/models/authentication_redirect.rb +1 -1
  35. data/lib/openapi_client/models/authentication_redirect_params.rb +1 -1
  36. data/lib/openapi_client/models/authentication_verification_request.rb +1 -1
  37. data/lib/openapi_client/models/avs_response.rb +1 -1
  38. data/lib/openapi_client/models/basic_response.rb +1 -1
  39. data/lib/openapi_client/models/billing.rb +1 -1
  40. data/lib/openapi_client/models/billing_address.rb +2 -2
  41. data/lib/openapi_client/models/car_rental.rb +1 -1
  42. data/lib/openapi_client/models/car_rental_extra_charges.rb +1 -1
  43. data/lib/openapi_client/models/card.rb +1 -1
  44. data/lib/openapi_client/models/card_function.rb +1 -1
  45. data/lib/openapi_client/models/card_info.rb +1 -1
  46. data/lib/openapi_client/models/card_info_lookup_request.rb +1 -1
  47. data/lib/openapi_client/models/card_info_lookup_response.rb +1 -1
  48. data/lib/openapi_client/models/card_verification_request.rb +1 -1
  49. data/lib/openapi_client/models/china_domestic.rb +1 -1
  50. data/lib/openapi_client/models/china_domestic_payment_method.rb +1 -1
  51. data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +1 -1
  52. data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +1 -1
  53. data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +1 -1
  54. data/lib/openapi_client/models/client_locale.rb +1 -1
  55. data/lib/openapi_client/models/client_registration.rb +281 -0
  56. data/lib/openapi_client/models/contact.rb +1 -1
  57. data/lib/openapi_client/models/create_payment_token.rb +1 -1
  58. data/lib/openapi_client/models/currency_conversion.rb +1 -1
  59. data/lib/openapi_client/models/customer.rb +1 -1
  60. data/lib/openapi_client/models/customer_address.rb +21 -14
  61. data/lib/openapi_client/models/dcc.rb +1 -1
  62. data/lib/openapi_client/models/dcc_all_of.rb +1 -1
  63. data/lib/openapi_client/models/dcc_exchange_rate_request.rb +1 -1
  64. data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +1 -1
  65. data/lib/openapi_client/models/device.rb +2 -2
  66. data/lib/openapi_client/models/disbursement.rb +1 -1
  67. data/lib/openapi_client/models/disbursement_transaction_type.rb +1 -1
  68. data/lib/openapi_client/models/document.rb +1 -1
  69. data/lib/openapi_client/models/dynamic_pricing.rb +13 -4
  70. data/lib/openapi_client/models/dynamic_pricing_all_of.rb +13 -4
  71. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +1 -1
  72. data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +1 -1
  73. data/lib/openapi_client/models/encrypted_apple_pay.rb +1 -1
  74. data/lib/openapi_client/models/encrypted_apple_pay_header.rb +1 -1
  75. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +1 -1
  76. data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +1 -1
  77. data/lib/openapi_client/models/encrypted_google_pay.rb +1 -1
  78. data/lib/openapi_client/models/encrypted_google_pay_data.rb +1 -1
  79. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +1 -1
  80. data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +1 -1
  81. data/lib/openapi_client/models/encrypted_samsung_pay.rb +251 -0
  82. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +225 -0
  83. data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +201 -0
  84. data/lib/openapi_client/models/error.rb +1 -1
  85. data/lib/openapi_client/models/error_details.rb +1 -1
  86. data/lib/openapi_client/models/error_message.rb +208 -0
  87. data/lib/openapi_client/models/error_response.rb +1 -1
  88. data/lib/openapi_client/models/exchange_rate_request.rb +1 -1
  89. data/lib/openapi_client/models/exchange_rate_response.rb +1 -1
  90. data/lib/openapi_client/models/expiration.rb +1 -1
  91. data/lib/openapi_client/models/{merchant_location_merchant_address.rb → fraud_address.rb} +9 -9
  92. data/lib/openapi_client/models/fraud_order.rb +2 -2
  93. data/lib/openapi_client/models/fraud_order_items.rb +1 -1
  94. data/lib/openapi_client/models/fraud_registration.rb +259 -0
  95. data/lib/openapi_client/models/fraud_registration_card.rb +248 -0
  96. data/lib/openapi_client/models/fraud_registration_device.rb +375 -0
  97. data/lib/openapi_client/models/fraud_registration_device_items.rb +287 -0
  98. data/lib/openapi_client/models/{billing_address_phone.rb → fraud_registration_error.rb} +14 -23
  99. data/lib/openapi_client/models/fraud_registration_response.rb +279 -0
  100. data/lib/openapi_client/models/fraud_score.rb +232 -0
  101. data/lib/openapi_client/models/frequency.rb +1 -1
  102. data/lib/openapi_client/models/funding_transaction_type.rb +1 -1
  103. data/lib/openapi_client/models/industry_specific_extensions.rb +1 -1
  104. data/lib/openapi_client/models/installment_options.rb +1 -1
  105. data/lib/openapi_client/models/{payment_issuer_response.rb → issuer_response.rb} +4 -4
  106. data/lib/openapi_client/models/{device_networks.rb → items.rb} +4 -4
  107. data/lib/openapi_client/models/{merchant_location.rb → location.rb} +5 -5
  108. data/lib/openapi_client/models/lodging.rb +1 -1
  109. data/lib/openapi_client/models/lodging_extra_charges.rb +1 -1
  110. data/lib/openapi_client/models/loyalty.rb +1 -1
  111. data/lib/openapi_client/models/merchant.rb +2 -2
  112. data/lib/openapi_client/models/{payment_pay_method.rb → method.rb} +4 -4
  113. data/lib/openapi_client/models/order.rb +1 -1
  114. data/lib/openapi_client/models/order_error_response.rb +9 -28
  115. data/lib/openapi_client/models/order_response.rb +9 -28
  116. data/lib/openapi_client/models/pay_pal.rb +1 -1
  117. data/lib/openapi_client/models/pay_pal_payment_method.rb +1 -1
  118. data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +1 -1
  119. data/lib/openapi_client/models/payment.rb +10 -10
  120. data/lib/openapi_client/models/payment_card.rb +1 -1
  121. data/lib/openapi_client/models/payment_card_credit_transaction.rb +1 -1
  122. data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +1 -1
  123. data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +1 -1
  124. data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +1 -1
  125. data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +1 -1
  126. data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +1 -1
  127. data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +1 -1
  128. data/lib/openapi_client/models/payment_card_payment_method.rb +1 -1
  129. data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +1 -1
  130. data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +1 -1
  131. data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +1 -1
  132. data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +1 -1
  133. data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +1 -1
  134. data/lib/openapi_client/models/payment_card_sale_transaction.rb +1 -1
  135. data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +1 -1
  136. data/lib/openapi_client/models/payment_device.rb +336 -0
  137. data/lib/openapi_client/models/payment_device_credit_transaction.rb +307 -0
  138. data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +201 -0
  139. data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +321 -0
  140. data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +215 -0
  141. data/lib/openapi_client/models/payment_device_payment_method.rb +219 -0
  142. data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +210 -0
  143. data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +285 -0
  144. data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +201 -0
  145. data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +346 -0
  146. data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +240 -0
  147. data/lib/openapi_client/models/payment_device_sale_transaction.rb +325 -0
  148. data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +219 -0
  149. data/lib/openapi_client/models/payment_facilitator.rb +1 -1
  150. data/lib/openapi_client/models/payment_method_details.rb +1 -1
  151. data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +1 -1
  152. data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +1 -1
  153. data/lib/openapi_client/models/payment_method_type.rb +2 -1
  154. data/lib/openapi_client/models/payment_registration.rb +331 -0
  155. data/lib/openapi_client/models/payment_schedules_error_response.rb +1 -1
  156. data/lib/openapi_client/models/payment_schedules_request.rb +1 -1
  157. data/lib/openapi_client/models/payment_schedules_response.rb +1 -1
  158. data/lib/openapi_client/models/payment_token_credit_transaction.rb +1 -1
  159. data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +1 -1
  160. data/lib/openapi_client/models/payment_token_details.rb +1 -1
  161. data/lib/openapi_client/models/payment_token_details_all_of.rb +1 -1
  162. data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +1 -1
  163. data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +1 -1
  164. data/lib/openapi_client/models/payment_token_payment_method.rb +1 -1
  165. data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +1 -1
  166. data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +1 -1
  167. data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +1 -1
  168. data/lib/openapi_client/models/payment_token_sale_transaction.rb +1 -1
  169. data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +1 -1
  170. data/lib/openapi_client/models/payment_tokenization_error_response.rb +1 -1
  171. data/lib/openapi_client/models/payment_tokenization_request.rb +1 -1
  172. data/lib/openapi_client/models/payment_tokenization_response.rb +1 -1
  173. data/lib/openapi_client/models/payment_url_detail.rb +252 -0
  174. data/lib/openapi_client/models/payment_url_detail_response.rb +236 -0
  175. data/lib/openapi_client/models/payment_url_error_response.rb +1 -1
  176. data/lib/openapi_client/models/payment_url_request.rb +1 -1
  177. data/lib/openapi_client/models/payment_url_response.rb +1 -1
  178. data/lib/openapi_client/models/payment_url_status.rb +38 -0
  179. data/lib/openapi_client/models/paypal_credit_transaction.rb +1 -1
  180. data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +1 -1
  181. data/lib/openapi_client/models/{customer_address_phone.rb → phone.rb} +4 -4
  182. data/lib/openapi_client/models/post_auth_transaction.rb +1 -1
  183. data/lib/openapi_client/models/post_auth_transaction_all_of.rb +1 -1
  184. data/lib/openapi_client/models/primary_transaction.rb +1 -1
  185. data/lib/openapi_client/models/processor_data.rb +1 -1
  186. data/lib/openapi_client/models/purchase_cards.rb +1 -1
  187. data/lib/openapi_client/models/purchase_cards_level2.rb +1 -1
  188. data/lib/openapi_client/models/purchase_cards_level3.rb +2 -2
  189. data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +1 -1
  190. data/lib/openapi_client/models/receiver_info.rb +1 -1
  191. data/lib/openapi_client/models/recurring_payment_details.rb +1 -1
  192. data/lib/openapi_client/models/recurring_payment_details_response.rb +9 -28
  193. data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +1 -1
  194. data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +1 -1
  195. data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +1 -1
  196. data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +1 -1
  197. data/lib/openapi_client/models/registration_method.rb +300 -0
  198. data/lib/openapi_client/models/response_amount_components.rb +1 -1
  199. data/lib/openapi_client/models/response_amount_components_all_of.rb +1 -1
  200. data/lib/openapi_client/models/response_type.rb +1 -1
  201. data/lib/openapi_client/models/return_transaction.rb +1 -1
  202. data/lib/openapi_client/models/return_transaction_all_of.rb +1 -1
  203. data/lib/openapi_client/models/score_only_request.rb +1 -13
  204. data/lib/openapi_client/models/score_only_response.rb +1 -1
  205. data/lib/openapi_client/models/score_only_response_fraud_score.rb +1 -1
  206. data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +1 -1
  207. data/lib/openapi_client/models/secondary_transaction.rb +1 -1
  208. data/lib/openapi_client/models/secure3_d10_authentication_result.rb +1 -1
  209. data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +1 -1
  210. data/lib/openapi_client/models/secure3_d21_authentication_result.rb +1 -1
  211. data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +1 -1
  212. data/lib/openapi_client/models/secure3d_authentication_request.rb +1 -1
  213. data/lib/openapi_client/models/secure3d_authentication_verification_request.rb +1 -1
  214. data/lib/openapi_client/models/secure3d_authentication_verification_request_all_of.rb +1 -1
  215. data/lib/openapi_client/models/secure3d_response.rb +1 -1
  216. data/lib/openapi_client/models/sender_info.rb +1 -1
  217. data/lib/openapi_client/models/sepa.rb +1 -1
  218. data/lib/openapi_client/models/sepa_mandate.rb +1 -1
  219. data/lib/openapi_client/models/sepa_payment_method.rb +1 -1
  220. data/lib/openapi_client/models/sepa_payment_method_all_of.rb +1 -1
  221. data/lib/openapi_client/models/sepa_sale_transaction.rb +1 -1
  222. data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +1 -1
  223. data/lib/openapi_client/models/{fraud_order_ship_to_address.rb → ship_to_address.rb} +4 -4
  224. data/lib/openapi_client/models/shipping.rb +1 -1
  225. data/lib/openapi_client/models/soft_descriptor.rb +1 -1
  226. data/lib/openapi_client/models/split_shipment.rb +1 -1
  227. data/lib/openapi_client/models/stored_credential.rb +1 -1
  228. data/lib/openapi_client/models/sub_merchant_data.rb +1 -1
  229. data/lib/openapi_client/models/sub_merchant_split.rb +1 -1
  230. data/lib/openapi_client/models/transaction_error_response.rb +1 -1
  231. data/lib/openapi_client/models/transaction_origin.rb +1 -1
  232. data/lib/openapi_client/models/transaction_response.rb +1 -1
  233. data/lib/openapi_client/models/transaction_type.rb +1 -1
  234. data/lib/openapi_client/models/union_pay_authentication_request.rb +1 -1
  235. data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +1 -1
  236. data/lib/openapi_client/models/union_pay_authentication_verification_request.rb +1 -1
  237. data/lib/openapi_client/models/union_pay_authentication_verification_request_all_of.rb +1 -1
  238. data/lib/openapi_client/models/use_payment_token.rb +27 -2
  239. data/lib/openapi_client/models/{payment_verification3ds.rb → verification3ds.rb} +4 -4
  240. data/lib/openapi_client/models/{payment_verification_avs.rb → verification_avs.rb} +4 -4
  241. data/lib/openapi_client/models/{payment_verification_cvv.rb → verification_cvv.rb} +4 -4
  242. data/lib/openapi_client/models/void_transaction.rb +1 -1
  243. data/lib/openapi_client/models/wallet_payment_method.rb +2 -2
  244. data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +1 -1
  245. data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +1 -1
  246. data/lib/openapi_client/models/wallet_sale_transaction.rb +1 -1
  247. data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +1 -1
  248. data/lib/openapi_client/version.rb +2 -2
  249. data/lib/simple/gateway.rb +73 -0
  250. metadata +42 -17
  251. data/lib/openapi_client/.DS_Store +0 -0
  252. data/lib/openapi_client/api/.DS_Store +0 -0
  253. data/lib/openapi_client/models/.DS_Store +0 -0
  254. data/lib/openapi_client/models/transaction.rb +0 -350
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.6.0.20190507.002
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module OpenapiClient
16
16
  # The result of the 3DS (3D Secure) check.
17
- class PaymentVerification3ds
17
+ class Verification3ds
18
18
  # 3DS response code.
19
19
  attr_accessor :code
20
20
 
@@ -46,13 +46,13 @@ module OpenapiClient
46
46
  # @param [Hash] attributes Model attributes in the form of hash
47
47
  def initialize(attributes = {})
48
48
  if (!attributes.is_a?(Hash))
49
- fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::PaymentVerification3ds` initialize method"
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::Verification3ds` initialize method"
50
50
  end
51
51
 
52
52
  # check to see if the attribute exists and convert string to symbol for hash key
53
53
  attributes = attributes.each_with_object({}) { |(k, v), h|
54
54
  if (!self.class.attribute_map.key?(k.to_sym))
55
- fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::PaymentVerification3ds`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::Verification3ds`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
56
  end
57
57
  h[k.to_sym] = v
58
58
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.6.0.20190507.002
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module OpenapiClient
16
16
  # The result of the AVS (Address Verification System) check.
17
- class PaymentVerificationAvs
17
+ class VerificationAvs
18
18
  # AVS response code.
19
19
  attr_accessor :code
20
20
 
@@ -46,13 +46,13 @@ module OpenapiClient
46
46
  # @param [Hash] attributes Model attributes in the form of hash
47
47
  def initialize(attributes = {})
48
48
  if (!attributes.is_a?(Hash))
49
- fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::PaymentVerificationAvs` initialize method"
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::VerificationAvs` initialize method"
50
50
  end
51
51
 
52
52
  # check to see if the attribute exists and convert string to symbol for hash key
53
53
  attributes = attributes.each_with_object({}) { |(k, v), h|
54
54
  if (!self.class.attribute_map.key?(k.to_sym))
55
- fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::PaymentVerificationAvs`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::VerificationAvs`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
56
  end
57
57
  h[k.to_sym] = v
58
58
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.6.0.20190507.002
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module OpenapiClient
16
16
  # The result of the CVV (Card Verification Value, or Card Security Code) check.
17
- class PaymentVerificationCvv
17
+ class VerificationCvv
18
18
  # CVV response code.
19
19
  attr_accessor :code
20
20
 
@@ -46,13 +46,13 @@ module OpenapiClient
46
46
  # @param [Hash] attributes Model attributes in the form of hash
47
47
  def initialize(attributes = {})
48
48
  if (!attributes.is_a?(Hash))
49
- fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::PaymentVerificationCvv` initialize method"
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::VerificationCvv` initialize method"
50
50
  end
51
51
 
52
52
  # check to see if the attribute exists and convert string to symbol for hash key
53
53
  attributes = attributes.each_with_object({}) { |(k, v), h|
54
54
  if (!self.class.attribute_map.key?(k.to_sym))
55
- fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::PaymentVerificationCvv`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::VerificationCvv`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
56
  end
57
57
  h[k.to_sym] = v
58
58
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.6.0.20190507.002
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.6.0.20190507.002
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -13,7 +13,7 @@ OpenAPI Generator version: unset
13
13
  require 'date'
14
14
 
15
15
  module OpenapiClient
16
- # Various wallet payment methods the gateway supports. Abstract class, do not use this class directly, use one of its children: EncryptedGooglePayWalletPaymentMethod, EncryptedApplePayWalletPaymentMethod.
16
+ # Various wallet payment methods the gateway supports. Abstract class, do not use this class directly, use one of its children: EncryptedGooglePayWalletPaymentMethod, EncryptedApplePayWalletPaymentMethod, EncryptedSamsungPayWalletPaymentMethod.
17
17
  class WalletPaymentMethod
18
18
  # Type of wallet.
19
19
  attr_accessor :wallet_type
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.6.0.20190507.002
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.6.0.20190507.002
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.6.0.20190507.002
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- The version of the OpenAPI document: 6.6.0.20190507.002
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
5
5
 
6
- OpenAPI spec version: 6.6.0.20190329.001
6
+ The version of the OpenAPI document: 6.8.0.20190731.002
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: unset
@@ -11,5 +11,5 @@ OpenAPI Generator version: unset
11
11
  =end
12
12
 
13
13
  module OpenapiClient
14
- VERSION = '1.3.0'
14
+ VERSION = '1.4.0'
15
15
  end
@@ -183,6 +183,38 @@ module SimpleClient
183
183
  )
184
184
  end
185
185
 
186
+ def fraud_client_registration_post(payload:, region: nil)
187
+ opts = {}
188
+ opts[:region] = region if region
189
+ signature_service = get_signature_service
190
+ opts[:message_signature] = signature_service.sign(payload)
191
+ return @fraud_detect_api.fraud_client_registration_post(
192
+ CONTENT_TYPE,
193
+ signature_service.client_request_id,
194
+ get_api_key,
195
+ signature_service.timestamp,
196
+ payload,
197
+ opts
198
+ )
199
+
200
+ end
201
+
202
+ def fraud_payment_registration_post(payload:, region: nil)
203
+ opts = {}
204
+ opts[:region] = region if region
205
+ signature_service = get_signature_service
206
+ opts[:message_signature] = signature_service.sign(payload)
207
+ return @fraud_detect_api.fraud_payment_registration_post(
208
+ CONTENT_TYPE,
209
+ signature_service.client_request_id,
210
+ get_api_key,
211
+ signature_service.timestamp,
212
+ payload,
213
+ opts
214
+ )
215
+
216
+ end
217
+
186
218
  # Payment Schedules API
187
219
  def cancel_payment_schedule(order_id:, store_id: nil, region: nil)
188
220
  opts = {}
@@ -303,6 +335,47 @@ module SimpleClient
303
335
  )
304
336
  end
305
337
 
338
+ def delete_payment_url(region: nil, store_id: nil, transaction_id: nil, order_id: nil, payment_url_id: nil, transaction_time: nil)
339
+ opts = {}
340
+ opts[:region] = region if region
341
+ opts[:store_id] = store_id if store_id
342
+ opts[:transaction_id] = transaction_id if transaction_id
343
+ opts[:order_id] = order_id if order_id
344
+ opts[:payment_url_id] = payment_url_id if payment_url_id
345
+ opts[:transaction_time] = transaction_time if transaction_time
346
+ signature_service = get_signature_service
347
+ message_signature = signature_service.sign()
348
+ opts[:message_signature] = message_signature
349
+ return @payment_url_api.delete_payment_url(
350
+ CONTENT_TYPE,
351
+ signature_service.client_request_id,
352
+ get_api_key,
353
+ signature_service.timestamp,
354
+ opts
355
+ )
356
+ end
357
+
358
+ def payment_url_detail(from_date:, to_date:, region: nil, store_id: nil, transaction_id: nil, order_id: nil, status: nil)
359
+ opts = {}
360
+ opts[:region] = region if region
361
+ opts[:store_id] = store_id if store_id
362
+ opts[:merchant_transaction_id] = transaction_id if transaction_id
363
+ opts[:order_id] = order_id if order_id
364
+ opts[:status] = status if status
365
+ signature_service = get_signature_service
366
+ message_signature = signature_service.sign()
367
+ opts[:message_signature] = message_signature
368
+ return @payment_url_api.payment_url_detail(
369
+ CONTENT_TYPE,
370
+ signature_service.client_request_id,
371
+ get_api_key,
372
+ signature_service.timestamp,
373
+ from_date,
374
+ to_date,
375
+ opts
376
+ )
377
+ end
378
+
306
379
 
307
380
  # Card Info API
308
381
  def card_info_lookup(payload:, region: nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: first_data_gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Margules
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-06 00:00:00.000000000 Z
11
+ date: 2019-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -421,8 +421,6 @@ files:
421
421
  - first_data_gateway.gemspec
422
422
  - git_push.sh
423
423
  - lib/openapi_client.rb
424
- - lib/openapi_client/.DS_Store
425
- - lib/openapi_client/api/.DS_Store
426
424
  - lib/openapi_client/api/authentication_api.rb
427
425
  - lib/openapi_client/api/card_info_lookup_api.rb
428
426
  - lib/openapi_client/api/card_verification_api.rb
@@ -436,7 +434,6 @@ files:
436
434
  - lib/openapi_client/api_client.rb
437
435
  - lib/openapi_client/api_error.rb
438
436
  - lib/openapi_client/configuration.rb
439
- - lib/openapi_client/models/.DS_Store
440
437
  - lib/openapi_client/models/access_token_response.rb
441
438
  - lib/openapi_client/models/account_updater_response.rb
442
439
  - lib/openapi_client/models/additional_amount_rate.rb
@@ -461,7 +458,6 @@ files:
461
458
  - lib/openapi_client/models/basic_response.rb
462
459
  - lib/openapi_client/models/billing.rb
463
460
  - lib/openapi_client/models/billing_address.rb
464
- - lib/openapi_client/models/billing_address_phone.rb
465
461
  - lib/openapi_client/models/car_rental.rb
466
462
  - lib/openapi_client/models/car_rental_extra_charges.rb
467
463
  - lib/openapi_client/models/card.rb
@@ -476,18 +472,17 @@ files:
476
472
  - lib/openapi_client/models/china_pn_r_sale_transaction.rb
477
473
  - lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb
478
474
  - lib/openapi_client/models/client_locale.rb
475
+ - lib/openapi_client/models/client_registration.rb
479
476
  - lib/openapi_client/models/contact.rb
480
477
  - lib/openapi_client/models/create_payment_token.rb
481
478
  - lib/openapi_client/models/currency_conversion.rb
482
479
  - lib/openapi_client/models/customer.rb
483
480
  - lib/openapi_client/models/customer_address.rb
484
- - lib/openapi_client/models/customer_address_phone.rb
485
481
  - lib/openapi_client/models/dcc.rb
486
482
  - lib/openapi_client/models/dcc_all_of.rb
487
483
  - lib/openapi_client/models/dcc_exchange_rate_request.rb
488
484
  - lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb
489
485
  - lib/openapi_client/models/device.rb
490
- - lib/openapi_client/models/device_networks.rb
491
486
  - lib/openapi_client/models/disbursement.rb
492
487
  - lib/openapi_client/models/disbursement_transaction_type.rb
493
488
  - lib/openapi_client/models/document.rb
@@ -503,25 +498,38 @@ files:
503
498
  - lib/openapi_client/models/encrypted_google_pay_data.rb
504
499
  - lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb
505
500
  - lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb
501
+ - lib/openapi_client/models/encrypted_samsung_pay.rb
502
+ - lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb
503
+ - lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb
506
504
  - lib/openapi_client/models/error.rb
507
505
  - lib/openapi_client/models/error_details.rb
506
+ - lib/openapi_client/models/error_message.rb
508
507
  - lib/openapi_client/models/error_response.rb
509
508
  - lib/openapi_client/models/exchange_rate_request.rb
510
509
  - lib/openapi_client/models/exchange_rate_response.rb
511
510
  - lib/openapi_client/models/expiration.rb
511
+ - lib/openapi_client/models/fraud_address.rb
512
512
  - lib/openapi_client/models/fraud_order.rb
513
513
  - lib/openapi_client/models/fraud_order_items.rb
514
- - lib/openapi_client/models/fraud_order_ship_to_address.rb
514
+ - lib/openapi_client/models/fraud_registration.rb
515
+ - lib/openapi_client/models/fraud_registration_card.rb
516
+ - lib/openapi_client/models/fraud_registration_device.rb
517
+ - lib/openapi_client/models/fraud_registration_device_items.rb
518
+ - lib/openapi_client/models/fraud_registration_error.rb
519
+ - lib/openapi_client/models/fraud_registration_response.rb
520
+ - lib/openapi_client/models/fraud_score.rb
515
521
  - lib/openapi_client/models/frequency.rb
516
522
  - lib/openapi_client/models/funding_transaction_type.rb
517
523
  - lib/openapi_client/models/industry_specific_extensions.rb
518
524
  - lib/openapi_client/models/installment_options.rb
525
+ - lib/openapi_client/models/issuer_response.rb
526
+ - lib/openapi_client/models/items.rb
527
+ - lib/openapi_client/models/location.rb
519
528
  - lib/openapi_client/models/lodging.rb
520
529
  - lib/openapi_client/models/lodging_extra_charges.rb
521
530
  - lib/openapi_client/models/loyalty.rb
522
531
  - lib/openapi_client/models/merchant.rb
523
- - lib/openapi_client/models/merchant_location.rb
524
- - lib/openapi_client/models/merchant_location_merchant_address.rb
532
+ - lib/openapi_client/models/method.rb
525
533
  - lib/openapi_client/models/order.rb
526
534
  - lib/openapi_client/models/order_error_response.rb
527
535
  - lib/openapi_client/models/order_response.rb
@@ -545,13 +553,25 @@ files:
545
553
  - lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb
546
554
  - lib/openapi_client/models/payment_card_sale_transaction.rb
547
555
  - lib/openapi_client/models/payment_card_sale_transaction_all_of.rb
556
+ - lib/openapi_client/models/payment_device.rb
557
+ - lib/openapi_client/models/payment_device_credit_transaction.rb
558
+ - lib/openapi_client/models/payment_device_credit_transaction_all_of.rb
559
+ - lib/openapi_client/models/payment_device_disbursement_transaction.rb
560
+ - lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb
561
+ - lib/openapi_client/models/payment_device_payment_method.rb
562
+ - lib/openapi_client/models/payment_device_payment_method_all_of.rb
563
+ - lib/openapi_client/models/payment_device_payment_tokenization_request.rb
564
+ - lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb
565
+ - lib/openapi_client/models/payment_device_pre_auth_transaction.rb
566
+ - lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb
567
+ - lib/openapi_client/models/payment_device_sale_transaction.rb
568
+ - lib/openapi_client/models/payment_device_sale_transaction_all_of.rb
548
569
  - lib/openapi_client/models/payment_facilitator.rb
549
- - lib/openapi_client/models/payment_issuer_response.rb
550
570
  - lib/openapi_client/models/payment_method_details.rb
551
571
  - lib/openapi_client/models/payment_method_payment_schedules_request.rb
552
572
  - lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb
553
573
  - lib/openapi_client/models/payment_method_type.rb
554
- - lib/openapi_client/models/payment_pay_method.rb
574
+ - lib/openapi_client/models/payment_registration.rb
555
575
  - lib/openapi_client/models/payment_schedules_error_response.rb
556
576
  - lib/openapi_client/models/payment_schedules_request.rb
557
577
  - lib/openapi_client/models/payment_schedules_response.rb
@@ -570,14 +590,15 @@ files:
570
590
  - lib/openapi_client/models/payment_tokenization_error_response.rb
571
591
  - lib/openapi_client/models/payment_tokenization_request.rb
572
592
  - lib/openapi_client/models/payment_tokenization_response.rb
593
+ - lib/openapi_client/models/payment_url_detail.rb
594
+ - lib/openapi_client/models/payment_url_detail_response.rb
573
595
  - lib/openapi_client/models/payment_url_error_response.rb
574
596
  - lib/openapi_client/models/payment_url_request.rb
575
597
  - lib/openapi_client/models/payment_url_response.rb
576
- - lib/openapi_client/models/payment_verification3ds.rb
577
- - lib/openapi_client/models/payment_verification_avs.rb
578
- - lib/openapi_client/models/payment_verification_cvv.rb
598
+ - lib/openapi_client/models/payment_url_status.rb
579
599
  - lib/openapi_client/models/paypal_credit_transaction.rb
580
600
  - lib/openapi_client/models/paypal_credit_transaction_all_of.rb
601
+ - lib/openapi_client/models/phone.rb
581
602
  - lib/openapi_client/models/post_auth_transaction.rb
582
603
  - lib/openapi_client/models/post_auth_transaction_all_of.rb
583
604
  - lib/openapi_client/models/primary_transaction.rb
@@ -593,6 +614,7 @@ files:
593
614
  - lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb
594
615
  - lib/openapi_client/models/referenced_order_payment_tokenization_request.rb
595
616
  - lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb
617
+ - lib/openapi_client/models/registration_method.rb
596
618
  - lib/openapi_client/models/response_amount_components.rb
597
619
  - lib/openapi_client/models/response_amount_components_all_of.rb
598
620
  - lib/openapi_client/models/response_type.rb
@@ -618,13 +640,13 @@ files:
618
640
  - lib/openapi_client/models/sepa_payment_method_all_of.rb
619
641
  - lib/openapi_client/models/sepa_sale_transaction.rb
620
642
  - lib/openapi_client/models/sepa_sale_transaction_all_of.rb
643
+ - lib/openapi_client/models/ship_to_address.rb
621
644
  - lib/openapi_client/models/shipping.rb
622
645
  - lib/openapi_client/models/soft_descriptor.rb
623
646
  - lib/openapi_client/models/split_shipment.rb
624
647
  - lib/openapi_client/models/stored_credential.rb
625
648
  - lib/openapi_client/models/sub_merchant_data.rb
626
649
  - lib/openapi_client/models/sub_merchant_split.rb
627
- - lib/openapi_client/models/transaction.rb
628
650
  - lib/openapi_client/models/transaction_error_response.rb
629
651
  - lib/openapi_client/models/transaction_origin.rb
630
652
  - lib/openapi_client/models/transaction_response.rb
@@ -634,6 +656,9 @@ files:
634
656
  - lib/openapi_client/models/union_pay_authentication_verification_request.rb
635
657
  - lib/openapi_client/models/union_pay_authentication_verification_request_all_of.rb
636
658
  - lib/openapi_client/models/use_payment_token.rb
659
+ - lib/openapi_client/models/verification3ds.rb
660
+ - lib/openapi_client/models/verification_avs.rb
661
+ - lib/openapi_client/models/verification_cvv.rb
637
662
  - lib/openapi_client/models/void_transaction.rb
638
663
  - lib/openapi_client/models/wallet_payment_method.rb
639
664
  - lib/openapi_client/models/wallet_pre_auth_transaction.rb