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,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__, 'merchant', '*.rb')].each { |f| require f }
@@ -0,0 +1,26 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require_relative 'api_exception'
6
+
7
+ module Worldline
8
+ module Connect
9
+ module SDK
10
+ module V1
11
+ # This exception is thrown when a response from the Worldline Global Collect platform indicates that an error occurred
12
+ # on the Worldline Global Collect platform while processing the request.
13
+ # This corresponds to a HTTP status code of 500 or 502.
14
+ class PlatformException < ApiException
15
+
16
+ # Create a new PlatformException
17
+ # @see ApiException#initialize
18
+ def initialize(status_code, response_body, error_id, errors,
19
+ message='the Worldline Global Collect platform returned an error response')
20
+ super(status_code, response_body, error_id, errors, message)
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,25 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require_relative 'api_exception'
6
+
7
+ module Worldline
8
+ module Connect
9
+ module SDK
10
+ module V1
11
+ # This error is raised when the request refers to a resource or object that is not found by the Worldline Global Collect platform.
12
+ # The object referred to may not exist or it could have been removed recently.
13
+ class ReferenceException < ApiException
14
+
15
+ # Create a new ReferenceException.
16
+ # @see ApiException#initialize
17
+ def initialize(status_code, response_body, error_id, errors,
18
+ message='the Worldline Global Collect platform returned a reference error response')
19
+ super(status_code, response_body, error_id, errors, message)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,35 @@
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/v1/merchant/merchant_client'
7
+
8
+ module Worldline
9
+ module Connect
10
+ module SDK
11
+ module V1
12
+ # V1 client.
13
+ #
14
+ # Thread safe.
15
+ class V1Client < Worldline::Connect::SDK::ApiResource
16
+
17
+ # @param parent [Worldline::Connect::SDK::ApiResource]
18
+ # @param path_context [Hash, nil]
19
+ def initialize(parent, path_context)
20
+ super(parent: parent, path_context: path_context)
21
+ end
22
+
23
+ # Resource /!{merchantId}
24
+ # @param merchant_id [String]
25
+ # @return [Worldline::Connect::SDK::V1::Merchant::MerchantClient]
26
+ def merchant(merchant_id)
27
+ Worldline::Connect::SDK::V1::Merchant::MerchantClient.new(self, {
28
+ 'merchantId'.freeze => merchant_id,
29
+ })
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,25 @@
1
+ #
2
+ # This class was auto-generated from the API references found at
3
+ # https://apireference.connect.worldline-solutions.com/
4
+ #
5
+ require_relative 'api_exception'
6
+
7
+ module Worldline
8
+ module Connect
9
+ module SDK
10
+ module V1
11
+ # Raised when the request sent to the Worldline Global Collect platform returned a HTTP response with status code 400.
12
+ # This indicates the request received by the Worldline Global Collect platform was malformed.
13
+ class ValidationException < ApiException
14
+
15
+ # Create a new ValidationException
16
+ # @see ApiException#initialize
17
+ def initialize(status_code, response_body, error_id, errors,
18
+ message='the Worldline Global Collect platform returned an incorrect request error response')
19
+ super(status_code, response_body, error_id, errors, message)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,27 @@
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/json/default_marshaller'
6
+ require 'worldline/connect/sdk/v1/webhooks/webhooks_helper'
7
+
8
+ module Worldline
9
+ module Connect
10
+ module SDK
11
+ module V1
12
+ module Webhooks
13
+ # Worldline Global Collect platform factory for several v1 webhooks components
14
+ class V1WebhooksFactory
15
+
16
+ # Creates a WebhooksHelper that uses the given SecretKeyStore.
17
+ # @return [Worldline::Connect::SDK::V1::Webhooks::WebhooksHelper]
18
+ def create_helper(secret_key_store, marshaller: nil)
19
+ marshaller = DefaultMarshaller.instance unless marshaller
20
+ WebhooksHelper.new(marshaller, secret_key_store)
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,45 @@
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/v1/domain/webhooks_event'
6
+ require 'worldline/connect/sdk/webhooks/api_version_mismatch_exception'
7
+ require 'worldline/connect/sdk/webhooks/signature_validator'
8
+
9
+ module Worldline
10
+ module Connect
11
+ module SDK
12
+ module V1
13
+ module Webhooks
14
+ # Worldline Global Collect platform v1 webhooks Helper, Thread-safe.
15
+ class WebhooksHelper
16
+ def initialize(marshaller, secret_key_store)
17
+ raise ArgumentError if marshaller.nil?
18
+ @marshaller = marshaller
19
+ @signature_validator = Worldline::Connect::SDK::Webhooks::SignatureValidator.new(secret_key_store)
20
+ end
21
+
22
+ # Unmarshals the given body, while also validating it using the given request headers.
23
+ #
24
+ # @param body [String] body of the request
25
+ # @param request_headers [Array<Worldline::Connect::SDK::Communication::RequestHeader>] headers of the request
26
+ # @return [Worldline::Connect::SDK::V1::Domain::WebhooksEvent]
27
+ def unmarshal(body, request_headers)
28
+ @signature_validator.validate(body, request_headers)
29
+
30
+ event = @marshaller.unmarshal(body, Worldline::Connect::SDK::V1::Domain::WebhooksEvent)
31
+ validate_api_version(event)
32
+ event
33
+ end
34
+
35
+ private
36
+
37
+ def validate_api_version(event)
38
+ raise Worldline::Connect::SDK::Webhooks::ApiVersionMismatchException.new(event.api_version, 'v1') unless 'v1'.eql?(event.api_version)
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
45
+ 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__, 'webhooks', '*.rb')].each { |f| require f }
@@ -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__, 'v1', '*.rb')].each { |f| require f }
@@ -0,0 +1,24 @@
1
+ module Worldline
2
+ module Connect
3
+ module SDK
4
+ module Webhooks
5
+ # Raised when a webhooks event has an API version that is not supported by current version
6
+ # of SDK.
7
+ #
8
+ # @attr_reader [String] event_api_version The API version from the webhooks event.
9
+ # @attr_reader [String] sdk_api_version The API version that this version of the SDK supports.
10
+ class ApiVersionMismatchException < RuntimeError
11
+
12
+ def initialize(event_api_version, sdk_api_version)
13
+ super("event API version #{event_api_version} is not compatible with SDK API version #{sdk_api_version}")
14
+ @event_api_version = event_api_version
15
+ @sdk_api_version = sdk_api_version
16
+ end
17
+
18
+ attr_reader :event_api_version
19
+ attr_reader :sdk_api_version
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,61 @@
1
+ require 'concurrent'
2
+ require 'singleton'
3
+ require 'worldline/connect/sdk/webhooks/secret_key_not_available_exception'
4
+ require 'worldline/connect/sdk/webhooks/secret_key_store'
5
+
6
+ module Worldline
7
+ module Connect
8
+ module SDK
9
+ module Webhooks
10
+ # An in-memory secret key store. This implementation can be used
11
+ # in applications where secret keys are specified at application
12
+ # startup. Thread-safe.
13
+ class InMemorySecretKeyStore
14
+ include Singleton
15
+ include SecretKeyStore
16
+
17
+ # Creates new InMemorySecretKeyStore
18
+ def initialize
19
+ # NOTE: use Map instead of Hash to provide better performance
20
+ # under high concurrency.
21
+ @store = Concurrent::Map.new
22
+ end
23
+
24
+ # Retrieves the secret key corresponding to the given key id
25
+ #
26
+ # @param key_id [String] key id of the secret key
27
+ # @raise [Worldline::Connect::SDK::Webhooks::SecretKeyNotAvailableException] if the secret key for the given key id is not available.
28
+ def get_secret_key(key_id)
29
+ if (secret_key = @store.get(key_id)).nil?
30
+ msg = "could not find secret key for key id " + key_id
31
+ raise SecretKeyNotAvailableException.new(message: msg, key_id: key_id)
32
+ end
33
+ secret_key
34
+ end
35
+
36
+ # Stores the given secret key for the given key id.
37
+ #
38
+ # @param key_id [String] key id of the secret key
39
+ # @param secret_key [String] the secret key to be stored
40
+ def store_secret_key(key_id, secret_key)
41
+ raise ArgumentError if key_id.nil? or key_id.strip.empty?
42
+ raise ArgumentError if secret_key.nil? or secret_key.strip.empty?
43
+ @store.put(key_id, secret_key)
44
+ end
45
+
46
+ # Removes the secret key for the given key id.
47
+ #
48
+ # @param key_id [String] the key id whose corresponding secret should be removed from the store
49
+ def remove_secret_key(key_id)
50
+ @store.delete(key_id)
51
+ end
52
+
53
+ # Removes all stored secret keys from the store
54
+ def clear
55
+ @store.clear
56
+ end
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,23 @@
1
+ require 'worldline/connect/sdk/webhooks/signature_validation_exception'
2
+
3
+ module Worldline
4
+ module Connect
5
+ module SDK
6
+ module Webhooks
7
+ # Raised when an error caused a secret to become not available.
8
+ #
9
+ # @attr_reader [String] key_id
10
+ class SecretKeyNotAvailableException < SignatureValidationException
11
+
12
+ def initialize(args)
13
+ raise ArgumentError if (key_id = args.delete(:key_id)).nil? # key_id is mandatory
14
+ super(args)
15
+ @key_id = key_id
16
+ end
17
+
18
+ attr_reader :key_id
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,20 @@
1
+ module Worldline
2
+ module Connect
3
+ module SDK
4
+ module Webhooks
5
+ # An abstract store of secret keys. Implementation can store secret keys in a database,
6
+ # on disk, etc. Should be Thread-safe.
7
+ module SecretKeyStore
8
+
9
+ # Retrieve secret key for given key id
10
+ #
11
+ # @param key_id [String] key id of the secret key
12
+ # @raise [Worldline::Connect::SDK::Webhooks::SecretKeyNotAvailableException] if the secret key for the given key id is not available.
13
+ def get_secret_key(key_id)
14
+ raise NotImplementedError
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,22 @@
1
+ module Worldline
2
+ module Connect
3
+ module SDK
4
+ module Webhooks
5
+ # Raised when an error occurred when validating Webhooks signatures
6
+ class SignatureValidationException < RuntimeError
7
+
8
+ # Creates a new SignatureValidationException
9
+ #
10
+ # @param [Hash] args the options to create the Exception with
11
+ # @option args [String] :message the error message
12
+ # @option args [RuntimeError] :cause an Error object that causes the Exception
13
+ def initialize(args)
14
+ super(args[:message]) # NOTE: can be nil
15
+ # store backtrace info if exception given
16
+ set_backtrace(args[:cause].backtrace) unless args[:cause].nil?
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,83 @@
1
+ require 'base64'
2
+ require 'openssl'
3
+ require 'worldline/connect/sdk/webhooks/signature_validation_exception'
4
+
5
+ module Worldline
6
+ module Connect
7
+ module SDK
8
+ module Webhooks
9
+
10
+ # Validator for webhooks signatures. Thread-safe.
11
+ class SignatureValidator
12
+ def initialize(secret_key_store)
13
+ raise ArgumentError if secret_key_store.nil?
14
+ @secret_key_store = secret_key_store
15
+ end
16
+
17
+ # Validates incoming request using request headers
18
+ #
19
+ # @param body [String] body of the request
20
+ # @param request_headers [Array<Worldline::Connect::SDK::Communication::RequestHeader>] headers of the request
21
+ def validate(body, request_headers)
22
+ validate_body(body, request_headers)
23
+ end
24
+
25
+ private
26
+
27
+ HEADER_SIGNATURE = 'X-GCS-Signature'.freeze
28
+ HEADER_KEY_ID = 'X-GCS-KeyId'.freeze
29
+ HMAC_SCHEME = 'SHA256'.freeze
30
+
31
+ # Validates the body using given request headers
32
+ #
33
+ # @param body [String] body of the request
34
+ # @param request_headers [Array<Worldline::Connect::SDK::Communication::RequestHeader>] headers of the request
35
+ def validate_body(body, request_headers)
36
+ signature = get_header_value(request_headers, HEADER_SIGNATURE)
37
+ key_id = get_header_value(request_headers, HEADER_KEY_ID)
38
+ secret_key = @secret_key_store.get_secret_key(key_id)
39
+ digest = OpenSSL::Digest.new(HMAC_SCHEME)
40
+ hmac = OpenSSL::HMAC.digest(digest, secret_key, body)
41
+ expected_signature = Base64.strict_encode64(hmac).strip
42
+
43
+ unless equal_signatures?(signature, expected_signature)
44
+ msg = "failed to validate signature '#{signature}'"
45
+ raise SignatureValidationException.new(message: msg)
46
+ end
47
+ end
48
+
49
+ # Checks two signatures
50
+ #
51
+ # @param signature [String]
52
+ # @param expected_signature [String]
53
+ def equal_signatures?(signature, expected_signature)
54
+ # NOTE: copy the signatures to avoid runtime tampering via references
55
+ signature = signature.dup.freeze
56
+ expected_signature = expected_signature.dup.freeze
57
+ # NOTE: do not use simple equality comparision to avoid side channel attack
58
+ limit = [signature.length, expected_signature.length, 256].max
59
+ limit.times.inject(true) do |flag, idx|
60
+ # NOTE: this block is constructed to take constant time to run
61
+ flag &= signature[idx] == expected_signature[idx]
62
+ # [] returns nil if idx >= the length of the String
63
+ end
64
+ end
65
+
66
+ # Retrieves header value from the request headers whose header name matches the given parameter
67
+ def get_header_value(request_headers, header_name)
68
+ if (right_header = request_headers.select { |h| h.name.casecmp(header_name) == 0 }).size != 1
69
+ msg = if right_header.empty?
70
+ "could not find header '#{header_name}'"
71
+ else
72
+ # more than 2 headers
73
+ "encountered multiple occurrences of header '#{header_name}'"
74
+ end
75
+ raise SignatureValidationException.new(message: msg)
76
+ end
77
+ right_header.first.value
78
+ end
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,28 @@
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/v1/webhooks/v1_webhooks_factory'
6
+
7
+ module Worldline
8
+ module Connect
9
+ module SDK
10
+ module Webhooks
11
+ # Worldline Global Collect platform factory for several webhooks components
12
+ module Webhooks
13
+
14
+ private
15
+
16
+ V1 = Worldline::Connect::SDK::V1::Webhooks::V1WebhooksFactory.new
17
+
18
+ public
19
+
20
+ # @return [Worldline::Connect::SDK::V1::Webhooks::V1WebhooksFactory]
21
+ def self.v1
22
+ V1
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -1,6 +1,6 @@
1
- require 'ingenico/connect/sdk/request_param'
1
+ require 'worldline/connect/sdk/communication/request_param'
2
2
 
