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,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- BodyObfuscator = Ingenico::Connect::SDK::Logging::Obfuscation::BodyObfuscator
3
+ BodyObfuscator = Worldline::Connect::SDK::Logging::Obfuscation::BodyObfuscator
4
4
 
5
5
  def test_obfuscate_body_with_matches(original_resource, obfuscated_resource,
6
6
  body_obfuscator=BodyObfuscator.default_obfuscator)
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
- HeaderObfuscator = Ingenico::Connect::SDK::Logging::Obfuscation::HeaderObfuscator
4
- Obfuscation = Ingenico::Connect::SDK::Logging::Obfuscation
3
+ HeaderObfuscator = Worldline::Connect::SDK::Logging::Obfuscation::HeaderObfuscator
4
+ Obfuscation = Worldline::Connect::SDK::Logging::Obfuscation
5
5
 
6
6
  def test_obfuscate_header_with_match(name, original_value, expected_value,
7
7
  header_obfuscator=HeaderObfuscator.default_obfuscator)
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
  require 'logger'
3
3
  require 'English'
4
4
 
5
- RubyCommunicatorLogger = Ingenico::Connect::SDK::Logging::RubyCommunicatorLogger
5
+ RubyCommunicatorLogger = Worldline::Connect::SDK::Logging::RubyCommunicatorLogger
6
6
 
7
7
  describe RubyCommunicatorLogger do
8
8
 
@@ -34,7 +34,7 @@ describe RubyCommunicatorLogger do
34
34
  let(:tag) { 'I' }
35
35
 
36
36
  it 'should not throw an exception when logging unicode strings' do
37
- message = ResponseLogMessageBuilder.new("aaa", 2345, 45.32)
37
+ message = Worldline::Connect::SDK::Logging::ResponseLogMessageBuilder.new("aaa", 2345, 45.32)
38
38
  body = "Schröder"
39
39
  content = "JSON"
40
40
  message.set_body(body, content)
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
  require 'English'
3
3
 
4
- StdoutCommunicatorLogger ||= Ingenico::Connect::SDK::Logging::StdoutCommunicatorLogger
4
+ StdoutCommunicatorLogger ||= Worldline::Connect::SDK::Logging::StdoutCommunicatorLogger
5
5
 
6
6
  describe StdoutCommunicatorLogger do
7
7
  before do
@@ -13,7 +13,7 @@ describe StdoutCommunicatorLogger do
13
13
  $stdout = STDOUT
14
14
  end
15
15
 
16
- subject(:sample) { StdoutCommunicatorLogger.INSTANCE }
16
+ subject(:sample) { StdoutCommunicatorLogger.instance }
17
17
  let(:regex) do
18
18
  Regexp.new("\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2} (.*)#{$RS}",
19
19
  Regexp::MULTILINE)
