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
@@ -1,567 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# This class was auto-generated from the API references found at
|
3
|
-
# https://epayments-api.developer-ingenico.com/
|
4
|
-
#
|
5
|
-
require 'ingenico/connect/sdk/api_resource'
|
6
|
-
require 'ingenico/connect/sdk/response_exception'
|
7
|
-
require 'ingenico/connect/sdk/domain/capture/capture_response'
|
8
|
-
require 'ingenico/connect/sdk/domain/capture/captures_response'
|
9
|
-
require 'ingenico/connect/sdk/domain/dispute/dispute_response'
|
10
|
-
require 'ingenico/connect/sdk/domain/dispute/disputes_response'
|
11
|
-
require 'ingenico/connect/sdk/domain/errors/error_response'
|
12
|
-
require 'ingenico/connect/sdk/domain/payment/cancel_approval_payment_response'
|
13
|
-
require 'ingenico/connect/sdk/domain/payment/cancel_payment_response'
|
14
|
-
require 'ingenico/connect/sdk/domain/payment/complete_payment_response'
|
15
|
-
require 'ingenico/connect/sdk/domain/payment/create_payment_response'
|
16
|
-
require 'ingenico/connect/sdk/domain/payment/device_fingerprint_details'
|
17
|
-
require 'ingenico/connect/sdk/domain/payment/find_payments_response'
|
18
|
-
require 'ingenico/connect/sdk/domain/payment/payment_approval_response'
|
19
|
-
require 'ingenico/connect/sdk/domain/payment/payment_error_response'
|
20
|
-
require 'ingenico/connect/sdk/domain/payment/payment_response'
|
21
|
-
require 'ingenico/connect/sdk/domain/payment/third_party_status_response'
|
22
|
-
require 'ingenico/connect/sdk/domain/refund/refund_error_response'
|
23
|
-
require 'ingenico/connect/sdk/domain/refund/refund_response'
|
24
|
-
require 'ingenico/connect/sdk/domain/refund/refunds_response'
|
25
|
-
require 'ingenico/connect/sdk/domain/token/create_token_response'
|
26
|
-
|
27
|
-
module Ingenico
|
28
|
-
module Connect
|
29
|
-
module SDK
|
30
|
-
module Merchant
|
31
|
-
module Payments
|
32
|
-
# Payments client. Thread-safe.
|
33
|
-
class PaymentsClient < Ingenico::Connect::SDK::ApiResource
|
34
|
-
|
35
|
-
# @param parent [Ingenico::Connect::SDK::ApiResource]
|
36
|
-
# @param path_context [Hash]
|
37
|
-
def initialize(parent, path_context)
|
38
|
-
super(parent, path_context)
|
39
|
-
end
|
40
|
-
|
41
|
-
# Resource /!{merchantId}/payments - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/create.html Create payment}
|
42
|
-
# @param body [Ingenico::Connect::SDK::Domain::Payment::CreatePaymentRequest]
|
43
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
44
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::CreatePaymentResponse]
|
45
|
-
# @raise [Ingenico::Connect::SDK::DeclinedPaymentException] if the Ingenico ePayments platform declined / rejected the payment. The payment result will be available from the exception.
|
46
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
47
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
48
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
49
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
50
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
51
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
52
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
53
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
54
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
55
|
-
def create(body, context = nil)
|
56
|
-
uri = instantiate_uri('/v1/{merchantId}/payments', nil)
|
57
|
-
@communicator.post(
|
58
|
-
uri,
|
59
|
-
client_headers,
|
60
|
-
nil,
|
61
|
-
body,
|
62
|
-
Ingenico::Connect::SDK::Domain::Payment::CreatePaymentResponse,
|
63
|
-
context)
|
64
|
-
rescue ResponseException => e
|
65
|
-
error_type = Ingenico::Connect::SDK::Domain::Payment::PaymentErrorResponse
|
66
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
67
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
68
|
-
end
|
69
|
-
|
70
|
-
# Resource /!{merchantId}/payments - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/find.html Find payments}
|
71
|
-
# @param query [Ingenico::Connect::SDK::Merchant::Payments::FindPaymentsParams]
|
72
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
73
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::FindPaymentsResponse]
|
74
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
75
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
76
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
77
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
78
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
79
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
80
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
81
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
82
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
83
|
-
def find(query, context = nil)
|
84
|
-
uri = instantiate_uri('/v1/{merchantId}/payments', nil)
|
85
|
-
@communicator.get(
|
86
|
-
uri,
|
87
|
-
client_headers,
|
88
|
-
query,
|
89
|
-
Ingenico::Connect::SDK::Domain::Payment::FindPaymentsResponse,
|
90
|
-
context)
|
91
|
-
rescue ResponseException => e
|
92
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
93
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
94
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
95
|
-
end
|
96
|
-
|
97
|
-
# Resource /!{merchantId}/payments/!{paymentId} - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/get.html Get payment}
|
98
|
-
# @param payment_id [String]
|
99
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
100
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::PaymentResponse]
|
101
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
102
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
103
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
104
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
105
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
106
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
107
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
108
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
109
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
110
|
-
def get(payment_id, context = nil)
|
111
|
-
path_context = {
|
112
|
-
'paymentId'.freeze => payment_id,
|
113
|
-
}
|
114
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}', path_context)
|
115
|
-
@communicator.get(
|
116
|
-
uri,
|
117
|
-
client_headers,
|
118
|
-
nil,
|
119
|
-
Ingenico::Connect::SDK::Domain::Payment::PaymentResponse,
|
120
|
-
context)
|
121
|
-
rescue ResponseException => e
|
122
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
123
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
124
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
125
|
-
end
|
126
|
-
|
127
|
-
# Resource /!{merchantId}/payments/!{paymentId}/complete - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/complete.html Complete payment}
|
128
|
-
# @param payment_id [String]
|
129
|
-
# @param body [Ingenico::Connect::SDK::Domain::Payment::CompletePaymentRequest]
|
130
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
131
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::CompletePaymentResponse]
|
132
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
133
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
134
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
135
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
136
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
137
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
138
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
139
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
140
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
141
|
-
def complete(payment_id, body, context = nil)
|
142
|
-
path_context = {
|
143
|
-
'paymentId'.freeze => payment_id,
|
144
|
-
}
|
145
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/complete', path_context)
|
146
|
-
@communicator.post(
|
147
|
-
uri,
|
148
|
-
client_headers,
|
149
|
-
nil,
|
150
|
-
body,
|
151
|
-
Ingenico::Connect::SDK::Domain::Payment::CompletePaymentResponse,
|
152
|
-
context)
|
153
|
-
rescue ResponseException => e
|
154
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
155
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
156
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
157
|
-
end
|
158
|
-
|
159
|
-
# Resource /!{merchantId}/payments/!{paymentId}/thirdpartystatus - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/thirdPartyStatus.html Third party status poll}
|
160
|
-
# @param payment_id [String]
|
161
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
162
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::ThirdPartyStatusResponse]
|
163
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
164
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
165
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
166
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
167
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
168
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
169
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
170
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
171
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
172
|
-
def third_party_status(payment_id, context = nil)
|
173
|
-
path_context = {
|
174
|
-
'paymentId'.freeze => payment_id,
|
175
|
-
}
|
176
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/thirdpartystatus', path_context)
|
177
|
-
@communicator.get(
|
178
|
-
uri,
|
179
|
-
client_headers,
|
180
|
-
nil,
|
181
|
-
Ingenico::Connect::SDK::Domain::Payment::ThirdPartyStatusResponse,
|
182
|
-
context)
|
183
|
-
rescue ResponseException => e
|
184
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
185
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
186
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
187
|
-
end
|
188
|
-
|
189
|
-
# Resource /!{merchantId}/payments/!{paymentId}/tokenize - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/tokenize.html Create a token from payment}
|
190
|
-
# @param payment_id [String]
|
191
|
-
# @param body [Ingenico::Connect::SDK::Domain::Payment::TokenizePaymentRequest]
|
192
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
193
|
-
# @return [Ingenico::Connect::SDK::Domain::Token::CreateTokenResponse]
|
194
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
195
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
196
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
197
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
198
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
199
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
200
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
201
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
202
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
203
|
-
def tokenize(payment_id, body, context = nil)
|
204
|
-
path_context = {
|
205
|
-
'paymentId'.freeze => payment_id,
|
206
|
-
}
|
207
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/tokenize', path_context)
|
208
|
-
@communicator.post(
|
209
|
-
uri,
|
210
|
-
client_headers,
|
211
|
-
nil,
|
212
|
-
body,
|
213
|
-
Ingenico::Connect::SDK::Domain::Token::CreateTokenResponse,
|
214
|
-
context)
|
215
|
-
rescue ResponseException => e
|
216
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
217
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
218
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
219
|
-
end
|
220
|
-
|
221
|
-
# Resource /!{merchantId}/payments/!{paymentId}/processchallenged - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/processchallenged.html Approves challenged payment}
|
222
|
-
# @param payment_id [String]
|
223
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
224
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::PaymentResponse]
|
225
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
226
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
227
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
228
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
229
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
230
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
231
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
232
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
233
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
234
|
-
def processchallenged(payment_id, context = nil)
|
235
|
-
path_context = {
|
236
|
-
'paymentId'.freeze => payment_id,
|
237
|
-
}
|
238
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/processchallenged', path_context)
|
239
|
-
@communicator.post(
|
240
|
-
uri,
|
241
|
-
client_headers,
|
242
|
-
nil,
|
243
|
-
nil,
|
244
|
-
Ingenico::Connect::SDK::Domain::Payment::PaymentResponse,
|
245
|
-
context)
|
246
|
-
rescue ResponseException => e
|
247
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
248
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
249
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
250
|
-
end
|
251
|
-
|
252
|
-
# Resource /!{merchantId}/payments/!{paymentId}/approve - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/approve.html Approve payment}
|
253
|
-
# @param payment_id [String]
|
254
|
-
# @param body [Ingenico::Connect::SDK::Domain::Payment::ApprovePaymentRequest]
|
255
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
256
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::PaymentApprovalResponse]
|
257
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
258
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
259
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
260
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
261
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
262
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
263
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
264
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
265
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
266
|
-
def approve(payment_id, body, context = nil)
|
267
|
-
path_context = {
|
268
|
-
'paymentId'.freeze => payment_id,
|
269
|
-
}
|
270
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/approve', path_context)
|
271
|
-
@communicator.post(
|
272
|
-
uri,
|
273
|
-
client_headers,
|
274
|
-
nil,
|
275
|
-
body,
|
276
|
-
Ingenico::Connect::SDK::Domain::Payment::PaymentApprovalResponse,
|
277
|
-
context)
|
278
|
-
rescue ResponseException => e
|
279
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
280
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
281
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
282
|
-
end
|
283
|
-
|
284
|
-
# Resource /!{merchantId}/payments/!{paymentId}/capture - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/capture.html Capture payment}
|
285
|
-
# @param payment_id [String]
|
286
|
-
# @param body [Ingenico::Connect::SDK::Domain::Payment::CapturePaymentRequest]
|
287
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
288
|
-
# @return [Ingenico::Connect::SDK::Domain::Capture::CaptureResponse]
|
289
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
290
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
291
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
292
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
293
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
294
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
295
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
296
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
297
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
298
|
-
def capture(payment_id, body, context = nil)
|
299
|
-
path_context = {
|
300
|
-
'paymentId'.freeze => payment_id,
|
301
|
-
}
|
302
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/capture', path_context)
|
303
|
-
@communicator.post(
|
304
|
-
uri,
|
305
|
-
client_headers,
|
306
|
-
nil,
|
307
|
-
body,
|
308
|
-
Ingenico::Connect::SDK::Domain::Capture::CaptureResponse,
|
309
|
-
context)
|
310
|
-
rescue ResponseException => e
|
311
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
312
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
313
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
314
|
-
end
|
315
|
-
|
316
|
-
# Resource /!{merchantId}/payments/!{paymentId}/cancelapproval - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/cancelapproval.html Undo capture payment}
|
317
|
-
# @param payment_id [String]
|
318
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
319
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::CancelApprovalPaymentResponse]
|
320
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
321
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
322
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
323
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
324
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
325
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
326
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
327
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
328
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
329
|
-
def cancelapproval(payment_id, context = nil)
|
330
|
-
path_context = {
|
331
|
-
'paymentId'.freeze => payment_id,
|
332
|
-
}
|
333
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/cancelapproval', path_context)
|
334
|
-
@communicator.post(
|
335
|
-
uri,
|
336
|
-
client_headers,
|
337
|
-
nil,
|
338
|
-
nil,
|
339
|
-
Ingenico::Connect::SDK::Domain::Payment::CancelApprovalPaymentResponse,
|
340
|
-
context)
|
341
|
-
rescue ResponseException => e
|
342
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
343
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
344
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
345
|
-
end
|
346
|
-
|
347
|
-
# Resource /!{merchantId}/payments/!{paymentId}/captures - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/captures.html Get captures of payment}
|
348
|
-
# @param payment_id [String]
|
349
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
350
|
-
# @return [Ingenico::Connect::SDK::Domain::Capture::CapturesResponse]
|
351
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
352
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
353
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
354
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
355
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
356
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
357
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
358
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
359
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
360
|
-
def captures(payment_id, context = nil)
|
361
|
-
path_context = {
|
362
|
-
'paymentId'.freeze => payment_id,
|
363
|
-
}
|
364
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/captures', path_context)
|
365
|
-
@communicator.get(
|
366
|
-
uri,
|
367
|
-
client_headers,
|
368
|
-
nil,
|
369
|
-
Ingenico::Connect::SDK::Domain::Capture::CapturesResponse,
|
370
|
-
context)
|
371
|
-
rescue ResponseException => e
|
372
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
373
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
374
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
375
|
-
end
|
376
|
-
|
377
|
-
# Resource /!{merchantId}/payments/!{paymentId}/refund - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/refund.html Create refund}
|
378
|
-
# @param payment_id [String]
|
379
|
-
# @param body [Ingenico::Connect::SDK::Domain::Refund::RefundRequest]
|
380
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
381
|
-
# @return [Ingenico::Connect::SDK::Domain::Refund::RefundResponse]
|
382
|
-
# @raise [Ingenico::Connect::SDK::DeclinedRefundException] if the Ingenico ePayments platform declined / rejected the refund. The refund result will be available from the exception.
|
383
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
384
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
385
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
386
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
387
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
388
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
389
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
390
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
391
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
392
|
-
def refund(payment_id, body, context = nil)
|
393
|
-
path_context = {
|
394
|
-
'paymentId'.freeze => payment_id,
|
395
|
-
}
|
396
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/refund', path_context)
|
397
|
-
@communicator.post(
|
398
|
-
uri,
|
399
|
-
client_headers,
|
400
|
-
nil,
|
401
|
-
body,
|
402
|
-
Ingenico::Connect::SDK::Domain::Refund::RefundResponse,
|
403
|
-
context)
|
404
|
-
rescue ResponseException => e
|
405
|
-
error_type = Ingenico::Connect::SDK::Domain::Refund::RefundErrorResponse
|
406
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
407
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
408
|
-
end
|
409
|
-
|
410
|
-
# Resource /!{merchantId}/payments/!{paymentId}/refunds - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/refunds.html Get refunds of payment}
|
411
|
-
# @param payment_id [String]
|
412
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
413
|
-
# @return [Ingenico::Connect::SDK::Domain::Refund::RefundsResponse]
|
414
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
415
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
416
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
417
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
418
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
419
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
420
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
421
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
422
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
423
|
-
def refunds(payment_id, context = nil)
|
424
|
-
path_context = {
|
425
|
-
'paymentId'.freeze => payment_id,
|
426
|
-
}
|
427
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/refunds', path_context)
|
428
|
-
@communicator.get(
|
429
|
-
uri,
|
430
|
-
client_headers,
|
431
|
-
nil,
|
432
|
-
Ingenico::Connect::SDK::Domain::Refund::RefundsResponse,
|
433
|
-
context)
|
434
|
-
rescue ResponseException => e
|
435
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
436
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
437
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
438
|
-
end
|
439
|
-
|
440
|
-
# Resource /!{merchantId}/payments/!{paymentId}/cancel - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/cancel.html Cancel payment}
|
441
|
-
# @param payment_id [String]
|
442
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
443
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::CancelPaymentResponse]
|
444
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
445
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
446
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
447
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
448
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
449
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
450
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
451
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
452
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
453
|
-
def cancel(payment_id, context = nil)
|
454
|
-
path_context = {
|
455
|
-
'paymentId'.freeze => payment_id,
|
456
|
-
}
|
457
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/cancel', path_context)
|
458
|
-
@communicator.post(
|
459
|
-
uri,
|
460
|
-
client_headers,
|
461
|
-
nil,
|
462
|
-
nil,
|
463
|
-
Ingenico::Connect::SDK::Domain::Payment::CancelPaymentResponse,
|
464
|
-
context)
|
465
|
-
rescue ResponseException => e
|
466
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
467
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
468
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
469
|
-
end
|
470
|
-
|
471
|
-
# Resource /!{merchantId}/payments/!{paymentId}/dispute - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/dispute.html Create dispute}
|
472
|
-
# @param payment_id [String]
|
473
|
-
# @param body [Ingenico::Connect::SDK::Domain::Dispute::CreateDisputeRequest]
|
474
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
475
|
-
# @return [Ingenico::Connect::SDK::Domain::Dispute::DisputeResponse]
|
476
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
477
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
478
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
479
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
480
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
481
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
482
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
483
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
484
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
485
|
-
def dispute(payment_id, body, context = nil)
|
486
|
-
path_context = {
|
487
|
-
'paymentId'.freeze => payment_id,
|
488
|
-
}
|
489
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/dispute', path_context)
|
490
|
-
@communicator.post(
|
491
|
-
uri,
|
492
|
-
client_headers,
|
493
|
-
nil,
|
494
|
-
body,
|
495
|
-
Ingenico::Connect::SDK::Domain::Dispute::DisputeResponse,
|
496
|
-
context)
|
497
|
-
rescue ResponseException => e
|
498
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
499
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
500
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
501
|
-
end
|
502
|
-
|
503
|
-
# Resource /!{merchantId}/payments/!{paymentId}/disputes - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/disputes.html Get disputes}
|
504
|
-
# @param payment_id [String]
|
505
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
506
|
-
# @return [Ingenico::Connect::SDK::Domain::Dispute::DisputesResponse]
|
507
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
508
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
509
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
510
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
511
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
512
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
513
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
514
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
515
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
516
|
-
def disputes(payment_id, context = nil)
|
517
|
-
path_context = {
|
518
|
-
'paymentId'.freeze => payment_id,
|
519
|
-
}
|
520
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/disputes', path_context)
|
521
|
-
@communicator.get(
|
522
|
-
uri,
|
523
|
-
client_headers,
|
524
|
-
nil,
|
525
|
-
Ingenico::Connect::SDK::Domain::Dispute::DisputesResponse,
|
526
|
-
context)
|
527
|
-
rescue ResponseException => e
|
528
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
529
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
530
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
531
|
-
end
|
532
|
-
|
533
|
-
# Resource /!{merchantId}/payments/!{paymentId}/devicefingerprint - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payments/devicefingerprint.html Get Device Fingerprint details}
|
534
|
-
# @param payment_id [String]
|
535
|
-
# @param context [Ingenico::Connect::SDK::CallContext]
|
536
|
-
# @return [Ingenico::Connect::SDK::Domain::Payment::DeviceFingerprintDetails]
|
537
|
-
# @raise [Ingenico::Connect::SDK::ValidationException] if the request was not correct and couldn't be processed (HTTP status code 400)
|
538
|
-
# @raise [Ingenico::Connect::SDK::AuthorizationException] if the request was not allowed (HTTP status code 403)
|
539
|
-
# @raise [Ingenico::Connect::SDK::IdempotenceException] if an idempotent request caused a conflict (HTTP status code 409)
|
540
|
-
# @raise [Ingenico::Connect::SDK::ReferenceException] if an object was attempted to be referenced that doesn't exist or has been removed,
|
541
|
-
# or there was a conflict (HTTP status code 404, 409 or 410)
|
542
|
-
# @raise [Ingenico::Connect::SDK::GlobalCollectException] if something went wrong at the Ingenico ePayments platform,
|
543
|
-
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
544
|
-
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
545
|
-
# @raise [Ingenico::Connect::SDK::ApiException]if the Ingenico ePayments platform returned any other error
|
546
|
-
def devicefingerprint(payment_id, context = nil)
|
547
|
-
path_context = {
|
548
|
-
'paymentId'.freeze => payment_id,
|
549
|
-
}
|
550
|
-
uri = instantiate_uri('/v1/{merchantId}/payments/{paymentId}/devicefingerprint', path_context)
|
551
|
-
@communicator.get(
|
552
|
-
uri,
|
553
|
-
client_headers,
|
554
|
-
nil,
|
555
|
-
Ingenico::Connect::SDK::Domain::Payment::DeviceFingerprintDetails,
|
556
|
-
context)
|
557
|
-
rescue ResponseException => e
|
558
|
-
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
559
|
-
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
560
|
-
raise create_exception(e.status_code, e.body, error_object, context)
|
561
|
-
end
|
562
|
-
end
|
563
|
-
end
|
564
|
-
end
|
565
|
-
end
|
566
|
-
end
|
567
|
-
end
|
@@ -1,42 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# This class was auto-generated from the API references found at
|
3
|
-
# https://epayments-api.developer-ingenico.com/
|
4
|
-
#
|
5
|
-
require 'ingenico/connect/sdk/param_request'
|
6
|
-
require 'ingenico/connect/sdk/request_param'
|
7
|
-
|
8
|
-
module Ingenico
|
9
|
-
module Connect
|
10
|
-
module SDK
|
11
|
-
module Merchant
|
12
|
-
module Payouts
|
13
|
-
# Query parameters for {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/payouts/find.html Find payouts}
|
14
|
-
# @attr [String] merchant_reference
|
15
|
-
# @attr [Integer] merchant_order_id
|
16
|
-
# @attr [Integer] offset
|
17
|
-
# @attr [Integer] limit
|
18
|
-
class FindPayoutsParams < Ingenico::Connect::SDK::ParamRequest
|
19
|
-
|
20
|
-
attr_accessor :merchant_reference
|
21
|
-
|
22
|
-
attr_accessor :merchant_order_id
|
23
|
-
|
24
|
-
attr_accessor :offset
|
25
|
-
|
26
|
-
attr_accessor :limit
|
27
|
-
|
28
|
-
# @return [Array<Ingenico::Connect::SDK::RequestParam>] representing the attributes of this class
|
29
|
-
def to_request_parameters
|
30
|
-
result = []
|
31
|
-
result << RequestParam.new('merchantReference', @merchant_reference) unless @merchant_reference.nil?
|
32
|
-
result << RequestParam.new('merchantOrderId', @merchant_order_id.to_s) unless @merchant_order_id.nil?
|
33
|
-
result << RequestParam.new('offset', @offset.to_s) unless @offset.nil?
|
34
|
-
result << RequestParam.new('limit', @limit.to_s) unless @limit.nil?
|
35
|
-
result
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|