3
- module Ingenico::Connect::SDK
3
+ module Worldline::Connect::SDK::Communication
4
4
 
5
5
  # extension of the RequestParam object to support comparison
6
6
  class RequestParam
@@ -1,10 +1,10 @@
1
1
  --- # YAML settings used in testing the SDK
2
- connect.api.endpoint.host: eu.sandbox.api-ingenico.com
2
+ connect.api.endpoint.host: api.preprod.connect.worldline-solutions.com
3
3
  connect.api.authorizationType: v1HMAC
4
4
  connect.api.connectTimeout: -1
5
5
  connect.api.socketTimeout: -1
6
6
  connect.api.maxConnections: 10
7
- connect.api.integrator: Ingenico
7
+ connect.api.integrator: Worldline
8
8
  # change uri to preferred proxy
9
9
  connect.api.proxy.uri: http://localhost:9999
10
10
  # change username and password to authentication credentials for the proxy, omit the entries if no authentication is required
@@ -1,7 +1,7 @@
1
1
  --- # YAML settings used in testing the SDK
2
- connect.api.endpoint.host: eu.sandbox.api-ingenico.com
2
+ connect.api.endpoint.host: api.preprod.connect.worldline-solutions.com
3
3
  connect.api.authorizationType: v1HMAC
4
4
  connect.api.connectTimeout: -1