@@ -0,0 +1,93 @@
1
+ require 'spec_helper'
2
+ require 'worldline/connect/sdk/domain/shopping_cart_extension'
3
+ require 'base64'
4
+
5
+ describe 'MetadataProvider' do
6
+
7
+ MetadataProvider ||= Worldline::Connect::SDK::Communication::MetadataProvider
8
+ RequestHeader ||= Worldline::Connect::SDK::Communication::RequestHeader
9
+
10
+ it 'can give metadata_headers with a full shopping cart' do
11
+ shopping_cart_extension = Worldline::Connect::SDK::Domain::ShoppingCartExtension.new('Worldline.creator', 'Extension', '1.0', 'ExtensionId')
12
+ metadata_provider = MetadataProvider.new('Worldline', shopping_cart_extension: shopping_cart_extension)
13
+
14
+ request_headers = metadata_provider.metadata_headers
15
+ expect(request_headers.length).to eq(1)
16
+ expect(request_headers.length).to eq(1)
17
+
18
+ # Server meta info is stored in json format and encoded using utf-8 and base64
19
+ server_meta_info_json = Base64.strict_decode64(request_headers[0].value).force_encoding('utf-8')
20
+ server_meta_info = Worldline::Connect::SDK::JSON::DefaultMarshaller.instance.unmarshal(server_meta_info_json, MetadataProvider::ServerMetaInfo)
21
+
22
+ expect(server_meta_info.platform_identifier).to eq(metadata_provider.send(:get_platform_identifier))
23
+ expect(server_meta_info.sdk_identifier).to eq(metadata_provider.send(:get_sdk_identifier))
24
+ expect(server_meta_info.sdk_creator).to eq('Worldline')
25
+ expect(server_meta_info.shopping_cart_extension.creator).to eq(shopping_cart_extension.creator)
26
+ expect(server_meta_info.shopping_cart_extension.name).to eq(shopping_cart_extension.name)
27
+ expect(server_meta_info.shopping_cart_extension.version).to eq(shopping_cart_extension.version)
28
+ expect(server_meta_info.shopping_cart_extension.extension_id).to eq(shopping_cart_extension.extension_id)
29
+ end
30
+
31
+ it 'can give metadata_headers with a full shopping cart without an extension id' do
32
+ shopping_cart_extension = Worldline::Connect::SDK::Domain::ShoppingCartExtension.new('Worldline.creator', 'Extension', '1.0')
33
+ metadata_provider = MetadataProvider.new('Worldline', shopping_cart_extension: shopping_cart_extension)
34
+
35
+ request_headers = metadata_provider.metadata_headers
36
+ expect(request_headers.length).to eq(1)
37
+ expect(request_headers.length).to eq(1)
38
+
39
+ # Server meta info is stored in json format and encoded using utf-8 and base64
40
+ server_meta_info_json = Base64.strict_decode64(request_headers[0].value).force_encoding('utf-8')
41
+ server_meta_info = Worldline::Connect::SDK::JSON::DefaultMarshaller.instance.unmarshal(server_meta_info_json, MetadataProvider::ServerMetaInfo)
42
+
43
+ expect(server_meta_info.platform_identifier).to eq(metadata_provider.send(:get_platform_identifier))
44
+ expect(server_meta_info.sdk_identifier).to eq(metadata_provider.send(:get_sdk_identifier))
45
+ expect(server_meta_info.sdk_creator).to eq('Worldline')
46
+ expect(server_meta_info.shopping_cart_extension.creator).to eq(shopping_cart_extension.creator)
47
+ expect(server_meta_info.shopping_cart_extension.name).to eq(shopping_cart_extension.name)
48
+ expect(server_meta_info.shopping_cart_extension.version).to eq(shopping_cart_extension.version)
49
+ expect(server_meta_info.shopping_cart_extension.extension_id).to eq(shopping_cart_extension.extension_id)
50
+ end
51
+
52
+ it 'provides a server_meta_info header when no additional headers are provided' do
53
+ metadata_provider = MetadataProvider.new('Worldline')
54
+
55
+ request_headers = metadata_provider.metadata_headers
56
+ expect(request_headers.length).to eq(1)
57
+ expect(request_headers[0].name).to eq('X-GCS-ServerMetaInfo')
58
+ expect(request_headers[0].value).to_not be_nil
59
+
60
+ # Server meta info is stored in json format and encoded using utf-8 and base64
61
+ server_meta_info_json = Base64.strict_decode64(request_headers[0].value).force_encoding('utf-8')
62
+ server_meta_info = Worldline::Connect::SDK::JSON::DefaultMarshaller.instance.unmarshal(server_meta_info_json, MetadataProvider::ServerMetaInfo)
63
+
64
+ expect(server_meta_info.platform_identifier).to eq(metadata_provider.send(:get_platform_identifier))
65
+ expect(server_meta_info.sdk_identifier).to eq(metadata_provider.send(:get_sdk_identifier))
66
+ expect(server_meta_info.sdk_creator).to eq('Worldline')
67
+ end
68
+
69
+ it 'provides a server_meta_info header and any additional headers provided' do
70
+ additional_headers = [RequestHeader.new('Header1', '&=$%'), RequestHeader.new('Header2', 'blah, blah'),
71
+ RequestHeader.new('Header3', 'foo')]
72
+ metadata_provider = MetadataProvider.new('Worldline', additional_request_headers: additional_headers)
73
+ request_headers = metadata_provider.metadata_headers
74
+
75
+ expect(request_headers.length).to eq(4)
76
+
77
+ i = 1
78
+ additional_headers.each do |header|
79
+ expect(request_headers[i]).to eq(header)
80
+ i += 1
81
+ end
82
+ end
83
+
84
+ it 'refuses headers marked as prohibited' do
85
+ MetadataProvider.prohibited_headers.each do |name|
86
+ additional_headers = [RequestHeader.new('Header1', 'Value1'),
87
+ RequestHeader.new(name, 'blood diamonds'),
88
+ RequestHeader.new('Header3', 'Value3')]
89
+ expect{MetadataProvider.new('Worldline', additional_request_headers: additional_headers)}
90
+ .to raise_error{|error| expect(error.message).to include(name)}
91
+ end
92
+ end
93
+ end
@@ -1,23 +1,22 @@
1
1
  require 'spec_helper'
