connect-sdk-ruby 2.47.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1209) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/connect-sdk-ruby.gemspec +6 -6
  4. data/examples/example_configuration.yml +7 -0
  5. data/examples/v1/merchant/captures/create_refund_capture_example.rb +53 -0
  6. data/examples/v1/merchant/captures/get_capture_example.rb +22 -0
  7. data/examples/v1/merchant/disputes/cancel_dispute_example.rb +22 -0
  8. data/examples/v1/merchant/disputes/get_dispute_example.rb +22 -0
  9. data/examples/v1/merchant/disputes/submit_dispute_example.rb +22 -0
  10. data/examples/v1/merchant/disputes/upload_dispute_file_example.rb +31 -0
  11. data/examples/v1/merchant/files/get_file_example.rb +28 -0
  12. data/examples/v1/merchant/hostedcheckouts/create_hosted_checkout_example.rb +52 -0
  13. data/examples/v1/merchant/hostedcheckouts/delete_hosted_checkout_example.rb +22 -0
  14. data/examples/v1/merchant/hostedcheckouts/get_hosted_checkout_example.rb +22 -0
  15. data/examples/v1/merchant/hostedmandatemanagements/create_hosted_mandate_management_example.rb +40 -0
  16. data/examples/v1/merchant/hostedmandatemanagements/get_hosted_mandate_management_example.rb +22 -0
  17. data/examples/v1/merchant/installments/get_installments_info_example.rb +35 -0
  18. data/examples/v1/merchant/mandates/block_mandate_example.rb +22 -0
  19. data/examples/v1/merchant/mandates/create_mandate_example.rb +64 -0
  20. data/examples/v1/merchant/mandates/create_mandate_with_reference_example.rb +64 -0
  21. data/examples/v1/merchant/mandates/get_mandate_example.rb +22 -0
  22. data/examples/v1/merchant/mandates/revoke_mandate_example.rb +22 -0
  23. data/examples/v1/merchant/mandates/unblock_mandate_example.rb +22 -0
  24. data/examples/v1/merchant/payments/approve_payment_example.rb +42 -0
  25. data/examples/v1/merchant/payments/cancel_approval_payment_example.rb +22 -0
  26. data/examples/v1/merchant/payments/cancel_payment_example.rb +22 -0
  27. data/examples/v1/merchant/payments/capture_payment_example.rb +27 -0
  28. data/examples/v1/merchant/payments/complete_payment_example.rb +37 -0
  29. data/examples/v1/merchant/payments/create_payment_dispute_example.rb +36 -0
  30. data/examples/v1/merchant/payments/create_payment_example.rb +222 -0
  31. data/examples/v1/merchant/payments/find_payments_example.rb +31 -0
  32. data/examples/v1/merchant/payments/get_payment_captures_example.rb +22 -0
  33. data/examples/v1/merchant/payments/get_payment_device_fingerprint_details_example.rb +22 -0
  34. data/examples/v1/merchant/payments/get_payment_disputes_example.rb +22 -0
  35. data/examples/v1/merchant/payments/get_payment_example.rb +22 -0
  36. data/examples/v1/merchant/payments/get_refunds_example.rb +22 -0
  37. data/examples/v1/merchant/payments/get_third_party_status_example.rb +22 -0
  38. data/examples/v1/merchant/payments/process_challenged_payment_example.rb +22 -0
  39. data/examples/v1/merchant/payments/refund_payment_example.rb +83 -0
  40. data/examples/v1/merchant/payments/tokenize_payment_example.rb +27 -0
  41. data/examples/v1/merchant/payouts/approve_payout_example.rb +27 -0
  42. data/examples/v1/merchant/payouts/cancel_approval_payout_example.rb +22 -0
  43. data/examples/v1/merchant/payouts/cancel_payout_example.rb +22 -0
  44. data/examples/v1/merchant/payouts/create_payout_example.rb +102 -0
  45. data/examples/v1/merchant/payouts/find_payouts_example.rb +30 -0
  46. data/examples/v1/merchant/payouts/get_payout_example.rb +22 -0
  47. data/examples/v1/merchant/productgroups/get_device_fingerprint_for_groups_example.rb +26 -0
  48. data/examples/v1/merchant/productgroups/get_payment_product_group_example.rb +33 -0
  49. data/examples/v1/merchant/productgroups/get_payment_product_groups_example.rb +33 -0
  50. data/examples/v1/merchant/products/create_payment_product_session_example.rb +33 -0
  51. data/examples/v1/merchant/products/get_customer_details_example.rb +37 -0
  52. data/examples/v1/merchant/products/get_device_fingerprint_example.rb +26 -0
  53. data/examples/v1/merchant/products/get_directory_example.rb +28 -0
  54. data/examples/v1/merchant/products/get_networks_example.rb +30 -0
  55. data/examples/v1/merchant/products/get_payment_product_example.rb +34 -0
  56. data/examples/v1/merchant/products/get_payment_products_example.rb +33 -0
  57. data/examples/v1/merchant/refunds/approve_refund_example.rb +27 -0
  58. data/examples/v1/merchant/refunds/cancel_approval_refund_example.rb +22 -0
  59. data/examples/v1/merchant/refunds/cancel_refund_example.rb +22 -0
  60. data/examples/v1/merchant/refunds/find_refunds_example.rb +31 -0
  61. data/examples/v1/merchant/refunds/get_refund_example.rb +22 -0
  62. data/examples/v1/merchant/riskassessments/risk_assessment_bank_account_example.rb +53 -0
  63. data/examples/v1/merchant/riskassessments/risk_assessment_cards_example.rb +113 -0
  64. data/examples/v1/merchant/services/convert_amount_example.rb +29 -0
  65. data/examples/v1/merchant/services/convert_bank_account_example.rb +33 -0
  66. data/examples/v1/merchant/services/get_privacy_policy_example.rb +28 -0
  67. data/examples/v1/merchant/services/iin_details_example.rb +27 -0
  68. data/examples/v1/merchant/services/test_connection_example.rb +22 -0
  69. data/examples/v1/merchant/sessions/create_session_example.rb +34 -0
  70. data/examples/v1/merchant/tokens/approve_sepa_direct_debit_token_example.rb +29 -0
  71. data/examples/v1/merchant/tokens/create_token_example.rb +81 -0
  72. data/examples/v1/merchant/tokens/delete_token_example.rb +27 -0
  73. data/examples/v1/merchant/tokens/get_token_example.rb +22 -0
  74. data/examples/v1/merchant/tokens/update_token_example.rb +75 -0
  75. data/lib/worldline/connect/sdk/api_resource.rb +69 -0
  76. data/lib/worldline/connect/sdk/authentication/authenticator.rb +21 -0
  77. data/lib/worldline/connect/sdk/authentication/authorization_type.rb +17 -0
  78. data/lib/worldline/connect/sdk/authentication/v1hmac_authenticator.rb +102 -0
  79. data/lib/worldline/connect/sdk/authentication.rb +1 -0
  80. data/lib/worldline/connect/sdk/call_context.rb +29 -0
  81. data/lib/worldline/connect/sdk/client.rb +97 -0
  82. data/lib/worldline/connect/sdk/communication/communication_exception.rb +21 -0
  83. data/lib/worldline/connect/sdk/communication/connection.rb +50 -0
  84. data/lib/worldline/connect/sdk/communication/default_connection.rb +429 -0
  85. data/lib/worldline/connect/sdk/communication/metadata_provider.rb +162 -0
  86. data/lib/worldline/connect/sdk/communication/multipart_form_data_object.rb +54 -0
  87. data/lib/worldline/connect/sdk/communication/multipart_form_data_request.rb +15 -0
  88. data/lib/worldline/connect/sdk/communication/not_found_exception.rb +21 -0
  89. data/lib/worldline/connect/sdk/communication/param_request.rb +16 -0
  90. data/lib/worldline/connect/sdk/communication/pooled_connection.rb +28 -0
  91. data/lib/worldline/connect/sdk/communication/request_header.rb +66 -0
  92. data/lib/worldline/connect/sdk/communication/request_param.rb +30 -0
  93. data/lib/worldline/connect/sdk/communication/response_exception.rb +58 -0
  94. data/lib/worldline/connect/sdk/communication/response_header.rb +80 -0
  95. data/lib/worldline/connect/sdk/communication.rb +1 -0
  96. data/lib/worldline/connect/sdk/communicator.rb +510 -0
  97. data/lib/worldline/connect/sdk/communicator_configuration.rb +190 -0
  98. data/lib/worldline/connect/sdk/domain/data_object.rb +34 -0
  99. data/lib/worldline/connect/sdk/domain/shopping_cart_extension.rb +62 -0
  100. data/lib/worldline/connect/sdk/domain/uploadable_file.rb +35 -0
  101. data/lib/worldline/connect/sdk/factory.rb +183 -0
  102. data/lib/worldline/connect/sdk/json/default_marshaller.rb +36 -0
  103. data/lib/worldline/connect/sdk/json/marshaller.rb +29 -0
  104. data/lib/worldline/connect/sdk/json/marshaller_syntax_exception.rb +11 -0
  105. data/lib/worldline/connect/sdk/json.rb +1 -0
  106. data/lib/worldline/connect/sdk/logging/communicator_logger.rb +26 -0
  107. data/lib/worldline/connect/sdk/logging/log_message_builder.rb +91 -0
  108. data/lib/worldline/connect/sdk/logging/logging_capable.rb +19 -0
  109. data/lib/worldline/connect/sdk/logging/obfuscation/body_obfuscator.rb +102 -0
  110. data/lib/worldline/connect/sdk/logging/obfuscation/header_obfuscator.rb +56 -0
  111. data/lib/worldline/connect/sdk/logging/obfuscation/obfuscation_capable.rb +23 -0
  112. data/lib/worldline/connect/sdk/logging/obfuscation/obfuscation_rule.rb +49 -0
  113. data/lib/worldline/connect/sdk/logging/request_log_message_builder.rb +52 -0
  114. data/lib/worldline/connect/sdk/logging/response_log_message_builder.rb +43 -0
  115. data/lib/worldline/connect/sdk/logging/ruby_communicator_logger.rb +63 -0
  116. data/lib/worldline/connect/sdk/logging/stdout_communicator_logger.rb +33 -0
  117. data/lib/worldline/connect/sdk/proxy_configuration.rb +76 -0
  118. data/lib/worldline/connect/sdk/v1/api_exception.rb +61 -0
  119. data/lib/worldline/connect/sdk/v1/authorization_exception.rb +24 -0
  120. data/lib/worldline/connect/sdk/v1/declined_payment_exception.rb +53 -0
  121. data/lib/worldline/connect/sdk/v1/declined_payout_exception.rb +53 -0
  122. data/lib/worldline/connect/sdk/v1/declined_refund_exception.rb +53 -0
  123. data/lib/worldline/connect/sdk/v1/declined_transaction_exception.rb +27 -0
  124. data/lib/worldline/connect/sdk/v1/domain/abstract_bank_transfer_payment_method_specific_input.rb +35 -0
  125. data/lib/worldline/connect/sdk/v1/domain/abstract_card_payment_method_specific_input.rb +141 -0
  126. data/lib/worldline/connect/sdk/v1/domain/abstract_cash_payment_method_specific_input.rb +18 -0
  127. data/lib/worldline/connect/sdk/v1/domain/abstract_e_invoice_payment_method_specific_input.rb +35 -0
  128. data/lib/worldline/connect/sdk/v1/domain/abstract_indicator.rb +42 -0
  129. data/lib/worldline/connect/sdk/v1/domain/abstract_order_status.rb +35 -0
  130. data/lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_input.rb +35 -0
  131. data/lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_output.rb +35 -0
  132. data/lib/worldline/connect/sdk/v1/domain/abstract_payout_method_specific_input.rb +18 -0
  133. data/lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_method_specific_input.rb +63 -0
  134. data/lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_product4101_specific_input.rb +18 -0
  135. data/lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_product840_specific_input.rb +35 -0
  136. data/lib/worldline/connect/sdk/v1/domain/abstract_sepa_direct_debit_payment_method_specific_input.rb +18 -0
  137. data/lib/worldline/connect/sdk/v1/domain/abstract_sepa_direct_debit_payment_product771_specific_input.rb +37 -0
  138. data/lib/worldline/connect/sdk/v1/domain/abstract_three_d_secure.rb +97 -0
  139. data/lib/worldline/connect/sdk/v1/domain/abstract_token.rb +35 -0
  140. data/lib/worldline/connect/sdk/v1/domain/account_funding_recipient.rb +74 -0
  141. data/lib/worldline/connect/sdk/v1/domain/account_on_file.rb +63 -0
  142. data/lib/worldline/connect/sdk/v1/domain/account_on_file_attribute.rb +42 -0
  143. data/lib/worldline/connect/sdk/v1/domain/account_on_file_display_hints.rb +47 -0
  144. data/lib/worldline/connect/sdk/v1/domain/additional_order_input.rb +111 -0
  145. data/lib/worldline/connect/sdk/v1/domain/additional_order_input_airline_data.rb +46 -0
  146. data/lib/worldline/connect/sdk/v1/domain/address.rb +84 -0
  147. data/lib/worldline/connect/sdk/v1/domain/address_personal.rb +37 -0
  148. data/lib/worldline/connect/sdk/v1/domain/afr_name.rb +42 -0
  149. data/lib/worldline/connect/sdk/v1/domain/airline_data.rb +215 -0
  150. data/lib/worldline/connect/sdk/v1/domain/airline_flight_leg.rb +170 -0
  151. data/lib/worldline/connect/sdk/v1/domain/airline_passenger.rb +56 -0
  152. data/lib/worldline/connect/sdk/v1/domain/amount_breakdown.rb +42 -0
  153. data/lib/worldline/connect/sdk/v1/domain/amount_of_money.rb +42 -0
  154. data/lib/worldline/connect/sdk/v1/domain/api_error.rb +77 -0
  155. data/lib/worldline/connect/sdk/v1/domain/approve_payment_card_payment_method_specific_output.rb +35 -0
  156. data/lib/worldline/connect/sdk/v1/domain/approve_payment_direct_debit_payment_method_specific_input.rb +18 -0
  157. data/lib/worldline/connect/sdk/v1/domain/approve_payment_mobile_payment_method_specific_output.rb +35 -0
  158. data/lib/worldline/connect/sdk/v1/domain/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +18 -0
  159. data/lib/worldline/connect/sdk/v1/domain/approve_payment_payment_method_specific_input.rb +42 -0
  160. data/lib/worldline/connect/sdk/v1/domain/approve_payment_request.rb +62 -0
  161. data/lib/worldline/connect/sdk/v1/domain/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +18 -0
  162. data/lib/worldline/connect/sdk/v1/domain/approve_payout_request.rb +35 -0
  163. data/lib/worldline/connect/sdk/v1/domain/approve_refund_request.rb +35 -0
  164. data/lib/worldline/connect/sdk/v1/domain/approve_token_request.rb +18 -0
  165. data/lib/worldline/connect/sdk/v1/domain/authentication_indicator.rb +18 -0
  166. data/lib/worldline/connect/sdk/v1/domain/bank_account.rb +35 -0
  167. data/lib/worldline/connect/sdk/v1/domain/bank_account_bban.rb +70 -0
  168. data/lib/worldline/connect/sdk/v1/domain/bank_account_bban_refund.rb +49 -0
  169. data/lib/worldline/connect/sdk/v1/domain/bank_account_iban.rb +35 -0
  170. data/lib/worldline/connect/sdk/v1/domain/bank_data.rb +56 -0
  171. data/lib/worldline/connect/sdk/v1/domain/bank_details.rb +46 -0
  172. data/lib/worldline/connect/sdk/v1/domain/bank_details_request.rb +18 -0
  173. data/lib/worldline/connect/sdk/v1/domain/bank_details_response.rb +64 -0
  174. data/lib/worldline/connect/sdk/v1/domain/bank_refund_method_specific_input.rb +53 -0
  175. data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_input.rb +18 -0
  176. data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_input_base.rb +18 -0
  177. data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_output.rb +37 -0
  178. data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payout_method_specific_input.rb +78 -0
  179. data/lib/worldline/connect/sdk/v1/domain/boleto_bancario_requiredness_validator.rb +35 -0
  180. data/lib/worldline/connect/sdk/v1/domain/browser_data.rb +77 -0
  181. data/lib/worldline/connect/sdk/v1/domain/cancel_approval_payment_response.rb +37 -0
  182. data/lib/worldline/connect/sdk/v1/domain/cancel_payment_card_payment_method_specific_output.rb +35 -0
  183. data/lib/worldline/connect/sdk/v1/domain/cancel_payment_mobile_payment_method_specific_output.rb +35 -0
  184. data/lib/worldline/connect/sdk/v1/domain/cancel_payment_response.rb +55 -0
  185. data/lib/worldline/connect/sdk/v1/domain/capture.rb +53 -0
  186. data/lib/worldline/connect/sdk/v1/domain/capture_output.rb +137 -0
  187. data/lib/worldline/connect/sdk/v1/domain/capture_payment_request.rb +42 -0
  188. data/lib/worldline/connect/sdk/v1/domain/capture_response.rb +18 -0
  189. data/lib/worldline/connect/sdk/v1/domain/capture_status_output.rb +54 -0
  190. data/lib/worldline/connect/sdk/v1/domain/captures_response.rb +40 -0
  191. data/lib/worldline/connect/sdk/v1/domain/card.rb +42 -0
  192. data/lib/worldline/connect/sdk/v1/domain/card_essentials.rb +49 -0
  193. data/lib/worldline/connect/sdk/v1/domain/card_fraud_results.rb +60 -0
  194. data/lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_input.rb +89 -0
  195. data/lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_input_base.rb +37 -0
  196. data/lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_output.rb +83 -0
  197. data/lib/worldline/connect/sdk/v1/domain/card_payout_method_specific_input.rb +60 -0
  198. data/lib/worldline/connect/sdk/v1/domain/card_recurrence_details.rb +49 -0
  199. data/lib/worldline/connect/sdk/v1/domain/card_without_cvv.rb +35 -0
  200. data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb +93 -0
  201. data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input_base.rb +18 -0
  202. data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_output.rb +37 -0
  203. data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1503_specific_input.rb +38 -0
  204. data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1504_specific_input.rb +18 -0
  205. data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1521_specific_input.rb +18 -0
  206. data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1522_specific_input.rb +18 -0
  207. data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1523_specific_input.rb +18 -0
  208. data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1524_specific_input.rb +18 -0
  209. data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1526_specific_input.rb +18 -0
  210. data/lib/worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base.rb +35 -0
  211. data/lib/worldline/connect/sdk/v1/domain/company_information.rb +42 -0
  212. data/lib/worldline/connect/sdk/v1/domain/complete_payment_card_payment_method_specific_input.rb +37 -0
  213. data/lib/worldline/connect/sdk/v1/domain/complete_payment_request.rb +55 -0
  214. data/lib/worldline/connect/sdk/v1/domain/complete_payment_response.rb +18 -0
  215. data/lib/worldline/connect/sdk/v1/domain/contact_details.rb +56 -0
  216. data/lib/worldline/connect/sdk/v1/domain/contact_details_base.rb +42 -0
  217. data/lib/worldline/connect/sdk/v1/domain/contact_details_risk_assessment.rb +35 -0
  218. data/lib/worldline/connect/sdk/v1/domain/contact_details_token.rb +18 -0
  219. data/lib/worldline/connect/sdk/v1/domain/convert_amount.rb +35 -0
  220. data/lib/worldline/connect/sdk/v1/domain/create_dispute_request.rb +65 -0
  221. data/lib/worldline/connect/sdk/v1/domain/create_hosted_checkout_request.rb +127 -0
  222. data/lib/worldline/connect/sdk/v1/domain/create_hosted_checkout_response.rb +67 -0
  223. data/lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_request.rb +46 -0
  224. data/lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_response.rb +49 -0
  225. data/lib/worldline/connect/sdk/v1/domain/create_mandate_base.rb +79 -0
  226. data/lib/worldline/connect/sdk/v1/domain/create_mandate_request.rb +18 -0
  227. data/lib/worldline/connect/sdk/v1/domain/create_mandate_response.rb +46 -0
  228. data/lib/worldline/connect/sdk/v1/domain/create_mandate_with_return_url.rb +35 -0
  229. data/lib/worldline/connect/sdk/v1/domain/create_payment_product_session_request.rb +37 -0
  230. data/lib/worldline/connect/sdk/v1/domain/create_payment_product_session_response.rb +37 -0
  231. data/lib/worldline/connect/sdk/v1/domain/create_payment_request.rb +143 -0
  232. data/lib/worldline/connect/sdk/v1/domain/create_payment_response.rb +18 -0
  233. data/lib/worldline/connect/sdk/v1/domain/create_payment_result.rb +55 -0
  234. data/lib/worldline/connect/sdk/v1/domain/create_payout_request.rb +146 -0
  235. data/lib/worldline/connect/sdk/v1/domain/create_token_request.rb +78 -0
  236. data/lib/worldline/connect/sdk/v1/domain/create_token_response.rb +49 -0
  237. data/lib/worldline/connect/sdk/v1/domain/created_payment_output.rb +85 -0
  238. data/lib/worldline/connect/sdk/v1/domain/creditor.rb +105 -0
  239. data/lib/worldline/connect/sdk/v1/domain/customer.rb +119 -0
  240. data/lib/worldline/connect/sdk/v1/domain/customer_account.rb +118 -0
  241. data/lib/worldline/connect/sdk/v1/domain/customer_account_authentication.rb +49 -0
  242. data/lib/worldline/connect/sdk/v1/domain/customer_account_risk_assessment.rb +42 -0
  243. data/lib/worldline/connect/sdk/v1/domain/customer_approve_payment.rb +35 -0
  244. data/lib/worldline/connect/sdk/v1/domain/customer_base.rb +53 -0
  245. data/lib/worldline/connect/sdk/v1/domain/customer_device.rb +86 -0
  246. data/lib/worldline/connect/sdk/v1/domain/customer_device_risk_assessment.rb +42 -0
  247. data/lib/worldline/connect/sdk/v1/domain/customer_payment_activity.rb +49 -0
  248. data/lib/worldline/connect/sdk/v1/domain/customer_risk_assessment.rb +105 -0
  249. data/lib/worldline/connect/sdk/v1/domain/customer_token.rb +46 -0
  250. data/lib/worldline/connect/sdk/v1/domain/customer_token_with_contact_details.rb +37 -0
  251. data/lib/worldline/connect/sdk/v1/domain/debtor.rb +105 -0
  252. data/lib/worldline/connect/sdk/v1/domain/decrypted_payment_data.rb +86 -0
  253. data/lib/worldline/connect/sdk/v1/domain/device_fingerprint_details.rb +42 -0
  254. data/lib/worldline/connect/sdk/v1/domain/device_fingerprint_request.rb +35 -0
  255. data/lib/worldline/connect/sdk/v1/domain/device_fingerprint_response.rb +42 -0
  256. data/lib/worldline/connect/sdk/v1/domain/device_render_options.rb +55 -0
  257. data/lib/worldline/connect/sdk/v1/domain/directory.rb +40 -0
  258. data/lib/worldline/connect/sdk/v1/domain/directory_entry.rb +60 -0
  259. data/lib/worldline/connect/sdk/v1/domain/displayed_data.rb +54 -0
  260. data/lib/worldline/connect/sdk/v1/domain/dispute.rb +67 -0
  261. data/lib/worldline/connect/sdk/v1/domain/dispute_creation_detail.rb +49 -0
  262. data/lib/worldline/connect/sdk/v1/domain/dispute_output.rb +102 -0
  263. data/lib/worldline/connect/sdk/v1/domain/dispute_reference.rb +63 -0
  264. data/lib/worldline/connect/sdk/v1/domain/dispute_response.rb +18 -0
  265. data/lib/worldline/connect/sdk/v1/domain/dispute_status_output.rb +56 -0
  266. data/lib/worldline/connect/sdk/v1/domain/disputes_response.rb +40 -0
  267. data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_input.rb +44 -0
  268. data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_input_base.rb +18 -0
  269. data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_output.rb +46 -0
  270. data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_product9000_specific_input.rb +44 -0
  271. data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_product9000_specific_output.rb +35 -0
  272. data/lib/worldline/connect/sdk/v1/domain/empty_validator.rb +18 -0
  273. data/lib/worldline/connect/sdk/v1/domain/error_response.rb +47 -0
  274. data/lib/worldline/connect/sdk/v1/domain/exemption_output.rb +49 -0
  275. data/lib/worldline/connect/sdk/v1/domain/external_cardholder_authentication_data.rb +107 -0
  276. data/lib/worldline/connect/sdk/v1/domain/find_payments_response.rb +61 -0
  277. data/lib/worldline/connect/sdk/v1/domain/find_payouts_response.rb +61 -0
  278. data/lib/worldline/connect/sdk/v1/domain/find_refunds_response.rb +61 -0
  279. data/lib/worldline/connect/sdk/v1/domain/fixed_list_validator.rb +39 -0
  280. data/lib/worldline/connect/sdk/v1/domain/fraud_fields.rb +186 -0
  281. data/lib/worldline/connect/sdk/v1/domain/fraud_fields_shipping_details.rb +56 -0
  282. data/lib/worldline/connect/sdk/v1/domain/fraud_results.rb +53 -0
  283. data/lib/worldline/connect/sdk/v1/domain/fraud_results_retail_decisions.rb +49 -0
  284. data/lib/worldline/connect/sdk/v1/domain/fraugster_results.rb +42 -0
  285. data/lib/worldline/connect/sdk/v1/domain/frequency.rb +42 -0
  286. data/lib/worldline/connect/sdk/v1/domain/g_pay_three_d_secure.rb +65 -0
  287. data/lib/worldline/connect/sdk/v1/domain/get_customer_details_request.rb +47 -0
  288. data/lib/worldline/connect/sdk/v1/domain/get_customer_details_response.rb +98 -0
  289. data/lib/worldline/connect/sdk/v1/domain/get_hosted_checkout_response.rb +44 -0
  290. data/lib/worldline/connect/sdk/v1/domain/get_hosted_mandate_management_response.rb +44 -0
  291. data/lib/worldline/connect/sdk/v1/domain/get_iin_details_request.rb +44 -0
  292. data/lib/worldline/connect/sdk/v1/domain/get_iin_details_response.rb +61 -0
  293. data/lib/worldline/connect/sdk/v1/domain/get_installment_request.rb +58 -0
  294. data/lib/worldline/connect/sdk/v1/domain/get_mandate_response.rb +37 -0
  295. data/lib/worldline/connect/sdk/v1/domain/get_privacy_policy_response.rb +35 -0
  296. data/lib/worldline/connect/sdk/v1/domain/gift_card_purchase.rb +44 -0
  297. data/lib/worldline/connect/sdk/v1/domain/hosted_checkout_specific_input.rb +102 -0
  298. data/lib/worldline/connect/sdk/v1/domain/hosted_checkout_specific_output.rb +42 -0
  299. data/lib/worldline/connect/sdk/v1/domain/hosted_file.rb +56 -0
  300. data/lib/worldline/connect/sdk/v1/domain/hosted_mandate_info.rb +72 -0
  301. data/lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb +56 -0
  302. data/lib/worldline/connect/sdk/v1/domain/iin_detail.rb +42 -0
  303. data/lib/worldline/connect/sdk/v1/domain/in_auth.rb +63 -0
  304. data/lib/worldline/connect/sdk/v1/domain/installment_display_hints.rb +49 -0
  305. data/lib/worldline/connect/sdk/v1/domain/installment_options.rb +56 -0
  306. data/lib/worldline/connect/sdk/v1/domain/installment_options_response.rb +40 -0
  307. data/lib/worldline/connect/sdk/v1/domain/installments.rb +73 -0
  308. data/lib/worldline/connect/sdk/v1/domain/invoice_payment_method_specific_input.rb +35 -0
  309. data/lib/worldline/connect/sdk/v1/domain/invoice_payment_method_specific_output.rb +37 -0
  310. data/lib/worldline/connect/sdk/v1/domain/key_value_pair.rb +42 -0
  311. data/lib/worldline/connect/sdk/v1/domain/label_template_element.rb +42 -0
  312. data/lib/worldline/connect/sdk/v1/domain/length_validator.rb +42 -0
  313. data/lib/worldline/connect/sdk/v1/domain/level3_summary_data.rb +56 -0
  314. data/lib/worldline/connect/sdk/v1/domain/line_item.rb +66 -0
  315. data/lib/worldline/connect/sdk/v1/domain/line_item_invoice_data.rb +63 -0
  316. data/lib/worldline/connect/sdk/v1/domain/line_item_level3_interchange_information.rb +84 -0
  317. data/lib/worldline/connect/sdk/v1/domain/loan_recipient.rb +74 -0
  318. data/lib/worldline/connect/sdk/v1/domain/lodging_charge.rb +49 -0
  319. data/lib/worldline/connect/sdk/v1/domain/lodging_data.rb +150 -0
  320. data/lib/worldline/connect/sdk/v1/domain/lodging_room.rb +91 -0
  321. data/lib/worldline/connect/sdk/v1/domain/mandate_address.rb +63 -0
  322. data/lib/worldline/connect/sdk/v1/domain/mandate_approval.rb +49 -0
  323. data/lib/worldline/connect/sdk/v1/domain/mandate_contact_details.rb +35 -0
  324. data/lib/worldline/connect/sdk/v1/domain/mandate_customer.rb +71 -0
  325. data/lib/worldline/connect/sdk/v1/domain/mandate_merchant_action.rb +44 -0
  326. data/lib/worldline/connect/sdk/v1/domain/mandate_non_sepa_direct_debit.rb +46 -0
  327. data/lib/worldline/connect/sdk/v1/domain/mandate_personal_information.rb +44 -0
  328. data/lib/worldline/connect/sdk/v1/domain/mandate_personal_name.rb +42 -0
  329. data/lib/worldline/connect/sdk/v1/domain/mandate_redirect_data.rb +18 -0
  330. data/lib/worldline/connect/sdk/v1/domain/mandate_response.rb +72 -0
  331. data/lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit.rb +37 -0
  332. data/lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit_with_mandate_id.rb +35 -0
  333. data/lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit_without_creditor.rb +76 -0
  334. data/lib/worldline/connect/sdk/v1/domain/merchant.rb +58 -0
  335. data/lib/worldline/connect/sdk/v1/domain/merchant_action.rb +93 -0
  336. data/lib/worldline/connect/sdk/v1/domain/merchant_risk_assessment.rb +35 -0
  337. data/lib/worldline/connect/sdk/v1/domain/microsoft_fraud_results.rb +77 -0
  338. data/lib/worldline/connect/sdk/v1/domain/mobile_payment_data.rb +42 -0
  339. data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input.rb +81 -0
  340. data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input_hosted_checkout.rb +74 -0
  341. data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_output.rb +69 -0
  342. data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product302_specific_input_hosted_checkout.rb +35 -0
  343. data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input.rb +44 -0
  344. data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input_hosted_checkout.rb +51 -0
  345. data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb +49 -0
  346. data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_output.rb +35 -0
  347. data/lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb +56 -0
  348. data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_method_specific_input.rb +95 -0
  349. data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_method_specific_output.rb +37 -0
  350. data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_product705_specific_input.rb +51 -0
  351. data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_product730_specific_input.rb +37 -0
  352. data/lib/worldline/connect/sdk/v1/domain/order.rb +107 -0
  353. data/lib/worldline/connect/sdk/v1/domain/order_approve_payment.rb +55 -0
  354. data/lib/worldline/connect/sdk/v1/domain/order_invoice_data.rb +60 -0
  355. data/lib/worldline/connect/sdk/v1/domain/order_line_details.rb +112 -0
  356. data/lib/worldline/connect/sdk/v1/domain/order_output.rb +46 -0
  357. data/lib/worldline/connect/sdk/v1/domain/order_references.rb +72 -0
  358. data/lib/worldline/connect/sdk/v1/domain/order_references_approve_payment.rb +35 -0
  359. data/lib/worldline/connect/sdk/v1/domain/order_risk_assessment.rb +64 -0
  360. data/lib/worldline/connect/sdk/v1/domain/order_status_output.rb +87 -0
  361. data/lib/worldline/connect/sdk/v1/domain/order_type_information.rb +56 -0
  362. data/lib/worldline/connect/sdk/v1/domain/payment.rb +62 -0
  363. data/lib/worldline/connect/sdk/v1/domain/payment_account_on_file.rb +42 -0
  364. data/lib/worldline/connect/sdk/v1/domain/payment_approval_response.rb +65 -0
  365. data/lib/worldline/connect/sdk/v1/domain/payment_context.rb +58 -0
  366. data/lib/worldline/connect/sdk/v1/domain/payment_creation_output.rb +56 -0
  367. data/lib/worldline/connect/sdk/v1/domain/payment_creation_references.rb +42 -0
  368. data/lib/worldline/connect/sdk/v1/domain/payment_error_response.rb +56 -0
  369. data/lib/worldline/connect/sdk/v1/domain/payment_output.rb +137 -0
  370. data/lib/worldline/connect/sdk/v1/domain/payment_product.rb +223 -0
  371. data/lib/worldline/connect/sdk/v1/domain/payment_product302_specific_data.rb +39 -0
  372. data/lib/worldline/connect/sdk/v1/domain/payment_product3201_specific_output.rb +37 -0
  373. data/lib/worldline/connect/sdk/v1/domain/payment_product320_specific_data.rb +46 -0
  374. data/lib/worldline/connect/sdk/v1/domain/payment_product771_specific_output.rb +35 -0
  375. data/lib/worldline/connect/sdk/v1/domain/payment_product806_specific_output.rb +46 -0
  376. data/lib/worldline/connect/sdk/v1/domain/payment_product836_specific_output.rb +35 -0
  377. data/lib/worldline/connect/sdk/v1/domain/payment_product840_customer_account.rb +98 -0
  378. data/lib/worldline/connect/sdk/v1/domain/payment_product840_specific_output.rb +63 -0
  379. data/lib/worldline/connect/sdk/v1/domain/payment_product863_specific_data.rb +39 -0
  380. data/lib/worldline/connect/sdk/v1/domain/payment_product863_third_party_data.rb +77 -0
  381. data/lib/worldline/connect/sdk/v1/domain/payment_product_display_hints.rb +49 -0
  382. data/lib/worldline/connect/sdk/v1/domain/payment_product_field.rb +67 -0
  383. data/lib/worldline/connect/sdk/v1/domain/payment_product_field_data_restrictions.rb +44 -0
  384. data/lib/worldline/connect/sdk/v1/domain/payment_product_field_display_element.rb +56 -0
  385. data/lib/worldline/connect/sdk/v1/domain/payment_product_field_display_hints.rb +102 -0
  386. data/lib/worldline/connect/sdk/v1/domain/payment_product_field_form_element.rb +47 -0
  387. data/lib/worldline/connect/sdk/v1/domain/payment_product_field_tooltip.rb +42 -0
  388. data/lib/worldline/connect/sdk/v1/domain/payment_product_field_validators.rb +122 -0
  389. data/lib/worldline/connect/sdk/v1/domain/payment_product_filter.rb +50 -0
  390. data/lib/worldline/connect/sdk/v1/domain/payment_product_filters_client_session.rb +45 -0
  391. data/lib/worldline/connect/sdk/v1/domain/payment_product_filters_hosted_checkout.rb +52 -0
  392. data/lib/worldline/connect/sdk/v1/domain/payment_product_group.rb +82 -0
  393. data/lib/worldline/connect/sdk/v1/domain/payment_product_group_response.rb +18 -0
  394. data/lib/worldline/connect/sdk/v1/domain/payment_product_groups.rb +40 -0
  395. data/lib/worldline/connect/sdk/v1/domain/payment_product_networks_response.rb +39 -0
  396. data/lib/worldline/connect/sdk/v1/domain/payment_product_response.rb +18 -0
  397. data/lib/worldline/connect/sdk/v1/domain/payment_products.rb +40 -0
  398. data/lib/worldline/connect/sdk/v1/domain/payment_references.rb +77 -0
  399. data/lib/worldline/connect/sdk/v1/domain/payment_response.rb +18 -0
  400. data/lib/worldline/connect/sdk/v1/domain/payment_status_output.rb +49 -0
  401. data/lib/worldline/connect/sdk/v1/domain/payout_customer.rb +71 -0
  402. data/lib/worldline/connect/sdk/v1/domain/payout_details.rb +55 -0
  403. data/lib/worldline/connect/sdk/v1/domain/payout_error_response.rb +56 -0
  404. data/lib/worldline/connect/sdk/v1/domain/payout_merchant.rb +35 -0
  405. data/lib/worldline/connect/sdk/v1/domain/payout_recipient.rb +49 -0
  406. data/lib/worldline/connect/sdk/v1/domain/payout_references.rb +49 -0
  407. data/lib/worldline/connect/sdk/v1/domain/payout_response.rb +18 -0
  408. data/lib/worldline/connect/sdk/v1/domain/payout_result.rb +53 -0
  409. data/lib/worldline/connect/sdk/v1/domain/personal_identification.rb +49 -0
  410. data/lib/worldline/connect/sdk/v1/domain/personal_information.rb +60 -0
  411. data/lib/worldline/connect/sdk/v1/domain/personal_information_risk_assessment.rb +37 -0
  412. data/lib/worldline/connect/sdk/v1/domain/personal_information_token.rb +37 -0
  413. data/lib/worldline/connect/sdk/v1/domain/personal_name.rb +35 -0
  414. data/lib/worldline/connect/sdk/v1/domain/personal_name_base.rb +49 -0
  415. data/lib/worldline/connect/sdk/v1/domain/personal_name_risk_assessment.rb +18 -0
  416. data/lib/worldline/connect/sdk/v1/domain/personal_name_token.rb +18 -0
  417. data/lib/worldline/connect/sdk/v1/domain/protection_eligibility.rb +42 -0
  418. data/lib/worldline/connect/sdk/v1/domain/range_validator.rb +42 -0
  419. data/lib/worldline/connect/sdk/v1/domain/recurring_payments_data.rb +46 -0
  420. data/lib/worldline/connect/sdk/v1/domain/redirect_data.rb +18 -0
  421. data/lib/worldline/connect/sdk/v1/domain/redirect_data_base.rb +42 -0
  422. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_input.rb +125 -0
  423. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_input_base.rb +46 -0
  424. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_output.rb +105 -0
  425. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product4101_specific_input.rb +49 -0
  426. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product4101_specific_input_base.rb +35 -0
  427. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product809_specific_input.rb +44 -0
  428. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product816_specific_input.rb +37 -0
  429. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product840_specific_input.rb +44 -0
  430. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product840_specific_input_base.rb +18 -0
  431. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product861_specific_input.rb +35 -0
  432. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product863_specific_input.rb +42 -0
  433. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb +49 -0
  434. data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product882_specific_input.rb +35 -0
  435. data/lib/worldline/connect/sdk/v1/domain/redirection_data.rb +42 -0
  436. data/lib/worldline/connect/sdk/v1/domain/refund_bank_method_specific_output.rb +18 -0
  437. data/lib/worldline/connect/sdk/v1/domain/refund_card_method_specific_output.rb +44 -0
  438. data/lib/worldline/connect/sdk/v1/domain/refund_cash_method_specific_output.rb +18 -0
  439. data/lib/worldline/connect/sdk/v1/domain/refund_customer.rb +62 -0
  440. data/lib/worldline/connect/sdk/v1/domain/refund_e_invoice_method_specific_output.rb +18 -0
  441. data/lib/worldline/connect/sdk/v1/domain/refund_e_wallet_method_specific_output.rb +37 -0
  442. data/lib/worldline/connect/sdk/v1/domain/refund_error_response.rb +56 -0
  443. data/lib/worldline/connect/sdk/v1/domain/refund_method_specific_output.rb +49 -0
  444. data/lib/worldline/connect/sdk/v1/domain/refund_mobile_method_specific_output.rb +35 -0
  445. data/lib/worldline/connect/sdk/v1/domain/refund_output.rb +96 -0
  446. data/lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb +49 -0
  447. data/lib/worldline/connect/sdk/v1/domain/refund_payment_product840_specific_output.rb +37 -0
  448. data/lib/worldline/connect/sdk/v1/domain/refund_references.rb +35 -0
  449. data/lib/worldline/connect/sdk/v1/domain/refund_request.rb +71 -0
  450. data/lib/worldline/connect/sdk/v1/domain/refund_response.rb +18 -0
  451. data/lib/worldline/connect/sdk/v1/domain/refund_result.rb +53 -0
  452. data/lib/worldline/connect/sdk/v1/domain/refunds_response.rb +40 -0
  453. data/lib/worldline/connect/sdk/v1/domain/regular_expression_validator.rb +35 -0
  454. data/lib/worldline/connect/sdk/v1/domain/result_do_risk_assessment.rb +60 -0
  455. data/lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb +49 -0
  456. data/lib/worldline/connect/sdk/v1/domain/risk_assessment.rb +62 -0
  457. data/lib/worldline/connect/sdk/v1/domain/risk_assessment_bank_account.rb +46 -0
  458. data/lib/worldline/connect/sdk/v1/domain/risk_assessment_card.rb +37 -0
  459. data/lib/worldline/connect/sdk/v1/domain/risk_assessment_response.rb +40 -0
  460. data/lib/worldline/connect/sdk/v1/domain/scheme_token_data.rb +63 -0
  461. data/lib/worldline/connect/sdk/v1/domain/sdk_data_input.rb +79 -0
  462. data/lib/worldline/connect/sdk/v1/domain/sdk_data_output.rb +35 -0
  463. data/lib/worldline/connect/sdk/v1/domain/seller.rb +114 -0
  464. data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_input.rb +86 -0
  465. data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_input_base.rb +37 -0
  466. data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_output.rb +53 -0
  467. data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_product771_specific_input.rb +44 -0
  468. data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_product771_specific_input_base.rb +44 -0
  469. data/lib/worldline/connect/sdk/v1/domain/session_request.rb +48 -0
  470. data/lib/worldline/connect/sdk/v1/domain/session_response.rb +74 -0
  471. data/lib/worldline/connect/sdk/v1/domain/shipping.rb +86 -0
  472. data/lib/worldline/connect/sdk/v1/domain/shipping_risk_assessment.rb +51 -0
  473. data/lib/worldline/connect/sdk/v1/domain/shopping_cart.rb +82 -0
  474. data/lib/worldline/connect/sdk/v1/domain/swift.rb +98 -0
  475. data/lib/worldline/connect/sdk/v1/domain/test_connection.rb +35 -0
  476. data/lib/worldline/connect/sdk/v1/domain/third_party_data.rb +37 -0
  477. data/lib/worldline/connect/sdk/v1/domain/third_party_status_response.rb +35 -0
  478. data/lib/worldline/connect/sdk/v1/domain/three_d_secure.rb +46 -0
  479. data/lib/worldline/connect/sdk/v1/domain/three_d_secure_base.rb +18 -0
  480. data/lib/worldline/connect/sdk/v1/domain/three_d_secure_data.rb +49 -0
  481. data/lib/worldline/connect/sdk/v1/domain/three_d_secure_results.rb +127 -0
  482. data/lib/worldline/connect/sdk/v1/domain/token_card.rb +46 -0
  483. data/lib/worldline/connect/sdk/v1/domain/token_card_data.rb +51 -0
  484. data/lib/worldline/connect/sdk/v1/domain/token_e_wallet.rb +46 -0
  485. data/lib/worldline/connect/sdk/v1/domain/token_e_wallet_data.rb +35 -0
  486. data/lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit.rb +46 -0
  487. data/lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit_payment_product705_specific_data.rb +44 -0
  488. data/lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit_payment_product730_specific_data.rb +37 -0
  489. data/lib/worldline/connect/sdk/v1/domain/token_response.rb +85 -0
  490. data/lib/worldline/connect/sdk/v1/domain/token_sepa_direct_debit.rb +46 -0
  491. data/lib/worldline/connect/sdk/v1/domain/token_sepa_direct_debit_without_creditor.rb +46 -0
  492. data/lib/worldline/connect/sdk/v1/domain/tokenize_payment_request.rb +35 -0
  493. data/lib/worldline/connect/sdk/v1/domain/trial_information.rb +69 -0
  494. data/lib/worldline/connect/sdk/v1/domain/trial_period.rb +42 -0
  495. data/lib/worldline/connect/sdk/v1/domain/trustly_bank_account.rb +56 -0
  496. data/lib/worldline/connect/sdk/v1/domain/update_token_request.rb +71 -0
  497. data/lib/worldline/connect/sdk/v1/domain/upload_dispute_file_response.rb +42 -0
  498. data/lib/worldline/connect/sdk/v1/domain/validation_bank_account_check.rb +49 -0
  499. data/lib/worldline/connect/sdk/v1/domain/validation_bank_account_output.rb +68 -0
  500. data/lib/worldline/connect/sdk/v1/domain/value_mapping_element.rb +56 -0
  501. data/lib/worldline/connect/sdk/v1/domain/webhooks_event.rb +108 -0
  502. data/lib/worldline/connect/sdk/v1/domain.rb +5 -0
  503. data/lib/worldline/connect/sdk/v1/exception_factory.rb +76 -0
  504. data/lib/worldline/connect/sdk/v1/idempotence_exception.rb +34 -0
  505. data/lib/worldline/connect/sdk/v1/merchant/captures/captures_client.rb +96 -0
  506. data/lib/worldline/connect/sdk/v1/merchant/captures.rb +5 -0
  507. data/lib/worldline/connect/sdk/v1/merchant/disputes/disputes_client.rb +156 -0
  508. data/lib/worldline/connect/sdk/v1/merchant/disputes/upload_file_request.rb +32 -0
  509. data/lib/worldline/connect/sdk/v1/merchant/disputes.rb +5 -0
  510. data/lib/worldline/connect/sdk/v1/merchant/files/files_client.rb +61 -0
  511. data/lib/worldline/connect/sdk/v1/merchant/files.rb +5 -0
  512. data/lib/worldline/connect/sdk/v1/merchant/hostedcheckouts/hostedcheckouts_client.rb +119 -0
  513. data/lib/worldline/connect/sdk/v1/merchant/hostedcheckouts.rb +5 -0
  514. data/lib/worldline/connect/sdk/v1/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb +90 -0
  515. data/lib/worldline/connect/sdk/v1/merchant/hostedmandatemanagements.rb +5 -0
  516. data/lib/worldline/connect/sdk/v1/merchant/installments/installments_client.rb +59 -0
  517. data/lib/worldline/connect/sdk/v1/merchant/installments.rb +5 -0
  518. data/lib/worldline/connect/sdk/v1/merchant/mandates/mandates_client.rb +215 -0
  519. data/lib/worldline/connect/sdk/v1/merchant/mandates.rb +5 -0
  520. data/lib/worldline/connect/sdk/v1/merchant/merchant_client.rb +137 -0
  521. data/lib/worldline/connect/sdk/v1/merchant/payments/find_payments_params.rb +48 -0
  522. data/lib/worldline/connect/sdk/v1/merchant/payments/payments_client.rb +570 -0
  523. data/lib/worldline/connect/sdk/v1/merchant/payments.rb +5 -0
  524. data/lib/worldline/connect/sdk/v1/merchant/payouts/find_payouts_params.rb +44 -0
  525. data/lib/worldline/connect/sdk/v1/merchant/payouts/payouts_client.rb +211 -0
  526. data/lib/worldline/connect/sdk/v1/merchant/payouts.rb +5 -0
  527. data/lib/worldline/connect/sdk/v1/merchant/productgroups/find_productgroups_params.rb +67 -0
  528. data/lib/worldline/connect/sdk/v1/merchant/productgroups/get_productgroup_params.rb +67 -0
  529. data/lib/worldline/connect/sdk/v1/merchant/productgroups/productgroups_client.rb +123 -0
  530. data/lib/worldline/connect/sdk/v1/merchant/productgroups.rb +5 -0
  531. data/lib/worldline/connect/sdk/v1/merchant/products/directory_params.rb +36 -0
  532. data/lib/worldline/connect/sdk/v1/merchant/products/find_products_params.rb +67 -0
  533. data/lib/worldline/connect/sdk/v1/merchant/products/get_product_params.rb +71 -0
  534. data/lib/worldline/connect/sdk/v1/merchant/products/networks_params.rb +44 -0
  535. data/lib/worldline/connect/sdk/v1/merchant/products/products_client.rb +253 -0
  536. data/lib/worldline/connect/sdk/v1/merchant/products.rb +5 -0
  537. data/lib/worldline/connect/sdk/v1/merchant/refunds/find_refunds_params.rb +48 -0
  538. data/lib/worldline/connect/sdk/v1/merchant/refunds/refunds_client.rb +180 -0
  539. data/lib/worldline/connect/sdk/v1/merchant/refunds.rb +5 -0
  540. data/lib/worldline/connect/sdk/v1/merchant/riskassessments/riskassessments_client.rb +87 -0
  541. data/lib/worldline/connect/sdk/v1/merchant/riskassessments.rb +5 -0
  542. data/lib/worldline/connect/sdk/v1/merchant/services/convert_amount_params.rb +40 -0
  543. data/lib/worldline/connect/sdk/v1/merchant/services/privacypolicy_params.rb +36 -0
  544. data/lib/worldline/connect/sdk/v1/merchant/services/services_client.rb +171 -0
  545. data/lib/worldline/connect/sdk/v1/merchant/services.rb +5 -0
  546. data/lib/worldline/connect/sdk/v1/merchant/sessions/sessions_client.rb +59 -0
  547. data/lib/worldline/connect/sdk/v1/merchant/sessions.rb +5 -0
  548. data/lib/worldline/connect/sdk/v1/merchant/tokens/delete_token_params.rb +32 -0
  549. data/lib/worldline/connect/sdk/v1/merchant/tokens/tokens_client.rb +182 -0
  550. data/lib/worldline/connect/sdk/v1/merchant/tokens.rb +5 -0
  551. data/lib/worldline/connect/sdk/v1/merchant.rb +5 -0
  552. data/lib/worldline/connect/sdk/v1/platform_exception.rb +26 -0
  553. data/lib/worldline/connect/sdk/v1/reference_exception.rb +25 -0
  554. data/lib/worldline/connect/sdk/v1/v1_client.rb +35 -0
  555. data/lib/worldline/connect/sdk/v1/validation_exception.rb +25 -0
  556. data/lib/worldline/connect/sdk/v1/webhooks/v1_webhooks_factory.rb +27 -0
  557. data/lib/worldline/connect/sdk/v1/webhooks/webhooks_helper.rb +45 -0
  558. data/lib/worldline/connect/sdk/v1/webhooks.rb +5 -0
  559. data/lib/worldline/connect/sdk/v1.rb +5 -0
  560. data/lib/worldline/connect/sdk/webhooks/api_version_mismatch_exception.rb +24 -0
  561. data/lib/worldline/connect/sdk/webhooks/in_memory_secret_key_store.rb +61 -0
  562. data/lib/worldline/connect/sdk/webhooks/secret_key_not_available_exception.rb +23 -0
  563. data/lib/worldline/connect/sdk/webhooks/secret_key_store.rb +20 -0
  564. data/lib/worldline/connect/sdk/webhooks/signature_validation_exception.rb +22 -0
  565. data/lib/worldline/connect/sdk/webhooks/signature_validator.rb +83 -0
  566. data/lib/worldline/connect/sdk/webhooks/webhooks.rb +28 -0
  567. data/spec/comparable_extension.rb +2 -2
  568. data/spec/fixtures/resources/properties.proxy.yml +2 -2
  569. data/spec/fixtures/resources/properties.yml +2 -2
  570. data/spec/integration/connection_pooling_spec.rb +6 -6
  571. data/spec/integration/convert_amount_spec.rb +4 -4
  572. data/spec/integration/idempotence_spec.rb +19 -19
  573. data/spec/integration/multiline_header_spec.rb +15 -14
  574. data/spec/integration/multipart_form_data_spec.rb +31 -31
  575. data/spec/integration/payment_product_groups_spec.rb +3 -3
  576. data/spec/integration/payment_products_spec.rb +6 -6
  577. data/spec/integration/risk_assessments_spec.rb +12 -12
  578. data/spec/integration/sdk_proxy_spec.rb +22 -21
  579. data/spec/integration/token_spec.rb +16 -15
  580. data/spec/integration_setup.rb +7 -7
  581. data/spec/lib/authentication/v1hmac_authenticator_spec.rb +72 -0
  582. data/spec/lib/client_spec.rb +16 -16
  583. data/spec/lib/communication/default_connection_idempotence_spec.rb +140 -0
  584. data/spec/lib/communication/default_connection_logger_spec.rb +569 -0
  585. data/spec/lib/communication/default_connection_spec.rb +351 -0
  586. data/spec/lib/communicator_configuration_spec.rb +33 -33
  587. data/spec/lib/communicator_spec.rb +11 -8
  588. data/spec/lib/factory_spec.rb +10 -13
  589. data/spec/lib/json/default_marshaller_spec.rb +36 -0
  590. data/spec/lib/logging/obfuscation/body_obfuscator_spec.rb +1 -1
  591. data/spec/lib/logging/obfuscation/header_obfuscator_spec.rb +2 -2
  592. data/spec/lib/logging/ruby_communicator_logger_spec.rb +2 -2
  593. data/spec/lib/logging/stdout_communicator_logger_spec.rb +2 -2
  594. data/spec/lib/metadata_provider_spec.rb +93 -0
  595. data/spec/lib/payments_client_spec.rb +47 -48
  596. data/spec/lib/requestparams/delete_params_spec.rb +3 -3
  597. data/spec/lib/requestparams/directory_params_spec.rb +4 -3
  598. data/spec/lib/requestparams/find_params_spec.rb +5 -5
  599. data/spec/lib/requestparams/get_params_spec.rb +5 -5
  600. data/spec/lib/webhooks/webhooks_helper_spec.rb +8 -5
  601. data/spec/lib/webhooks/webhooks_spec.rb +3 -3
  602. data/spec/spec_helper.rb +3 -3
  603. metadata +610 -636
  604. data/examples/merchant/captures/create_refund_capture_example.rb +0 -54
  605. data/examples/merchant/captures/get_capture_example.rb +0 -22
  606. data/examples/merchant/disputes/cancel_dispute_example.rb +0 -22
  607. data/examples/merchant/disputes/get_dispute_example.rb +0 -22
  608. data/examples/merchant/disputes/submit_dispute_example.rb +0 -22
  609. data/examples/merchant/disputes/upload_dispute_file_example.rb +0 -30
  610. data/examples/merchant/example_configuration.yml +0 -6
  611. data/examples/merchant/files/get_file_example.rb +0 -28
  612. data/examples/merchant/hostedcheckouts/create_hosted_checkout_example.rb +0 -54
  613. data/examples/merchant/hostedcheckouts/delete_hosted_checkout_example.rb +0 -22
  614. data/examples/merchant/hostedcheckouts/get_hosted_checkout_example.rb +0 -22
  615. data/examples/merchant/hostedmandatemanagements/create_hosted_mandate_management_example.rb +0 -40
  616. data/examples/merchant/hostedmandatemanagements/get_hosted_mandate_management_example.rb +0 -22
  617. data/examples/merchant/installments/get_installments_info_example.rb +0 -36
  618. data/examples/merchant/mandates/block_mandate_example.rb +0 -22
  619. data/examples/merchant/mandates/create_mandate_example.rb +0 -65
  620. data/examples/merchant/mandates/create_mandate_with_reference_example.rb +0 -65
  621. data/examples/merchant/mandates/get_mandate_example.rb +0 -22
  622. data/examples/merchant/mandates/revoke_mandate_example.rb +0 -22
  623. data/examples/merchant/mandates/unblock_mandate_example.rb +0 -22
  624. data/examples/merchant/payments/approve_payment_example.rb +0 -42
  625. data/examples/merchant/payments/cancel_approval_payment_example.rb +0 -22
  626. data/examples/merchant/payments/cancel_payment_example.rb +0 -22
  627. data/examples/merchant/payments/capture_payment_example.rb +0 -27
  628. data/examples/merchant/payments/complete_payment_example.rb +0 -38
  629. data/examples/merchant/payments/create_payment_dispute_example.rb +0 -37
  630. data/examples/merchant/payments/create_payment_example.rb +0 -223
  631. data/examples/merchant/payments/find_payments_example.rb +0 -31
  632. data/examples/merchant/payments/get_payment_captures_example.rb +0 -22
  633. data/examples/merchant/payments/get_payment_device_fingerprint_details_example.rb +0 -22
  634. data/examples/merchant/payments/get_payment_disputes_example.rb +0 -22
  635. data/examples/merchant/payments/get_payment_example.rb +0 -22
  636. data/examples/merchant/payments/get_refunds_example.rb +0 -22
  637. data/examples/merchant/payments/get_third_party_status_example.rb +0 -22
  638. data/examples/merchant/payments/process_challenged_payment_example.rb +0 -22
  639. data/examples/merchant/payments/refund_payment_example.rb +0 -85
  640. data/examples/merchant/payments/tokenize_payment_example.rb +0 -27
  641. data/examples/merchant/payouts/approve_payout_example.rb +0 -27
  642. data/examples/merchant/payouts/cancel_approval_payout_example.rb +0 -22
  643. data/examples/merchant/payouts/cancel_payout_example.rb +0 -22
  644. data/examples/merchant/payouts/create_payout_example.rb +0 -104
  645. data/examples/merchant/payouts/find_payouts_example.rb +0 -30
  646. data/examples/merchant/payouts/get_payout_example.rb +0 -22
  647. data/examples/merchant/productgroups/get_device_fingerprint_for_groups_example.rb +0 -26
  648. data/examples/merchant/productgroups/get_payment_product_group_example.rb +0 -33
  649. data/examples/merchant/productgroups/get_payment_product_groups_example.rb +0 -33
  650. data/examples/merchant/products/create_payment_product_session_example.rb +0 -33
  651. data/examples/merchant/products/get_customer_details_example.rb +0 -38
  652. data/examples/merchant/products/get_device_fingerprint_example.rb +0 -26
  653. data/examples/merchant/products/get_directory_example.rb +0 -28
  654. data/examples/merchant/products/get_networks_example.rb +0 -30
  655. data/examples/merchant/products/get_payment_product_example.rb +0 -34
  656. data/examples/merchant/products/get_payment_products_example.rb +0 -33
  657. data/examples/merchant/refunds/approve_refund_example.rb +0 -27
  658. data/examples/merchant/refunds/cancel_approval_refund_example.rb +0 -22
  659. data/examples/merchant/refunds/cancel_refund_example.rb +0 -22
  660. data/examples/merchant/refunds/find_refunds_example.rb +0 -31
  661. data/examples/merchant/refunds/get_refund_example.rb +0 -22
  662. data/examples/merchant/riskassessments/risk_assessment_bank_account_example.rb +0 -54
  663. data/examples/merchant/riskassessments/risk_assessment_cards_example.rb +0 -114
  664. data/examples/merchant/services/convert_amount_example.rb +0 -29
  665. data/examples/merchant/services/convert_bank_account_example.rb +0 -34
  666. data/examples/merchant/services/get_privacy_policy_example.rb +0 -28
  667. data/examples/merchant/services/iin_details_example.rb +0 -27
  668. data/examples/merchant/services/test_connection_example.rb +0 -22
  669. data/examples/merchant/sessions/create_session_example.rb +0 -34
  670. data/examples/merchant/tokens/approve_sepa_direct_debit_token_example.rb +0 -29
  671. data/examples/merchant/tokens/create_token_example.rb +0 -82
  672. data/examples/merchant/tokens/delete_token_example.rb +0 -27
  673. data/examples/merchant/tokens/get_token_example.rb +0 -22
  674. data/examples/merchant/tokens/update_token_example.rb +0 -76
  675. data/lib/ingenico/connect/sdk/api_exception.rb +0 -53
  676. data/lib/ingenico/connect/sdk/api_resource.rb +0 -144
  677. data/lib/ingenico/connect/sdk/authenticator.rb +0 -19
  678. data/lib/ingenico/connect/sdk/authorization_exception.rb +0 -18
  679. data/lib/ingenico/connect/sdk/call_context.rb +0 -29
  680. data/lib/ingenico/connect/sdk/client.rb +0 -106
  681. data/lib/ingenico/connect/sdk/communication_exception.rb +0 -19
  682. data/lib/ingenico/connect/sdk/communicator.rb +0 -515
  683. data/lib/ingenico/connect/sdk/communicator_configuration.rb +0 -86
  684. data/lib/ingenico/connect/sdk/connection.rb +0 -46
  685. data/lib/ingenico/connect/sdk/data_object.rb +0 -34
  686. data/lib/ingenico/connect/sdk/declined_payment_exception.rb +0 -47
  687. data/lib/ingenico/connect/sdk/declined_payout_exception.rb +0 -47
  688. data/lib/ingenico/connect/sdk/declined_refund_exception.rb +0 -47
  689. data/lib/ingenico/connect/sdk/declined_transaction_exception.rb +0 -21
  690. data/lib/ingenico/connect/sdk/defaultimpl/authorization_type.rb +0 -22
  691. data/lib/ingenico/connect/sdk/defaultimpl/default_authenticator.rb +0 -111
  692. data/lib/ingenico/connect/sdk/defaultimpl/default_connection.rb +0 -427
  693. data/lib/ingenico/connect/sdk/defaultimpl/default_marshaller.rb +0 -41
  694. data/lib/ingenico/connect/sdk/defaultimpl.rb +0 -1
  695. data/lib/ingenico/connect/sdk/domain/capture/capture.rb +0 -53
  696. data/lib/ingenico/connect/sdk/domain/capture/capture_output.rb +0 -137
  697. data/lib/ingenico/connect/sdk/domain/capture/capture_response.rb +0 -18
  698. data/lib/ingenico/connect/sdk/domain/capture/capture_status_output.rb +0 -54
  699. data/lib/ingenico/connect/sdk/domain/capture/captures_response.rb +0 -40
  700. data/lib/ingenico/connect/sdk/domain/capture.rb +0 -5
  701. data/lib/ingenico/connect/sdk/domain/definitions/abstract_order_status.rb +0 -35
  702. data/lib/ingenico/connect/sdk/domain/definitions/abstract_payment_method_specific_input.rb +0 -35
  703. data/lib/ingenico/connect/sdk/domain/definitions/additional_order_input_airline_data.rb +0 -46
  704. data/lib/ingenico/connect/sdk/domain/definitions/address.rb +0 -84
  705. data/lib/ingenico/connect/sdk/domain/definitions/airline_data.rb +0 -215
  706. data/lib/ingenico/connect/sdk/domain/definitions/airline_flight_leg.rb +0 -170
  707. data/lib/ingenico/connect/sdk/domain/definitions/airline_passenger.rb +0 -56
  708. data/lib/ingenico/connect/sdk/domain/definitions/amount_of_money.rb +0 -42
  709. data/lib/ingenico/connect/sdk/domain/definitions/bank_account.rb +0 -35
  710. data/lib/ingenico/connect/sdk/domain/definitions/bank_account_bban.rb +0 -70
  711. data/lib/ingenico/connect/sdk/domain/definitions/bank_account_iban.rb +0 -35
  712. data/lib/ingenico/connect/sdk/domain/definitions/card.rb +0 -42
  713. data/lib/ingenico/connect/sdk/domain/definitions/card_essentials.rb +0 -49
  714. data/lib/ingenico/connect/sdk/domain/definitions/card_fraud_results.rb +0 -60
  715. data/lib/ingenico/connect/sdk/domain/definitions/card_without_cvv.rb +0 -35
  716. data/lib/ingenico/connect/sdk/domain/definitions/company_information.rb +0 -42
  717. data/lib/ingenico/connect/sdk/domain/definitions/contact_details_base.rb +0 -42
  718. data/lib/ingenico/connect/sdk/domain/definitions/customer_base.rb +0 -53
  719. data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields.rb +0 -186
  720. data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb +0 -56
  721. data/lib/ingenico/connect/sdk/domain/definitions/fraud_results.rb +0 -53
  722. data/lib/ingenico/connect/sdk/domain/definitions/fraud_results_retail_decisions.rb +0 -49
  723. data/lib/ingenico/connect/sdk/domain/definitions/fraugster_results.rb +0 -42
  724. data/lib/ingenico/connect/sdk/domain/definitions/in_auth.rb +0 -63
  725. data/lib/ingenico/connect/sdk/domain/definitions/key_value_pair.rb +0 -42
  726. data/lib/ingenico/connect/sdk/domain/definitions/lodging_charge.rb +0 -49
  727. data/lib/ingenico/connect/sdk/domain/definitions/lodging_data.rb +0 -150
  728. data/lib/ingenico/connect/sdk/domain/definitions/lodging_room.rb +0 -91
  729. data/lib/ingenico/connect/sdk/domain/definitions/microsoft_fraud_results.rb +0 -77
  730. data/lib/ingenico/connect/sdk/domain/definitions/order_status_output.rb +0 -87
  731. data/lib/ingenico/connect/sdk/domain/definitions/payment_product_filter.rb +0 -50
  732. data/lib/ingenico/connect/sdk/domain/definitions/personal_name_base.rb +0 -49
  733. data/lib/ingenico/connect/sdk/domain/definitions/redirect_data_base.rb +0 -42
  734. data/lib/ingenico/connect/sdk/domain/definitions/result_do_risk_assessment.rb +0 -60
  735. data/lib/ingenico/connect/sdk/domain/definitions/retail_decisions_cc_fraud_check_output.rb +0 -49
  736. data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_check.rb +0 -49
  737. data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_output.rb +0 -68
  738. data/lib/ingenico/connect/sdk/domain/definitions.rb +0 -5
  739. data/lib/ingenico/connect/sdk/domain/dispute/create_dispute_request.rb +0 -65
  740. data/lib/ingenico/connect/sdk/domain/dispute/dispute.rb +0 -67
  741. data/lib/ingenico/connect/sdk/domain/dispute/dispute_creation_detail.rb +0 -49
  742. data/lib/ingenico/connect/sdk/domain/dispute/dispute_output.rb +0 -102
  743. data/lib/ingenico/connect/sdk/domain/dispute/dispute_reference.rb +0 -63
  744. data/lib/ingenico/connect/sdk/domain/dispute/dispute_response.rb +0 -18
  745. data/lib/ingenico/connect/sdk/domain/dispute/dispute_status_output.rb +0 -56
  746. data/lib/ingenico/connect/sdk/domain/dispute/disputes_response.rb +0 -40
  747. data/lib/ingenico/connect/sdk/domain/dispute/upload_dispute_file_response.rb +0 -42
  748. data/lib/ingenico/connect/sdk/domain/dispute.rb +0 -5
  749. data/lib/ingenico/connect/sdk/domain/errors/api_error.rb +0 -77
  750. data/lib/ingenico/connect/sdk/domain/errors/error_response.rb +0 -47
  751. data/lib/ingenico/connect/sdk/domain/errors.rb +0 -5
  752. data/lib/ingenico/connect/sdk/domain/file/hosted_file.rb +0 -56
  753. data/lib/ingenico/connect/sdk/domain/file.rb +0 -5
  754. data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_request.rb +0 -127
  755. data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_response.rb +0 -67
  756. data/lib/ingenico/connect/sdk/domain/hostedcheckout/created_payment_output.rb +0 -85
  757. data/lib/ingenico/connect/sdk/domain/hostedcheckout/displayed_data.rb +0 -54
  758. data/lib/ingenico/connect/sdk/domain/hostedcheckout/frequency.rb +0 -42
  759. data/lib/ingenico/connect/sdk/domain/hostedcheckout/get_hosted_checkout_response.rb +0 -44
  760. data/lib/ingenico/connect/sdk/domain/hostedcheckout/hosted_checkout_specific_input.rb +0 -102
  761. data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_method_specific_input_hosted_checkout.rb +0 -74
  762. data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_product302_specific_input_hosted_checkout.rb +0 -35
  763. data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_product320_specific_input_hosted_checkout.rb +0 -51
  764. data/lib/ingenico/connect/sdk/domain/hostedcheckout/payment_product_filters_hosted_checkout.rb +0 -52
  765. data/lib/ingenico/connect/sdk/domain/hostedcheckout/recurring_payments_data.rb +0 -46
  766. data/lib/ingenico/connect/sdk/domain/hostedcheckout/trial_information.rb +0 -69
  767. data/lib/ingenico/connect/sdk/domain/hostedcheckout/trial_period.rb +0 -42
  768. data/lib/ingenico/connect/sdk/domain/hostedcheckout.rb +0 -5
  769. data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/create_hosted_mandate_management_request.rb +0 -46
  770. data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/create_hosted_mandate_management_response.rb +0 -49
  771. data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/get_hosted_mandate_management_response.rb +0 -44
  772. data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_info.rb +0 -72
  773. data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_management_specific_input.rb +0 -56
  774. data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement.rb +0 -5
  775. data/lib/ingenico/connect/sdk/domain/installments/get_installment_request.rb +0 -58
  776. data/lib/ingenico/connect/sdk/domain/installments/installment_display_hints.rb +0 -49
  777. data/lib/ingenico/connect/sdk/domain/installments/installment_options.rb +0 -56
  778. data/lib/ingenico/connect/sdk/domain/installments/installment_options_response.rb +0 -40
  779. data/lib/ingenico/connect/sdk/domain/installments.rb +0 -5
  780. data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_base.rb +0 -79
  781. data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_request.rb +0 -18
  782. data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_response.rb +0 -46
  783. data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_with_return_url.rb +0 -35
  784. data/lib/ingenico/connect/sdk/domain/mandates/get_mandate_response.rb +0 -37
  785. data/lib/ingenico/connect/sdk/domain/mandates/mandate_address.rb +0 -63
  786. data/lib/ingenico/connect/sdk/domain/mandates/mandate_contact_details.rb +0 -35
  787. data/lib/ingenico/connect/sdk/domain/mandates/mandate_customer.rb +0 -71
  788. data/lib/ingenico/connect/sdk/domain/mandates/mandate_merchant_action.rb +0 -44
  789. data/lib/ingenico/connect/sdk/domain/mandates/mandate_personal_information.rb +0 -44
  790. data/lib/ingenico/connect/sdk/domain/mandates/mandate_personal_name.rb +0 -42
  791. data/lib/ingenico/connect/sdk/domain/mandates/mandate_redirect_data.rb +0 -18
  792. data/lib/ingenico/connect/sdk/domain/mandates/mandate_response.rb +0 -72
  793. data/lib/ingenico/connect/sdk/domain/mandates.rb +0 -5
  794. data/lib/ingenico/connect/sdk/domain/metadata/shopping_cart_extension.rb +0 -59
  795. data/lib/ingenico/connect/sdk/domain/metadata.rb +0 -1
  796. data/lib/ingenico/connect/sdk/domain/payment/abstract_bank_transfer_payment_method_specific_input.rb +0 -35
  797. data/lib/ingenico/connect/sdk/domain/payment/abstract_card_payment_method_specific_input.rb +0 -141
  798. data/lib/ingenico/connect/sdk/domain/payment/abstract_cash_payment_method_specific_input.rb +0 -18
  799. data/lib/ingenico/connect/sdk/domain/payment/abstract_e_invoice_payment_method_specific_input.rb +0 -35
  800. data/lib/ingenico/connect/sdk/domain/payment/abstract_payment_method_specific_output.rb +0 -35
  801. data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_method_specific_input.rb +0 -63
  802. data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product4101_specific_input.rb +0 -18
  803. data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product840_specific_input.rb +0 -35
  804. data/lib/ingenico/connect/sdk/domain/payment/abstract_sepa_direct_debit_payment_method_specific_input.rb +0 -18
  805. data/lib/ingenico/connect/sdk/domain/payment/abstract_sepa_direct_debit_payment_product771_specific_input.rb +0 -37
  806. data/lib/ingenico/connect/sdk/domain/payment/abstract_three_d_secure.rb +0 -97
  807. data/lib/ingenico/connect/sdk/domain/payment/account_funding_recipient.rb +0 -74
  808. data/lib/ingenico/connect/sdk/domain/payment/additional_order_input.rb +0 -111
  809. data/lib/ingenico/connect/sdk/domain/payment/address_personal.rb +0 -37
  810. data/lib/ingenico/connect/sdk/domain/payment/afr_name.rb +0 -42
  811. data/lib/ingenico/connect/sdk/domain/payment/amount_breakdown.rb +0 -42
  812. data/lib/ingenico/connect/sdk/domain/payment/approve_payment_card_payment_method_specific_output.rb +0 -35
  813. data/lib/ingenico/connect/sdk/domain/payment/approve_payment_direct_debit_payment_method_specific_input.rb +0 -18
  814. data/lib/ingenico/connect/sdk/domain/payment/approve_payment_mobile_payment_method_specific_output.rb +0 -35
  815. data/lib/ingenico/connect/sdk/domain/payment/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +0 -18
  816. data/lib/ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input.rb +0 -42
  817. data/lib/ingenico/connect/sdk/domain/payment/approve_payment_request.rb +0 -62
  818. data/lib/ingenico/connect/sdk/domain/payment/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +0 -18
  819. data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input.rb +0 -18
  820. data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input_base.rb +0 -18
  821. data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_output.rb +0 -37
  822. data/lib/ingenico/connect/sdk/domain/payment/browser_data.rb +0 -77
  823. data/lib/ingenico/connect/sdk/domain/payment/cancel_approval_payment_response.rb +0 -37
  824. data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb +0 -35
  825. data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_mobile_payment_method_specific_output.rb +0 -35
  826. data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_response.rb +0 -55
  827. data/lib/ingenico/connect/sdk/domain/payment/capture_payment_request.rb +0 -42
  828. data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input.rb +0 -89
  829. data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input_base.rb +0 -37
  830. data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_output.rb +0 -83
  831. data/lib/ingenico/connect/sdk/domain/payment/card_recurrence_details.rb +0 -49
  832. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input.rb +0 -93
  833. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input_base.rb +0 -18
  834. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_output.rb +0 -37
  835. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input.rb +0 -38
  836. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input.rb +0 -18
  837. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1521_specific_input.rb +0 -18
  838. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1522_specific_input.rb +0 -18
  839. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1523_specific_input.rb +0 -18
  840. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1524_specific_input.rb +0 -18
  841. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1526_specific_input.rb +0 -18
  842. data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base.rb +0 -35
  843. data/lib/ingenico/connect/sdk/domain/payment/complete_payment_card_payment_method_specific_input.rb +0 -37
  844. data/lib/ingenico/connect/sdk/domain/payment/complete_payment_request.rb +0 -55
  845. data/lib/ingenico/connect/sdk/domain/payment/complete_payment_response.rb +0 -18
  846. data/lib/ingenico/connect/sdk/domain/payment/contact_details.rb +0 -56
  847. data/lib/ingenico/connect/sdk/domain/payment/create_payment_request.rb +0 -143
  848. data/lib/ingenico/connect/sdk/domain/payment/create_payment_response.rb +0 -18
  849. data/lib/ingenico/connect/sdk/domain/payment/create_payment_result.rb +0 -55
  850. data/lib/ingenico/connect/sdk/domain/payment/customer.rb +0 -119
  851. data/lib/ingenico/connect/sdk/domain/payment/customer_account.rb +0 -118
  852. data/lib/ingenico/connect/sdk/domain/payment/customer_account_authentication.rb +0 -49
  853. data/lib/ingenico/connect/sdk/domain/payment/customer_approve_payment.rb +0 -35
  854. data/lib/ingenico/connect/sdk/domain/payment/customer_device.rb +0 -86
  855. data/lib/ingenico/connect/sdk/domain/payment/customer_payment_activity.rb +0 -49
  856. data/lib/ingenico/connect/sdk/domain/payment/decrypted_payment_data.rb +0 -86
  857. data/lib/ingenico/connect/sdk/domain/payment/device_fingerprint_details.rb +0 -42
  858. data/lib/ingenico/connect/sdk/domain/payment/device_render_options.rb +0 -55
  859. data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_input.rb +0 -44
  860. data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_input_base.rb +0 -18
  861. data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_output.rb +0 -46
  862. data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_product9000_specific_input.rb +0 -44
  863. data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_product9000_specific_output.rb +0 -35
  864. data/lib/ingenico/connect/sdk/domain/payment/exemption_output.rb +0 -49
  865. data/lib/ingenico/connect/sdk/domain/payment/external_cardholder_authentication_data.rb +0 -107
  866. data/lib/ingenico/connect/sdk/domain/payment/find_payments_response.rb +0 -61
  867. data/lib/ingenico/connect/sdk/domain/payment/g_pay_three_d_secure.rb +0 -65
  868. data/lib/ingenico/connect/sdk/domain/payment/gift_card_purchase.rb +0 -44
  869. data/lib/ingenico/connect/sdk/domain/payment/hosted_checkout_specific_output.rb +0 -42
  870. data/lib/ingenico/connect/sdk/domain/payment/installments.rb +0 -73
  871. data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_input.rb +0 -35
  872. data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_output.rb +0 -37
  873. data/lib/ingenico/connect/sdk/domain/payment/level3_summary_data.rb +0 -56
  874. data/lib/ingenico/connect/sdk/domain/payment/line_item.rb +0 -66
  875. data/lib/ingenico/connect/sdk/domain/payment/line_item_invoice_data.rb +0 -63
  876. data/lib/ingenico/connect/sdk/domain/payment/line_item_level3_interchange_information.rb +0 -84
  877. data/lib/ingenico/connect/sdk/domain/payment/loan_recipient.rb +0 -74
  878. data/lib/ingenico/connect/sdk/domain/payment/merchant.rb +0 -58
  879. data/lib/ingenico/connect/sdk/domain/payment/merchant_action.rb +0 -93
  880. data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_data.rb +0 -42
  881. data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_input.rb +0 -81
  882. data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_output.rb +0 -69
  883. data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_product320_specific_input.rb +0 -44
  884. data/lib/ingenico/connect/sdk/domain/payment/mobile_three_d_secure_challenge_parameters.rb +0 -56
  885. data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb +0 -95
  886. data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_output.rb +0 -37
  887. data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product705_specific_input.rb +0 -51
  888. data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product730_specific_input.rb +0 -37
  889. data/lib/ingenico/connect/sdk/domain/payment/order.rb +0 -107
  890. data/lib/ingenico/connect/sdk/domain/payment/order_approve_payment.rb +0 -55
  891. data/lib/ingenico/connect/sdk/domain/payment/order_invoice_data.rb +0 -60
  892. data/lib/ingenico/connect/sdk/domain/payment/order_line_details.rb +0 -112
  893. data/lib/ingenico/connect/sdk/domain/payment/order_output.rb +0 -46
  894. data/lib/ingenico/connect/sdk/domain/payment/order_references.rb +0 -72
  895. data/lib/ingenico/connect/sdk/domain/payment/order_references_approve_payment.rb +0 -35
  896. data/lib/ingenico/connect/sdk/domain/payment/order_type_information.rb +0 -56
  897. data/lib/ingenico/connect/sdk/domain/payment/payment.rb +0 -62
  898. data/lib/ingenico/connect/sdk/domain/payment/payment_account_on_file.rb +0 -42
  899. data/lib/ingenico/connect/sdk/domain/payment/payment_approval_response.rb +0 -65
  900. data/lib/ingenico/connect/sdk/domain/payment/payment_creation_output.rb +0 -56
  901. data/lib/ingenico/connect/sdk/domain/payment/payment_creation_references.rb +0 -42
  902. data/lib/ingenico/connect/sdk/domain/payment/payment_error_response.rb +0 -56
  903. data/lib/ingenico/connect/sdk/domain/payment/payment_output.rb +0 -137
  904. data/lib/ingenico/connect/sdk/domain/payment/payment_product3201_specific_output.rb +0 -37
  905. data/lib/ingenico/connect/sdk/domain/payment/payment_product771_specific_output.rb +0 -35
  906. data/lib/ingenico/connect/sdk/domain/payment/payment_product806_specific_output.rb +0 -46
  907. data/lib/ingenico/connect/sdk/domain/payment/payment_product836_specific_output.rb +0 -35
  908. data/lib/ingenico/connect/sdk/domain/payment/payment_product840_customer_account.rb +0 -98
  909. data/lib/ingenico/connect/sdk/domain/payment/payment_product840_specific_output.rb +0 -63
  910. data/lib/ingenico/connect/sdk/domain/payment/payment_product863_third_party_data.rb +0 -77
  911. data/lib/ingenico/connect/sdk/domain/payment/payment_references.rb +0 -77
  912. data/lib/ingenico/connect/sdk/domain/payment/payment_response.rb +0 -18
  913. data/lib/ingenico/connect/sdk/domain/payment/payment_status_output.rb +0 -49
  914. data/lib/ingenico/connect/sdk/domain/payment/personal_identification.rb +0 -49
  915. data/lib/ingenico/connect/sdk/domain/payment/personal_information.rb +0 -60
  916. data/lib/ingenico/connect/sdk/domain/payment/personal_name.rb +0 -35
  917. data/lib/ingenico/connect/sdk/domain/payment/protection_eligibility.rb +0 -42
  918. data/lib/ingenico/connect/sdk/domain/payment/redirect_data.rb +0 -18
  919. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input.rb +0 -125
  920. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input_base.rb +0 -46
  921. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_output.rb +0 -105
  922. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product4101_specific_input.rb +0 -49
  923. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product4101_specific_input_base.rb +0 -35
  924. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product809_specific_input.rb +0 -44
  925. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product816_specific_input.rb +0 -37
  926. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input.rb +0 -44
  927. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input_base.rb +0 -18
  928. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product861_specific_input.rb +0 -35
  929. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product863_specific_input.rb +0 -42
  930. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product869_specific_input.rb +0 -49
  931. data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product882_specific_input.rb +0 -35
  932. data/lib/ingenico/connect/sdk/domain/payment/redirection_data.rb +0 -42
  933. data/lib/ingenico/connect/sdk/domain/payment/refund_bank_method_specific_output.rb +0 -18
  934. data/lib/ingenico/connect/sdk/domain/payment/refund_card_method_specific_output.rb +0 -44
  935. data/lib/ingenico/connect/sdk/domain/payment/refund_cash_method_specific_output.rb +0 -18
  936. data/lib/ingenico/connect/sdk/domain/payment/refund_e_invoice_method_specific_output.rb +0 -18
  937. data/lib/ingenico/connect/sdk/domain/payment/refund_e_wallet_method_specific_output.rb +0 -37
  938. data/lib/ingenico/connect/sdk/domain/payment/refund_method_specific_output.rb +0 -49
  939. data/lib/ingenico/connect/sdk/domain/payment/refund_mobile_method_specific_output.rb +0 -35
  940. data/lib/ingenico/connect/sdk/domain/payment/refund_output.rb +0 -96
  941. data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_customer_account.rb +0 -49
  942. data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_specific_output.rb +0 -37
  943. data/lib/ingenico/connect/sdk/domain/payment/scheme_token_data.rb +0 -63
  944. data/lib/ingenico/connect/sdk/domain/payment/sdk_data_input.rb +0 -79
  945. data/lib/ingenico/connect/sdk/domain/payment/sdk_data_output.rb +0 -35
  946. data/lib/ingenico/connect/sdk/domain/payment/seller.rb +0 -114
  947. data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input.rb +0 -86
  948. data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input_base.rb +0 -37
  949. data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_output.rb +0 -53
  950. data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_product771_specific_input.rb +0 -44
  951. data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_product771_specific_input_base.rb +0 -44
  952. data/lib/ingenico/connect/sdk/domain/payment/shipping.rb +0 -86
  953. data/lib/ingenico/connect/sdk/domain/payment/shopping_cart.rb +0 -82
  954. data/lib/ingenico/connect/sdk/domain/payment/third_party_data.rb +0 -37
  955. data/lib/ingenico/connect/sdk/domain/payment/third_party_status_response.rb +0 -35
  956. data/lib/ingenico/connect/sdk/domain/payment/three_d_secure.rb +0 -46
  957. data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_base.rb +0 -18
  958. data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_data.rb +0 -49
  959. data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_results.rb +0 -127
  960. data/lib/ingenico/connect/sdk/domain/payment/tokenize_payment_request.rb +0 -35
  961. data/lib/ingenico/connect/sdk/domain/payment/trustly_bank_account.rb +0 -56
  962. data/lib/ingenico/connect/sdk/domain/payment.rb +0 -5
  963. data/lib/ingenico/connect/sdk/domain/payout/abstract_payout_method_specific_input.rb +0 -18
  964. data/lib/ingenico/connect/sdk/domain/payout/approve_payout_request.rb +0 -35
  965. data/lib/ingenico/connect/sdk/domain/payout/bank_transfer_payout_method_specific_input.rb +0 -78
  966. data/lib/ingenico/connect/sdk/domain/payout/card_payout_method_specific_input.rb +0 -60
  967. data/lib/ingenico/connect/sdk/domain/payout/create_payout_request.rb +0 -146
  968. data/lib/ingenico/connect/sdk/domain/payout/find_payouts_response.rb +0 -61
  969. data/lib/ingenico/connect/sdk/domain/payout/payout_customer.rb +0 -71
  970. data/lib/ingenico/connect/sdk/domain/payout/payout_details.rb +0 -55
  971. data/lib/ingenico/connect/sdk/domain/payout/payout_error_response.rb +0 -56
  972. data/lib/ingenico/connect/sdk/domain/payout/payout_merchant.rb +0 -35
  973. data/lib/ingenico/connect/sdk/domain/payout/payout_recipient.rb +0 -49
  974. data/lib/ingenico/connect/sdk/domain/payout/payout_references.rb +0 -49
  975. data/lib/ingenico/connect/sdk/domain/payout/payout_response.rb +0 -18
  976. data/lib/ingenico/connect/sdk/domain/payout/payout_result.rb +0 -53
  977. data/lib/ingenico/connect/sdk/domain/payout.rb +0 -5
  978. data/lib/ingenico/connect/sdk/domain/product/abstract_indicator.rb +0 -42
  979. data/lib/ingenico/connect/sdk/domain/product/account_on_file.rb +0 -63
  980. data/lib/ingenico/connect/sdk/domain/product/account_on_file_attribute.rb +0 -42
  981. data/lib/ingenico/connect/sdk/domain/product/account_on_file_display_hints.rb +0 -47
  982. data/lib/ingenico/connect/sdk/domain/product/authentication_indicator.rb +0 -18
  983. data/lib/ingenico/connect/sdk/domain/product/boleto_bancario_requiredness_validator.rb +0 -35
  984. data/lib/ingenico/connect/sdk/domain/product/create_payment_product_session_request.rb +0 -37
  985. data/lib/ingenico/connect/sdk/domain/product/create_payment_product_session_response.rb +0 -37
  986. data/lib/ingenico/connect/sdk/domain/product/device_fingerprint_request.rb +0 -35
  987. data/lib/ingenico/connect/sdk/domain/product/device_fingerprint_response.rb +0 -42
  988. data/lib/ingenico/connect/sdk/domain/product/directory.rb +0 -40
  989. data/lib/ingenico/connect/sdk/domain/product/directory_entry.rb +0 -60
  990. data/lib/ingenico/connect/sdk/domain/product/empty_validator.rb +0 -18
  991. data/lib/ingenico/connect/sdk/domain/product/fixed_list_validator.rb +0 -39
  992. data/lib/ingenico/connect/sdk/domain/product/get_customer_details_request.rb +0 -47
  993. data/lib/ingenico/connect/sdk/domain/product/get_customer_details_response.rb +0 -98
  994. data/lib/ingenico/connect/sdk/domain/product/label_template_element.rb +0 -42
  995. data/lib/ingenico/connect/sdk/domain/product/length_validator.rb +0 -42
  996. data/lib/ingenico/connect/sdk/domain/product/mobile_payment_product_session302_specific_input.rb +0 -49
  997. data/lib/ingenico/connect/sdk/domain/product/mobile_payment_product_session302_specific_output.rb +0 -35
  998. data/lib/ingenico/connect/sdk/domain/product/payment_product.rb +0 -223
  999. data/lib/ingenico/connect/sdk/domain/product/payment_product302_specific_data.rb +0 -39
  1000. data/lib/ingenico/connect/sdk/domain/product/payment_product320_specific_data.rb +0 -46
  1001. data/lib/ingenico/connect/sdk/domain/product/payment_product863_specific_data.rb +0 -39
  1002. data/lib/ingenico/connect/sdk/domain/product/payment_product_display_hints.rb +0 -49
  1003. data/lib/ingenico/connect/sdk/domain/product/payment_product_field.rb +0 -67
  1004. data/lib/ingenico/connect/sdk/domain/product/payment_product_field_data_restrictions.rb +0 -44
  1005. data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_element.rb +0 -56
  1006. data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_hints.rb +0 -102
  1007. data/lib/ingenico/connect/sdk/domain/product/payment_product_field_form_element.rb +0 -47
  1008. data/lib/ingenico/connect/sdk/domain/product/payment_product_field_tooltip.rb +0 -42
  1009. data/lib/ingenico/connect/sdk/domain/product/payment_product_field_validators.rb +0 -122
  1010. data/lib/ingenico/connect/sdk/domain/product/payment_product_group.rb +0 -82
  1011. data/lib/ingenico/connect/sdk/domain/product/payment_product_group_response.rb +0 -18
  1012. data/lib/ingenico/connect/sdk/domain/product/payment_product_groups.rb +0 -40
  1013. data/lib/ingenico/connect/sdk/domain/product/payment_product_networks_response.rb +0 -39
  1014. data/lib/ingenico/connect/sdk/domain/product/payment_product_response.rb +0 -18
  1015. data/lib/ingenico/connect/sdk/domain/product/payment_products.rb +0 -40
  1016. data/lib/ingenico/connect/sdk/domain/product/range_validator.rb +0 -42
  1017. data/lib/ingenico/connect/sdk/domain/product/regular_expression_validator.rb +0 -35
  1018. data/lib/ingenico/connect/sdk/domain/product/value_mapping_element.rb +0 -56
  1019. data/lib/ingenico/connect/sdk/domain/product.rb +0 -5
  1020. data/lib/ingenico/connect/sdk/domain/refund/approve_refund_request.rb +0 -35
  1021. data/lib/ingenico/connect/sdk/domain/refund/bank_account_bban_refund.rb +0 -49
  1022. data/lib/ingenico/connect/sdk/domain/refund/bank_refund_method_specific_input.rb +0 -53
  1023. data/lib/ingenico/connect/sdk/domain/refund/find_refunds_response.rb +0 -61
  1024. data/lib/ingenico/connect/sdk/domain/refund/refund_customer.rb +0 -62
  1025. data/lib/ingenico/connect/sdk/domain/refund/refund_error_response.rb +0 -56
  1026. data/lib/ingenico/connect/sdk/domain/refund/refund_references.rb +0 -35
  1027. data/lib/ingenico/connect/sdk/domain/refund/refund_request.rb +0 -71
  1028. data/lib/ingenico/connect/sdk/domain/refund/refund_response.rb +0 -18
  1029. data/lib/ingenico/connect/sdk/domain/refund/refund_result.rb +0 -53
  1030. data/lib/ingenico/connect/sdk/domain/refund/refunds_response.rb +0 -40
  1031. data/lib/ingenico/connect/sdk/domain/refund.rb +0 -5
  1032. data/lib/ingenico/connect/sdk/domain/riskassessments/contact_details_risk_assessment.rb +0 -35
  1033. data/lib/ingenico/connect/sdk/domain/riskassessments/customer_account_risk_assessment.rb +0 -42
  1034. data/lib/ingenico/connect/sdk/domain/riskassessments/customer_device_risk_assessment.rb +0 -42
  1035. data/lib/ingenico/connect/sdk/domain/riskassessments/customer_risk_assessment.rb +0 -105
  1036. data/lib/ingenico/connect/sdk/domain/riskassessments/merchant_risk_assessment.rb +0 -35
  1037. data/lib/ingenico/connect/sdk/domain/riskassessments/order_risk_assessment.rb +0 -64
  1038. data/lib/ingenico/connect/sdk/domain/riskassessments/personal_information_risk_assessment.rb +0 -37
  1039. data/lib/ingenico/connect/sdk/domain/riskassessments/personal_name_risk_assessment.rb +0 -18
  1040. data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment.rb +0 -62
  1041. data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_bank_account.rb +0 -46
  1042. data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_card.rb +0 -37
  1043. data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_response.rb +0 -40
  1044. data/lib/ingenico/connect/sdk/domain/riskassessments/shipping_risk_assessment.rb +0 -51
  1045. data/lib/ingenico/connect/sdk/domain/riskassessments.rb +0 -5
  1046. data/lib/ingenico/connect/sdk/domain/services/bank_data.rb +0 -56
  1047. data/lib/ingenico/connect/sdk/domain/services/bank_details.rb +0 -46
  1048. data/lib/ingenico/connect/sdk/domain/services/bank_details_request.rb +0 -18
  1049. data/lib/ingenico/connect/sdk/domain/services/bank_details_response.rb +0 -64
  1050. data/lib/ingenico/connect/sdk/domain/services/convert_amount.rb +0 -35
  1051. data/lib/ingenico/connect/sdk/domain/services/get_iin_details_request.rb +0 -44
  1052. data/lib/ingenico/connect/sdk/domain/services/get_iin_details_response.rb +0 -61
  1053. data/lib/ingenico/connect/sdk/domain/services/get_privacy_policy_response.rb +0 -35
  1054. data/lib/ingenico/connect/sdk/domain/services/iin_detail.rb +0 -42
  1055. data/lib/ingenico/connect/sdk/domain/services/payment_context.rb +0 -58
  1056. data/lib/ingenico/connect/sdk/domain/services/swift.rb +0 -98
  1057. data/lib/ingenico/connect/sdk/domain/services/test_connection.rb +0 -35
  1058. data/lib/ingenico/connect/sdk/domain/services.rb +0 -5
  1059. data/lib/ingenico/connect/sdk/domain/sessions/payment_product_filters_client_session.rb +0 -45
  1060. data/lib/ingenico/connect/sdk/domain/sessions/session_request.rb +0 -48
  1061. data/lib/ingenico/connect/sdk/domain/sessions/session_response.rb +0 -74
  1062. data/lib/ingenico/connect/sdk/domain/sessions.rb +0 -5
  1063. data/lib/ingenico/connect/sdk/domain/token/abstract_token.rb +0 -35
  1064. data/lib/ingenico/connect/sdk/domain/token/approve_token_request.rb +0 -18
  1065. data/lib/ingenico/connect/sdk/domain/token/contact_details_token.rb +0 -18
  1066. data/lib/ingenico/connect/sdk/domain/token/create_token_request.rb +0 -78
  1067. data/lib/ingenico/connect/sdk/domain/token/create_token_response.rb +0 -49
  1068. data/lib/ingenico/connect/sdk/domain/token/creditor.rb +0 -105
  1069. data/lib/ingenico/connect/sdk/domain/token/customer_token.rb +0 -46
  1070. data/lib/ingenico/connect/sdk/domain/token/customer_token_with_contact_details.rb +0 -37
  1071. data/lib/ingenico/connect/sdk/domain/token/debtor.rb +0 -105
  1072. data/lib/ingenico/connect/sdk/domain/token/mandate_approval.rb +0 -49
  1073. data/lib/ingenico/connect/sdk/domain/token/mandate_non_sepa_direct_debit.rb +0 -46
  1074. data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit.rb +0 -37
  1075. data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_with_mandate_id.rb +0 -35
  1076. data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_without_creditor.rb +0 -76
  1077. data/lib/ingenico/connect/sdk/domain/token/personal_information_token.rb +0 -37
  1078. data/lib/ingenico/connect/sdk/domain/token/personal_name_token.rb +0 -18
  1079. data/lib/ingenico/connect/sdk/domain/token/token_card.rb +0 -46
  1080. data/lib/ingenico/connect/sdk/domain/token/token_card_data.rb +0 -51
  1081. data/lib/ingenico/connect/sdk/domain/token/token_e_wallet.rb +0 -46
  1082. data/lib/ingenico/connect/sdk/domain/token/token_e_wallet_data.rb +0 -35
  1083. data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit.rb +0 -46
  1084. data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product705_specific_data.rb +0 -44
  1085. data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product730_specific_data.rb +0 -37
  1086. data/lib/ingenico/connect/sdk/domain/token/token_response.rb +0 -85
  1087. data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit.rb +0 -46
  1088. data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit_without_creditor.rb +0 -46
  1089. data/lib/ingenico/connect/sdk/domain/token/update_token_request.rb +0 -71
  1090. data/lib/ingenico/connect/sdk/domain/token.rb +0 -5
  1091. data/lib/ingenico/connect/sdk/endpoint_configuration.rb +0 -136
  1092. data/lib/ingenico/connect/sdk/exceptions.rb +0 -1
  1093. data/lib/ingenico/connect/sdk/factory.rb +0 -213
  1094. data/lib/ingenico/connect/sdk/global_collect_exception.rb +0 -20
  1095. data/lib/ingenico/connect/sdk/idempotence_exception.rb +0 -28
  1096. data/lib/ingenico/connect/sdk/logging/communicator_logger.rb +0 -26
  1097. data/lib/ingenico/connect/sdk/logging/log_message_builder.rb +0 -88
  1098. data/lib/ingenico/connect/sdk/logging/logging_capable.rb +0 -19
  1099. data/lib/ingenico/connect/sdk/logging/logging_util.rb +0 -320
  1100. data/lib/ingenico/connect/sdk/logging/obfuscation/body_obfuscator.rb +0 -102
  1101. data/lib/ingenico/connect/sdk/logging/obfuscation/header_obfuscator.rb +0 -56
  1102. data/lib/ingenico/connect/sdk/logging/obfuscation/obfuscation_capable.rb +0 -23
  1103. data/lib/ingenico/connect/sdk/logging/obfuscation/obfuscation_rule.rb +0 -49
  1104. data/lib/ingenico/connect/sdk/logging/request_log_message_builder.rb +0 -52
  1105. data/lib/ingenico/connect/sdk/logging/response_log_message_builder.rb +0 -43
  1106. data/lib/ingenico/connect/sdk/logging/ruby_communicator_logger.rb +0 -63
  1107. data/lib/ingenico/connect/sdk/logging/stdout_communicator_logger.rb +0 -38
  1108. data/lib/ingenico/connect/sdk/marshaller.rb +0 -27
  1109. data/lib/ingenico/connect/sdk/marshaller_syntax_exception.rb +0 -9
  1110. data/lib/ingenico/connect/sdk/merchant/captures/captures_client.rb +0 -93
  1111. data/lib/ingenico/connect/sdk/merchant/captures.rb +0 -5
  1112. data/lib/ingenico/connect/sdk/merchant/disputes/disputes_client.rb +0 -153
  1113. data/lib/ingenico/connect/sdk/merchant/disputes/upload_file_request.rb +0 -30
  1114. data/lib/ingenico/connect/sdk/merchant/disputes.rb +0 -5
  1115. data/lib/ingenico/connect/sdk/merchant/files/files_client.rb +0 -58
  1116. data/lib/ingenico/connect/sdk/merchant/files.rb +0 -5
  1117. data/lib/ingenico/connect/sdk/merchant/hostedcheckouts/hostedcheckouts_client.rb +0 -116
  1118. data/lib/ingenico/connect/sdk/merchant/hostedcheckouts.rb +0 -5
  1119. data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb +0 -87
  1120. data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements.rb +0 -5
  1121. data/lib/ingenico/connect/sdk/merchant/installments/installments_client.rb +0 -56
  1122. data/lib/ingenico/connect/sdk/merchant/installments.rb +0 -5
  1123. data/lib/ingenico/connect/sdk/merchant/mandates/mandates_client.rb +0 -212
  1124. data/lib/ingenico/connect/sdk/merchant/mandates.rb +0 -5
  1125. data/lib/ingenico/connect/sdk/merchant/merchant_client.rb +0 -135
  1126. data/lib/ingenico/connect/sdk/merchant/payments/find_payments_params.rb +0 -46
  1127. data/lib/ingenico/connect/sdk/merchant/payments/payments_client.rb +0 -567
  1128. data/lib/ingenico/connect/sdk/merchant/payments.rb +0 -5
  1129. data/lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb +0 -42
  1130. data/lib/ingenico/connect/sdk/merchant/payouts/payouts_client.rb +0 -208
  1131. data/lib/ingenico/connect/sdk/merchant/payouts.rb +0 -5
  1132. data/lib/ingenico/connect/sdk/merchant/productgroups/find_productgroups_params.rb +0 -65
  1133. data/lib/ingenico/connect/sdk/merchant/productgroups/get_productgroup_params.rb +0 -65
  1134. data/lib/ingenico/connect/sdk/merchant/productgroups/productgroups_client.rb +0 -120
  1135. data/lib/ingenico/connect/sdk/merchant/productgroups.rb +0 -5
  1136. data/lib/ingenico/connect/sdk/merchant/products/directory_params.rb +0 -34
  1137. data/lib/ingenico/connect/sdk/merchant/products/find_products_params.rb +0 -65
  1138. data/lib/ingenico/connect/sdk/merchant/products/get_product_params.rb +0 -69
  1139. data/lib/ingenico/connect/sdk/merchant/products/networks_params.rb +0 -42
  1140. data/lib/ingenico/connect/sdk/merchant/products/products_client.rb +0 -250
  1141. data/lib/ingenico/connect/sdk/merchant/products.rb +0 -5
  1142. data/lib/ingenico/connect/sdk/merchant/refunds/find_refunds_params.rb +0 -46
  1143. data/lib/ingenico/connect/sdk/merchant/refunds/refunds_client.rb +0 -177
  1144. data/lib/ingenico/connect/sdk/merchant/refunds.rb +0 -5
  1145. data/lib/ingenico/connect/sdk/merchant/riskassessments/riskassessments_client.rb +0 -84
  1146. data/lib/ingenico/connect/sdk/merchant/riskassessments.rb +0 -5
  1147. data/lib/ingenico/connect/sdk/merchant/services/convert_amount_params.rb +0 -38
  1148. data/lib/ingenico/connect/sdk/merchant/services/privacypolicy_params.rb +0 -34
  1149. data/lib/ingenico/connect/sdk/merchant/services/services_client.rb +0 -168
  1150. data/lib/ingenico/connect/sdk/merchant/services.rb +0 -5
  1151. data/lib/ingenico/connect/sdk/merchant/sessions/sessions_client.rb +0 -56
  1152. data/lib/ingenico/connect/sdk/merchant/sessions.rb +0 -5
  1153. data/lib/ingenico/connect/sdk/merchant/tokens/delete_token_params.rb +0 -30
  1154. data/lib/ingenico/connect/sdk/merchant/tokens/tokens_client.rb +0 -179
  1155. data/lib/ingenico/connect/sdk/merchant/tokens.rb +0 -5
  1156. data/lib/ingenico/connect/sdk/merchant.rb +0 -5
  1157. data/lib/ingenico/connect/sdk/meta_data_provider.rb +0 -156
  1158. data/lib/ingenico/connect/sdk/modules.rb +0 -187
  1159. data/lib/ingenico/connect/sdk/multipart_form_data_object.rb +0 -47
  1160. data/lib/ingenico/connect/sdk/multipart_form_data_request.rb +0 -13
  1161. data/lib/ingenico/connect/sdk/not_found_exception.rb +0 -19
  1162. data/lib/ingenico/connect/sdk/param_request.rb +0 -14
  1163. data/lib/ingenico/connect/sdk/pooled_connection.rb +0 -26
  1164. data/lib/ingenico/connect/sdk/proxy_configuration.rb +0 -76
  1165. data/lib/ingenico/connect/sdk/reference_exception.rb +0 -19
  1166. data/lib/ingenico/connect/sdk/request_header.rb +0 -64
  1167. data/lib/ingenico/connect/sdk/request_param.rb +0 -28
  1168. data/lib/ingenico/connect/sdk/response_exception.rb +0 -56
  1169. data/lib/ingenico/connect/sdk/response_header.rb +0 -78
  1170. data/lib/ingenico/connect/sdk/session.rb +0 -43
  1171. data/lib/ingenico/connect/sdk/uploadable_file.rb +0 -33
  1172. data/lib/ingenico/connect/sdk/validation_exception.rb +0 -19
  1173. data/lib/ingenico/connect/sdk/webhooks/api_version_mismatch_exception.rb +0 -24
  1174. data/lib/ingenico/connect/sdk/webhooks/in_memory_secret_key_store.rb +0 -61
  1175. data/lib/ingenico/connect/sdk/webhooks/secret_key_not_available_exception.rb +0 -23
  1176. data/lib/ingenico/connect/sdk/webhooks/secret_key_store.rb +0 -20
  1177. data/lib/ingenico/connect/sdk/webhooks/signature_validation_exception.rb +0 -22
  1178. data/lib/ingenico/connect/sdk/webhooks/signature_validator.rb +0 -83
  1179. data/lib/ingenico/connect/sdk/webhooks/webhooks.rb +0 -26
  1180. data/lib/ingenico/connect/sdk/webhooks/webhooks_event.rb +0 -69
  1181. data/lib/ingenico/connect/sdk/webhooks/webhooks_helper.rb +0 -48
  1182. data/lib/ingenico/connect/sdk/webhooks/webhooks_helper_builder.rb +0 -30
  1183. data/spec/lib/defaultimpl/default_authenticator_spec.rb +0 -74
  1184. data/spec/lib/defaultimpl/default_connection_idempotence_spec.rb +0 -141
  1185. data/spec/lib/defaultimpl/default_connection_logger_spec.rb +0 -569
  1186. data/spec/lib/defaultimpl/default_connection_spec.rb +0 -351
  1187. data/spec/lib/defaultimpl/default_marshaller_spec.rb +0 -36
  1188. data/spec/lib/logging/header_obfuscator_spec.rb +0 -51
  1189. data/spec/lib/logging/legacy_logging_spec.rb +0 -178
  1190. data/spec/lib/logging/logging_util_spec.rb +0 -150
  1191. data/spec/lib/logging/obfuscator_spec.rb +0 -52
  1192. data/spec/lib/logging/value_obfuscator_spec.rb +0 -107
  1193. data/spec/lib/meta_data_provider_spec.rb +0 -93
  1194. /data/lib/{ingenico → worldline}/connect/sdk/domain.rb +0 -0
  1195. /data/lib/{ingenico → worldline}/connect/sdk/logging/obfuscation.rb +0 -0
  1196. /data/lib/{ingenico → worldline}/connect/sdk/logging.rb +0 -0
  1197. /data/lib/{ingenico → worldline}/connect/sdk/webhooks.rb +0 -0
  1198. /data/lib/{ingenico → worldline}/connect/sdk.rb +0 -0
  1199. /data/spec/fixtures/resources/{defaultimpl → communication}/convertAmount.json +0 -0
  1200. /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.failure.invalidCardNumber.json +0 -0
  1201. /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.failure.rejected.json +0 -0
  1202. /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.json +0 -0
  1203. /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.unicode.json +0 -0
  1204. /data/spec/fixtures/resources/{defaultimpl → communication}/idempotence_duplicate_failure.json +0 -0
  1205. /data/spec/fixtures/resources/{defaultimpl → communication}/idempotence_rejected.json +0 -0
  1206. /data/spec/fixtures/resources/{defaultimpl → communication}/idempotence_success.json +0 -0
  1207. /data/spec/fixtures/resources/{defaultimpl → communication}/notFound.html +0 -0
  1208. /data/spec/fixtures/resources/{defaultimpl → communication}/testConnection.json +0 -0
  1209. /data/spec/fixtures/resources/{defaultimpl → communication}/unknownServerError.json +0 -0