5
5
  connect.api.socketTimeout: -1
6
6
  connect.api.maxConnections: 100
7
- connect.api.integrator: Ingenico
7
+ connect.api.integrator: Worldline
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
  require 'integration_setup'
3
- require 'ingenico/connect/sdk/merchant/services/convert_amount_params'
4
- require 'ingenico/connect/sdk/factory'
3
+ require 'worldline/connect/sdk/factory'
4
+ require 'worldline/connect/sdk/v1/merchant/services/convert_amount_params'
5
5
  require 'yaml'
6
6
 
7
7
  describe 'connection pooling with the server' do
@@ -49,7 +49,7 @@ end
49
49
  def run_connection_pooling_test(request_count, max_connections)
50
50
  configuration = Integration.init_communicator_configuration(max_connections: max_connections)
51
51
  begin
52
- communicator = Ingenico::Connect::SDK::Factory.create_communicator_from_configuration(configuration)
52
+ communicator = Worldline::Connect::SDK::Factory.create_communicator_from_configuration(configuration)
53
53
  flag = Event.new
54
54
  runner_threads = Array.new(request_count){ |i| Thread.new{run_request(i, communicator, flag)} }
55
55
  flag.set
@@ -65,14 +65,14 @@ def run_connection_pooling_test(request_count, max_connections)
65
65
  end