2
- require 'ingenico/connect/sdk/domain/definitions/card'
3
- require 'ingenico/connect/sdk/domain/payment/card_payment_method_specific_input'
4
- require 'ingenico/connect/sdk/domain/payment/create_payment_request'
5
- require 'ingenico/connect/sdk/domain/payment/customer'
6
- require 'ingenico/connect/sdk/domain/payment/order'
7
- require 'ingenico/connect/sdk/merchant/payments/payments_client'
8
-
9
- PaymentsClient ||= Ingenico::Connect::SDK::Merchant::Payments::PaymentsClient
10
- Payment ||= Ingenico::Connect::SDK::Domain::Payment
11
- Definitions ||= Ingenico::Connect::SDK::Domain::Definitions
12
- ResponseHeader ||= Ingenico::Connect::SDK::ResponseHeader
13
-
14
- ResponseException ||= Ingenico::Connect::SDK::ResponseException
15
- CommunicationException ||= Ingenico::Connect::SDK::CommunicationException
16
- ApiException ||= Ingenico::Connect::SDK::ApiException
17
- ValidationException ||= Ingenico::Connect::SDK::ValidationException
18
- DeclinedPaymentException ||= Ingenico::Connect::SDK::DeclinedPaymentException
19
- ReferenceException ||= Ingenico::Connect::SDK::ReferenceException
20
- IdempotenceException ||= Ingenico::Connect::SDK::IdempotenceException
2
+ require 'worldline/connect/sdk/v1/domain/card'
3
+ require 'worldline/connect/sdk/v1/domain/card_payment_method_specific_input'
4
+ require 'worldline/connect/sdk/v1/domain/create_payment_request'
5
+ require 'worldline/connect/sdk/v1/domain/customer'
6
+ require 'worldline/connect/sdk/v1/domain/order'
7
+ require 'worldline/connect/sdk/v1/merchant/payments/payments_client'
8
+
9
+ PaymentsClient ||= Worldline::Connect::SDK::V1::Merchant::Payments::PaymentsClient
10
+ Domain ||= Worldline::Connect::SDK::V1::Domain
11
+ ResponseHeader ||= Worldline::Connect::SDK::Communication::ResponseHeader
12
+
13
+ ResponseException ||= Worldline::Connect::SDK::Communication::ResponseException
14
+ CommunicationException ||= Worldline::Connect::SDK::Communication::CommunicationException
15
+ ApiException ||= Worldline::Connect::SDK::V1::ApiException
16
+ ValidationException ||= Worldline::Connect::SDK::V1::ValidationException
17
+ DeclinedPaymentException ||= Worldline::Connect::SDK::V1::DeclinedPaymentException
18
+ ReferenceException ||= Worldline::Connect::SDK::V1::ReferenceException
19
+ IdempotenceException ||= Worldline::Connect::SDK::V1::IdempotenceException
21
20
 
22
21
  describe PaymentsClient do
23
22
 
@@ -25,24 +24,24 @@ describe PaymentsClient do
25
24
  let(:request_body) {create_resource}
26
25
 
27
26
  it 'can create payments' do
28
- connection = double(Ingenico::Connect::SDK::Connection)
27
+ connection = double(Worldline::Connect::SDK::Communication::Connection)
29
28
  client = init_client(connection)
30
29
  response_body = IO.read(resource_prefix + 'pending_approval.json')
31
30
  allow(connection).to receive(:post).and_yield(201, {}, StringIO.new(response_body))
32
31
 
33
- response = client.merchant('merchantId').payments.create(request_body)
32
+ response = client.v1.merchant('merchantId').payments.create(request_body)
34
33
 
35
34
  expect(response.payment.id).to eq('000002000020142549460000100001')
36
35
  expect(response.payment.status).to eq('PENDING_APPROVAL')
