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.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/connect-sdk-ruby.gemspec +6 -6
- data/examples/example_configuration.yml +7 -0
- data/examples/v1/merchant/captures/create_refund_capture_example.rb +53 -0
- data/examples/v1/merchant/captures/get_capture_example.rb +22 -0
- data/examples/v1/merchant/disputes/cancel_dispute_example.rb +22 -0
- data/examples/v1/merchant/disputes/get_dispute_example.rb +22 -0
- data/examples/v1/merchant/disputes/submit_dispute_example.rb +22 -0
- data/examples/v1/merchant/disputes/upload_dispute_file_example.rb +31 -0
- data/examples/v1/merchant/files/get_file_example.rb +28 -0
- data/examples/v1/merchant/hostedcheckouts/create_hosted_checkout_example.rb +52 -0
- data/examples/v1/merchant/hostedcheckouts/delete_hosted_checkout_example.rb +22 -0
- data/examples/v1/merchant/hostedcheckouts/get_hosted_checkout_example.rb +22 -0
- data/examples/v1/merchant/hostedmandatemanagements/create_hosted_mandate_management_example.rb +40 -0
- data/examples/v1/merchant/hostedmandatemanagements/get_hosted_mandate_management_example.rb +22 -0
- data/examples/v1/merchant/installments/get_installments_info_example.rb +35 -0
- data/examples/v1/merchant/mandates/block_mandate_example.rb +22 -0
- data/examples/v1/merchant/mandates/create_mandate_example.rb +64 -0
- data/examples/v1/merchant/mandates/create_mandate_with_reference_example.rb +64 -0
- data/examples/v1/merchant/mandates/get_mandate_example.rb +22 -0
- data/examples/v1/merchant/mandates/revoke_mandate_example.rb +22 -0
- data/examples/v1/merchant/mandates/unblock_mandate_example.rb +22 -0
- data/examples/v1/merchant/payments/approve_payment_example.rb +42 -0
- data/examples/v1/merchant/payments/cancel_approval_payment_example.rb +22 -0
- data/examples/v1/merchant/payments/cancel_payment_example.rb +22 -0
- data/examples/v1/merchant/payments/capture_payment_example.rb +27 -0
- data/examples/v1/merchant/payments/complete_payment_example.rb +37 -0
- data/examples/v1/merchant/payments/create_payment_dispute_example.rb +36 -0
- data/examples/v1/merchant/payments/create_payment_example.rb +222 -0
- data/examples/v1/merchant/payments/find_payments_example.rb +31 -0
- data/examples/v1/merchant/payments/get_payment_captures_example.rb +22 -0
- data/examples/v1/merchant/payments/get_payment_device_fingerprint_details_example.rb +22 -0
- data/examples/v1/merchant/payments/get_payment_disputes_example.rb +22 -0
- data/examples/v1/merchant/payments/get_payment_example.rb +22 -0
- data/examples/v1/merchant/payments/get_refunds_example.rb +22 -0
- data/examples/v1/merchant/payments/get_third_party_status_example.rb +22 -0
- data/examples/v1/merchant/payments/process_challenged_payment_example.rb +22 -0
- data/examples/v1/merchant/payments/refund_payment_example.rb +83 -0
- data/examples/v1/merchant/payments/tokenize_payment_example.rb +27 -0
- data/examples/v1/merchant/payouts/approve_payout_example.rb +27 -0
- data/examples/v1/merchant/payouts/cancel_approval_payout_example.rb +22 -0
- data/examples/v1/merchant/payouts/cancel_payout_example.rb +22 -0
- data/examples/v1/merchant/payouts/create_payout_example.rb +102 -0
- data/examples/v1/merchant/payouts/find_payouts_example.rb +30 -0
- data/examples/v1/merchant/payouts/get_payout_example.rb +22 -0
- data/examples/v1/merchant/productgroups/get_device_fingerprint_for_groups_example.rb +26 -0
- data/examples/v1/merchant/productgroups/get_payment_product_group_example.rb +33 -0
- data/examples/v1/merchant/productgroups/get_payment_product_groups_example.rb +33 -0
- data/examples/v1/merchant/products/create_payment_product_session_example.rb +33 -0
- data/examples/v1/merchant/products/get_customer_details_example.rb +37 -0
- data/examples/v1/merchant/products/get_device_fingerprint_example.rb +26 -0
- data/examples/v1/merchant/products/get_directory_example.rb +28 -0
- data/examples/v1/merchant/products/get_networks_example.rb +30 -0
- data/examples/v1/merchant/products/get_payment_product_example.rb +34 -0
- data/examples/v1/merchant/products/get_payment_products_example.rb +33 -0
- data/examples/v1/merchant/refunds/approve_refund_example.rb +27 -0
- data/examples/v1/merchant/refunds/cancel_approval_refund_example.rb +22 -0
- data/examples/v1/merchant/refunds/cancel_refund_example.rb +22 -0
- data/examples/v1/merchant/refunds/find_refunds_example.rb +31 -0
- data/examples/v1/merchant/refunds/get_refund_example.rb +22 -0
- data/examples/v1/merchant/riskassessments/risk_assessment_bank_account_example.rb +53 -0
- data/examples/v1/merchant/riskassessments/risk_assessment_cards_example.rb +113 -0
- data/examples/v1/merchant/services/convert_amount_example.rb +29 -0
- data/examples/v1/merchant/services/convert_bank_account_example.rb +33 -0
- data/examples/v1/merchant/services/get_privacy_policy_example.rb +28 -0
- data/examples/v1/merchant/services/iin_details_example.rb +27 -0
- data/examples/v1/merchant/services/test_connection_example.rb +22 -0
- data/examples/v1/merchant/sessions/create_session_example.rb +34 -0
- data/examples/v1/merchant/tokens/approve_sepa_direct_debit_token_example.rb +29 -0
- data/examples/v1/merchant/tokens/create_token_example.rb +81 -0
- data/examples/v1/merchant/tokens/delete_token_example.rb +27 -0
- data/examples/v1/merchant/tokens/get_token_example.rb +22 -0
- data/examples/v1/merchant/tokens/update_token_example.rb +75 -0
- data/lib/worldline/connect/sdk/api_resource.rb +69 -0
- data/lib/worldline/connect/sdk/authentication/authenticator.rb +21 -0
- data/lib/worldline/connect/sdk/authentication/authorization_type.rb +17 -0
- data/lib/worldline/connect/sdk/authentication/v1hmac_authenticator.rb +102 -0
- data/lib/worldline/connect/sdk/authentication.rb +1 -0
- data/lib/worldline/connect/sdk/call_context.rb +29 -0
- data/lib/worldline/connect/sdk/client.rb +97 -0
- data/lib/worldline/connect/sdk/communication/communication_exception.rb +21 -0
- data/lib/worldline/connect/sdk/communication/connection.rb +50 -0
- data/lib/worldline/connect/sdk/communication/default_connection.rb +429 -0
- data/lib/worldline/connect/sdk/communication/metadata_provider.rb +162 -0
- data/lib/worldline/connect/sdk/communication/multipart_form_data_object.rb +54 -0
- data/lib/worldline/connect/sdk/communication/multipart_form_data_request.rb +15 -0
- data/lib/worldline/connect/sdk/communication/not_found_exception.rb +21 -0
- data/lib/worldline/connect/sdk/communication/param_request.rb +16 -0
- data/lib/worldline/connect/sdk/communication/pooled_connection.rb +28 -0
- data/lib/worldline/connect/sdk/communication/request_header.rb +66 -0
- data/lib/worldline/connect/sdk/communication/request_param.rb +30 -0
- data/lib/worldline/connect/sdk/communication/response_exception.rb +58 -0
- data/lib/worldline/connect/sdk/communication/response_header.rb +80 -0
- data/lib/worldline/connect/sdk/communication.rb +1 -0
- data/lib/worldline/connect/sdk/communicator.rb +510 -0
- data/lib/worldline/connect/sdk/communicator_configuration.rb +190 -0
- data/lib/worldline/connect/sdk/domain/data_object.rb +34 -0
- data/lib/worldline/connect/sdk/domain/shopping_cart_extension.rb +62 -0
- data/lib/worldline/connect/sdk/domain/uploadable_file.rb +35 -0
- data/lib/worldline/connect/sdk/factory.rb +183 -0
- data/lib/worldline/connect/sdk/json/default_marshaller.rb +36 -0
- data/lib/worldline/connect/sdk/json/marshaller.rb +29 -0
- data/lib/worldline/connect/sdk/json/marshaller_syntax_exception.rb +11 -0
- data/lib/worldline/connect/sdk/json.rb +1 -0
- data/lib/worldline/connect/sdk/logging/communicator_logger.rb +26 -0
- data/lib/worldline/connect/sdk/logging/log_message_builder.rb +91 -0
- data/lib/worldline/connect/sdk/logging/logging_capable.rb +19 -0
- data/lib/worldline/connect/sdk/logging/obfuscation/body_obfuscator.rb +102 -0
- data/lib/worldline/connect/sdk/logging/obfuscation/header_obfuscator.rb +56 -0
- data/lib/worldline/connect/sdk/logging/obfuscation/obfuscation_capable.rb +23 -0
- data/lib/worldline/connect/sdk/logging/obfuscation/obfuscation_rule.rb +49 -0
- data/lib/worldline/connect/sdk/logging/request_log_message_builder.rb +52 -0
- data/lib/worldline/connect/sdk/logging/response_log_message_builder.rb +43 -0
- data/lib/worldline/connect/sdk/logging/ruby_communicator_logger.rb +63 -0
- data/lib/worldline/connect/sdk/logging/stdout_communicator_logger.rb +33 -0
- data/lib/worldline/connect/sdk/proxy_configuration.rb +76 -0
- data/lib/worldline/connect/sdk/v1/api_exception.rb +61 -0
- data/lib/worldline/connect/sdk/v1/authorization_exception.rb +24 -0
- data/lib/worldline/connect/sdk/v1/declined_payment_exception.rb +53 -0
- data/lib/worldline/connect/sdk/v1/declined_payout_exception.rb +53 -0
- data/lib/worldline/connect/sdk/v1/declined_refund_exception.rb +53 -0
- data/lib/worldline/connect/sdk/v1/declined_transaction_exception.rb +27 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_bank_transfer_payment_method_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_card_payment_method_specific_input.rb +141 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_cash_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_e_invoice_payment_method_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_indicator.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_order_status.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_payout_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_method_specific_input.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_product4101_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_product840_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_sepa_direct_debit_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_sepa_direct_debit_payment_product771_specific_input.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_three_d_secure.rb +97 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_token.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/account_funding_recipient.rb +74 -0
- data/lib/worldline/connect/sdk/v1/domain/account_on_file.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/account_on_file_attribute.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/account_on_file_display_hints.rb +47 -0
- data/lib/worldline/connect/sdk/v1/domain/additional_order_input.rb +111 -0
- data/lib/worldline/connect/sdk/v1/domain/additional_order_input_airline_data.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/address.rb +84 -0
- data/lib/worldline/connect/sdk/v1/domain/address_personal.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/afr_name.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/airline_data.rb +215 -0
- data/lib/worldline/connect/sdk/v1/domain/airline_flight_leg.rb +170 -0
- data/lib/worldline/connect/sdk/v1/domain/airline_passenger.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/amount_breakdown.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/amount_of_money.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/api_error.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_card_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_direct_debit_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_mobile_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_payment_method_specific_input.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_request.rb +62 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payout_request.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_refund_request.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_token_request.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/authentication_indicator.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_account.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_account_bban.rb +70 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_account_bban_refund.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_account_iban.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_data.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_details.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_details_request.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_details_response.rb +64 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_refund_method_specific_input.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_input_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payout_method_specific_input.rb +78 -0
- data/lib/worldline/connect/sdk/v1/domain/boleto_bancario_requiredness_validator.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/browser_data.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/cancel_approval_payment_response.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/cancel_payment_card_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/cancel_payment_mobile_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/cancel_payment_response.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/capture.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/capture_output.rb +137 -0
- data/lib/worldline/connect/sdk/v1/domain/capture_payment_request.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/capture_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/capture_status_output.rb +54 -0
- data/lib/worldline/connect/sdk/v1/domain/captures_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/card.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/card_essentials.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/card_fraud_results.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_input.rb +89 -0
- data/lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_input_base.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_output.rb +83 -0
- data/lib/worldline/connect/sdk/v1/domain/card_payout_method_specific_input.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/card_recurrence_details.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/card_without_cvv.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb +93 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1503_specific_input.rb +38 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1504_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1521_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1522_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1523_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1524_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1526_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/company_information.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/complete_payment_card_payment_method_specific_input.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/complete_payment_request.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/complete_payment_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/contact_details.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/contact_details_base.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/contact_details_risk_assessment.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/contact_details_token.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/convert_amount.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/create_dispute_request.rb +65 -0
- data/lib/worldline/connect/sdk/v1/domain/create_hosted_checkout_request.rb +127 -0
- data/lib/worldline/connect/sdk/v1/domain/create_hosted_checkout_response.rb +67 -0
- data/lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_request.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_response.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/create_mandate_base.rb +79 -0
- data/lib/worldline/connect/sdk/v1/domain/create_mandate_request.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/create_mandate_response.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/create_mandate_with_return_url.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_product_session_request.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_product_session_response.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_request.rb +143 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_result.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payout_request.rb +146 -0
- data/lib/worldline/connect/sdk/v1/domain/create_token_request.rb +78 -0
- data/lib/worldline/connect/sdk/v1/domain/create_token_response.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/created_payment_output.rb +85 -0
- data/lib/worldline/connect/sdk/v1/domain/creditor.rb +105 -0
- data/lib/worldline/connect/sdk/v1/domain/customer.rb +119 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_account.rb +118 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_account_authentication.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_account_risk_assessment.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_approve_payment.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_base.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_device.rb +86 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_device_risk_assessment.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_payment_activity.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_risk_assessment.rb +105 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_token.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_token_with_contact_details.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/debtor.rb +105 -0
- data/lib/worldline/connect/sdk/v1/domain/decrypted_payment_data.rb +86 -0
- data/lib/worldline/connect/sdk/v1/domain/device_fingerprint_details.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/device_fingerprint_request.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/device_fingerprint_response.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/device_render_options.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/directory.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/directory_entry.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/displayed_data.rb +54 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute.rb +67 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_creation_detail.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_output.rb +102 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_reference.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_status_output.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/disputes_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_input_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_output.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_product9000_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_product9000_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/empty_validator.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/error_response.rb +47 -0
- data/lib/worldline/connect/sdk/v1/domain/exemption_output.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/external_cardholder_authentication_data.rb +107 -0
- data/lib/worldline/connect/sdk/v1/domain/find_payments_response.rb +61 -0
- data/lib/worldline/connect/sdk/v1/domain/find_payouts_response.rb +61 -0
- data/lib/worldline/connect/sdk/v1/domain/find_refunds_response.rb +61 -0
- data/lib/worldline/connect/sdk/v1/domain/fixed_list_validator.rb +39 -0
- data/lib/worldline/connect/sdk/v1/domain/fraud_fields.rb +186 -0
- data/lib/worldline/connect/sdk/v1/domain/fraud_fields_shipping_details.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/fraud_results.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/fraud_results_retail_decisions.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/fraugster_results.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/frequency.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/g_pay_three_d_secure.rb +65 -0
- data/lib/worldline/connect/sdk/v1/domain/get_customer_details_request.rb +47 -0
- data/lib/worldline/connect/sdk/v1/domain/get_customer_details_response.rb +98 -0
- data/lib/worldline/connect/sdk/v1/domain/get_hosted_checkout_response.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/get_hosted_mandate_management_response.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/get_iin_details_request.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/get_iin_details_response.rb +61 -0
- data/lib/worldline/connect/sdk/v1/domain/get_installment_request.rb +58 -0
- data/lib/worldline/connect/sdk/v1/domain/get_mandate_response.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/get_privacy_policy_response.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/gift_card_purchase.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_checkout_specific_input.rb +102 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_checkout_specific_output.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_file.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_mandate_info.rb +72 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/iin_detail.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/in_auth.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/installment_display_hints.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/installment_options.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/installment_options_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/installments.rb +73 -0
- data/lib/worldline/connect/sdk/v1/domain/invoice_payment_method_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/invoice_payment_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/key_value_pair.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/label_template_element.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/length_validator.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/level3_summary_data.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/line_item.rb +66 -0
- data/lib/worldline/connect/sdk/v1/domain/line_item_invoice_data.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/line_item_level3_interchange_information.rb +84 -0
- data/lib/worldline/connect/sdk/v1/domain/loan_recipient.rb +74 -0
- data/lib/worldline/connect/sdk/v1/domain/lodging_charge.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/lodging_data.rb +150 -0
- data/lib/worldline/connect/sdk/v1/domain/lodging_room.rb +91 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_address.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_approval.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_contact_details.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_customer.rb +71 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_merchant_action.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_non_sepa_direct_debit.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_personal_information.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_personal_name.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_redirect_data.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_response.rb +72 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit_with_mandate_id.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit_without_creditor.rb +76 -0
- data/lib/worldline/connect/sdk/v1/domain/merchant.rb +58 -0
- data/lib/worldline/connect/sdk/v1/domain/merchant_action.rb +93 -0
- data/lib/worldline/connect/sdk/v1/domain/merchant_risk_assessment.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/microsoft_fraud_results.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_data.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input.rb +81 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input_hosted_checkout.rb +74 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_output.rb +69 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product302_specific_input_hosted_checkout.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input_hosted_checkout.rb +51 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_method_specific_input.rb +95 -0
- data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_product705_specific_input.rb +51 -0
- data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_product730_specific_input.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/order.rb +107 -0
- data/lib/worldline/connect/sdk/v1/domain/order_approve_payment.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/order_invoice_data.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/order_line_details.rb +112 -0
- data/lib/worldline/connect/sdk/v1/domain/order_output.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/order_references.rb +72 -0
- data/lib/worldline/connect/sdk/v1/domain/order_references_approve_payment.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/order_risk_assessment.rb +64 -0
- data/lib/worldline/connect/sdk/v1/domain/order_status_output.rb +87 -0
- data/lib/worldline/connect/sdk/v1/domain/order_type_information.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payment.rb +62 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_account_on_file.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_approval_response.rb +65 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_context.rb +58 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_creation_output.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_creation_references.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_error_response.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_output.rb +137 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product.rb +223 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product302_specific_data.rb +39 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product3201_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product320_specific_data.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product771_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product806_specific_output.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product836_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product840_customer_account.rb +98 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product840_specific_output.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product863_specific_data.rb +39 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product863_third_party_data.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_display_hints.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field.rb +67 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_data_restrictions.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_display_element.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_display_hints.rb +102 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_form_element.rb +47 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_tooltip.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_validators.rb +122 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_filter.rb +50 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_filters_client_session.rb +45 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_filters_hosted_checkout.rb +52 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_group.rb +82 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_group_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_groups.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_networks_response.rb +39 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_products.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_references.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_status_output.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_customer.rb +71 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_details.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_error_response.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_merchant.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_recipient.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_references.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_result.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_identification.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_information.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_information_risk_assessment.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_information_token.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_name.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_name_base.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_name_risk_assessment.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_name_token.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/protection_eligibility.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/range_validator.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/recurring_payments_data.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_data.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_data_base.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_input.rb +125 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_input_base.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_output.rb +105 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product4101_specific_input.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product4101_specific_input_base.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product809_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product816_specific_input.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product840_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product840_specific_input_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product861_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product863_specific_input.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product882_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/redirection_data.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_bank_method_specific_output.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_card_method_specific_output.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_cash_method_specific_output.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_customer.rb +62 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_e_invoice_method_specific_output.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_e_wallet_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_error_response.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_method_specific_output.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_mobile_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_output.rb +96 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_payment_product840_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_references.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_request.rb +71 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_result.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/refunds_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/regular_expression_validator.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/result_do_risk_assessment.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/risk_assessment.rb +62 -0
- data/lib/worldline/connect/sdk/v1/domain/risk_assessment_bank_account.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/risk_assessment_card.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/risk_assessment_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/scheme_token_data.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/sdk_data_input.rb +79 -0
- data/lib/worldline/connect/sdk/v1/domain/sdk_data_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/seller.rb +114 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_input.rb +86 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_input_base.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_output.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_product771_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_product771_specific_input_base.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/session_request.rb +48 -0
- data/lib/worldline/connect/sdk/v1/domain/session_response.rb +74 -0
- data/lib/worldline/connect/sdk/v1/domain/shipping.rb +86 -0
- data/lib/worldline/connect/sdk/v1/domain/shipping_risk_assessment.rb +51 -0
- data/lib/worldline/connect/sdk/v1/domain/shopping_cart.rb +82 -0
- data/lib/worldline/connect/sdk/v1/domain/swift.rb +98 -0
- data/lib/worldline/connect/sdk/v1/domain/test_connection.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/third_party_data.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/third_party_status_response.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/three_d_secure.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/three_d_secure_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/three_d_secure_data.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/three_d_secure_results.rb +127 -0
- data/lib/worldline/connect/sdk/v1/domain/token_card.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/token_card_data.rb +51 -0
- data/lib/worldline/connect/sdk/v1/domain/token_e_wallet.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/token_e_wallet_data.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit_payment_product705_specific_data.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit_payment_product730_specific_data.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/token_response.rb +85 -0
- data/lib/worldline/connect/sdk/v1/domain/token_sepa_direct_debit.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/token_sepa_direct_debit_without_creditor.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/tokenize_payment_request.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/trial_information.rb +69 -0
- data/lib/worldline/connect/sdk/v1/domain/trial_period.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/trustly_bank_account.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/update_token_request.rb +71 -0
- data/lib/worldline/connect/sdk/v1/domain/upload_dispute_file_response.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/validation_bank_account_check.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/validation_bank_account_output.rb +68 -0
- data/lib/worldline/connect/sdk/v1/domain/value_mapping_element.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/webhooks_event.rb +108 -0
- data/lib/worldline/connect/sdk/v1/domain.rb +5 -0
- data/lib/worldline/connect/sdk/v1/exception_factory.rb +76 -0
- data/lib/worldline/connect/sdk/v1/idempotence_exception.rb +34 -0
- data/lib/worldline/connect/sdk/v1/merchant/captures/captures_client.rb +96 -0
- data/lib/worldline/connect/sdk/v1/merchant/captures.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/disputes/disputes_client.rb +156 -0
- data/lib/worldline/connect/sdk/v1/merchant/disputes/upload_file_request.rb +32 -0
- data/lib/worldline/connect/sdk/v1/merchant/disputes.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/files/files_client.rb +61 -0
- data/lib/worldline/connect/sdk/v1/merchant/files.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/hostedcheckouts/hostedcheckouts_client.rb +119 -0
- data/lib/worldline/connect/sdk/v1/merchant/hostedcheckouts.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb +90 -0
- data/lib/worldline/connect/sdk/v1/merchant/hostedmandatemanagements.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/installments/installments_client.rb +59 -0
- data/lib/worldline/connect/sdk/v1/merchant/installments.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/mandates/mandates_client.rb +215 -0
- data/lib/worldline/connect/sdk/v1/merchant/mandates.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/merchant_client.rb +137 -0
- data/lib/worldline/connect/sdk/v1/merchant/payments/find_payments_params.rb +48 -0
- data/lib/worldline/connect/sdk/v1/merchant/payments/payments_client.rb +570 -0
- data/lib/worldline/connect/sdk/v1/merchant/payments.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/payouts/find_payouts_params.rb +44 -0
- data/lib/worldline/connect/sdk/v1/merchant/payouts/payouts_client.rb +211 -0
- data/lib/worldline/connect/sdk/v1/merchant/payouts.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/productgroups/find_productgroups_params.rb +67 -0
- data/lib/worldline/connect/sdk/v1/merchant/productgroups/get_productgroup_params.rb +67 -0
- data/lib/worldline/connect/sdk/v1/merchant/productgroups/productgroups_client.rb +123 -0
- data/lib/worldline/connect/sdk/v1/merchant/productgroups.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/directory_params.rb +36 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/find_products_params.rb +67 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/get_product_params.rb +71 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/networks_params.rb +44 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/products_client.rb +253 -0
- data/lib/worldline/connect/sdk/v1/merchant/products.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/refunds/find_refunds_params.rb +48 -0
- data/lib/worldline/connect/sdk/v1/merchant/refunds/refunds_client.rb +180 -0
- data/lib/worldline/connect/sdk/v1/merchant/refunds.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/riskassessments/riskassessments_client.rb +87 -0
- data/lib/worldline/connect/sdk/v1/merchant/riskassessments.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/services/convert_amount_params.rb +40 -0
- data/lib/worldline/connect/sdk/v1/merchant/services/privacypolicy_params.rb +36 -0
- data/lib/worldline/connect/sdk/v1/merchant/services/services_client.rb +171 -0
- data/lib/worldline/connect/sdk/v1/merchant/services.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/sessions/sessions_client.rb +59 -0
- data/lib/worldline/connect/sdk/v1/merchant/sessions.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/tokens/delete_token_params.rb +32 -0
- data/lib/worldline/connect/sdk/v1/merchant/tokens/tokens_client.rb +182 -0
- data/lib/worldline/connect/sdk/v1/merchant/tokens.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant.rb +5 -0
- data/lib/worldline/connect/sdk/v1/platform_exception.rb +26 -0
- data/lib/worldline/connect/sdk/v1/reference_exception.rb +25 -0
- data/lib/worldline/connect/sdk/v1/v1_client.rb +35 -0
- data/lib/worldline/connect/sdk/v1/validation_exception.rb +25 -0
- data/lib/worldline/connect/sdk/v1/webhooks/v1_webhooks_factory.rb +27 -0
- data/lib/worldline/connect/sdk/v1/webhooks/webhooks_helper.rb +45 -0
- data/lib/worldline/connect/sdk/v1/webhooks.rb +5 -0
- data/lib/worldline/connect/sdk/v1.rb +5 -0
- data/lib/worldline/connect/sdk/webhooks/api_version_mismatch_exception.rb +24 -0
- data/lib/worldline/connect/sdk/webhooks/in_memory_secret_key_store.rb +61 -0
- data/lib/worldline/connect/sdk/webhooks/secret_key_not_available_exception.rb +23 -0
- data/lib/worldline/connect/sdk/webhooks/secret_key_store.rb +20 -0
- data/lib/worldline/connect/sdk/webhooks/signature_validation_exception.rb +22 -0
- data/lib/worldline/connect/sdk/webhooks/signature_validator.rb +83 -0
- data/lib/worldline/connect/sdk/webhooks/webhooks.rb +28 -0
- data/spec/comparable_extension.rb +2 -2
- data/spec/fixtures/resources/properties.proxy.yml +2 -2
- data/spec/fixtures/resources/properties.yml +2 -2
- data/spec/integration/connection_pooling_spec.rb +6 -6
- data/spec/integration/convert_amount_spec.rb +4 -4
- data/spec/integration/idempotence_spec.rb +19 -19
- data/spec/integration/multiline_header_spec.rb +15 -14
- data/spec/integration/multipart_form_data_spec.rb +31 -31
- data/spec/integration/payment_product_groups_spec.rb +3 -3
- data/spec/integration/payment_products_spec.rb +6 -6
- data/spec/integration/risk_assessments_spec.rb +12 -12
- data/spec/integration/sdk_proxy_spec.rb +22 -21
- data/spec/integration/token_spec.rb +16 -15
- data/spec/integration_setup.rb +7 -7
- data/spec/lib/authentication/v1hmac_authenticator_spec.rb +72 -0
- data/spec/lib/client_spec.rb +16 -16
- data/spec/lib/communication/default_connection_idempotence_spec.rb +140 -0
- data/spec/lib/communication/default_connection_logger_spec.rb +569 -0
- data/spec/lib/communication/default_connection_spec.rb +351 -0
- data/spec/lib/communicator_configuration_spec.rb +33 -33
- data/spec/lib/communicator_spec.rb +11 -8
- data/spec/lib/factory_spec.rb +10 -13
- data/spec/lib/json/default_marshaller_spec.rb +36 -0
- data/spec/lib/logging/obfuscation/body_obfuscator_spec.rb +1 -1
- data/spec/lib/logging/obfuscation/header_obfuscator_spec.rb +2 -2
- data/spec/lib/logging/ruby_communicator_logger_spec.rb +2 -2
- data/spec/lib/logging/stdout_communicator_logger_spec.rb +2 -2
- data/spec/lib/metadata_provider_spec.rb +93 -0
- data/spec/lib/payments_client_spec.rb +47 -48
- data/spec/lib/requestparams/delete_params_spec.rb +3 -3
- data/spec/lib/requestparams/directory_params_spec.rb +4 -3
- data/spec/lib/requestparams/find_params_spec.rb +5 -5
- data/spec/lib/requestparams/get_params_spec.rb +5 -5
- data/spec/lib/webhooks/webhooks_helper_spec.rb +8 -5
- data/spec/lib/webhooks/webhooks_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +610 -636
- data/examples/merchant/captures/create_refund_capture_example.rb +0 -54
- data/examples/merchant/captures/get_capture_example.rb +0 -22
- data/examples/merchant/disputes/cancel_dispute_example.rb +0 -22
- data/examples/merchant/disputes/get_dispute_example.rb +0 -22
- data/examples/merchant/disputes/submit_dispute_example.rb +0 -22
- data/examples/merchant/disputes/upload_dispute_file_example.rb +0 -30
- data/examples/merchant/example_configuration.yml +0 -6
- data/examples/merchant/files/get_file_example.rb +0 -28
- data/examples/merchant/hostedcheckouts/create_hosted_checkout_example.rb +0 -54
- data/examples/merchant/hostedcheckouts/delete_hosted_checkout_example.rb +0 -22
- data/examples/merchant/hostedcheckouts/get_hosted_checkout_example.rb +0 -22
- data/examples/merchant/hostedmandatemanagements/create_hosted_mandate_management_example.rb +0 -40
- data/examples/merchant/hostedmandatemanagements/get_hosted_mandate_management_example.rb +0 -22
- data/examples/merchant/installments/get_installments_info_example.rb +0 -36
- data/examples/merchant/mandates/block_mandate_example.rb +0 -22
- data/examples/merchant/mandates/create_mandate_example.rb +0 -65
- data/examples/merchant/mandates/create_mandate_with_reference_example.rb +0 -65
- data/examples/merchant/mandates/get_mandate_example.rb +0 -22
- data/examples/merchant/mandates/revoke_mandate_example.rb +0 -22
- data/examples/merchant/mandates/unblock_mandate_example.rb +0 -22
- data/examples/merchant/payments/approve_payment_example.rb +0 -42
- data/examples/merchant/payments/cancel_approval_payment_example.rb +0 -22
- data/examples/merchant/payments/cancel_payment_example.rb +0 -22
- data/examples/merchant/payments/capture_payment_example.rb +0 -27
- data/examples/merchant/payments/complete_payment_example.rb +0 -38
- data/examples/merchant/payments/create_payment_dispute_example.rb +0 -37
- data/examples/merchant/payments/create_payment_example.rb +0 -223
- data/examples/merchant/payments/find_payments_example.rb +0 -31
- data/examples/merchant/payments/get_payment_captures_example.rb +0 -22
- data/examples/merchant/payments/get_payment_device_fingerprint_details_example.rb +0 -22
- data/examples/merchant/payments/get_payment_disputes_example.rb +0 -22
- data/examples/merchant/payments/get_payment_example.rb +0 -22
- data/examples/merchant/payments/get_refunds_example.rb +0 -22
- data/examples/merchant/payments/get_third_party_status_example.rb +0 -22
- data/examples/merchant/payments/process_challenged_payment_example.rb +0 -22
- data/examples/merchant/payments/refund_payment_example.rb +0 -85
- data/examples/merchant/payments/tokenize_payment_example.rb +0 -27
- data/examples/merchant/payouts/approve_payout_example.rb +0 -27
- data/examples/merchant/payouts/cancel_approval_payout_example.rb +0 -22
- data/examples/merchant/payouts/cancel_payout_example.rb +0 -22
- data/examples/merchant/payouts/create_payout_example.rb +0 -104
- data/examples/merchant/payouts/find_payouts_example.rb +0 -30
- data/examples/merchant/payouts/get_payout_example.rb +0 -22
- data/examples/merchant/productgroups/get_device_fingerprint_for_groups_example.rb +0 -26
- data/examples/merchant/productgroups/get_payment_product_group_example.rb +0 -33
- data/examples/merchant/productgroups/get_payment_product_groups_example.rb +0 -33
- data/examples/merchant/products/create_payment_product_session_example.rb +0 -33
- data/examples/merchant/products/get_customer_details_example.rb +0 -38
- data/examples/merchant/products/get_device_fingerprint_example.rb +0 -26
- data/examples/merchant/products/get_directory_example.rb +0 -28
- data/examples/merchant/products/get_networks_example.rb +0 -30
- data/examples/merchant/products/get_payment_product_example.rb +0 -34
- data/examples/merchant/products/get_payment_products_example.rb +0 -33
- data/examples/merchant/refunds/approve_refund_example.rb +0 -27
- data/examples/merchant/refunds/cancel_approval_refund_example.rb +0 -22
- data/examples/merchant/refunds/cancel_refund_example.rb +0 -22
- data/examples/merchant/refunds/find_refunds_example.rb +0 -31
- data/examples/merchant/refunds/get_refund_example.rb +0 -22
- data/examples/merchant/riskassessments/risk_assessment_bank_account_example.rb +0 -54
- data/examples/merchant/riskassessments/risk_assessment_cards_example.rb +0 -114
- data/examples/merchant/services/convert_amount_example.rb +0 -29
- data/examples/merchant/services/convert_bank_account_example.rb +0 -34
- data/examples/merchant/services/get_privacy_policy_example.rb +0 -28
- data/examples/merchant/services/iin_details_example.rb +0 -27
- data/examples/merchant/services/test_connection_example.rb +0 -22
- data/examples/merchant/sessions/create_session_example.rb +0 -34
- data/examples/merchant/tokens/approve_sepa_direct_debit_token_example.rb +0 -29
- data/examples/merchant/tokens/create_token_example.rb +0 -82
- data/examples/merchant/tokens/delete_token_example.rb +0 -27
- data/examples/merchant/tokens/get_token_example.rb +0 -22
- data/examples/merchant/tokens/update_token_example.rb +0 -76
- data/lib/ingenico/connect/sdk/api_exception.rb +0 -53
- data/lib/ingenico/connect/sdk/api_resource.rb +0 -144
- data/lib/ingenico/connect/sdk/authenticator.rb +0 -19
- data/lib/ingenico/connect/sdk/authorization_exception.rb +0 -18
- data/lib/ingenico/connect/sdk/call_context.rb +0 -29
- data/lib/ingenico/connect/sdk/client.rb +0 -106
- data/lib/ingenico/connect/sdk/communication_exception.rb +0 -19
- data/lib/ingenico/connect/sdk/communicator.rb +0 -515
- data/lib/ingenico/connect/sdk/communicator_configuration.rb +0 -86
- data/lib/ingenico/connect/sdk/connection.rb +0 -46
- data/lib/ingenico/connect/sdk/data_object.rb +0 -34
- data/lib/ingenico/connect/sdk/declined_payment_exception.rb +0 -47
- data/lib/ingenico/connect/sdk/declined_payout_exception.rb +0 -47
- data/lib/ingenico/connect/sdk/declined_refund_exception.rb +0 -47
- data/lib/ingenico/connect/sdk/declined_transaction_exception.rb +0 -21
- data/lib/ingenico/connect/sdk/defaultimpl/authorization_type.rb +0 -22
- data/lib/ingenico/connect/sdk/defaultimpl/default_authenticator.rb +0 -111
- data/lib/ingenico/connect/sdk/defaultimpl/default_connection.rb +0 -427
- data/lib/ingenico/connect/sdk/defaultimpl/default_marshaller.rb +0 -41
- data/lib/ingenico/connect/sdk/defaultimpl.rb +0 -1
- data/lib/ingenico/connect/sdk/domain/capture/capture.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/capture/capture_output.rb +0 -137
- data/lib/ingenico/connect/sdk/domain/capture/capture_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/capture/capture_status_output.rb +0 -54
- data/lib/ingenico/connect/sdk/domain/capture/captures_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/capture.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_order_status.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_payment_method_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/additional_order_input_airline_data.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/definitions/address.rb +0 -84
- data/lib/ingenico/connect/sdk/domain/definitions/airline_data.rb +0 -215
- data/lib/ingenico/connect/sdk/domain/definitions/airline_flight_leg.rb +0 -170
- data/lib/ingenico/connect/sdk/domain/definitions/airline_passenger.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/definitions/amount_of_money.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_bban.rb +0 -70
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_iban.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/card.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/card_essentials.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/card_fraud_results.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/definitions/card_without_cvv.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/company_information.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/contact_details_base.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/customer_base.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields.rb +0 -186
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results_retail_decisions.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/fraugster_results.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/in_auth.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/definitions/key_value_pair.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/lodging_charge.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/lodging_data.rb +0 -150
- data/lib/ingenico/connect/sdk/domain/definitions/lodging_room.rb +0 -91
- data/lib/ingenico/connect/sdk/domain/definitions/microsoft_fraud_results.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/definitions/order_status_output.rb +0 -87
- data/lib/ingenico/connect/sdk/domain/definitions/payment_product_filter.rb +0 -50
- data/lib/ingenico/connect/sdk/domain/definitions/personal_name_base.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/redirect_data_base.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/result_do_risk_assessment.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/definitions/retail_decisions_cc_fraud_check_output.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_check.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_output.rb +0 -68
- data/lib/ingenico/connect/sdk/domain/definitions.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/dispute/create_dispute_request.rb +0 -65
- data/lib/ingenico/connect/sdk/domain/dispute/dispute.rb +0 -67
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_creation_detail.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_output.rb +0 -102
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_reference.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_status_output.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/dispute/disputes_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/dispute/upload_dispute_file_response.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/dispute.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/errors/api_error.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/errors/error_response.rb +0 -47
- data/lib/ingenico/connect/sdk/domain/errors.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/file/hosted_file.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/file.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_request.rb +0 -127
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_response.rb +0 -67
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/created_payment_output.rb +0 -85
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/displayed_data.rb +0 -54
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/frequency.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/get_hosted_checkout_response.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/hosted_checkout_specific_input.rb +0 -102
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_method_specific_input_hosted_checkout.rb +0 -74
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_product302_specific_input_hosted_checkout.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_product320_specific_input_hosted_checkout.rb +0 -51
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/payment_product_filters_hosted_checkout.rb +0 -52
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/recurring_payments_data.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/trial_information.rb +0 -69
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/trial_period.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/hostedcheckout.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/create_hosted_mandate_management_request.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/create_hosted_mandate_management_response.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/get_hosted_mandate_management_response.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_info.rb +0 -72
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_management_specific_input.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/installments/get_installment_request.rb +0 -58
- data/lib/ingenico/connect/sdk/domain/installments/installment_display_hints.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/installments/installment_options.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/installments/installment_options_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/installments.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_base.rb +0 -79
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_request.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_response.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_with_return_url.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/mandates/get_mandate_response.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_address.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_contact_details.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_customer.rb +0 -71
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_merchant_action.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_personal_information.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_personal_name.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_redirect_data.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_response.rb +0 -72
- data/lib/ingenico/connect/sdk/domain/mandates.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/metadata/shopping_cart_extension.rb +0 -59
- data/lib/ingenico/connect/sdk/domain/metadata.rb +0 -1
- data/lib/ingenico/connect/sdk/domain/payment/abstract_bank_transfer_payment_method_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/abstract_card_payment_method_specific_input.rb +0 -141
- data/lib/ingenico/connect/sdk/domain/payment/abstract_cash_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_e_invoice_payment_method_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/abstract_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_method_specific_input.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product4101_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product840_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/abstract_sepa_direct_debit_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_sepa_direct_debit_payment_product771_specific_input.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/abstract_three_d_secure.rb +0 -97
- data/lib/ingenico/connect/sdk/domain/payment/account_funding_recipient.rb +0 -74
- data/lib/ingenico/connect/sdk/domain/payment/additional_order_input.rb +0 -111
- data/lib/ingenico/connect/sdk/domain/payment/address_personal.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/afr_name.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/amount_breakdown.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_card_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_direct_debit_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_mobile_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_request.rb +0 -62
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/browser_data.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/payment/cancel_approval_payment_response.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_mobile_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_response.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/capture_payment_request.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input.rb +0 -89
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input_base.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_output.rb +0 -83
- data/lib/ingenico/connect/sdk/domain/payment/card_recurrence_details.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input.rb +0 -93
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input.rb +0 -38
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1521_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1522_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1523_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1524_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1526_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_card_payment_method_specific_input.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_request.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/contact_details.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_request.rb +0 -143
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_result.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/customer.rb +0 -119
- data/lib/ingenico/connect/sdk/domain/payment/customer_account.rb +0 -118
- data/lib/ingenico/connect/sdk/domain/payment/customer_account_authentication.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/customer_approve_payment.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/customer_device.rb +0 -86
- data/lib/ingenico/connect/sdk/domain/payment/customer_payment_activity.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/decrypted_payment_data.rb +0 -86
- data/lib/ingenico/connect/sdk/domain/payment/device_fingerprint_details.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/device_render_options.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_input_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_output.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_product9000_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_product9000_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/exemption_output.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/external_cardholder_authentication_data.rb +0 -107
- data/lib/ingenico/connect/sdk/domain/payment/find_payments_response.rb +0 -61
- data/lib/ingenico/connect/sdk/domain/payment/g_pay_three_d_secure.rb +0 -65
- data/lib/ingenico/connect/sdk/domain/payment/gift_card_purchase.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/hosted_checkout_specific_output.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/installments.rb +0 -73
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/level3_summary_data.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/line_item.rb +0 -66
- data/lib/ingenico/connect/sdk/domain/payment/line_item_invoice_data.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/payment/line_item_level3_interchange_information.rb +0 -84
- data/lib/ingenico/connect/sdk/domain/payment/loan_recipient.rb +0 -74
- data/lib/ingenico/connect/sdk/domain/payment/merchant.rb +0 -58
- data/lib/ingenico/connect/sdk/domain/payment/merchant_action.rb +0 -93
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_data.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_input.rb +0 -81
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_output.rb +0 -69
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_product320_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/mobile_three_d_secure_challenge_parameters.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb +0 -95
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product705_specific_input.rb +0 -51
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product730_specific_input.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/order.rb +0 -107
- data/lib/ingenico/connect/sdk/domain/payment/order_approve_payment.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/order_invoice_data.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/payment/order_line_details.rb +0 -112
- data/lib/ingenico/connect/sdk/domain/payment/order_output.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/order_references.rb +0 -72
- data/lib/ingenico/connect/sdk/domain/payment/order_references_approve_payment.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/order_type_information.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/payment.rb +0 -62
- data/lib/ingenico/connect/sdk/domain/payment/payment_account_on_file.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/payment_approval_response.rb +0 -65
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_output.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_references.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/payment_error_response.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/payment_output.rb +0 -137
- data/lib/ingenico/connect/sdk/domain/payment/payment_product3201_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/payment_product771_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/payment_product806_specific_output.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/payment_product836_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_customer_account.rb +0 -98
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_specific_output.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/payment/payment_product863_third_party_data.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/payment/payment_references.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/payment/payment_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/payment_status_output.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/personal_identification.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/personal_information.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/payment/personal_name.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/protection_eligibility.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/redirect_data.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input.rb +0 -125
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input_base.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_output.rb +0 -105
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product4101_specific_input.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product4101_specific_input_base.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product809_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product816_specific_input.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product861_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product863_specific_input.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product869_specific_input.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product882_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/redirection_data.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/refund_bank_method_specific_output.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/refund_card_method_specific_output.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/refund_cash_method_specific_output.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/refund_e_invoice_method_specific_output.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/refund_e_wallet_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/refund_method_specific_output.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/refund_mobile_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/refund_output.rb +0 -96
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_customer_account.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/scheme_token_data.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/payment/sdk_data_input.rb +0 -79
- data/lib/ingenico/connect/sdk/domain/payment/sdk_data_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/seller.rb +0 -114
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input.rb +0 -86
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input_base.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_output.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_product771_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_product771_specific_input_base.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/shipping.rb +0 -86
- data/lib/ingenico/connect/sdk/domain/payment/shopping_cart.rb +0 -82
- data/lib/ingenico/connect/sdk/domain/payment/third_party_data.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/third_party_status_response.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_data.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_results.rb +0 -127
- data/lib/ingenico/connect/sdk/domain/payment/tokenize_payment_request.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/trustly_bank_account.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/payout/abstract_payout_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payout/approve_payout_request.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payout/bank_transfer_payout_method_specific_input.rb +0 -78
- data/lib/ingenico/connect/sdk/domain/payout/card_payout_method_specific_input.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/payout/create_payout_request.rb +0 -146
- data/lib/ingenico/connect/sdk/domain/payout/find_payouts_response.rb +0 -61
- data/lib/ingenico/connect/sdk/domain/payout/payout_customer.rb +0 -71
- data/lib/ingenico/connect/sdk/domain/payout/payout_details.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payout/payout_error_response.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payout/payout_merchant.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payout/payout_recipient.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payout/payout_references.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payout/payout_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payout/payout_result.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/payout.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/product/abstract_indicator.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/account_on_file.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_attribute.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_display_hints.rb +0 -47
- data/lib/ingenico/connect/sdk/domain/product/authentication_indicator.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/product/boleto_bancario_requiredness_validator.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/product/create_payment_product_session_request.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/product/create_payment_product_session_response.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/product/device_fingerprint_request.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/product/device_fingerprint_response.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/directory.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/product/directory_entry.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/product/empty_validator.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/product/fixed_list_validator.rb +0 -39
- data/lib/ingenico/connect/sdk/domain/product/get_customer_details_request.rb +0 -47
- data/lib/ingenico/connect/sdk/domain/product/get_customer_details_response.rb +0 -98
- data/lib/ingenico/connect/sdk/domain/product/label_template_element.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/length_validator.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/mobile_payment_product_session302_specific_input.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/product/mobile_payment_product_session302_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/product/payment_product.rb +0 -223
- data/lib/ingenico/connect/sdk/domain/product/payment_product302_specific_data.rb +0 -39
- data/lib/ingenico/connect/sdk/domain/product/payment_product320_specific_data.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/product/payment_product863_specific_data.rb +0 -39
- data/lib/ingenico/connect/sdk/domain/product/payment_product_display_hints.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field.rb +0 -67
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_data_restrictions.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_element.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_hints.rb +0 -102
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_form_element.rb +0 -47
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_tooltip.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_validators.rb +0 -122
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group.rb +0 -82
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/product/payment_product_groups.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/product/payment_product_networks_response.rb +0 -39
- data/lib/ingenico/connect/sdk/domain/product/payment_product_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/product/payment_products.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/product/range_validator.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/regular_expression_validator.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/product/value_mapping_element.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/product.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/refund/approve_refund_request.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/refund/bank_account_bban_refund.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/refund/bank_refund_method_specific_input.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/refund/find_refunds_response.rb +0 -61
- data/lib/ingenico/connect/sdk/domain/refund/refund_customer.rb +0 -62
- data/lib/ingenico/connect/sdk/domain/refund/refund_error_response.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/refund/refund_references.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/refund/refund_request.rb +0 -71
- data/lib/ingenico/connect/sdk/domain/refund/refund_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/refund/refund_result.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/refund/refunds_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/refund.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/riskassessments/contact_details_risk_assessment.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_account_risk_assessment.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_device_risk_assessment.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_risk_assessment.rb +0 -105
- data/lib/ingenico/connect/sdk/domain/riskassessments/merchant_risk_assessment.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/riskassessments/order_risk_assessment.rb +0 -64
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_information_risk_assessment.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_name_risk_assessment.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment.rb +0 -62
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_bank_account.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_card.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/riskassessments/shipping_risk_assessment.rb +0 -51
- data/lib/ingenico/connect/sdk/domain/riskassessments.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/services/bank_data.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/services/bank_details.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/services/bank_details_request.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/services/bank_details_response.rb +0 -64
- data/lib/ingenico/connect/sdk/domain/services/convert_amount.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_request.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_response.rb +0 -61
- data/lib/ingenico/connect/sdk/domain/services/get_privacy_policy_response.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/services/iin_detail.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/services/payment_context.rb +0 -58
- data/lib/ingenico/connect/sdk/domain/services/swift.rb +0 -98
- data/lib/ingenico/connect/sdk/domain/services/test_connection.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/services.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/sessions/payment_product_filters_client_session.rb +0 -45
- data/lib/ingenico/connect/sdk/domain/sessions/session_request.rb +0 -48
- data/lib/ingenico/connect/sdk/domain/sessions/session_response.rb +0 -74
- data/lib/ingenico/connect/sdk/domain/sessions.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/token/abstract_token.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/token/approve_token_request.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/token/contact_details_token.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/token/create_token_request.rb +0 -78
- data/lib/ingenico/connect/sdk/domain/token/create_token_response.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/token/creditor.rb +0 -105
- data/lib/ingenico/connect/sdk/domain/token/customer_token.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/customer_token_with_contact_details.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/token/debtor.rb +0 -105
- data/lib/ingenico/connect/sdk/domain/token/mandate_approval.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/token/mandate_non_sepa_direct_debit.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_with_mandate_id.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_without_creditor.rb +0 -76
- data/lib/ingenico/connect/sdk/domain/token/personal_information_token.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/token/personal_name_token.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/token/token_card.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/token_card_data.rb +0 -51
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet_data.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product705_specific_data.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product730_specific_data.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/token/token_response.rb +0 -85
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit_without_creditor.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/update_token_request.rb +0 -71
- data/lib/ingenico/connect/sdk/domain/token.rb +0 -5
- data/lib/ingenico/connect/sdk/endpoint_configuration.rb +0 -136
- data/lib/ingenico/connect/sdk/exceptions.rb +0 -1
- data/lib/ingenico/connect/sdk/factory.rb +0 -213
- data/lib/ingenico/connect/sdk/global_collect_exception.rb +0 -20
- data/lib/ingenico/connect/sdk/idempotence_exception.rb +0 -28
- data/lib/ingenico/connect/sdk/logging/communicator_logger.rb +0 -26
- data/lib/ingenico/connect/sdk/logging/log_message_builder.rb +0 -88
- data/lib/ingenico/connect/sdk/logging/logging_capable.rb +0 -19
- data/lib/ingenico/connect/sdk/logging/logging_util.rb +0 -320
- data/lib/ingenico/connect/sdk/logging/obfuscation/body_obfuscator.rb +0 -102
- data/lib/ingenico/connect/sdk/logging/obfuscation/header_obfuscator.rb +0 -56
- data/lib/ingenico/connect/sdk/logging/obfuscation/obfuscation_capable.rb +0 -23
- data/lib/ingenico/connect/sdk/logging/obfuscation/obfuscation_rule.rb +0 -49
- data/lib/ingenico/connect/sdk/logging/request_log_message_builder.rb +0 -52
- data/lib/ingenico/connect/sdk/logging/response_log_message_builder.rb +0 -43
- data/lib/ingenico/connect/sdk/logging/ruby_communicator_logger.rb +0 -63
- data/lib/ingenico/connect/sdk/logging/stdout_communicator_logger.rb +0 -38
- data/lib/ingenico/connect/sdk/marshaller.rb +0 -27
- data/lib/ingenico/connect/sdk/marshaller_syntax_exception.rb +0 -9
- data/lib/ingenico/connect/sdk/merchant/captures/captures_client.rb +0 -93
- data/lib/ingenico/connect/sdk/merchant/captures.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/disputes/disputes_client.rb +0 -153
- data/lib/ingenico/connect/sdk/merchant/disputes/upload_file_request.rb +0 -30
- data/lib/ingenico/connect/sdk/merchant/disputes.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/files/files_client.rb +0 -58
- data/lib/ingenico/connect/sdk/merchant/files.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts/hostedcheckouts_client.rb +0 -116
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb +0 -87
- data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/installments/installments_client.rb +0 -56
- data/lib/ingenico/connect/sdk/merchant/installments.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/mandates/mandates_client.rb +0 -212
- data/lib/ingenico/connect/sdk/merchant/mandates.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/merchant_client.rb +0 -135
- data/lib/ingenico/connect/sdk/merchant/payments/find_payments_params.rb +0 -46
- data/lib/ingenico/connect/sdk/merchant/payments/payments_client.rb +0 -567
- data/lib/ingenico/connect/sdk/merchant/payments.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb +0 -42
- data/lib/ingenico/connect/sdk/merchant/payouts/payouts_client.rb +0 -208
- data/lib/ingenico/connect/sdk/merchant/payouts.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/productgroups/find_productgroups_params.rb +0 -65
- data/lib/ingenico/connect/sdk/merchant/productgroups/get_productgroup_params.rb +0 -65
- data/lib/ingenico/connect/sdk/merchant/productgroups/productgroups_client.rb +0 -120
- data/lib/ingenico/connect/sdk/merchant/productgroups.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/products/directory_params.rb +0 -34
- data/lib/ingenico/connect/sdk/merchant/products/find_products_params.rb +0 -65
- data/lib/ingenico/connect/sdk/merchant/products/get_product_params.rb +0 -69
- data/lib/ingenico/connect/sdk/merchant/products/networks_params.rb +0 -42
- data/lib/ingenico/connect/sdk/merchant/products/products_client.rb +0 -250
- data/lib/ingenico/connect/sdk/merchant/products.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/refunds/find_refunds_params.rb +0 -46
- data/lib/ingenico/connect/sdk/merchant/refunds/refunds_client.rb +0 -177
- data/lib/ingenico/connect/sdk/merchant/refunds.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/riskassessments/riskassessments_client.rb +0 -84
- data/lib/ingenico/connect/sdk/merchant/riskassessments.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/services/convert_amount_params.rb +0 -38
- data/lib/ingenico/connect/sdk/merchant/services/privacypolicy_params.rb +0 -34
- data/lib/ingenico/connect/sdk/merchant/services/services_client.rb +0 -168
- data/lib/ingenico/connect/sdk/merchant/services.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/sessions/sessions_client.rb +0 -56
- data/lib/ingenico/connect/sdk/merchant/sessions.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/tokens/delete_token_params.rb +0 -30
- data/lib/ingenico/connect/sdk/merchant/tokens/tokens_client.rb +0 -179
- data/lib/ingenico/connect/sdk/merchant/tokens.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant.rb +0 -5
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +0 -156
- data/lib/ingenico/connect/sdk/modules.rb +0 -187
- data/lib/ingenico/connect/sdk/multipart_form_data_object.rb +0 -47
- data/lib/ingenico/connect/sdk/multipart_form_data_request.rb +0 -13
- data/lib/ingenico/connect/sdk/not_found_exception.rb +0 -19
- data/lib/ingenico/connect/sdk/param_request.rb +0 -14
- data/lib/ingenico/connect/sdk/pooled_connection.rb +0 -26
- data/lib/ingenico/connect/sdk/proxy_configuration.rb +0 -76
- data/lib/ingenico/connect/sdk/reference_exception.rb +0 -19
- data/lib/ingenico/connect/sdk/request_header.rb +0 -64
- data/lib/ingenico/connect/sdk/request_param.rb +0 -28
- data/lib/ingenico/connect/sdk/response_exception.rb +0 -56
- data/lib/ingenico/connect/sdk/response_header.rb +0 -78
- data/lib/ingenico/connect/sdk/session.rb +0 -43
- data/lib/ingenico/connect/sdk/uploadable_file.rb +0 -33
- data/lib/ingenico/connect/sdk/validation_exception.rb +0 -19
- data/lib/ingenico/connect/sdk/webhooks/api_version_mismatch_exception.rb +0 -24
- data/lib/ingenico/connect/sdk/webhooks/in_memory_secret_key_store.rb +0 -61
- data/lib/ingenico/connect/sdk/webhooks/secret_key_not_available_exception.rb +0 -23
- data/lib/ingenico/connect/sdk/webhooks/secret_key_store.rb +0 -20
- data/lib/ingenico/connect/sdk/webhooks/signature_validation_exception.rb +0 -22
- data/lib/ingenico/connect/sdk/webhooks/signature_validator.rb +0 -83
- data/lib/ingenico/connect/sdk/webhooks/webhooks.rb +0 -26
- data/lib/ingenico/connect/sdk/webhooks/webhooks_event.rb +0 -69
- data/lib/ingenico/connect/sdk/webhooks/webhooks_helper.rb +0 -48
- data/lib/ingenico/connect/sdk/webhooks/webhooks_helper_builder.rb +0 -30
- data/spec/lib/defaultimpl/default_authenticator_spec.rb +0 -74
- data/spec/lib/defaultimpl/default_connection_idempotence_spec.rb +0 -141
- data/spec/lib/defaultimpl/default_connection_logger_spec.rb +0 -569
- data/spec/lib/defaultimpl/default_connection_spec.rb +0 -351
- data/spec/lib/defaultimpl/default_marshaller_spec.rb +0 -36
- data/spec/lib/logging/header_obfuscator_spec.rb +0 -51
- data/spec/lib/logging/legacy_logging_spec.rb +0 -178
- data/spec/lib/logging/logging_util_spec.rb +0 -150
- data/spec/lib/logging/obfuscator_spec.rb +0 -52
- data/spec/lib/logging/value_obfuscator_spec.rb +0 -107
- data/spec/lib/meta_data_provider_spec.rb +0 -93
- /data/lib/{ingenico → worldline}/connect/sdk/domain.rb +0 -0
- /data/lib/{ingenico → worldline}/connect/sdk/logging/obfuscation.rb +0 -0
- /data/lib/{ingenico → worldline}/connect/sdk/logging.rb +0 -0
- /data/lib/{ingenico → worldline}/connect/sdk/webhooks.rb +0 -0
- /data/lib/{ingenico → worldline}/connect/sdk.rb +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/convertAmount.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.failure.invalidCardNumber.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.failure.rejected.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.unicode.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/idempotence_duplicate_failure.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/idempotence_rejected.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/idempotence_success.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/notFound.html +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/testConnection.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/unknownServerError.json +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').mandates.get('42268d8067df43e18a50a2ebf4bdb729')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').mandates.revoke('42268d8067df43e18a50a2ebf4bdb729')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').mandates.unblock('42268d8067df43e18a50a2ebf4bdb729')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/approve_payment_non_sepa_direct_debit_payment_method_specific_input'
|
7
|
+
require 'worldline/connect/sdk/v1/domain/approve_payment_request'
|
8
|
+
require 'worldline/connect/sdk/v1/domain/order_approve_payment'
|
9
|
+
require 'worldline/connect/sdk/v1/domain/order_references_approve_payment'
|
10
|
+
|
11
|
+
Domain = Worldline::Connect::SDK::V1::Domain
|
12
|
+
|
13
|
+
def example
|
14
|
+
get_client do |client|
|
15
|
+
direct_debit_payment_method_specific_input = Domain::ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput.new
|
16
|
+
direct_debit_payment_method_specific_input.date_collect = '20150201'
|
17
|
+
direct_debit_payment_method_specific_input.token = 'bfa8a7e4-4530-455a-858d-204ba2afb77e'
|
18
|
+
|
19
|
+
references = Domain::OrderReferencesApprovePayment.new
|
20
|
+
references.merchant_reference = 'AcmeOrder0001'
|
21
|
+
|
22
|
+
order = Domain::OrderApprovePayment.new
|
23
|
+
order.references = references
|
24
|
+
|
25
|
+
body = Domain::ApprovePaymentRequest.new
|
26
|
+
body.amount = 2980
|
27
|
+
body.direct_debit_payment_method_specific_input = direct_debit_payment_method_specific_input
|
28
|
+
body.order = order
|
29
|
+
|
30
|
+
response = client.v1.merchant('merchantId').payments.approve('paymentId', body)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def get_client
|
35
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
36
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
37
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
38
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
39
|
+
ensure
|
40
|
+
# Free networking resources when done
|
41
|
+
client.close unless client.nil?
|
42
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').payments.cancelapproval('paymentId')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').payments.cancel('paymentId')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/capture_payment_request'
|
7
|
+
|
8
|
+
Domain = Worldline::Connect::SDK::V1::Domain
|
9
|
+
|
10
|
+
def example
|
11
|
+
get_client do |client|
|
12
|
+
body = Domain::CapturePaymentRequest.new
|
13
|
+
body.amount = 2980
|
14
|
+
|
15
|
+
response = client.v1.merchant('merchantId').payments.capture('paymentId', body)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def get_client
|
20
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
21
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
22
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
23
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
24
|
+
ensure
|
25
|
+
# Free networking resources when done
|
26
|
+
client.close unless client.nil?
|
27
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/card_without_cvv'
|
7
|
+
require 'worldline/connect/sdk/v1/domain/complete_payment_card_payment_method_specific_input'
|
8
|
+
require 'worldline/connect/sdk/v1/domain/complete_payment_request'
|
9
|
+
|
10
|
+
Domain = Worldline::Connect::SDK::V1::Domain
|
11
|
+
|
12
|
+
def example
|
13
|
+
get_client do |client|
|
14
|
+
card = Domain::CardWithoutCvv.new
|
15
|
+
card.card_number = '67030000000000003'
|
16
|
+
card.cardholder_name = 'Wile E. Coyote'
|
17
|
+
card.expiry_date = '1299'
|
18
|
+
|
19
|
+
card_payment_method_specific_input = Domain::CompletePaymentCardPaymentMethodSpecificInput.new
|
20
|
+
card_payment_method_specific_input.card = card
|
21
|
+
|
22
|
+
body = Domain::CompletePaymentRequest.new
|
23
|
+
body.card_payment_method_specific_input = card_payment_method_specific_input
|
24
|
+
|
25
|
+
response = client.v1.merchant('merchantId').payments.complete('paymentId', body)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def get_client
|
30
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
31
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
32
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
33
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
34
|
+
ensure
|
35
|
+
# Free networking resources when done
|
36
|
+
client.close unless client.nil?
|
37
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/amount_of_money'
|
7
|
+
require 'worldline/connect/sdk/v1/domain/create_dispute_request'
|
8
|
+
|
9
|
+
Domain = Worldline::Connect::SDK::V1::Domain
|
10
|
+
|
11
|
+
def example
|
12
|
+
get_client do |client|
|
13
|
+
amount_of_money = Domain::AmountOfMoney.new
|
14
|
+
amount_of_money.amount = 1234
|
15
|
+
amount_of_money.currency_code = 'USD'
|
16
|
+
|
17
|
+
body = Domain::CreateDisputeRequest.new
|
18
|
+
body.amount_of_money = amount_of_money
|
19
|
+
body.contact_person = 'Wile Coyote'
|
20
|
+
body.email_address = 'wile.e.coyote@acmelabs.com'
|
21
|
+
body.reply_to = 'r.runner@acmelabs.com'
|
22
|
+
body.request_message = 'This is the message from the merchant to GlobalCollect. It is a a freeform text field.'
|
23
|
+
|
24
|
+
response = client.v1.merchant('merchantId').payments.dispute('paymentId', body)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def get_client
|
29
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
30
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
31
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
32
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
33
|
+
ensure
|
34
|
+
# Free networking resources when done
|
35
|
+
client.close unless client.nil?
|
36
|
+
end
|
@@ -0,0 +1,222 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
require 'worldline/connect/sdk/v1/api_exception'
|
7
|
+
require 'worldline/connect/sdk/v1/declined_payment_exception'
|
8
|
+
require 'worldline/connect/sdk/v1/domain/address'
|
9
|
+
require 'worldline/connect/sdk/v1/domain/address_personal'
|
10
|
+
require 'worldline/connect/sdk/v1/domain/amount_of_money'
|
11
|
+
require 'worldline/connect/sdk/v1/domain/browser_data'
|
12
|
+
require 'worldline/connect/sdk/v1/domain/card'
|
13
|
+
require 'worldline/connect/sdk/v1/domain/card_payment_method_specific_input'
|
14
|
+
require 'worldline/connect/sdk/v1/domain/company_information'
|
15
|
+
require 'worldline/connect/sdk/v1/domain/contact_details'
|
16
|
+
require 'worldline/connect/sdk/v1/domain/create_payment_request'
|
17
|
+
require 'worldline/connect/sdk/v1/domain/customer'
|
18
|
+
require 'worldline/connect/sdk/v1/domain/customer_device'
|
19
|
+
require 'worldline/connect/sdk/v1/domain/line_item'
|
20
|
+
require 'worldline/connect/sdk/v1/domain/line_item_invoice_data'
|
21
|
+
require 'worldline/connect/sdk/v1/domain/order'
|
22
|
+
require 'worldline/connect/sdk/v1/domain/order_invoice_data'
|
23
|
+
require 'worldline/connect/sdk/v1/domain/order_references'
|
24
|
+
require 'worldline/connect/sdk/v1/domain/personal_information'
|
25
|
+
require 'worldline/connect/sdk/v1/domain/personal_name'
|
26
|
+
require 'worldline/connect/sdk/v1/domain/redirection_data'
|
27
|
+
require 'worldline/connect/sdk/v1/domain/shipping'
|
28
|
+
require 'worldline/connect/sdk/v1/domain/shopping_cart'
|
29
|
+
require 'worldline/connect/sdk/v1/domain/three_d_secure'
|
30
|
+
|
31
|
+
Domain = Worldline::Connect::SDK::V1::Domain
|
32
|
+
|
33
|
+
def example
|
34
|
+
get_client do |client|
|
35
|
+
card = Domain::Card.new
|
36
|
+
card.card_number = '4567350000427977'
|
37
|
+
card.cardholder_name = 'Wile E. Coyote'
|
38
|
+
card.cvv = '123'
|
39
|
+
card.expiry_date = '1299'
|
40
|
+
|
41
|
+
authentication_amount = Domain::AmountOfMoney.new
|
42
|
+
authentication_amount.amount = 2980
|
43
|
+
authentication_amount.currency_code = 'EUR'
|
44
|
+
|
45
|
+
redirection_data = Domain::RedirectionData.new
|
46
|
+
redirection_data.return_url = 'https://hostname.myownwebsite.url'
|
47
|
+
|
48
|
+
three_d_secure = Domain::ThreeDSecure.new
|
49
|
+
three_d_secure.authentication_amount = authentication_amount
|
50
|
+
three_d_secure.authentication_flow = 'browser'
|
51
|
+
three_d_secure.challenge_canvas_size = '600x400'
|
52
|
+
three_d_secure.challenge_indicator = 'challenge-requested'
|
53
|
+
three_d_secure.exemption_request = 'none'
|
54
|
+
three_d_secure.redirection_data = redirection_data
|
55
|
+
three_d_secure.skip_authentication = false
|
56
|
+
|
57
|
+
card_payment_method_specific_input = Domain::CardPaymentMethodSpecificInput.new
|
58
|
+
card_payment_method_specific_input.card = card
|
59
|
+
card_payment_method_specific_input.is_recurring = false
|
60
|
+
card_payment_method_specific_input.merchant_initiated_reason_indicator = 'delayedCharges'
|
61
|
+
card_payment_method_specific_input.payment_product_id = 1
|
62
|
+
card_payment_method_specific_input.three_d_secure = three_d_secure
|
63
|
+
card_payment_method_specific_input.transaction_channel = 'ECOMMERCE'
|
64
|
+
|
65
|
+
amount_of_money = Domain::AmountOfMoney.new
|
66
|
+
amount_of_money.amount = 2980
|
67
|
+
amount_of_money.currency_code = 'EUR'
|
68
|
+
|
69
|
+
billing_address = Domain::Address.new
|
70
|
+
billing_address.additional_info = 'b'
|
71
|
+
billing_address.city = 'Monument Valley'
|
72
|
+
billing_address.country_code = 'US'
|
73
|
+
billing_address.house_number = '13'
|
74
|
+
billing_address.state = 'Utah'
|
75
|
+
billing_address.street = 'Desertroad'
|
76
|
+
billing_address.zip = '84536'
|
77
|
+
|
78
|
+
company_information = Domain::CompanyInformation.new
|
79
|
+
company_information.name = 'Acme Labs'
|
80
|
+
company_information.vat_number = '1234AB5678CD'
|
81
|
+
|
82
|
+
contact_details = Domain::ContactDetails.new
|
83
|
+
contact_details.email_address = 'wile.e.coyote@acmelabs.com'
|
84
|
+
contact_details.fax_number = '+1234567891'
|
85
|
+
contact_details.phone_number = '+1234567890'
|
86
|
+
|
87
|
+
browser_data = Domain::BrowserData.new
|
88
|
+
browser_data.color_depth = 24
|
89
|
+
browser_data.java_enabled = false
|
90
|
+
browser_data.screen_height = '1200'
|
91
|
+
browser_data.screen_width = '1920'
|
92
|
+
|
93
|
+
device = Domain::CustomerDevice.new
|
94
|
+
device.accept_header = 'texthtml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
|
95
|
+
device.browser_data = browser_data
|
96
|
+
device.ip_address = '123.123.123.123'
|
97
|
+
device.locale = 'en-US'
|
98
|
+
device.timezone_offset_utc_minutes = '420'
|
99
|
+
device.user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15'
|
100
|
+
|
101
|
+
name = Domain::PersonalName.new
|
102
|
+
name.first_name = 'Wile'
|
103
|
+
name.surname = 'Coyote'
|
104
|
+
name.surname_prefix = 'E.'
|
105
|
+
name.title = 'Mr.'
|
106
|
+
|
107
|
+
personal_information = Domain::PersonalInformation.new
|
108
|
+
personal_information.date_of_birth = '19490917'
|
109
|
+
personal_information.gender = 'male'
|
110
|
+
personal_information.name = name
|
111
|
+
|
112
|
+
customer = Domain::Customer.new
|
113
|
+
customer.account_type = 'none'
|
114
|
+
customer.billing_address = billing_address
|
115
|
+
customer.company_information = company_information
|
116
|
+
customer.contact_details = contact_details
|
117
|
+
customer.device = device
|
118
|
+
customer.locale = 'en_US'
|
119
|
+
customer.merchant_customer_id = '1234'
|
120
|
+
customer.personal_information = personal_information
|
121
|
+
|
122
|
+
invoice_data = Domain::OrderInvoiceData.new
|
123
|
+
invoice_data.invoice_date = '20140306191500'
|
124
|
+
invoice_data.invoice_number = '000000123'
|
125
|
+
|
126
|
+
references = Domain::OrderReferences.new
|
127
|
+
references.descriptor = 'Fast and Furry-ous'
|
128
|
+
references.invoice_data = invoice_data
|
129
|
+
references.merchant_order_id = 123456
|
130
|
+
references.merchant_reference = 'AcmeOrder0001'
|
131
|
+
|
132
|
+
shipping_name = Domain::PersonalName.new
|
133
|
+
shipping_name.first_name = 'Road'
|
134
|
+
shipping_name.surname = 'Runner'
|
135
|
+
shipping_name.title = 'Miss'
|
136
|
+
|
137
|
+
address = Domain::AddressPersonal.new
|
138
|
+
address.additional_info = 'Suite II'
|
139
|
+
address.city = 'Monument Valley'
|
140
|
+
address.country_code = 'US'
|
141
|
+
address.house_number = '1'
|
142
|
+
address.name = shipping_name
|
143
|
+
address.state = 'Utah'
|
144
|
+
address.street = 'Desertroad'
|
145
|
+
address.zip = '84536'
|
146
|
+
|
147
|
+
shipping = Domain::Shipping.new
|
148
|
+
shipping.address = address
|
149
|
+
|
150
|
+
items = []
|
151
|
+
|
152
|
+
item1_amount_of_money = Domain::AmountOfMoney.new
|
153
|
+
item1_amount_of_money.amount = 2500
|
154
|
+
item1_amount_of_money.currency_code = 'EUR'
|
155
|
+
|
156
|
+
item1_invoice_data = Domain::LineItemInvoiceData.new
|
157
|
+
item1_invoice_data.description = 'ACME Super Outfit'
|
158
|
+
item1_invoice_data.nr_of_items = '1'
|
159
|
+
item1_invoice_data.price_per_item = 2500
|
160
|
+
|
161
|
+
item1 = Domain::LineItem.new
|
162
|
+
item1.amount_of_money = item1_amount_of_money
|
163
|
+
item1.invoice_data = item1_invoice_data
|
164
|
+
|
165
|
+
items << item1
|
166
|
+
|
167
|
+
item2_amount_of_money = Domain::AmountOfMoney.new
|
168
|
+
item2_amount_of_money.amount = 480
|
169
|
+
item2_amount_of_money.currency_code = 'EUR'
|
170
|
+
|
171
|
+
item2_invoice_data = Domain::LineItemInvoiceData.new
|
172
|
+
item2_invoice_data.description = 'Aspirin'
|
173
|
+
item2_invoice_data.nr_of_items = '12'
|
174
|
+
item2_invoice_data.price_per_item = 40
|
175
|
+
|
176
|
+
item2 = Domain::LineItem.new
|
177
|
+
item2.amount_of_money = item2_amount_of_money
|
178
|
+
item2.invoice_data = item2_invoice_data
|
179
|
+
|
180
|
+
items << item2
|
181
|
+
|
182
|
+
shopping_cart = Domain::ShoppingCart.new
|
183
|
+
shopping_cart.items = items
|
184
|
+
|
185
|
+
order = Domain::Order.new
|
186
|
+
order.amount_of_money = amount_of_money
|
187
|
+
order.customer = customer
|
188
|
+
order.references = references
|
189
|
+
order.shipping = shipping
|
190
|
+
order.shopping_cart = shopping_cart
|
191
|
+
|
192
|
+
body = Domain::CreatePaymentRequest.new
|
193
|
+
body.card_payment_method_specific_input = card_payment_method_specific_input
|
194
|
+
body.order = order
|
195
|
+
|
196
|
+
begin
|
197
|
+
response = client.v1.merchant('merchantId').payments.create(body)
|
198
|
+
rescue Worldline::Connect::SDK::V1::DeclinedPaymentException => e
|
199
|
+
handle_declined_payment(e.payment_result)
|
200
|
+
rescue Worldline::Connect::SDK::V1::ApiException => e
|
201
|
+
handle_api_errors(e.errors)
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
def get_client
|
207
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
208
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
209
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
210
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
211
|
+
ensure
|
212
|
+
# Free networking resources when done
|
213
|
+
client.close unless client.nil?
|
214
|
+
end
|
215
|
+
|
216
|
+
def handle_declined_payment(create_payment_result)
|
217
|
+
# handle the result here
|
218
|
+
end
|
219
|
+
|
220
|
+
def handle_api_errors(errors)
|
221
|
+
# handle the errors here
|
222
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
require 'worldline/connect/sdk/v1/merchant/payments/find_payments_params'
|
7
|
+
|
8
|
+
Payments = Worldline::Connect::SDK::V1::Merchant::Payments
|
9
|
+
|
10
|
+
def example
|
11
|
+
get_client do |client|
|
12
|
+
query = Payments::FindPaymentsParams.new
|
13
|
+
query.hosted_checkout_id = '15c09dac-bf44-486a-af6b-edfd8680a166'
|
14
|
+
query.merchant_reference = 'AcmeOrder0001'
|
15
|
+
query.merchant_order_id = 123456
|
16
|
+
query.offset = 0
|
17
|
+
query.limit = 10
|
18
|
+
|
19
|
+
response = client.v1.merchant('merchantId').payments.find(query)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def get_client
|
24
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
25
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
26
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
27
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
28
|
+
ensure
|
29
|
+
# Free networking resources when done
|
30
|
+
client.close unless client.nil?
|
31
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').payments.captures('paymentId')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').payments.devicefingerprint('paymentId')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').payments.disputes('paymentId')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').payments.get('paymentId')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').payments.refunds('paymentId')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/factory'
|
6
|
+
|
7
|
+
|
8
|
+
def example
|
9
|
+
get_client do |client|
|
10
|
+
response = client.v1.merchant('merchantId').payments.third_party_status('paymentId')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_client
|
15
|
+
api_key_id = ENV.fetch('connect.api.apiKeyId', 'someKey')
|
16
|
+
secret_api_key = ENV.fetch('connect.api.secretApiKey', 'someSecret')
|
17
|
+
configuration_file_name = File.join(__FILE__, '..', '..', '..', 'example_configuration.yml')
|
18
|
+
yield client = Worldline::Connect::SDK::Factory.create_client_from_file(configuration_file_name, api_key_id, secret_api_key)
|
19
|
+
ensure
|
20
|
+
# Free networking resources when done
|
21
|
+
client.close unless client.nil?
|
22
|
+
end
|