66
66
 
67
67
  def run_request(i, communicator, flag)
68
- request = Ingenico::Connect::SDK::Merchant::Services::ConvertAmountParams.new
68
+ request = Worldline::Connect::SDK::V1::Merchant::Services::ConvertAmountParams.new
69
69
  request.source = 'USD'
70
70
  request.target = 'EUR'
71
71
  request.amount = 100*(i+1)
72
72
 
73
- client = Ingenico::Connect::SDK::Factory.create_client_from_communicator(communicator)
73
+ client = Worldline::Connect::SDK::Factory.create_client_from_communicator(communicator)
74
74
  flag.wait
75
75
  start_time = Time.now
76
- client.merchant(Integration::MERCHANT_ID).services.convert_amount(request)
76
+ client.v1.merchant(Integration::MERCHANT_ID).services.convert_amount(request)
77
77
  [start_time.to_i*1000, Time.now.to_i*1000]
78
78
  end
@@ -2,22 +2,22 @@ require 'rspec'
2
2
  require 'spec_helper'
3
3
  require 'integration_setup'
4
4
  require 'webmock/rspec'
5
- require 'ingenico/connect/sdk/merchant/services/convert_amount_params'
5
+ require 'worldline/connect/sdk/v1/merchant/services/convert_amount_params'
6
6
 