37
36
  end
38
37
 
39
38
  it 'can deal with rejection' do
40
- connection = double(Ingenico::Connect::SDK::Connection)
39
+ connection = double(Worldline::Connect::SDK::Communication::Connection)
41
40
  client = init_client(connection)
42
41
  response_body = IO.read(resource_prefix + 'rejected.json')
43
42
  allow(connection).to receive(:post).and_yield(400, {}, StringIO.new(response_body))
44
43
 
45
- expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(DeclinedPaymentException){|error|
44
+ expect{client.v1.merchant('merchantId').payments.create(request_body)}.to raise_error(DeclinedPaymentException){|error|
46
45
  expect(error.message).to include("payment '000002000020142544360000100001'")
47
46
  expect(error.message).to include("status 'REJECTED'")
48
47
  expect(error.message).to include(response_body)
@@ -53,47 +52,47 @@ describe PaymentsClient do
53
52
  end
54
53
 
55
54
  it 'can deal with invalid requests' do
56
- connection = double(Ingenico::Connect::SDK::Connection)
55
+ connection = double(Worldline::Connect::SDK::Communication::Connection)
57
56
  client = init_client(connection)
58
57
  response_body = IO.read(resource_prefix + 'invalid_request.json')
59
58
  allow(connection).to receive(:post).and_yield(400, {}, StringIO.new(response_body))
60
59
 
61
- expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(ValidationException){|error|
60
+ expect{client.v1.merchant('merchantId').payments.create(request_body)}.to raise_error(ValidationException){|error|
62
61
  expect(error.message).to include(response_body)
63
62
  }
64
63
  end
65
64
 
66
65
  it 'can deal with not being authorized' do
67
- connection = double(Ingenico::Connect::SDK::Connection)
66
+ connection = double(Worldline::Connect::SDK::Communication::Connection)
68
67
  client = init_client(connection)
69
68
  response_body = IO.read(resource_prefix + 'invalid_authorization.json')
70
69
  allow(connection).to receive(:post).and_yield(401, {}, StringIO.new(response_body))
71
70
 
72
- expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(ApiException){|error|
71
+ expect{client.v1.merchant('merchantId').payments.create(request_body)}.to raise_error(ApiException){|error|
73
72
 
74
73
  expect(error.message).to include(response_body)
75
74
  }
76
75
  end
77
76
 
78
77
  it 'can handle the payment already existing' do
79
- connection = double(Ingenico::Connect::SDK::Connection)
78
+ connection = double(Worldline::Connect::SDK::Communication::Connection)
80
79
  client = init_client(connection)
81
80
  response_body = IO.read(resource_prefix + 'duplicate_request.json')
82
81
  allow(connection).to receive(:post).and_yield(409, {}, StringIO.new(response_body))
83
82
 
84
- expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(ReferenceException){|error|
83
+ expect{client.v1.merchant('merchantId').payments.create(request_body)}.to raise_error(ReferenceException){|error|
85
84
  expect(error.message).to include(response_body)
86
85
  }
87
86
  end
88
87
 
89
88
  it 'can deal with sending a request twice' do
90
- connection = double(Ingenico::Connect::SDK::Connection)
89
+ connection = double(Worldline::Connect::SDK::Communication::Connection)
91
90
  client = init_client(connection)
92
91
  response_body = IO.read(resource_prefix + 'duplicate_request.json')
93
- context = Ingenico::Connect::SDK::CallContext.new('key')
92
+ context = Worldline::Connect::SDK::CallContext.new('key')
94
93
  allow(connection).to receive(:post).and_yield(409, {}, StringIO.new(response_body))
95
94
 
96
- expect{client.merchant('merchantId').payments.create(request_body, context)}
95
+ expect{client.v1.merchant('merchantId').payments.create(request_body, context)}
97
96
  .to raise_error(IdempotenceException){|error|
98
97
  expect(error.message).to include(response_body)
99
98
  expect(error.idempotence_key).to eq(context.idempotence_key)
@@ -101,55 +100,55 @@ describe PaymentsClient do
101
100
  end
102
101
 
103
102
  it 'can handle its client not being found' do
104
- connection = double(Ingenico::Connect::SDK::Connection)
103
+ connection = double(Worldline::Connect::SDK::Communication::Connection)
105
104
  client = init_client(connection)
106
105
  response_body = IO.read(resource_prefix + 'not_found.html')
107
106
  allow(connection).to receive(:post).and_yield(404, [ResponseHeader.new('content-type', 'text/html')], StringIO.new(response_body))
108
107
 
109
- expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(Ingenico::Connect::SDK::NotFoundException){|error|
108
+ expect{client.v1.merchant('merchantId').payments.create(request_body)}.to raise_error(Worldline::Connect::SDK::Communication::NotFoundException){|error|
110
109
  expect(error.cause).to be_a(ResponseException)
111
110
  expect(error.cause.message).to include(response_body)
112
111
  }
113
112
  end
114
113
 
115
114
  it 'can handle the server misbehaving' do
116
- connection = double(Ingenico::Connect::SDK::Connection)
115
+ connection = double(Worldline::Connect::SDK::Communication::Connection)
117
116
  client = init_client(connection)
118
117
  response_body = IO.read(resource_prefix + 'method_not_allowed.html')
119
118
  allow(connection).to receive(:post).and_yield(405, [ResponseHeader.new('content-type', 'text/html')], StringIO.new(response_body))
120
119
 
121
- expect{client.merchant('merchantId').payments.create(request_body)}.to raise_error(CommunicationException){|error|
120
+ expect{client.v1.merchant('merchantId').payments.create(request_body)}.to raise_error(CommunicationException){|error|
122
121
  expect(error.cause).to be_a(ResponseException)
123
122
  expect(error.cause.message).to include(response_body)
124
123
  }
125
124
  end
126
125
 
127
126
  def init_client(connection)
128
- session = Ingenico::Connect::SDK::Session.new('http://localhost', connection,
129
- Ingenico::Connect::SDK::DefaultImpl::DefaultAuthenticator.new(
130
- Ingenico::Connect::SDK::DefaultImpl::AuthorizationType.get_authorization('v1HMAC'), 'admin', 'admin'),
131
- Ingenico::Connect::SDK::MetaDataProvider.new('Ingenico'))
132
- return Ingenico::Connect::SDK::Factory.create_client_from_session(session)
127
+ communicator = Worldline::Connect::SDK::Communicator.new('http://localhost', connection,
128
+ Worldline::Connect::SDK::Authentication::V1HMACAuthenticator.new('admin', 'admin'),
129
+ Worldline::Connect::SDK::Communication::MetadataProvider.new('Worldline'),
130
+ Worldline::Connect::SDK::JSON::DefaultMarshaller.instance)
131
+ return Worldline::Connect::SDK::Factory.create_client_from_communicator(communicator)
133
132
  end
134
133
 
135
134
  def create_resource
136
- amount_of_money = Definitions::AmountOfMoney.new
135
+ amount_of_money = Domain::AmountOfMoney.new
137
136
  amount_of_money.amount = 2345
138
137
  amount_of_money.currency_code = 'CAD'
139
- customer = Payment::Customer.new
140
- billing_address = Definitions::Address.new
138
+ customer = Domain::Customer.new
139
+ billing_address = Domain::Address.new
141
140
  billing_address.country_code = 'CA'
142
141
  customer.billing_address = billing_address
143
- order = Payment::Order.new
142
+ order = Domain::Order.new
144
143
  order.customer = customer
145
- card = Definitions::Card.new
144
+ card = Domain::Card.new
146
145
  card.cvv = '123'
147
146
  card.card_number = '4567350000427977'
148
147
  card.expiry_date = '1220'
149
- card_payment_method_specific_input = Payment::CardPaymentMethodSpecificInput.new
148
+ card_payment_method_specific_input = Domain::CardPaymentMethodSpecificInput.new
150
149
  card_payment_method_specific_input.card = card
151
150
  card_payment_method_specific_input.payment_product_id = 1
152
- body = Payment::CreatePaymentRequest.new
151
+ body = Domain::CreatePaymentRequest.new
153
152
  body.card_payment_method_specific_input = card_payment_method_specific_input
154
153
  body
155
154
  end
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
- require 'ingenico/connect/sdk/merchant/tokens/delete_token_params'
2
+ require 'worldline/connect/sdk/v1/merchant/tokens/delete_token_params'
3
3
 
4
- DeleteTokenParams ||= Ingenico::Connect::SDK::Merchant::Tokens::DeleteTokenParams
5
- RequestParam ||= Ingenico::Connect::SDK::RequestParam
4
+ DeleteTokenParams ||= Worldline::Connect::SDK::V1::Merchant::Tokens::DeleteTokenParams
5
+ RequestParam ||= Worldline::Connect::SDK::Communication::RequestParam
6
6
 
7
7
  describe 'DeleteTokenParams' do
8
8
 
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
- require 'ingenico/connect/sdk/merchant/products/directory_params'
2
+ require 'worldline/connect/sdk/v1/merchant/products/directory_params'
3
3
 
4
4
  describe 'DirectoryParams' do
5
- subject(:params){Ingenico::Connect::SDK::Merchant::Products::DirectoryParams.new}
5
+ subject(:params){Worldline::Connect::SDK::V1::Merchant::Products::DirectoryParams.new}
6
6
 
7
7
  it 'should output an empty list when no parameters are present' do
8
8
  expect(params.to_request_parameters).to eq([])
@@ -11,7 +11,8 @@ describe 'DirectoryParams' do
11
11
  it 'accepts parameters' do
12
12
  params.country_code = 'NL'
13
13
  params.currency_code = 'EUR'
14
- expected = [Ingenico::Connect::SDK::RequestParam.new('countryCode', 'NL'), Ingenico::Connect::SDK::RequestParam.new('currencyCode', 'EUR')]
14
+ expected = [Worldline::Connect::SDK::Communication::RequestParam.new('countryCode', 'NL'),
15
+ Worldline::Connect::SDK::Communication::RequestParam.new('currencyCode', 'EUR')]
15
16
 
16
17
  expect(params.to_request_parameters).to include(expected)
17
18
  end
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
- require 'ingenico/connect/sdk/merchant/products/find_products_params'
3
- require 'ingenico/connect/sdk/merchant/productgroups/find_productgroups_params'
2
+ require 'worldline/connect/sdk/v1/merchant/products/find_products_params'
3
+ require 'worldline/connect/sdk/v1/merchant/productgroups/find_productgroups_params'
4
4
 
5
- RequestParam ||= Ingenico::Connect::SDK::RequestParam
5
+ RequestParam ||= Worldline::Connect::SDK::Communication::RequestParam
6
6
 
7
7
  shared_examples_for 'FindParams' do
8
8
 
@@ -42,8 +42,8 @@ shared_examples_for 'FindParams' do
42
42
  end
43
43
  end
44
44
 
45
- FindProductsParams ||= Ingenico::Connect::SDK::Merchant::Products::FindProductsParams
46
- FindProductgroupParams ||= Ingenico::Connect::SDK::Merchant::Productgroups::FindProductgroupsParams
45
+ FindProductsParams ||= Worldline::Connect::SDK::V1::Merchant::Products::FindProductsParams
46
+ FindProductgroupParams ||= Worldline::Connect::SDK::V1::Merchant::Productgroups::FindProductgroupsParams
47
47
 
48
48
  describe FindProductsParams do
49
49
  let(:params){FindProductsParams.new}
@@ -1,9 +1,9 @@
1
1
  require 'rspec'
2
2
  require 'spec_helper'
3
- require 'ingenico/connect/sdk/merchant/products/get_product_params'
4
- require 'ingenico/connect/sdk/merchant/productgroups/get_productgroup_params'
3
+ require 'worldline/connect/sdk/v1/merchant/products/get_product_params'
4
+ require 'worldline/connect/sdk/v1/merchant/productgroups/get_productgroup_params'
5
5
 
6
- RequestParam ||= Ingenico::Connect::SDK::RequestParam
6
+ RequestParam ||= Worldline::Connect::SDK::Communication::RequestParam
7
7
 
8
8
  shared_examples_for 'GetParams' do
9
9
 
@@ -43,8 +43,8 @@ shared_examples_for 'GetParams' do
43
43
  end
44
44
  end
45
45
 
46
- GetProductParams ||= Ingenico::Connect::SDK::Merchant::Products::GetProductParams
47
- GetProductgroupParams ||= Ingenico::Connect::SDK::Merchant::Productgroups::GetProductgroupParams
46
+ GetProductParams ||= Worldline::Connect::SDK::V1::Merchant::Products::GetProductParams
47
+ GetProductgroupParams ||= Worldline::Connect::SDK::V1::Merchant::Productgroups::GetProductgroupParams
48
48
 
49
49
  describe GetProductParams do
50
50
  let(:params){GetProductParams.new}
@@ -1,7 +1,10 @@
1
1
  require 'spec_helper'
2
2
 
3
- include Ingenico::Connect::SDK
4
- describe Webhooks::WebhooksHelper do
3
+ include Worldline::Connect::SDK
4
+
5
+ DefaultMarshaller ||= Worldline::Connect::SDK::JSON::DefaultMarshaller
6
+
7
+ describe V1::Webhooks::WebhooksHelper do
5
8
 
6
9
  # define constants for the testbench
7
10
  SIGNATURE_HEADER = "X-GCS-Signature"
@@ -10,8 +13,8 @@ describe Webhooks::WebhooksHelper do
10
13
  KEY_ID = "dummy-key-id"
11
14
  SECRET_KEY = "hello+world"
12
15
 
13
- def create_helper(marshaller = DefaultImpl::DefaultMarshaller.INSTANCE)
14
- Webhooks::WebhooksHelper.new(marshaller, Webhooks::InMemorySecretKeyStore.instance)
16
+ def create_helper(marshaller = DefaultMarshaller.instance)
17
+ V1::Webhooks::WebhooksHelper.new(marshaller, Webhooks::InMemorySecretKeyStore.instance)
15
18
  end
16
19
 
17
20
  def read_resource(resource_name)
@@ -36,7 +39,7 @@ describe Webhooks::WebhooksHelper do
36
39
 
37
40
  it 'should raise ApiVersionMismatchException when API version does not match' do
38
41
  # mock marshaller once to return an event with a wrong API version number
39
- expect(DefaultImpl::DefaultMarshaller.INSTANCE).to receive(:unmarshal) do |body, klass|
42
+ expect(DefaultMarshaller.instance).to receive(:unmarshal) do |body, klass|
40
43
  event = klass.new_from_hash(JSON.load(body))
41
44
  event.api_version = 'v0' # wrong version
42
45
  event
@@ -1,13 +1,13 @@
1
1
  require 'spec_helper'
2
2
 
3
- include Ingenico::Connect::SDK
3
+ include Worldline::Connect::SDK
4
4
 
5
5
  describe Webhooks::Webhooks do
6
- let(:webhooks_helper) { Webhooks::Webhooks.create_helper(Webhooks::InMemorySecretKeyStore.instance) }
6
+ let(:webhooks_helper) { Webhooks::Webhooks.v1.create_helper(Webhooks::InMemorySecretKeyStore.instance) }
7
7
 
8
8
  context 'construction' do
9
9
  it 'uses the default marshaller' do
10
- expect(webhooks_helper.instance_variable_get(:@marshaller)).to eq(DefaultImpl::DefaultMarshaller.INSTANCE)
10
+ expect(webhooks_helper.instance_variable_get(:@marshaller)).to eq(Worldline::Connect::SDK::JSON::DefaultMarshaller.instance)
11
11
  end
12
12
 
13
13
  it 'uses the given key store' do
data/spec/spec_helper.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rspec'
2
2
  require 'webmock/rspec'
3
3
 
4
- require 'ingenico/connect/sdk'
4
+ require 'worldline/connect/sdk'
5
5
  require 'comparable_extension'
6
6
 
7
7
  RSpec.configure do |config|
@@ -14,9 +14,9 @@ RSpec.configure do |config|
14
14
  # declaration of constants to use throughout the tests
15
15
  config.before(:suite) do
16
16
  PROPERTIES_URI = File.expand_path('../../spec/fixtures/resources/properties.yml', __FILE__)
17
- API_KEY_ID = 'somekey'
17
+ API_KEY_ID = 'someKey'
18
18
  SECRET_API_KEY = 'someSecret'
19
- CLIENT = Ingenico::Connect::SDK::Factory.create_client_from_file(PROPERTIES_URI, API_KEY_ID, SECRET_API_KEY)
19
+ CLIENT = Worldline::Connect::SDK::Factory.create_client_from_file(PROPERTIES_URI, API_KEY_ID, SECRET_API_KEY)
20
20
  end
21
21
 
22
22
  config.after(:suite) { CLIENT.close }