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
@@ -1,76 +0,0 @@
1
- #
2
- # This class was auto-generated from the API references found at
3
- # https://epayments-api.developer-ingenico.com/
4
- #
5
- require 'ingenico/connect/sdk/factory'
6
- require 'ingenico/connect/sdk/domain/definitions/address'
7
- require 'ingenico/connect/sdk/domain/definitions/card_without_cvv'
8
- require 'ingenico/connect/sdk/domain/definitions/company_information'
9
- require 'ingenico/connect/sdk/domain/token/customer_token'
10
- require 'ingenico/connect/sdk/domain/token/personal_information_token'
11
- require 'ingenico/connect/sdk/domain/token/personal_name_token'
12
- require 'ingenico/connect/sdk/domain/token/token_card'
13
- require 'ingenico/connect/sdk/domain/token/token_card_data'
14
- require 'ingenico/connect/sdk/domain/token/update_token_request'
15
-
16
- Definitions = Ingenico::Connect::SDK::Domain::Definitions
17
- Token = Ingenico::Connect::SDK::Domain::Token
18
-
19
- def example
20
- get_client do |client|
21
- billing_address = Definitions::Address.new
22
- billing_address.additional_info = 'b'
23
- billing_address.city = 'Monument Valley'
24
- billing_address.country_code = 'US'
25
- billing_address.house_number = '13'
26
- billing_address.state = 'Utah'
27
- billing_address.street = 'Desertroad'
28
- billing_address.zip = '84536'
29
-
30
- company_information = Definitions::CompanyInformation.new
31
- company_information.name = 'Acme Labs'
32
-
33
- name = Token::PersonalNameToken.new
34
- name.first_name = 'Wile'
35
- name.surname = 'Coyote'
36
- name.surname_prefix = 'E.'
37
-
38
- personal_information = Token::PersonalInformationToken.new
39
- personal_information.name = name
40
-
41
- customer = Token::CustomerToken.new
42
- customer.billing_address = billing_address
43
- customer.company_information = company_information
44
- customer.merchant_customer_id = '1234'
45
- customer.personal_information = personal_information
46
-
47
- card_without_cvv = Definitions::CardWithoutCvv.new
48
- card_without_cvv.card_number = '4567350000427977'
49
- card_without_cvv.cardholder_name = 'Wile E. Coyote'
50
- card_without_cvv.expiry_date = '1299'
51
- card_without_cvv.issue_number = '12'
52
-
53
- data = Token::TokenCardData.new
54
- data.card_without_cvv = card_without_cvv
55
-
56
- card = Token::TokenCard.new
57
- card.customer = customer
58
- card.data = data
59
-
60
- body = Token::UpdateTokenRequest.new
61
- body.card = card
62
- body.payment_product_id = 1
63
-
64
- client.merchant('merchantId').tokens.update('tokenId', body)
65
- end
66
- end
67
-
68
- def get_client
69
- api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
70
- secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
71
- configuration_file_name = File.join(__FILE__, '..', '..', 'example_configuration.yml')
72
- yield client = Ingenico::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
73
- ensure
74
- # Free networking resources when done
75
- client.close unless client.nil?
76
- end
@@ -1,53 +0,0 @@
1
- module Ingenico
2
- module Connect
3
- module SDK
4
- # Base class for many exceptions raised by the SDK.
5
- # It is raised when an error response is received from the Ingenico ePayments platform.
6
- # It contains data about the returned response.
7
- #
8
- # @attr_reader [Integer] status_code HTTP status code of the returned response.
9
- # @attr_reader [String] response_body Message body of the returned response.
10
- # @attr_reader [String] error_id An error id corresponding to the error that occurred, if available.
11
- # @attr_reader [Array<Ingenico::Connect::SDK::Domain::Errors::APIError>] errors A list of errors received from the Ingenico ePayments platform;
12
- # may be empty but never _nil_
13
- class ApiException < RuntimeError
14
-
15
- # Creates a new ApiException that reports an error response from the Ingenico ePayments platform.
16
- #
17
- # @param status_code (Integer) HTTP status code the response
18
- # @param response_body (String) HTTP response body
19
- # @param error_id (String) error id of the error, may be _nil_
20
- # @param errors (Array<Ingenico::Connect::SDK::Domain::Errors::APIError>) a list of errors that occurred, may be empty
21
- # @param message (String) error message to include
22
- def initialize(status_code, response_body, error_id, errors,
23
- message = 'the Ingenico ePayments platform returned an error response')
24
- super(message)
25
- @status_code = status_code
26
- @response_body = response_body
27
- @error_id = error_id
28
- if errors.nil?
29
- @errors = [].freeze
30
- else
31
- @errors = errors
32
- end
33
- end
34
-
35
- attr_reader :status_code
36
- attr_reader :response_body
37
- attr_reader :error_id
38
- attr_reader :errors
39
-
40
- def to_s
41
- str = super.to_s
42
- if @status_code > 0
43
- str += '; status_code=' + @status_code.to_s
44
- end
45
- if !@response_body.nil? && @response_body.length > 0
46
- str += "; response_body='" + @response_body + "'"
47
- end
48
- str.to_s
49
- end
50
- end
51
- end
52
- end
53
- end
@@ -1,144 +0,0 @@
1
- require 'ingenico/connect/sdk/api_exception'
2
- require 'ingenico/connect/sdk/authorization_exception'
3
- require 'ingenico/connect/sdk/declined_payment_exception'
4
- require 'ingenico/connect/sdk/declined_payout_exception'
5
- require 'ingenico/connect/sdk/declined_refund_exception'
6
- require 'ingenico/connect/sdk/domain/errors/error_response'
7
- require 'ingenico/connect/sdk/domain/payment/payment_error_response'
8
- require 'ingenico/connect/sdk/domain/payout/payout_error_response'
9
- require 'ingenico/connect/sdk/domain/refund/refund_error_response'
10
- require 'ingenico/connect/sdk/global_collect_exception'
11
- require 'ingenico/connect/sdk/idempotence_exception'
12
- require 'ingenico/connect/sdk/reference_exception'
13
- require 'ingenico/connect/sdk/request_header'
14
- require 'ingenico/connect/sdk/validation_exception'
15
-
16
- module Ingenico
17
- module Connect
18
- module SDK
19
- # Base class of all Ingenico ePayments platform API resources.
20
- # Provides shared functionality to facilitate communication with the Ingenico ePayments platform.
21
- #
22
- # @attr_reader [Ingenico::Connect::SDK::Communicator] communicator Communicator instance that provides communication with the Ingenico ePayments platform.
23
- # @attr_reader [String] client_meta_info JSON string containing client info specific to the current client.
24
- class ApiResource
25
-
26
- # Creates a new ApiResource.
27
- #
28
- # @param arg [Ingenico::Connect::SDK::ApiResource, Ingenico::Connect::SDK::Communicator] parent class or Communicator instance.
29
- # If a parent class is given its communicator will be used for communication.
30
- # @param path_context [Hash] hash that contains substitutions for generic locations in the URL path.
31
- # This hash will be used to instantiate a concrete URL used to access specific resources.
32
- # For example in the URL https://eu.sandbox.api-ingenico.com/!{version}/!{merchantId}/payments
33
- # !{version} and !{merchantId} can be instantiated using the hash
34
- # !{'version' => 'v1', 'merchantId' => '1234'}. The final URL in this case will be
35
- # https://eu.sandbox.api-ingenico.com/v1/1234/payments.
36
- # @param client_meta_info [String] JSON string containing the meta data for the client.
37
- def initialize(arg, path_context, client_meta_info = false)
38
- if client_meta_info == false
39
- if arg.nil?
40
- raise ArgumentError.new('parent is required')
41
- end
42
- @parent = arg
43
- @communicator = arg.communicator
44
- @path_context = path_context
45
- @client_meta_info = arg.client_meta_info
46
- else
47
- if arg.nil?
48
- raise ArgumentError.new('communicator is required')
49
- end
50
- @parent = nil
51
- @communicator = arg
52
- @path_context = path_context
53
- @client_meta_info = client_meta_info
54
- end
55
- end
56
-
57
- attr_reader :communicator
58
- attr_reader :client_meta_info
59
-
60
- protected
61
-
62
- # @return [Array<Ingenico::Connect::SDK::RequestHeader>, nil] the client headers,
63
- # including the X-GCS-ClientMetaInfo header if meta data for the client is available
64
- def client_headers
65
- if @client_meta_info.nil?
66
- nil
67
- else
68
- [RequestHeader.new('X-GCS-ClientMetaInfo', @client_meta_info)]
69
- end
70
- end
71
-
72
- def instantiate_uri(uri, path_context = false)
73
- if path_context == false
74
- uri = replace_all(uri, @path_context)
75
- unless @parent.nil?
76
- uri = @parent.instantiate_uri(uri)
77
- end
78
- uri
79
- else
80
- uri = replace_all(uri, path_context)
81
- instantiate_uri(uri)
82
- end
83
- end
84
-
85
- def create_exception(status_code, response_body, error_object, context)
86
- if error_object.is_a?(Ingenico::Connect::SDK::Domain::Payment::PaymentErrorResponse) && !error_object.payment_result.nil?
87
- return DeclinedPaymentException.new(status_code, response_body, error_object)
88
- elsif error_object.is_a?(Ingenico::Connect::SDK::Domain::Payout::PayoutErrorResponse) && !error_object.payout_result.nil?
89
- return DeclinedPayoutException.new(status_code, response_body, error_object)
90
- elsif error_object.is_a?(Ingenico::Connect::SDK::Domain::Refund::RefundErrorResponse) && !error_object.refund_result.nil?
91
- return DeclinedRefundException.new(status_code, response_body, error_object)
92
- end
93
- if !(error_object.is_a?(Ingenico::Connect::SDK::Domain::Payment::PaymentErrorResponse) ||
94
- error_object.is_a?(Ingenico::Connect::SDK::Domain::Payout::PayoutErrorResponse) ||
95
- error_object.is_a?(Ingenico::Connect::SDK::Domain::Refund::RefundErrorResponse) ||
96
- error_object.is_a?(Ingenico::Connect::SDK::Domain::Errors::ErrorResponse))
97
- raise ArgumentError.new("unsupported error object type: " + error_object.class.name)
98
- else
99
- error_id = error_object.error_id
100
- errors = error_object.errors
101
- end
102
- case status_code
103
- when 400
104
- return ValidationException.new(status_code, response_body, error_id, errors)
105
- when 403
106
- return AuthorizationException.new(status_code, response_body, error_id, errors)
107
- when 404, 410
108
- return ReferenceException.new(status_code, response_body, error_id, errors)
109
- when 409
110
- if is_idempotence_error(errors, context)
111
- idempotence_key = context.idempotence_key
112
- idempotence_request_timestamp = context.idempotence_request_timestamp
113
- return IdempotenceException.new(status_code, response_body, error_id,
114
- errors, idempotence_key,
115
- idempotence_request_timestamp)
116
- else
117
- return ReferenceException.new(status_code, response_body, error_id, errors)
118
- end
119
- when 500, 502, 503
120
- return GlobalCollectException.new(status_code, response_body, error_id, errors)
121
- else
122
- return ApiException.new(status_code, response_body, error_id, errors)
123
- end
124
- end
125
-
126
- private
127
-
128
- def replace_all(uri, path_context)
129
- unless path_context.nil?
130
- path_context.each do |key, value|
131
- uri = uri.gsub('{' + key + '}', value)
132
- end
133
- end
134
- uri
135
- end
136
-
137
- def is_idempotence_error(errors, context)
138
- !context.nil? && !context.idempotence_key.nil? && errors.length == 1 &&
139
- errors[0].code == '1409'
140
- end
141
- end
142
- end
143
- end
144
- end
@@ -1,19 +0,0 @@
1
- module Ingenico
2
- module Connect
3
- module SDK
4
- # Abstract class that is responsible for authenticating requests sent to the Ingenico ePayments platform.
5
- class Authenticator
6
-
7
- # Creates a signature to authenticate a request.
8
- #
9
- # @param http_method [String] 'GET', 'PUT', 'POST' or 'DELETE' indicating which HTTP method will be used with the request
10
- # @param resource_uri [URI::HTTP] URI object that includes #path and #query of the URL that will be used, #query may be *nil*
11
- # @param request_headers [Array<Ingenico::Connect::SDK::RequestHeader>] all headers used by the request
12
- # @return [String] the created signature
13
- def create_simple_authentication_signature(http_method, resource_uri, request_headers)
14
- raise NotImplementedError
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,18 +0,0 @@
1
- require 'ingenico/connect/sdk/api_exception'
2
-
3
- module Ingenico
4
- module Connect
5
- module SDK
6
- # This exception is thrown when a request sent to the Ingenico ePayments platform is not correctly authenticated.
7
- # Corresponds to a HTTP status code of 403.
8
- # @see ApiException#initialize
9
- class AuthorizationException < ApiException
10
-
11
- def initialize(status_code, response_body, error_id, errors,
12
- message = 'the Ingenico ePayments platform returned an authorization error response')
13
- super(status_code, response_body, error_id, errors, message)
14
- end
15
- end
16
- end
17
- end
18
- end
@@ -1,29 +0,0 @@
1
- module Ingenico
2
- module Connect
3
- module SDK
4
- # A CallContext is used to identify requests and manage idempotent requests.
5
- # A CallContext contains the following:
6
- #
7
- # idempotence_key:: A randomly generated key used to identify requests
8
- # idempotence_request_timestamp:: If a previous request arrived with the same idempotence key,
9
- # this value will be set to a timestamp of that request.
10
- #
11
- # @attr_reader [String] idempotence_key The idempotence key used to identify this request.
12
- # If two requests share the same _idempotence_key_, they are considered to be the same request
13
- # and only the first request will be processed.
14
- # @attr [Integer] idempotence_request_timestamp If two or more requests arrive at the Ingenico ePayments platform with the same _idempotence_key_,
15
- # the _idempotence_request_timestamp_ will be set to the arrival time of the first of these requests.
16
- class CallContext
17
- @idempotence_request_timestamp = nil
18
- @idempotence_key = nil
19
-
20
- def initialize(idempotence_key = nil)
21
- @idempotence_key = idempotence_key
22
- end
23
-
24
- attr_reader :idempotence_key
25
- attr_accessor :idempotence_request_timestamp
26
- end
27
- end
28
- end
29
- end
@@ -1,106 +0,0 @@
1
- #
2
- # This class was auto-generated from the API references found at
3
- # https://epayments-api.developer-ingenico.com/
4
- #
5
- require 'base64'
6
- require 'ingenico/connect/sdk/api_resource'
7
- require 'ingenico/connect/sdk/data_object'
8
- require 'ingenico/connect/sdk/logging/logging_capable'
9
- require 'ingenico/connect/sdk/logging/obfuscation/obfuscation_capable'
10
- require 'ingenico/connect/sdk/merchant/merchant_client'
11
-
12
- module Ingenico
13
- module Connect
14
- module SDK
15
- # Ingenico ePayments platform client.
16
- #
17
- # This client and all its child clients are bound to one specific value for the X-GCS-ClientMetaInfo header.
18
- #
19
- # To get a new client with a different header value, use with_client_meta_info.
20
- #
21
- # Thread safe.
22
- class Client < ApiResource
23
- include Logging::LoggingCapable
24
- include Logging::Obfuscation::ObfuscationCapable
25
-
26
- # @return [String]
27
- def self.API_VERSION
28
- 'v1'
29
- end
30
-
31
- # @param communicator [Ingenico::Connect::SDK::Communicator]
32
- # @param client_meta_info [String]
33
- def initialize(communicator, client_meta_info = nil)
34
- super(communicator, nil, client_meta_info)
35
- end
36
-
37
- # @param client_meta_info [String] JSON string containing the meta data for the client
38
- # @return [Ingenico::Connect::SDK::Client] a Client which uses the passed meta data for the X-GCS-ClientMetaInfo header.
39
- # @raise [Ingenico::Connect::SDK::MarshallerSyntaxException] if the given clientMetaInfo is not a valid JSON string
40
- def with_client_meta_info(client_meta_info)
41
- if @client_meta_info.nil? && client_meta_info.nil?
42
- self
43
- elsif client_meta_info.nil?
44
- return Client.new(@communicator, nil)
45
- else
46
- # Checking to see if this is valid JSON (no JSON parse exceptions)
47
- @communicator.marshaller.unmarshal(client_meta_info, DataObject)
48
- client_meta_info = Base64.strict_encode64(client_meta_info)
49
- if @client_meta_info == client_meta_info
50
- self
51
- else
52
- return Client.new(@communicator, client_meta_info)
53
- end
54
- end
55
- end
56
-
57
- # Utility method that delegates the call to this client's communicator.
58
- def close_idle_connections(idle_time)
59
- @communicator.close_idle_connections(idle_time)
60
- end
61
-
62
- # Utility method that delegates the call to this client's communicator.
63
- def close_expired_connections
64
- @communicator.close_expired_connections
65
- end
66
-
67
- # Sets the current body obfuscator to use.
68
- # @param body_obfuscator [Ingenico::Connect::SDK::Logging::Obfuscation::BodyObfuscator]
69
- def set_body_obfuscator(body_obfuscator)
70
- @communicator.set_body_obfuscator(body_obfuscator)
71
- end
72
-
73
- # Sets the current header obfuscator to use.
74
- # @param header_obfuscator [Ingenico::Connect::SDK::Logging::Obfuscation::HeaderObfuscator]
75
- def set_header_obfuscator(header_obfuscator)
76
- @communicator.set_header_obfuscator(header_obfuscator)
77
- end
78
-
79
- # Turns on logging using the given communicator logger.
80
- # @param communicator_logger [Ingenico::Connect::SDK::Logging::CommunicatorLogger]
81
- def enable_logging(communicator_logger)
82
- @communicator.enable_logging(communicator_logger)
83
- end
84
-
85
- # Turns off logging.
86
- def disable_logging
87
- @communicator.disable_logging
88
- end
89
-
90
- # Releases any system resources associated with this object.
91
- def close
92
- @communicator.close
93
- end
94
-
95
- # Resource /!{merchantId}
96
- # @param merchant_id [String]
97
- # @return [Ingenico::Connect::SDK::Merchant::MerchantClient]
98
- def merchant(merchant_id)
99
- Ingenico::Connect::SDK::Merchant::MerchantClient.new(self, {
100
- 'merchantId'.freeze => merchant_id,
101
- })
102
- end
103
- end
104
- end
105
- end
106
- end
@@ -1,19 +0,0 @@
1
- module Ingenico
2
- module Connect
3
- module SDK
4
- # This exception is used when an error occurs during network communication with the Ingenico ePayments platform.
5
- # A common cause is a timeout while connecting or when receiving or sending data.
6
- #
7
- # @attr [Exception] cause The error that is the cause of this error.
8
- class CommunicationException < RuntimeError
9
-
10
- def initialize(cause)
11
- super()
12
- @cause = cause
13
- end
14
-
15
- attr_accessor :cause
16
- end
17
- end
18
- end
19
- end