7
7
  describe 'convertAmount with the server' do
8
8
 
9
9
  before(:context){WebMock.allow_net_connect!}
10
10
  after(:context){WebMock.disable_net_connect!}
11
11
 
12
- it 'communicates with the Ingenico ePayments platform' do
12
+ it 'communicates with the Worldline Global Collect platform' do
13
13
 
14
- request = Ingenico::Connect::SDK::Merchant::Services::ConvertAmountParams.new
14
+ request = Worldline::Connect::SDK::V1::Merchant::Services::ConvertAmountParams.new
15
15
  request.amount = 123
16
16
  request.source = 'USD'
17
17
  request.target = 'EUR'
18
18
 
19
19
  Integration.init_client(false) do |client|
20
- response = client.merchant(Integration::MERCHANT_ID).services.convert_amount(request)
20
+ response = client.v1.merchant(Integration::MERCHANT_ID).services.convert_amount(request)
21
21
  expect(response).to_not be_nil
22
22
  expect(response.converted_amount).to be > 0
23
23
  end
@@ -2,15 +2,15 @@ require 'spec_helper'
2
2
  require 'integration_setup'
3
3
  require 'securerandom'
4
4
  require 'webmock/rspec'
5
- require 'ingenico/connect/sdk/domain/definitions/amount_of_money'
6
- require 'ingenico/connect/sdk/domain/definitions/address'
7
- require 'ingenico/connect/sdk/domain/payment/create_payment_request'
8
- require 'ingenico/connect/sdk/domain/payment/customer'
9
- require 'ingenico/connect/sdk/domain/payment/order'
10
- require 'ingenico/connect/sdk/domain/payment/redirect_payment_product809_specific_input'
11
- require 'ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input'
12
- require 'ingenico/connect/sdk/call_context'
13
- require 'ingenico/connect/sdk/declined_payment_exception'
5
+ require 'worldline/connect/sdk/call_context'
6
+ require 'worldline/connect/sdk/v1/declined_payment_exception'
7
+ require 'worldline/connect/sdk/v1/domain/amount_of_money'
8
+ require 'worldline/connect/sdk/v1/domain/address'
9
+ require 'worldline/connect/sdk/v1/domain/create_payment_request'
10
+ require 'worldline/connect/sdk/v1/domain/customer'
11
+ require 'worldline/connect/sdk/v1/domain/order'
12
+ require 'worldline/connect/sdk/v1/domain/redirect_payment_product809_specific_input'
13
+ require 'worldline/connect/sdk/v1/domain/redirect_payment_method_specific_input'
14
14
 