@@ -0,0 +1,570 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require 'worldline/connect/sdk/api_resource'
6
+ require 'worldline/connect/sdk/communication/response_exception'
7
+ require 'worldline/connect/sdk/v1/exception_factory'
8
+ require 'worldline/connect/sdk/v1/domain/cancel_approval_payment_response'
9
+ require 'worldline/connect/sdk/v1/domain/cancel_payment_response'
10
+ require 'worldline/connect/sdk/v1/domain/capture_response'
11
+ require 'worldline/connect/sdk/v1/domain/captures_response'
12
+ require 'worldline/connect/sdk/v1/domain/complete_payment_response'
13
+ require 'worldline/connect/sdk/v1/domain/create_payment_response'
14
+ require 'worldline/connect/sdk/v1/domain/create_token_response'
15
+ require 'worldline/connect/sdk/v1/domain/device_fingerprint_details'
16
+ require 'worldline/connect/sdk/v1/domain/dispute_response'
17
+ require 'worldline/connect/sdk/v1/domain/disputes_response'
18
+ require 'worldline/connect/sdk/v1/domain/error_response'
19
+ require 'worldline/connect/sdk/v1/domain/find_payments_response'
20
+ require 'worldline/connect/sdk/v1/domain/payment_approval_response'
21
+ require 'worldline/connect/sdk/v1/domain/payment_error_response'
22
+ require 'worldline/connect/sdk/v1/domain/payment_response'
23
+ require 'worldline/connect/sdk/v1/domain/refund_error_response'
24
+ require 'worldline/connect/sdk/v1/domain/refund_response'
25
+ require 'worldline/connect/sdk/v1/domain/refunds_response'
26
+ require 'worldline/connect/sdk/v1/domain/third_party_status_response'
27
+
28
+ module Worldline
29
+ module Connect
30
+ module SDK
31
+ module V1
32
+ module Merchant
33
+ module Payments
34
+ # Payments client. Thread-safe.
35
+ class PaymentsClient < Worldline::Connect::SDK::ApiResource
36
+
37
+ # @param parent [Worldline::Connect::SDK::ApiResource]
38
+ # @param path_context [Hash, nil]
39
+ def initialize(parent, path_context)
40
+ super(parent: parent, path_context: path_context)
41
+ end
42
+
43
+ # Resource /!{merchantId}/payments - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/create.html Create payment}
44
+ # @param body [Worldline::Connect::SDK::V1::Domain::CreatePaymentRequest]
45
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
46
+ # @return [Worldline::Connect::SDK::V1::Domain::CreatePaymentResponse]
47
+ # @raise [Worldline::Connect::SDK::V1::DeclinedPaymentException] if the Worldline Global Collect platform declined / rejected the payment. The payment result will be available from the exception.
48
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
49
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
50
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
51
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
52
+ # or there was a conflict (HTTP status code 404, 409 or 410)
53
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
54
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
55
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
56
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
57
+ def create(body, context = nil)
58
+ uri = instantiate_uri('/v1/{merchantId}/payments', nil)
59
+ @communicator.post(
60
+ uri,
61
+ client_headers,
62
+ nil,
63
+ body,
64
+ Worldline::Connect::SDK::V1::Domain::CreatePaymentResponse,
65
+ context)
66
+ rescue ResponseException => e
67
+ error_type = Worldline::Connect::SDK::V1::Domain::PaymentErrorResponse
68
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
69
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
70
+ end
71
+
72
+ # Resource /!{merchantId}/payments - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/find.html Find payments}
73
+ # @param query [Worldline::Connect::SDK::V1::Merchant::Payments::FindPaymentsParams]
74
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
75
+ # @return [Worldline::Connect::SDK::V1::Domain::FindPaymentsResponse]
76
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
77
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
78
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
79
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
80
+ # or there was a conflict (HTTP status code 404, 409 or 410)
81
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
82
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
83
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
84
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
85
+ def find(query, context = nil)
86
+ uri = instantiate_uri('/v1/{merchantId}/payments', nil)
87
+ @communicator.get(
88
+ uri,
89
+ client_headers,
90
+ query,
91
+ Worldline::Connect::SDK::V1::Domain::FindPaymentsResponse,
92
+ context)
93
+ rescue ResponseException => e
94
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
95
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
96
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
97
+ end
98
+
99
+ # Resource /!{merchantId}/payments/!{paymentId} - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/get.html Get payment}
100
+ # @param payment_id [String]
101
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
102
+ # @return [Worldline::Connect::SDK::V1::Domain::PaymentResponse]
103
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
104
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
105
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
106
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
107
+ # or there was a conflict (HTTP status code 404, 409 or 410)
108
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
109
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
110
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
111
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
112
+ def get(payment_id, context = nil)
113
+ path_context = {
114
+ 'paymentId'.freeze => payment_id,
115
+ }
116
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}', path_context)
117
+ @communicator.get(
118
+ uri,
119
+ client_headers,
120
+ nil,
121
+ Worldline::Connect::SDK::V1::Domain::PaymentResponse,
122
+ context)
123
+ rescue ResponseException => e
124
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
125
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
126
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
127
+ end
128
+
129
+ # Resource /!{merchantId}/payments/!{paymentId}/complete - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/complete.html Complete payment}
130
+ # @param payment_id [String]
131
+ # @param body [Worldline::Connect::SDK::V1::Domain::CompletePaymentRequest]
132
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
133
+ # @return [Worldline::Connect::SDK::V1::Domain::CompletePaymentResponse]
134
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
135
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
136
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
137
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
138
+ # or there was a conflict (HTTP status code 404, 409 or 410)
139
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
140
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
141
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
142
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
143
+ def complete(payment_id, body, context = nil)
144
+ path_context = {
145
+ 'paymentId'.freeze => payment_id,
146
+ }
147
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/complete', path_context)
148
+ @communicator.post(
149
+ uri,
150
+ client_headers,
151
+ nil,
152
+ body,
153
+ Worldline::Connect::SDK::V1::Domain::CompletePaymentResponse,
154
+ context)
155
+ rescue ResponseException => e
156
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
157
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
158
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
159
+ end
160
+
161
+ # Resource /!{merchantId}/payments/!{paymentId}/thirdpartystatus - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/thirdPartyStatus.html Third party status poll}
162
+ # @param payment_id [String]
163
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
164
+ # @return [Worldline::Connect::SDK::V1::Domain::ThirdPartyStatusResponse]
165
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
166
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
167
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
168
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
169
+ # or there was a conflict (HTTP status code 404, 409 or 410)
170
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
171
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
172
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
173
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
174
+ def third_party_status(payment_id, context = nil)
175
+ path_context = {
176
+ 'paymentId'.freeze => payment_id,
177
+ }
178
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/thirdpartystatus', path_context)
179
+ @communicator.get(
180
+ uri,
181
+ client_headers,
182
+ nil,
183
+ Worldline::Connect::SDK::V1::Domain::ThirdPartyStatusResponse,
184
+ context)
185
+ rescue ResponseException => e
186
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
187
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
188
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
189
+ end
190
+
191
+ # Resource /!{merchantId}/payments/!{paymentId}/tokenize - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/tokenize.html Create a token from payment}
192
+ # @param payment_id [String]
193
+ # @param body [Worldline::Connect::SDK::V1::Domain::TokenizePaymentRequest]
194
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
195
+ # @return [Worldline::Connect::SDK::V1::Domain::CreateTokenResponse]
196
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
197
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
198
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
199
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
200
+ # or there was a conflict (HTTP status code 404, 409 or 410)
201
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
202
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
203
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
204
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
205
+ def tokenize(payment_id, body, context = nil)
206
+ path_context = {
207
+ 'paymentId'.freeze => payment_id,
208
+ }
209
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/tokenize', path_context)
210
+ @communicator.post(
211
+ uri,
212
+ client_headers,
213
+ nil,
214
+ body,
215
+ Worldline::Connect::SDK::V1::Domain::CreateTokenResponse,
216
+ context)
217
+ rescue ResponseException => e
218
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
219
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
220
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
221
+ end
222
+
223
+ # Resource /!{merchantId}/payments/!{paymentId}/processchallenged - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/processchallenged.html Approves challenged payment}
224
+ # @param payment_id [String]
225
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
226
+ # @return [Worldline::Connect::SDK::V1::Domain::PaymentResponse]
227
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
228
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
229
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
230
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
231
+ # or there was a conflict (HTTP status code 404, 409 or 410)
232
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
233
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
234
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
235
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
236
+ def processchallenged(payment_id, context = nil)
237
+ path_context = {
238
+ 'paymentId'.freeze => payment_id,
239
+ }
240
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/processchallenged', path_context)
241
+ @communicator.post(
242
+ uri,
243
+ client_headers,
244
+ nil,
245
+ nil,
246
+ Worldline::Connect::SDK::V1::Domain::PaymentResponse,
247
+ context)
248
+ rescue ResponseException => e
249
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
250
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
251
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
252
+ end
253
+
254
+ # Resource /!{merchantId}/payments/!{paymentId}/approve - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/approve.html Approve payment}
255
+ # @param payment_id [String]
256
+ # @param body [Worldline::Connect::SDK::V1::Domain::ApprovePaymentRequest]
257
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
258
+ # @return [Worldline::Connect::SDK::V1::Domain::PaymentApprovalResponse]
259
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
260
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
261
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
262
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
263
+ # or there was a conflict (HTTP status code 404, 409 or 410)
264
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
265
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
266
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
267
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
268
+ def approve(payment_id, body, context = nil)
269
+ path_context = {
270
+ 'paymentId'.freeze => payment_id,
271
+ }
272
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/approve', path_context)
273
+ @communicator.post(
274
+ uri,
275
+ client_headers,
276
+ nil,
277
+ body,
278
+ Worldline::Connect::SDK::V1::Domain::PaymentApprovalResponse,
279
+ context)
280
+ rescue ResponseException => e
281
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
282
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
283
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
284
+ end
285
+
286
+ # Resource /!{merchantId}/payments/!{paymentId}/capture - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/capture.html Capture payment}
287
+ # @param payment_id [String]
288
+ # @param body [Worldline::Connect::SDK::V1::Domain::CapturePaymentRequest]
289
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
290
+ # @return [Worldline::Connect::SDK::V1::Domain::CaptureResponse]
291
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
292
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
293
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
294
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
295
+ # or there was a conflict (HTTP status code 404, 409 or 410)
296
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
297
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
298
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
299
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
300
+ def capture(payment_id, body, context = nil)
301
+ path_context = {
302
+ 'paymentId'.freeze => payment_id,
303
+ }
304
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/capture', path_context)
305
+ @communicator.post(
306
+ uri,
307
+ client_headers,
308
+ nil,
309
+ body,
310
+ Worldline::Connect::SDK::V1::Domain::CaptureResponse,
311
+ context)
312
+ rescue ResponseException => e
313
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
314
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
315
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
316
+ end
317
+
318
+ # Resource /!{merchantId}/payments/!{paymentId}/cancelapproval - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/cancelapproval.html Undo capture payment}
319
+ # @param payment_id [String]
320
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
321
+ # @return [Worldline::Connect::SDK::V1::Domain::CancelApprovalPaymentResponse]
322
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
323
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
324
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
325
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
326
+ # or there was a conflict (HTTP status code 404, 409 or 410)
327
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
328
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
329
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
330
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
331
+ def cancelapproval(payment_id, context = nil)
332
+ path_context = {
333
+ 'paymentId'.freeze => payment_id,
334
+ }
335
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/cancelapproval', path_context)
336
+ @communicator.post(
337
+ uri,
338
+ client_headers,
339
+ nil,
340
+ nil,
341
+ Worldline::Connect::SDK::V1::Domain::CancelApprovalPaymentResponse,
342
+ context)
343
+ rescue ResponseException => e
344
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
345
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
346
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
347
+ end
348
+
349
+ # Resource /!{merchantId}/payments/!{paymentId}/captures - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/captures.html Get captures of payment}
350
+ # @param payment_id [String]
351
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
352
+ # @return [Worldline::Connect::SDK::V1::Domain::CapturesResponse]
353
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
354
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
355
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
356
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
357
+ # or there was a conflict (HTTP status code 404, 409 or 410)
358
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
359
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
360
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
361
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
362
+ def captures(payment_id, context = nil)
363
+ path_context = {
364
+ 'paymentId'.freeze => payment_id,
365
+ }
366
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/captures', path_context)
367
+ @communicator.get(
368
+ uri,
369
+ client_headers,
370
+ nil,
371
+ Worldline::Connect::SDK::V1::Domain::CapturesResponse,
372
+ context)
373
+ rescue ResponseException => e
374
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
375
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
376
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
377
+ end
378
+
379
+ # Resource /!{merchantId}/payments/!{paymentId}/refund - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/refund.html Create refund}
380
+ # @param payment_id [String]
381
+ # @param body [Worldline::Connect::SDK::V1::Domain::RefundRequest]
382
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
383
+ # @return [Worldline::Connect::SDK::V1::Domain::RefundResponse]
384
+ # @raise [Worldline::Connect::SDK::V1::DeclinedRefundException] if the Worldline Global Collect platform declined / rejected the refund. The refund result will be available from the exception.
385
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
386
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
387
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
388
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
389
+ # or there was a conflict (HTTP status code 404, 409 or 410)
390
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
391
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
392
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
393
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
394
+ def refund(payment_id, body, context = nil)
395
+ path_context = {
396
+ 'paymentId'.freeze => payment_id,
397
+ }
398
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/refund', path_context)
399
+ @communicator.post(
400
+ uri,
401
+ client_headers,
402
+ nil,
403
+ body,
404
+ Worldline::Connect::SDK::V1::Domain::RefundResponse,
405
+ context)
406
+ rescue ResponseException => e
407
+ error_type = Worldline::Connect::SDK::V1::Domain::RefundErrorResponse
408
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
409
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
410
+ end
411
+
412
+ # Resource /!{merchantId}/payments/!{paymentId}/refunds - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/refunds.html Get refunds of payment}
413
+ # @param payment_id [String]
414
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
415
+ # @return [Worldline::Connect::SDK::V1::Domain::RefundsResponse]
416
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
417
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
418
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
419
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
420
+ # or there was a conflict (HTTP status code 404, 409 or 410)
421
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
422
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
423
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
424
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
425
+ def refunds(payment_id, context = nil)
426
+ path_context = {
427
+ 'paymentId'.freeze => payment_id,
428
+ }
429
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/refunds', path_context)
430
+ @communicator.get(
431
+ uri,
432
+ client_headers,
433
+ nil,
434
+ Worldline::Connect::SDK::V1::Domain::RefundsResponse,
435
+ context)
436
+ rescue ResponseException => e
437
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
438
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
439
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
440
+ end
441
+
442
+ # Resource /!{merchantId}/payments/!{paymentId}/cancel - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/cancel.html Cancel payment}
443
+ # @param payment_id [String]
444
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
445
+ # @return [Worldline::Connect::SDK::V1::Domain::CancelPaymentResponse]
446
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
447
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
448
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
449
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
450
+ # or there was a conflict (HTTP status code 404, 409 or 410)
451
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
452
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
453
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
454
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
455
+ def cancel(payment_id, context = nil)
456
+ path_context = {
457
+ 'paymentId'.freeze => payment_id,
458
+ }
459
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/cancel', path_context)
460
+ @communicator.post(
461
+ uri,
462
+ client_headers,
463
+ nil,
464
+ nil,
465
+ Worldline::Connect::SDK::V1::Domain::CancelPaymentResponse,
466
+ context)
467
+ rescue ResponseException => e
468
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
469
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
470
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
471
+ end
472
+
473
+ # Resource /!{merchantId}/payments/!{paymentId}/dispute - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/dispute.html Create dispute}
474
+ # @param payment_id [String]
475
+ # @param body [Worldline::Connect::SDK::V1::Domain::CreateDisputeRequest]
476
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
477
+ # @return [Worldline::Connect::SDK::V1::Domain::DisputeResponse]
478
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
479
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
480
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
481
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
482
+ # or there was a conflict (HTTP status code 404, 409 or 410)
483
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
484
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
485
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
486
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
487
+ def dispute(payment_id, body, context = nil)
488
+ path_context = {
489
+ 'paymentId'.freeze => payment_id,
490
+ }
491
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/dispute', path_context)
492
+ @communicator.post(
493
+ uri,
494
+ client_headers,
495
+ nil,
496
+ body,
497
+ Worldline::Connect::SDK::V1::Domain::DisputeResponse,
498
+ context)
499
+ rescue ResponseException => e
500
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
501
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
502
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
503
+ end
504
+
505
+ # Resource /!{merchantId}/payments/!{paymentId}/disputes - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/disputes.html Get disputes}
506
+ # @param payment_id [String]
507
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
508
+ # @return [Worldline::Connect::SDK::V1::Domain::DisputesResponse]
509
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
510
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
511
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
512
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
513
+ # or there was a conflict (HTTP status code 404, 409 or 410)
514
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
515
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
516
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
517
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
518
+ def disputes(payment_id, context = nil)
519
+ path_context = {
520
+ 'paymentId'.freeze => payment_id,
521
+ }
522
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/disputes', path_context)
523
+ @communicator.get(
524
+ uri,
525
+ client_headers,
526
+ nil,
527
+ Worldline::Connect::SDK::V1::Domain::DisputesResponse,
528
+ context)
529
+ rescue ResponseException => e
530
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
531
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
532
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
533
+ end
534
+
535
+ # Resource /!{merchantId}/payments/!{paymentId}/devicefingerprint - {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payments/devicefingerprint.html Get Device Fingerprint details}
536
+ # @param payment_id [String]
537
+ # @param context [Worldline::Connect::SDK::CallContext, nil]
538
+ # @return [Worldline::Connect::SDK::V1::Domain::DeviceFingerprintDetails]
539
+ # @raise [Worldline::Connect::SDK::V1::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
540
+ # @raise [Worldline::Connect::SDK::V1::AuthorizationException] if the request was not allowed (HTTP status code 403)
541
+ # @raise [Worldline::Connect::SDK::V1::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
542
+ # @raise [Worldline::Connect::SDK::V1::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
543
+ # or there was a conflict (HTTP status code 404, 409 or 410)
544
+ # @raise [Worldline::Connect::SDK::V1::PlatformException] if something went wrong at the Worldline Global Collect platform,
545
+ # the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
546
+ # or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
547
+ # @raise [Worldline::Connect::SDK::V1::ApiException]if the Worldline Global Collect platform returned any other error
548
+ def devicefingerprint(payment_id, context = nil)
549
+ path_context = {
550
+ 'paymentId'.freeze => payment_id,
551
+ }
552
+ uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/devicefingerprint', path_context)
553
+ @communicator.get(
554
+ uri,
555
+ client_headers,
556
+ nil,
557
+ Worldline::Connect::SDK::V1::Domain::DeviceFingerprintDetails,
558
+ context)
559
+ rescue ResponseException => e
560
+ error_type = Worldline::Connect::SDK::V1::Domain::ErrorResponse
561
+ error_object = @communicator.marshaller.unmarshal(e.body, error_type)
562
+ raise Worldline::Connect::SDK::V1.create_exception(e.status_code, e.body, error_object, context)
563
+ end
564
+ end
565
+ end
566
+ end
567
+ end
568
+ end
569
+ end
570
+ end
@@ -0,0 +1,5 @@
1
+ #
2
+ # This file was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ Dir[File.join(__dir__, 'payments', '*.rb')].each { |f| require f }
@@ -0,0 +1,44 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require 'worldline/connect/sdk/communication/param_request'
6
+ require 'worldline/connect/sdk/communication/request_param'
7
+
8
+ module Worldline
9
+ module Connect
10
+ module SDK
11
+ module V1
12
+ module Merchant
13
+ module Payouts
14
+ # Query parameters for {https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/ruby/payouts/find.html Find payouts}
15
+ # @attr [String] merchant_reference
16
+ # @attr [Integer] merchant_order_id
17
+ # @attr [Integer] offset
18
+ # @attr [Integer] limit
19
+ class FindPayoutsParams < Worldline::Connect::SDK::Communication::ParamRequest
20
+
21
+ attr_accessor :merchant_reference
22
+
23
+ attr_accessor :merchant_order_id
24
+
25
+ attr_accessor :offset
26
+
27
+ attr_accessor :limit
28
+
29
+ # @return [Array<Worldline::Connect::SDK::Communication::RequestParam>] representing the attributes of this class
30
+ def to_request_parameters
31
+ result = []
32
+ result << RequestParam.new('merchantReference', @merchant_reference) unless @merchant_reference.nil?
33
+ result << RequestParam.new('merchantOrderId', @merchant_order_id.to_s) unless @merchant_order_id.nil?
34
+ result << RequestParam.new('offset', @offset.to_s) unless @offset.nil?
35
+ result << RequestParam.new('limit', @limit.to_s) unless @limit.nil?
36
+ result
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end