15
15
  describe 'Idempotence with the server' do
16
16
 
@@ -18,36 +18,36 @@ describe 'Idempotence with the server' do
18
18
  after(:context){WebMock.disable_net_connect!}
19
19
 
20
20
  it 'realises when an idempotent request is sent twice' do
21
- amount_of_money = Ingenico::Connect::SDK::Domain::Definitions::AmountOfMoney.new
21
+ amount_of_money = Worldline::Connect::SDK::V1::Domain::AmountOfMoney.new
22
22
  amount_of_money.currency_code = 'EUR'
23
23
  amount_of_money.amount = 100
24
- billing_address = Ingenico::Connect::SDK::Domain::Definitions::Address.new
24
+ billing_address = Worldline::Connect::SDK::V1::Domain::Address.new
25
25
  billing_address.country_code = 'NL'
26
- customer = Ingenico::Connect::SDK::Domain::Payment::Customer.new
26
+ customer = Worldline::Connect::SDK::V1::Domain::Customer.new
27
27
  customer.locale = 'en'
28
28
  customer.billing_address = billing_address
29
- order = Ingenico::Connect::SDK::Domain::Payment::Order.new
29
+ order = Worldline::Connect::SDK::V1::Domain::Order.new
30
30
  order.amount_of_money = amount_of_money
31
31
  order.customer = customer
32
- payment_product_input = Ingenico::Connect::SDK::Domain::Payment::RedirectPaymentProduct809SpecificInput.new
32
+ payment_product_input = Worldline::Connect::SDK::V1::Domain::RedirectPaymentProduct809SpecificInput.new
33
33
  payment_product_input.issuer_id = 'INGBNL2A'
34
- payment_method_input = Ingenico::Connect::SDK::Domain::Payment::RedirectPaymentMethodSpecificInput.new
34
+ payment_method_input = Worldline::Connect::SDK::V1::Domain::RedirectPaymentMethodSpecificInput.new
35
35
  payment_method_input.return_url = 'http://example.com'
36
36
  payment_method_input.payment_product_id = 809
37
37
  payment_method_input.payment_product809_specific_input = payment_product_input
38
- body = Ingenico::Connect::SDK::Domain::Payment::CreatePaymentRequest.new
38
+ body = Worldline::Connect::SDK::V1::Domain::CreatePaymentRequest.new
39
39
  body.order = order
40
40
  body.redirect_payment_method_specific_input = payment_method_input
41
41
  idempotence_key = SecureRandom.uuid
42
- context = Ingenico::Connect::SDK::CallContext.new(idempotence_key)
42
+ context = Worldline::Connect::SDK::CallContext.new(idempotence_key)
43
43
 
44
44
  Integration.init_client(false) do |client|
45
45
  def do_create_payment(client, body, context)
46
46
  # For this test it doesn't matter if the response is successful or declined,
47
47
  # as long as idempotence is handled correctly
48
48
  begin
49
- client.merchant(Integration::MERCHANT_ID).payments.create(body, context)
50
- rescue Ingenico::Connect::SDK::DeclinedPaymentException => ex
49
+ client.v1.merchant(Integration::MERCHANT_ID).payments.create(body, context)
50
+ rescue Worldline::Connect::SDK::V1::DeclinedPaymentException => ex
51
51
  ex.payment_result
52
52
  end
53
53
  end