connect-sdk-ruby 2.47.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/connect-sdk-ruby.gemspec +6 -6
- data/examples/example_configuration.yml +7 -0
- data/examples/v1/merchant/captures/create_refund_capture_example.rb +53 -0
- data/examples/v1/merchant/captures/get_capture_example.rb +22 -0
- data/examples/v1/merchant/disputes/cancel_dispute_example.rb +22 -0
- data/examples/v1/merchant/disputes/get_dispute_example.rb +22 -0
- data/examples/v1/merchant/disputes/submit_dispute_example.rb +22 -0
- data/examples/v1/merchant/disputes/upload_dispute_file_example.rb +31 -0
- data/examples/v1/merchant/files/get_file_example.rb +28 -0
- data/examples/v1/merchant/hostedcheckouts/create_hosted_checkout_example.rb +52 -0
- data/examples/v1/merchant/hostedcheckouts/delete_hosted_checkout_example.rb +22 -0
- data/examples/v1/merchant/hostedcheckouts/get_hosted_checkout_example.rb +22 -0
- data/examples/v1/merchant/hostedmandatemanagements/create_hosted_mandate_management_example.rb +40 -0
- data/examples/v1/merchant/hostedmandatemanagements/get_hosted_mandate_management_example.rb +22 -0
- data/examples/v1/merchant/installments/get_installments_info_example.rb +35 -0
- data/examples/v1/merchant/mandates/block_mandate_example.rb +22 -0
- data/examples/v1/merchant/mandates/create_mandate_example.rb +64 -0
- data/examples/v1/merchant/mandates/create_mandate_with_reference_example.rb +64 -0
- data/examples/v1/merchant/mandates/get_mandate_example.rb +22 -0
- data/examples/v1/merchant/mandates/revoke_mandate_example.rb +22 -0
- data/examples/v1/merchant/mandates/unblock_mandate_example.rb +22 -0
- data/examples/v1/merchant/payments/approve_payment_example.rb +42 -0
- data/examples/v1/merchant/payments/cancel_approval_payment_example.rb +22 -0
- data/examples/v1/merchant/payments/cancel_payment_example.rb +22 -0
- data/examples/v1/merchant/payments/capture_payment_example.rb +27 -0
- data/examples/v1/merchant/payments/complete_payment_example.rb +37 -0
- data/examples/v1/merchant/payments/create_payment_dispute_example.rb +36 -0
- data/examples/v1/merchant/payments/create_payment_example.rb +222 -0
- data/examples/v1/merchant/payments/find_payments_example.rb +31 -0
- data/examples/v1/merchant/payments/get_payment_captures_example.rb +22 -0
- data/examples/v1/merchant/payments/get_payment_device_fingerprint_details_example.rb +22 -0
- data/examples/v1/merchant/payments/get_payment_disputes_example.rb +22 -0
- data/examples/v1/merchant/payments/get_payment_example.rb +22 -0
- data/examples/v1/merchant/payments/get_refunds_example.rb +22 -0
- data/examples/v1/merchant/payments/get_third_party_status_example.rb +22 -0
- data/examples/v1/merchant/payments/process_challenged_payment_example.rb +22 -0
- data/examples/v1/merchant/payments/refund_payment_example.rb +83 -0
- data/examples/v1/merchant/payments/tokenize_payment_example.rb +27 -0
- data/examples/v1/merchant/payouts/approve_payout_example.rb +27 -0
- data/examples/v1/merchant/payouts/cancel_approval_payout_example.rb +22 -0
- data/examples/v1/merchant/payouts/cancel_payout_example.rb +22 -0
- data/examples/v1/merchant/payouts/create_payout_example.rb +102 -0
- data/examples/v1/merchant/payouts/find_payouts_example.rb +30 -0
- data/examples/v1/merchant/payouts/get_payout_example.rb +22 -0
- data/examples/v1/merchant/productgroups/get_device_fingerprint_for_groups_example.rb +26 -0
- data/examples/v1/merchant/productgroups/get_payment_product_group_example.rb +33 -0
- data/examples/v1/merchant/productgroups/get_payment_product_groups_example.rb +33 -0
- data/examples/v1/merchant/products/create_payment_product_session_example.rb +33 -0
- data/examples/v1/merchant/products/get_customer_details_example.rb +37 -0
- data/examples/v1/merchant/products/get_device_fingerprint_example.rb +26 -0
- data/examples/v1/merchant/products/get_directory_example.rb +28 -0
- data/examples/v1/merchant/products/get_networks_example.rb +30 -0
- data/examples/v1/merchant/products/get_payment_product_example.rb +34 -0
- data/examples/v1/merchant/products/get_payment_products_example.rb +33 -0
- data/examples/v1/merchant/refunds/approve_refund_example.rb +27 -0
- data/examples/v1/merchant/refunds/cancel_approval_refund_example.rb +22 -0
- data/examples/v1/merchant/refunds/cancel_refund_example.rb +22 -0
- data/examples/v1/merchant/refunds/find_refunds_example.rb +31 -0
- data/examples/v1/merchant/refunds/get_refund_example.rb +22 -0
- data/examples/v1/merchant/riskassessments/risk_assessment_bank_account_example.rb +53 -0
- data/examples/v1/merchant/riskassessments/risk_assessment_cards_example.rb +113 -0
- data/examples/v1/merchant/services/convert_amount_example.rb +29 -0
- data/examples/v1/merchant/services/convert_bank_account_example.rb +33 -0
- data/examples/v1/merchant/services/get_privacy_policy_example.rb +28 -0
- data/examples/v1/merchant/services/iin_details_example.rb +27 -0
- data/examples/v1/merchant/services/test_connection_example.rb +22 -0
- data/examples/v1/merchant/sessions/create_session_example.rb +34 -0
- data/examples/v1/merchant/tokens/approve_sepa_direct_debit_token_example.rb +29 -0
- data/examples/v1/merchant/tokens/create_token_example.rb +81 -0
- data/examples/v1/merchant/tokens/delete_token_example.rb +27 -0
- data/examples/v1/merchant/tokens/get_token_example.rb +22 -0
- data/examples/v1/merchant/tokens/update_token_example.rb +75 -0
- data/lib/worldline/connect/sdk/api_resource.rb +69 -0
- data/lib/worldline/connect/sdk/authentication/authenticator.rb +21 -0
- data/lib/worldline/connect/sdk/authentication/authorization_type.rb +17 -0
- data/lib/worldline/connect/sdk/authentication/v1hmac_authenticator.rb +102 -0
- data/lib/worldline/connect/sdk/authentication.rb +1 -0
- data/lib/worldline/connect/sdk/call_context.rb +29 -0
- data/lib/worldline/connect/sdk/client.rb +97 -0
- data/lib/worldline/connect/sdk/communication/communication_exception.rb +21 -0
- data/lib/worldline/connect/sdk/communication/connection.rb +50 -0
- data/lib/worldline/connect/sdk/communication/default_connection.rb +429 -0
- data/lib/worldline/connect/sdk/communication/metadata_provider.rb +162 -0
- data/lib/worldline/connect/sdk/communication/multipart_form_data_object.rb +54 -0
- data/lib/worldline/connect/sdk/communication/multipart_form_data_request.rb +15 -0
- data/lib/worldline/connect/sdk/communication/not_found_exception.rb +21 -0
- data/lib/worldline/connect/sdk/communication/param_request.rb +16 -0
- data/lib/worldline/connect/sdk/communication/pooled_connection.rb +28 -0
- data/lib/worldline/connect/sdk/communication/request_header.rb +66 -0
- data/lib/worldline/connect/sdk/communication/request_param.rb +30 -0
- data/lib/worldline/connect/sdk/communication/response_exception.rb +58 -0
- data/lib/worldline/connect/sdk/communication/response_header.rb +80 -0
- data/lib/worldline/connect/sdk/communication.rb +1 -0
- data/lib/worldline/connect/sdk/communicator.rb +510 -0
- data/lib/worldline/connect/sdk/communicator_configuration.rb +190 -0
- data/lib/worldline/connect/sdk/domain/data_object.rb +34 -0
- data/lib/worldline/connect/sdk/domain/shopping_cart_extension.rb +62 -0
- data/lib/worldline/connect/sdk/domain/uploadable_file.rb +35 -0
- data/lib/worldline/connect/sdk/factory.rb +183 -0
- data/lib/worldline/connect/sdk/json/default_marshaller.rb +36 -0
- data/lib/worldline/connect/sdk/json/marshaller.rb +29 -0
- data/lib/worldline/connect/sdk/json/marshaller_syntax_exception.rb +11 -0
- data/lib/worldline/connect/sdk/json.rb +1 -0
- data/lib/worldline/connect/sdk/logging/communicator_logger.rb +26 -0
- data/lib/worldline/connect/sdk/logging/log_message_builder.rb +91 -0
- data/lib/worldline/connect/sdk/logging/logging_capable.rb +19 -0
- data/lib/worldline/connect/sdk/logging/obfuscation/body_obfuscator.rb +102 -0
- data/lib/worldline/connect/sdk/logging/obfuscation/header_obfuscator.rb +56 -0
- data/lib/worldline/connect/sdk/logging/obfuscation/obfuscation_capable.rb +23 -0
- data/lib/worldline/connect/sdk/logging/obfuscation/obfuscation_rule.rb +49 -0
- data/lib/worldline/connect/sdk/logging/request_log_message_builder.rb +52 -0
- data/lib/worldline/connect/sdk/logging/response_log_message_builder.rb +43 -0
- data/lib/worldline/connect/sdk/logging/ruby_communicator_logger.rb +63 -0
- data/lib/worldline/connect/sdk/logging/stdout_communicator_logger.rb +33 -0
- data/lib/worldline/connect/sdk/proxy_configuration.rb +76 -0
- data/lib/worldline/connect/sdk/v1/api_exception.rb +61 -0
- data/lib/worldline/connect/sdk/v1/authorization_exception.rb +24 -0
- data/lib/worldline/connect/sdk/v1/declined_payment_exception.rb +53 -0
- data/lib/worldline/connect/sdk/v1/declined_payout_exception.rb +53 -0
- data/lib/worldline/connect/sdk/v1/declined_refund_exception.rb +53 -0
- data/lib/worldline/connect/sdk/v1/declined_transaction_exception.rb +27 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_bank_transfer_payment_method_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_card_payment_method_specific_input.rb +141 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_cash_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_e_invoice_payment_method_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_indicator.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_order_status.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_payout_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_method_specific_input.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_product4101_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_product840_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_sepa_direct_debit_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_sepa_direct_debit_payment_product771_specific_input.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_three_d_secure.rb +97 -0
- data/lib/worldline/connect/sdk/v1/domain/abstract_token.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/account_funding_recipient.rb +74 -0
- data/lib/worldline/connect/sdk/v1/domain/account_on_file.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/account_on_file_attribute.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/account_on_file_display_hints.rb +47 -0
- data/lib/worldline/connect/sdk/v1/domain/additional_order_input.rb +111 -0
- data/lib/worldline/connect/sdk/v1/domain/additional_order_input_airline_data.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/address.rb +84 -0
- data/lib/worldline/connect/sdk/v1/domain/address_personal.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/afr_name.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/airline_data.rb +215 -0
- data/lib/worldline/connect/sdk/v1/domain/airline_flight_leg.rb +170 -0
- data/lib/worldline/connect/sdk/v1/domain/airline_passenger.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/amount_breakdown.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/amount_of_money.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/api_error.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_card_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_direct_debit_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_mobile_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_payment_method_specific_input.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_request.rb +62 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_payout_request.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_refund_request.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/approve_token_request.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/authentication_indicator.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_account.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_account_bban.rb +70 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_account_bban_refund.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_account_iban.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_data.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_details.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_details_request.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_details_response.rb +64 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_refund_method_specific_input.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_input_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/bank_transfer_payout_method_specific_input.rb +78 -0
- data/lib/worldline/connect/sdk/v1/domain/boleto_bancario_requiredness_validator.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/browser_data.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/cancel_approval_payment_response.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/cancel_payment_card_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/cancel_payment_mobile_payment_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/cancel_payment_response.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/capture.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/capture_output.rb +137 -0
- data/lib/worldline/connect/sdk/v1/domain/capture_payment_request.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/capture_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/capture_status_output.rb +54 -0
- data/lib/worldline/connect/sdk/v1/domain/captures_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/card.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/card_essentials.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/card_fraud_results.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_input.rb +89 -0
- data/lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_input_base.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_output.rb +83 -0
- data/lib/worldline/connect/sdk/v1/domain/card_payout_method_specific_input.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/card_recurrence_details.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/card_without_cvv.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb +93 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1503_specific_input.rb +38 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1504_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1521_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1522_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1523_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1524_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product1526_specific_input.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/company_information.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/complete_payment_card_payment_method_specific_input.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/complete_payment_request.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/complete_payment_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/contact_details.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/contact_details_base.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/contact_details_risk_assessment.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/contact_details_token.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/convert_amount.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/create_dispute_request.rb +65 -0
- data/lib/worldline/connect/sdk/v1/domain/create_hosted_checkout_request.rb +127 -0
- data/lib/worldline/connect/sdk/v1/domain/create_hosted_checkout_response.rb +67 -0
- data/lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_request.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_response.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/create_mandate_base.rb +79 -0
- data/lib/worldline/connect/sdk/v1/domain/create_mandate_request.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/create_mandate_response.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/create_mandate_with_return_url.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_product_session_request.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_product_session_response.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_request.rb +143 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payment_result.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/create_payout_request.rb +146 -0
- data/lib/worldline/connect/sdk/v1/domain/create_token_request.rb +78 -0
- data/lib/worldline/connect/sdk/v1/domain/create_token_response.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/created_payment_output.rb +85 -0
- data/lib/worldline/connect/sdk/v1/domain/creditor.rb +105 -0
- data/lib/worldline/connect/sdk/v1/domain/customer.rb +119 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_account.rb +118 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_account_authentication.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_account_risk_assessment.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_approve_payment.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_base.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_device.rb +86 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_device_risk_assessment.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_payment_activity.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_risk_assessment.rb +105 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_token.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/customer_token_with_contact_details.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/debtor.rb +105 -0
- data/lib/worldline/connect/sdk/v1/domain/decrypted_payment_data.rb +86 -0
- data/lib/worldline/connect/sdk/v1/domain/device_fingerprint_details.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/device_fingerprint_request.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/device_fingerprint_response.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/device_render_options.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/directory.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/directory_entry.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/displayed_data.rb +54 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute.rb +67 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_creation_detail.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_output.rb +102 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_reference.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/dispute_status_output.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/disputes_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_input_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_output.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_product9000_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/e_invoice_payment_product9000_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/empty_validator.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/error_response.rb +47 -0
- data/lib/worldline/connect/sdk/v1/domain/exemption_output.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/external_cardholder_authentication_data.rb +107 -0
- data/lib/worldline/connect/sdk/v1/domain/find_payments_response.rb +61 -0
- data/lib/worldline/connect/sdk/v1/domain/find_payouts_response.rb +61 -0
- data/lib/worldline/connect/sdk/v1/domain/find_refunds_response.rb +61 -0
- data/lib/worldline/connect/sdk/v1/domain/fixed_list_validator.rb +39 -0
- data/lib/worldline/connect/sdk/v1/domain/fraud_fields.rb +186 -0
- data/lib/worldline/connect/sdk/v1/domain/fraud_fields_shipping_details.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/fraud_results.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/fraud_results_retail_decisions.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/fraugster_results.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/frequency.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/g_pay_three_d_secure.rb +65 -0
- data/lib/worldline/connect/sdk/v1/domain/get_customer_details_request.rb +47 -0
- data/lib/worldline/connect/sdk/v1/domain/get_customer_details_response.rb +98 -0
- data/lib/worldline/connect/sdk/v1/domain/get_hosted_checkout_response.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/get_hosted_mandate_management_response.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/get_iin_details_request.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/get_iin_details_response.rb +61 -0
- data/lib/worldline/connect/sdk/v1/domain/get_installment_request.rb +58 -0
- data/lib/worldline/connect/sdk/v1/domain/get_mandate_response.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/get_privacy_policy_response.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/gift_card_purchase.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_checkout_specific_input.rb +102 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_checkout_specific_output.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_file.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_mandate_info.rb +72 -0
- data/lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/iin_detail.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/in_auth.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/installment_display_hints.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/installment_options.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/installment_options_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/installments.rb +73 -0
- data/lib/worldline/connect/sdk/v1/domain/invoice_payment_method_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/invoice_payment_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/key_value_pair.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/label_template_element.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/length_validator.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/level3_summary_data.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/line_item.rb +66 -0
- data/lib/worldline/connect/sdk/v1/domain/line_item_invoice_data.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/line_item_level3_interchange_information.rb +84 -0
- data/lib/worldline/connect/sdk/v1/domain/loan_recipient.rb +74 -0
- data/lib/worldline/connect/sdk/v1/domain/lodging_charge.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/lodging_data.rb +150 -0
- data/lib/worldline/connect/sdk/v1/domain/lodging_room.rb +91 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_address.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_approval.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_contact_details.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_customer.rb +71 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_merchant_action.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_non_sepa_direct_debit.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_personal_information.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_personal_name.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_redirect_data.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_response.rb +72 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit_with_mandate_id.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit_without_creditor.rb +76 -0
- data/lib/worldline/connect/sdk/v1/domain/merchant.rb +58 -0
- data/lib/worldline/connect/sdk/v1/domain/merchant_action.rb +93 -0
- data/lib/worldline/connect/sdk/v1/domain/merchant_risk_assessment.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/microsoft_fraud_results.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_data.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input.rb +81 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input_hosted_checkout.rb +74 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_output.rb +69 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product302_specific_input_hosted_checkout.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input_hosted_checkout.rb +51 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_method_specific_input.rb +95 -0
- data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_product705_specific_input.rb +51 -0
- data/lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_product730_specific_input.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/order.rb +107 -0
- data/lib/worldline/connect/sdk/v1/domain/order_approve_payment.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/order_invoice_data.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/order_line_details.rb +112 -0
- data/lib/worldline/connect/sdk/v1/domain/order_output.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/order_references.rb +72 -0
- data/lib/worldline/connect/sdk/v1/domain/order_references_approve_payment.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/order_risk_assessment.rb +64 -0
- data/lib/worldline/connect/sdk/v1/domain/order_status_output.rb +87 -0
- data/lib/worldline/connect/sdk/v1/domain/order_type_information.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payment.rb +62 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_account_on_file.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_approval_response.rb +65 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_context.rb +58 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_creation_output.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_creation_references.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_error_response.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_output.rb +137 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product.rb +223 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product302_specific_data.rb +39 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product3201_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product320_specific_data.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product771_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product806_specific_output.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product836_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product840_customer_account.rb +98 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product840_specific_output.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product863_specific_data.rb +39 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product863_third_party_data.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_display_hints.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field.rb +67 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_data_restrictions.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_display_element.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_display_hints.rb +102 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_form_element.rb +47 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_tooltip.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_field_validators.rb +122 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_filter.rb +50 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_filters_client_session.rb +45 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_filters_hosted_checkout.rb +52 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_group.rb +82 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_group_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_groups.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_networks_response.rb +39 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_product_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_products.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_references.rb +77 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/payment_status_output.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_customer.rb +71 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_details.rb +55 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_error_response.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_merchant.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_recipient.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_references.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/payout_result.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_identification.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_information.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_information_risk_assessment.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_information_token.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_name.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_name_base.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_name_risk_assessment.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/personal_name_token.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/protection_eligibility.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/range_validator.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/recurring_payments_data.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_data.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_data_base.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_input.rb +125 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_input_base.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_output.rb +105 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product4101_specific_input.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product4101_specific_input_base.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product809_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product816_specific_input.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product840_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product840_specific_input_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product861_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product863_specific_input.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/redirect_payment_product882_specific_input.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/redirection_data.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_bank_method_specific_output.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_card_method_specific_output.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_cash_method_specific_output.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_customer.rb +62 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_e_invoice_method_specific_output.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_e_wallet_method_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_error_response.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_method_specific_output.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_mobile_method_specific_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_output.rb +96 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_payment_product840_specific_output.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_references.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_request.rb +71 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_response.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/refund_result.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/refunds_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/regular_expression_validator.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/result_do_risk_assessment.rb +60 -0
- data/lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/risk_assessment.rb +62 -0
- data/lib/worldline/connect/sdk/v1/domain/risk_assessment_bank_account.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/risk_assessment_card.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/risk_assessment_response.rb +40 -0
- data/lib/worldline/connect/sdk/v1/domain/scheme_token_data.rb +63 -0
- data/lib/worldline/connect/sdk/v1/domain/sdk_data_input.rb +79 -0
- data/lib/worldline/connect/sdk/v1/domain/sdk_data_output.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/seller.rb +114 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_input.rb +86 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_input_base.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_output.rb +53 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_product771_specific_input.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_product771_specific_input_base.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/session_request.rb +48 -0
- data/lib/worldline/connect/sdk/v1/domain/session_response.rb +74 -0
- data/lib/worldline/connect/sdk/v1/domain/shipping.rb +86 -0
- data/lib/worldline/connect/sdk/v1/domain/shipping_risk_assessment.rb +51 -0
- data/lib/worldline/connect/sdk/v1/domain/shopping_cart.rb +82 -0
- data/lib/worldline/connect/sdk/v1/domain/swift.rb +98 -0
- data/lib/worldline/connect/sdk/v1/domain/test_connection.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/third_party_data.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/third_party_status_response.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/three_d_secure.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/three_d_secure_base.rb +18 -0
- data/lib/worldline/connect/sdk/v1/domain/three_d_secure_data.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/three_d_secure_results.rb +127 -0
- data/lib/worldline/connect/sdk/v1/domain/token_card.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/token_card_data.rb +51 -0
- data/lib/worldline/connect/sdk/v1/domain/token_e_wallet.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/token_e_wallet_data.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit_payment_product705_specific_data.rb +44 -0
- data/lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit_payment_product730_specific_data.rb +37 -0
- data/lib/worldline/connect/sdk/v1/domain/token_response.rb +85 -0
- data/lib/worldline/connect/sdk/v1/domain/token_sepa_direct_debit.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/token_sepa_direct_debit_without_creditor.rb +46 -0
- data/lib/worldline/connect/sdk/v1/domain/tokenize_payment_request.rb +35 -0
- data/lib/worldline/connect/sdk/v1/domain/trial_information.rb +69 -0
- data/lib/worldline/connect/sdk/v1/domain/trial_period.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/trustly_bank_account.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/update_token_request.rb +71 -0
- data/lib/worldline/connect/sdk/v1/domain/upload_dispute_file_response.rb +42 -0
- data/lib/worldline/connect/sdk/v1/domain/validation_bank_account_check.rb +49 -0
- data/lib/worldline/connect/sdk/v1/domain/validation_bank_account_output.rb +68 -0
- data/lib/worldline/connect/sdk/v1/domain/value_mapping_element.rb +56 -0
- data/lib/worldline/connect/sdk/v1/domain/webhooks_event.rb +108 -0
- data/lib/worldline/connect/sdk/v1/domain.rb +5 -0
- data/lib/worldline/connect/sdk/v1/exception_factory.rb +76 -0
- data/lib/worldline/connect/sdk/v1/idempotence_exception.rb +34 -0
- data/lib/worldline/connect/sdk/v1/merchant/captures/captures_client.rb +96 -0
- data/lib/worldline/connect/sdk/v1/merchant/captures.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/disputes/disputes_client.rb +156 -0
- data/lib/worldline/connect/sdk/v1/merchant/disputes/upload_file_request.rb +32 -0
- data/lib/worldline/connect/sdk/v1/merchant/disputes.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/files/files_client.rb +61 -0
- data/lib/worldline/connect/sdk/v1/merchant/files.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/hostedcheckouts/hostedcheckouts_client.rb +119 -0
- data/lib/worldline/connect/sdk/v1/merchant/hostedcheckouts.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb +90 -0
- data/lib/worldline/connect/sdk/v1/merchant/hostedmandatemanagements.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/installments/installments_client.rb +59 -0
- data/lib/worldline/connect/sdk/v1/merchant/installments.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/mandates/mandates_client.rb +215 -0
- data/lib/worldline/connect/sdk/v1/merchant/mandates.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/merchant_client.rb +137 -0
- data/lib/worldline/connect/sdk/v1/merchant/payments/find_payments_params.rb +48 -0
- data/lib/worldline/connect/sdk/v1/merchant/payments/payments_client.rb +570 -0
- data/lib/worldline/connect/sdk/v1/merchant/payments.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/payouts/find_payouts_params.rb +44 -0
- data/lib/worldline/connect/sdk/v1/merchant/payouts/payouts_client.rb +211 -0
- data/lib/worldline/connect/sdk/v1/merchant/payouts.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/productgroups/find_productgroups_params.rb +67 -0
- data/lib/worldline/connect/sdk/v1/merchant/productgroups/get_productgroup_params.rb +67 -0
- data/lib/worldline/connect/sdk/v1/merchant/productgroups/productgroups_client.rb +123 -0
- data/lib/worldline/connect/sdk/v1/merchant/productgroups.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/directory_params.rb +36 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/find_products_params.rb +67 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/get_product_params.rb +71 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/networks_params.rb +44 -0
- data/lib/worldline/connect/sdk/v1/merchant/products/products_client.rb +253 -0
- data/lib/worldline/connect/sdk/v1/merchant/products.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/refunds/find_refunds_params.rb +48 -0
- data/lib/worldline/connect/sdk/v1/merchant/refunds/refunds_client.rb +180 -0
- data/lib/worldline/connect/sdk/v1/merchant/refunds.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/riskassessments/riskassessments_client.rb +87 -0
- data/lib/worldline/connect/sdk/v1/merchant/riskassessments.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/services/convert_amount_params.rb +40 -0
- data/lib/worldline/connect/sdk/v1/merchant/services/privacypolicy_params.rb +36 -0
- data/lib/worldline/connect/sdk/v1/merchant/services/services_client.rb +171 -0
- data/lib/worldline/connect/sdk/v1/merchant/services.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/sessions/sessions_client.rb +59 -0
- data/lib/worldline/connect/sdk/v1/merchant/sessions.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant/tokens/delete_token_params.rb +32 -0
- data/lib/worldline/connect/sdk/v1/merchant/tokens/tokens_client.rb +182 -0
- data/lib/worldline/connect/sdk/v1/merchant/tokens.rb +5 -0
- data/lib/worldline/connect/sdk/v1/merchant.rb +5 -0
- data/lib/worldline/connect/sdk/v1/platform_exception.rb +26 -0
- data/lib/worldline/connect/sdk/v1/reference_exception.rb +25 -0
- data/lib/worldline/connect/sdk/v1/v1_client.rb +35 -0
- data/lib/worldline/connect/sdk/v1/validation_exception.rb +25 -0
- data/lib/worldline/connect/sdk/v1/webhooks/v1_webhooks_factory.rb +27 -0
- data/lib/worldline/connect/sdk/v1/webhooks/webhooks_helper.rb +45 -0
- data/lib/worldline/connect/sdk/v1/webhooks.rb +5 -0
- data/lib/worldline/connect/sdk/v1.rb +5 -0
- data/lib/worldline/connect/sdk/webhooks/api_version_mismatch_exception.rb +24 -0
- data/lib/worldline/connect/sdk/webhooks/in_memory_secret_key_store.rb +61 -0
- data/lib/worldline/connect/sdk/webhooks/secret_key_not_available_exception.rb +23 -0
- data/lib/worldline/connect/sdk/webhooks/secret_key_store.rb +20 -0
- data/lib/worldline/connect/sdk/webhooks/signature_validation_exception.rb +22 -0
- data/lib/worldline/connect/sdk/webhooks/signature_validator.rb +83 -0
- data/lib/worldline/connect/sdk/webhooks/webhooks.rb +28 -0
- data/spec/comparable_extension.rb +2 -2
- data/spec/fixtures/resources/properties.proxy.yml +2 -2
- data/spec/fixtures/resources/properties.yml +2 -2
- data/spec/integration/connection_pooling_spec.rb +6 -6
- data/spec/integration/convert_amount_spec.rb +4 -4
- data/spec/integration/idempotence_spec.rb +19 -19
- data/spec/integration/multiline_header_spec.rb +15 -14
- data/spec/integration/multipart_form_data_spec.rb +31 -31
- data/spec/integration/payment_product_groups_spec.rb +3 -3
- data/spec/integration/payment_products_spec.rb +6 -6
- data/spec/integration/risk_assessments_spec.rb +12 -12
- data/spec/integration/sdk_proxy_spec.rb +22 -21
- data/spec/integration/token_spec.rb +16 -15
- data/spec/integration_setup.rb +7 -7
- data/spec/lib/authentication/v1hmac_authenticator_spec.rb +72 -0
- data/spec/lib/client_spec.rb +16 -16
- data/spec/lib/communication/default_connection_idempotence_spec.rb +140 -0
- data/spec/lib/communication/default_connection_logger_spec.rb +569 -0
- data/spec/lib/communication/default_connection_spec.rb +351 -0
- data/spec/lib/communicator_configuration_spec.rb +33 -33
- data/spec/lib/communicator_spec.rb +11 -8
- data/spec/lib/factory_spec.rb +10 -13
- data/spec/lib/json/default_marshaller_spec.rb +36 -0
- data/spec/lib/logging/obfuscation/body_obfuscator_spec.rb +1 -1
- data/spec/lib/logging/obfuscation/header_obfuscator_spec.rb +2 -2
- data/spec/lib/logging/ruby_communicator_logger_spec.rb +2 -2
- data/spec/lib/logging/stdout_communicator_logger_spec.rb +2 -2
- data/spec/lib/metadata_provider_spec.rb +93 -0
- data/spec/lib/payments_client_spec.rb +47 -48
- data/spec/lib/requestparams/delete_params_spec.rb +3 -3
- data/spec/lib/requestparams/directory_params_spec.rb +4 -3
- data/spec/lib/requestparams/find_params_spec.rb +5 -5
- data/spec/lib/requestparams/get_params_spec.rb +5 -5
- data/spec/lib/webhooks/webhooks_helper_spec.rb +8 -5
- data/spec/lib/webhooks/webhooks_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +610 -636
- data/examples/merchant/captures/create_refund_capture_example.rb +0 -54
- data/examples/merchant/captures/get_capture_example.rb +0 -22
- data/examples/merchant/disputes/cancel_dispute_example.rb +0 -22
- data/examples/merchant/disputes/get_dispute_example.rb +0 -22
- data/examples/merchant/disputes/submit_dispute_example.rb +0 -22
- data/examples/merchant/disputes/upload_dispute_file_example.rb +0 -30
- data/examples/merchant/example_configuration.yml +0 -6
- data/examples/merchant/files/get_file_example.rb +0 -28
- data/examples/merchant/hostedcheckouts/create_hosted_checkout_example.rb +0 -54
- data/examples/merchant/hostedcheckouts/delete_hosted_checkout_example.rb +0 -22
- data/examples/merchant/hostedcheckouts/get_hosted_checkout_example.rb +0 -22
- data/examples/merchant/hostedmandatemanagements/create_hosted_mandate_management_example.rb +0 -40
- data/examples/merchant/hostedmandatemanagements/get_hosted_mandate_management_example.rb +0 -22
- data/examples/merchant/installments/get_installments_info_example.rb +0 -36
- data/examples/merchant/mandates/block_mandate_example.rb +0 -22
- data/examples/merchant/mandates/create_mandate_example.rb +0 -65
- data/examples/merchant/mandates/create_mandate_with_reference_example.rb +0 -65
- data/examples/merchant/mandates/get_mandate_example.rb +0 -22
- data/examples/merchant/mandates/revoke_mandate_example.rb +0 -22
- data/examples/merchant/mandates/unblock_mandate_example.rb +0 -22
- data/examples/merchant/payments/approve_payment_example.rb +0 -42
- data/examples/merchant/payments/cancel_approval_payment_example.rb +0 -22
- data/examples/merchant/payments/cancel_payment_example.rb +0 -22
- data/examples/merchant/payments/capture_payment_example.rb +0 -27
- data/examples/merchant/payments/complete_payment_example.rb +0 -38
- data/examples/merchant/payments/create_payment_dispute_example.rb +0 -37
- data/examples/merchant/payments/create_payment_example.rb +0 -223
- data/examples/merchant/payments/find_payments_example.rb +0 -31
- data/examples/merchant/payments/get_payment_captures_example.rb +0 -22
- data/examples/merchant/payments/get_payment_device_fingerprint_details_example.rb +0 -22
- data/examples/merchant/payments/get_payment_disputes_example.rb +0 -22
- data/examples/merchant/payments/get_payment_example.rb +0 -22
- data/examples/merchant/payments/get_refunds_example.rb +0 -22
- data/examples/merchant/payments/get_third_party_status_example.rb +0 -22
- data/examples/merchant/payments/process_challenged_payment_example.rb +0 -22
- data/examples/merchant/payments/refund_payment_example.rb +0 -85
- data/examples/merchant/payments/tokenize_payment_example.rb +0 -27
- data/examples/merchant/payouts/approve_payout_example.rb +0 -27
- data/examples/merchant/payouts/cancel_approval_payout_example.rb +0 -22
- data/examples/merchant/payouts/cancel_payout_example.rb +0 -22
- data/examples/merchant/payouts/create_payout_example.rb +0 -104
- data/examples/merchant/payouts/find_payouts_example.rb +0 -30
- data/examples/merchant/payouts/get_payout_example.rb +0 -22
- data/examples/merchant/productgroups/get_device_fingerprint_for_groups_example.rb +0 -26
- data/examples/merchant/productgroups/get_payment_product_group_example.rb +0 -33
- data/examples/merchant/productgroups/get_payment_product_groups_example.rb +0 -33
- data/examples/merchant/products/create_payment_product_session_example.rb +0 -33
- data/examples/merchant/products/get_customer_details_example.rb +0 -38
- data/examples/merchant/products/get_device_fingerprint_example.rb +0 -26
- data/examples/merchant/products/get_directory_example.rb +0 -28
- data/examples/merchant/products/get_networks_example.rb +0 -30
- data/examples/merchant/products/get_payment_product_example.rb +0 -34
- data/examples/merchant/products/get_payment_products_example.rb +0 -33
- data/examples/merchant/refunds/approve_refund_example.rb +0 -27
- data/examples/merchant/refunds/cancel_approval_refund_example.rb +0 -22
- data/examples/merchant/refunds/cancel_refund_example.rb +0 -22
- data/examples/merchant/refunds/find_refunds_example.rb +0 -31
- data/examples/merchant/refunds/get_refund_example.rb +0 -22
- data/examples/merchant/riskassessments/risk_assessment_bank_account_example.rb +0 -54
- data/examples/merchant/riskassessments/risk_assessment_cards_example.rb +0 -114
- data/examples/merchant/services/convert_amount_example.rb +0 -29
- data/examples/merchant/services/convert_bank_account_example.rb +0 -34
- data/examples/merchant/services/get_privacy_policy_example.rb +0 -28
- data/examples/merchant/services/iin_details_example.rb +0 -27
- data/examples/merchant/services/test_connection_example.rb +0 -22
- data/examples/merchant/sessions/create_session_example.rb +0 -34
- data/examples/merchant/tokens/approve_sepa_direct_debit_token_example.rb +0 -29
- data/examples/merchant/tokens/create_token_example.rb +0 -82
- data/examples/merchant/tokens/delete_token_example.rb +0 -27
- data/examples/merchant/tokens/get_token_example.rb +0 -22
- data/examples/merchant/tokens/update_token_example.rb +0 -76
- data/lib/ingenico/connect/sdk/api_exception.rb +0 -53
- data/lib/ingenico/connect/sdk/api_resource.rb +0 -144
- data/lib/ingenico/connect/sdk/authenticator.rb +0 -19
- data/lib/ingenico/connect/sdk/authorization_exception.rb +0 -18
- data/lib/ingenico/connect/sdk/call_context.rb +0 -29
- data/lib/ingenico/connect/sdk/client.rb +0 -106
- data/lib/ingenico/connect/sdk/communication_exception.rb +0 -19
- data/lib/ingenico/connect/sdk/communicator.rb +0 -515
- data/lib/ingenico/connect/sdk/communicator_configuration.rb +0 -86
- data/lib/ingenico/connect/sdk/connection.rb +0 -46
- data/lib/ingenico/connect/sdk/data_object.rb +0 -34
- data/lib/ingenico/connect/sdk/declined_payment_exception.rb +0 -47
- data/lib/ingenico/connect/sdk/declined_payout_exception.rb +0 -47
- data/lib/ingenico/connect/sdk/declined_refund_exception.rb +0 -47
- data/lib/ingenico/connect/sdk/declined_transaction_exception.rb +0 -21
- data/lib/ingenico/connect/sdk/defaultimpl/authorization_type.rb +0 -22
- data/lib/ingenico/connect/sdk/defaultimpl/default_authenticator.rb +0 -111
- data/lib/ingenico/connect/sdk/defaultimpl/default_connection.rb +0 -427
- data/lib/ingenico/connect/sdk/defaultimpl/default_marshaller.rb +0 -41
- data/lib/ingenico/connect/sdk/defaultimpl.rb +0 -1
- data/lib/ingenico/connect/sdk/domain/capture/capture.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/capture/capture_output.rb +0 -137
- data/lib/ingenico/connect/sdk/domain/capture/capture_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/capture/capture_status_output.rb +0 -54
- data/lib/ingenico/connect/sdk/domain/capture/captures_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/capture.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_order_status.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/abstract_payment_method_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/additional_order_input_airline_data.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/definitions/address.rb +0 -84
- data/lib/ingenico/connect/sdk/domain/definitions/airline_data.rb +0 -215
- data/lib/ingenico/connect/sdk/domain/definitions/airline_flight_leg.rb +0 -170
- data/lib/ingenico/connect/sdk/domain/definitions/airline_passenger.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/definitions/amount_of_money.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_bban.rb +0 -70
- data/lib/ingenico/connect/sdk/domain/definitions/bank_account_iban.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/card.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/card_essentials.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/card_fraud_results.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/definitions/card_without_cvv.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/definitions/company_information.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/contact_details_base.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/customer_base.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields.rb +0 -186
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_fields_shipping_details.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/definitions/fraud_results_retail_decisions.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/fraugster_results.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/in_auth.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/definitions/key_value_pair.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/lodging_charge.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/lodging_data.rb +0 -150
- data/lib/ingenico/connect/sdk/domain/definitions/lodging_room.rb +0 -91
- data/lib/ingenico/connect/sdk/domain/definitions/microsoft_fraud_results.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/definitions/order_status_output.rb +0 -87
- data/lib/ingenico/connect/sdk/domain/definitions/payment_product_filter.rb +0 -50
- data/lib/ingenico/connect/sdk/domain/definitions/personal_name_base.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/redirect_data_base.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/definitions/result_do_risk_assessment.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/definitions/retail_decisions_cc_fraud_check_output.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_check.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/definitions/validation_bank_account_output.rb +0 -68
- data/lib/ingenico/connect/sdk/domain/definitions.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/dispute/create_dispute_request.rb +0 -65
- data/lib/ingenico/connect/sdk/domain/dispute/dispute.rb +0 -67
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_creation_detail.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_output.rb +0 -102
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_reference.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_status_output.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/dispute/disputes_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/dispute/upload_dispute_file_response.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/dispute.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/errors/api_error.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/errors/error_response.rb +0 -47
- data/lib/ingenico/connect/sdk/domain/errors.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/file/hosted_file.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/file.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_request.rb +0 -127
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/create_hosted_checkout_response.rb +0 -67
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/created_payment_output.rb +0 -85
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/displayed_data.rb +0 -54
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/frequency.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/get_hosted_checkout_response.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/hosted_checkout_specific_input.rb +0 -102
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_method_specific_input_hosted_checkout.rb +0 -74
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_product302_specific_input_hosted_checkout.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/mobile_payment_product320_specific_input_hosted_checkout.rb +0 -51
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/payment_product_filters_hosted_checkout.rb +0 -52
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/recurring_payments_data.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/trial_information.rb +0 -69
- data/lib/ingenico/connect/sdk/domain/hostedcheckout/trial_period.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/hostedcheckout.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/create_hosted_mandate_management_request.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/create_hosted_mandate_management_response.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/get_hosted_mandate_management_response.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_info.rb +0 -72
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement/hosted_mandate_management_specific_input.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/hostedmandatemanagement.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/installments/get_installment_request.rb +0 -58
- data/lib/ingenico/connect/sdk/domain/installments/installment_display_hints.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/installments/installment_options.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/installments/installment_options_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/installments.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_base.rb +0 -79
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_request.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_response.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/mandates/create_mandate_with_return_url.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/mandates/get_mandate_response.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_address.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_contact_details.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_customer.rb +0 -71
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_merchant_action.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_personal_information.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_personal_name.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_redirect_data.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/mandates/mandate_response.rb +0 -72
- data/lib/ingenico/connect/sdk/domain/mandates.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/metadata/shopping_cart_extension.rb +0 -59
- data/lib/ingenico/connect/sdk/domain/metadata.rb +0 -1
- data/lib/ingenico/connect/sdk/domain/payment/abstract_bank_transfer_payment_method_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/abstract_card_payment_method_specific_input.rb +0 -141
- data/lib/ingenico/connect/sdk/domain/payment/abstract_cash_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_e_invoice_payment_method_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/abstract_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_method_specific_input.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product4101_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product840_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/abstract_sepa_direct_debit_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/abstract_sepa_direct_debit_payment_product771_specific_input.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/abstract_three_d_secure.rb +0 -97
- data/lib/ingenico/connect/sdk/domain/payment/account_funding_recipient.rb +0 -74
- data/lib/ingenico/connect/sdk/domain/payment/additional_order_input.rb +0 -111
- data/lib/ingenico/connect/sdk/domain/payment/address_personal.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/afr_name.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/amount_breakdown.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_card_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_direct_debit_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_mobile_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_payment_method_specific_input.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_request.rb +0 -62
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_input_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/bank_transfer_payment_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/browser_data.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/payment/cancel_approval_payment_response.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_card_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_mobile_payment_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/cancel_payment_response.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/capture_payment_request.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input.rb +0 -89
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_input_base.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/card_payment_method_specific_output.rb +0 -83
- data/lib/ingenico/connect/sdk/domain/payment/card_recurrence_details.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input.rb +0 -93
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_input_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1503_specific_input.rb +0 -38
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1504_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1521_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1522_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1523_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1524_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product1526_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/cash_payment_product_with_redirect_specific_input_base.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_card_payment_method_specific_input.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_request.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/contact_details.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_request.rb +0 -143
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/create_payment_result.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/customer.rb +0 -119
- data/lib/ingenico/connect/sdk/domain/payment/customer_account.rb +0 -118
- data/lib/ingenico/connect/sdk/domain/payment/customer_account_authentication.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/customer_approve_payment.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/customer_device.rb +0 -86
- data/lib/ingenico/connect/sdk/domain/payment/customer_payment_activity.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/decrypted_payment_data.rb +0 -86
- data/lib/ingenico/connect/sdk/domain/payment/device_fingerprint_details.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/device_render_options.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_input_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_method_specific_output.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_product9000_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/e_invoice_payment_product9000_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/exemption_output.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/external_cardholder_authentication_data.rb +0 -107
- data/lib/ingenico/connect/sdk/domain/payment/find_payments_response.rb +0 -61
- data/lib/ingenico/connect/sdk/domain/payment/g_pay_three_d_secure.rb +0 -65
- data/lib/ingenico/connect/sdk/domain/payment/gift_card_purchase.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/hosted_checkout_specific_output.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/installments.rb +0 -73
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/invoice_payment_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/level3_summary_data.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/line_item.rb +0 -66
- data/lib/ingenico/connect/sdk/domain/payment/line_item_invoice_data.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/payment/line_item_level3_interchange_information.rb +0 -84
- data/lib/ingenico/connect/sdk/domain/payment/loan_recipient.rb +0 -74
- data/lib/ingenico/connect/sdk/domain/payment/merchant.rb +0 -58
- data/lib/ingenico/connect/sdk/domain/payment/merchant_action.rb +0 -93
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_data.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_input.rb +0 -81
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_method_specific_output.rb +0 -69
- data/lib/ingenico/connect/sdk/domain/payment/mobile_payment_product320_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/mobile_three_d_secure_challenge_parameters.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_input.rb +0 -95
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product705_specific_input.rb +0 -51
- data/lib/ingenico/connect/sdk/domain/payment/non_sepa_direct_debit_payment_product730_specific_input.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/order.rb +0 -107
- data/lib/ingenico/connect/sdk/domain/payment/order_approve_payment.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payment/order_invoice_data.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/payment/order_line_details.rb +0 -112
- data/lib/ingenico/connect/sdk/domain/payment/order_output.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/order_references.rb +0 -72
- data/lib/ingenico/connect/sdk/domain/payment/order_references_approve_payment.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/order_type_information.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/payment.rb +0 -62
- data/lib/ingenico/connect/sdk/domain/payment/payment_account_on_file.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/payment_approval_response.rb +0 -65
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_output.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/payment_creation_references.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/payment_error_response.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment/payment_output.rb +0 -137
- data/lib/ingenico/connect/sdk/domain/payment/payment_product3201_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/payment_product771_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/payment_product806_specific_output.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/payment_product836_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_customer_account.rb +0 -98
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_specific_output.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/payment/payment_product863_third_party_data.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/payment/payment_references.rb +0 -77
- data/lib/ingenico/connect/sdk/domain/payment/payment_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/payment_status_output.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/personal_identification.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/personal_information.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/payment/personal_name.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/protection_eligibility.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/redirect_data.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input.rb +0 -125
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input_base.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_output.rb +0 -105
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product4101_specific_input.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product4101_specific_input_base.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product809_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product816_specific_input.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product861_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product863_specific_input.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product869_specific_input.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product882_specific_input.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/redirection_data.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/payment/refund_bank_method_specific_output.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/refund_card_method_specific_output.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/refund_cash_method_specific_output.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/refund_e_invoice_method_specific_output.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/refund_e_wallet_method_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/refund_method_specific_output.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/refund_mobile_method_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/refund_output.rb +0 -96
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_customer_account.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/refund_payment_product840_specific_output.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/scheme_token_data.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/payment/sdk_data_input.rb +0 -79
- data/lib/ingenico/connect/sdk/domain/payment/sdk_data_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/seller.rb +0 -114
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input.rb +0 -86
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_input_base.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_method_specific_output.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_product771_specific_input.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/sepa_direct_debit_payment_product771_specific_input_base.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/payment/shipping.rb +0 -86
- data/lib/ingenico/connect/sdk/domain/payment/shopping_cart.rb +0 -82
- data/lib/ingenico/connect/sdk/domain/payment/third_party_data.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/payment/third_party_status_response.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_base.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_data.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payment/three_d_secure_results.rb +0 -127
- data/lib/ingenico/connect/sdk/domain/payment/tokenize_payment_request.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payment/trustly_bank_account.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payment.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/payout/abstract_payout_method_specific_input.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payout/approve_payout_request.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payout/bank_transfer_payout_method_specific_input.rb +0 -78
- data/lib/ingenico/connect/sdk/domain/payout/card_payout_method_specific_input.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/payout/create_payout_request.rb +0 -146
- data/lib/ingenico/connect/sdk/domain/payout/find_payouts_response.rb +0 -61
- data/lib/ingenico/connect/sdk/domain/payout/payout_customer.rb +0 -71
- data/lib/ingenico/connect/sdk/domain/payout/payout_details.rb +0 -55
- data/lib/ingenico/connect/sdk/domain/payout/payout_error_response.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/payout/payout_merchant.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/payout/payout_recipient.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payout/payout_references.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/payout/payout_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/payout/payout_result.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/payout.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/product/abstract_indicator.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/account_on_file.rb +0 -63
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_attribute.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/account_on_file_display_hints.rb +0 -47
- data/lib/ingenico/connect/sdk/domain/product/authentication_indicator.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/product/boleto_bancario_requiredness_validator.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/product/create_payment_product_session_request.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/product/create_payment_product_session_response.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/product/device_fingerprint_request.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/product/device_fingerprint_response.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/directory.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/product/directory_entry.rb +0 -60
- data/lib/ingenico/connect/sdk/domain/product/empty_validator.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/product/fixed_list_validator.rb +0 -39
- data/lib/ingenico/connect/sdk/domain/product/get_customer_details_request.rb +0 -47
- data/lib/ingenico/connect/sdk/domain/product/get_customer_details_response.rb +0 -98
- data/lib/ingenico/connect/sdk/domain/product/label_template_element.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/length_validator.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/mobile_payment_product_session302_specific_input.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/product/mobile_payment_product_session302_specific_output.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/product/payment_product.rb +0 -223
- data/lib/ingenico/connect/sdk/domain/product/payment_product302_specific_data.rb +0 -39
- data/lib/ingenico/connect/sdk/domain/product/payment_product320_specific_data.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/product/payment_product863_specific_data.rb +0 -39
- data/lib/ingenico/connect/sdk/domain/product/payment_product_display_hints.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field.rb +0 -67
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_data_restrictions.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_element.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_display_hints.rb +0 -102
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_form_element.rb +0 -47
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_tooltip.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/payment_product_field_validators.rb +0 -122
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group.rb +0 -82
- data/lib/ingenico/connect/sdk/domain/product/payment_product_group_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/product/payment_product_groups.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/product/payment_product_networks_response.rb +0 -39
- data/lib/ingenico/connect/sdk/domain/product/payment_product_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/product/payment_products.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/product/range_validator.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/product/regular_expression_validator.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/product/value_mapping_element.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/product.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/refund/approve_refund_request.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/refund/bank_account_bban_refund.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/refund/bank_refund_method_specific_input.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/refund/find_refunds_response.rb +0 -61
- data/lib/ingenico/connect/sdk/domain/refund/refund_customer.rb +0 -62
- data/lib/ingenico/connect/sdk/domain/refund/refund_error_response.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/refund/refund_references.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/refund/refund_request.rb +0 -71
- data/lib/ingenico/connect/sdk/domain/refund/refund_response.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/refund/refund_result.rb +0 -53
- data/lib/ingenico/connect/sdk/domain/refund/refunds_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/refund.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/riskassessments/contact_details_risk_assessment.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_account_risk_assessment.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_device_risk_assessment.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/riskassessments/customer_risk_assessment.rb +0 -105
- data/lib/ingenico/connect/sdk/domain/riskassessments/merchant_risk_assessment.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/riskassessments/order_risk_assessment.rb +0 -64
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_information_risk_assessment.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/riskassessments/personal_name_risk_assessment.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment.rb +0 -62
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_bank_account.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_card.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/riskassessments/risk_assessment_response.rb +0 -40
- data/lib/ingenico/connect/sdk/domain/riskassessments/shipping_risk_assessment.rb +0 -51
- data/lib/ingenico/connect/sdk/domain/riskassessments.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/services/bank_data.rb +0 -56
- data/lib/ingenico/connect/sdk/domain/services/bank_details.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/services/bank_details_request.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/services/bank_details_response.rb +0 -64
- data/lib/ingenico/connect/sdk/domain/services/convert_amount.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_request.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/services/get_iin_details_response.rb +0 -61
- data/lib/ingenico/connect/sdk/domain/services/get_privacy_policy_response.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/services/iin_detail.rb +0 -42
- data/lib/ingenico/connect/sdk/domain/services/payment_context.rb +0 -58
- data/lib/ingenico/connect/sdk/domain/services/swift.rb +0 -98
- data/lib/ingenico/connect/sdk/domain/services/test_connection.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/services.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/sessions/payment_product_filters_client_session.rb +0 -45
- data/lib/ingenico/connect/sdk/domain/sessions/session_request.rb +0 -48
- data/lib/ingenico/connect/sdk/domain/sessions/session_response.rb +0 -74
- data/lib/ingenico/connect/sdk/domain/sessions.rb +0 -5
- data/lib/ingenico/connect/sdk/domain/token/abstract_token.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/token/approve_token_request.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/token/contact_details_token.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/token/create_token_request.rb +0 -78
- data/lib/ingenico/connect/sdk/domain/token/create_token_response.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/token/creditor.rb +0 -105
- data/lib/ingenico/connect/sdk/domain/token/customer_token.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/customer_token_with_contact_details.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/token/debtor.rb +0 -105
- data/lib/ingenico/connect/sdk/domain/token/mandate_approval.rb +0 -49
- data/lib/ingenico/connect/sdk/domain/token/mandate_non_sepa_direct_debit.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_with_mandate_id.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/token/mandate_sepa_direct_debit_without_creditor.rb +0 -76
- data/lib/ingenico/connect/sdk/domain/token/personal_information_token.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/token/personal_name_token.rb +0 -18
- data/lib/ingenico/connect/sdk/domain/token/token_card.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/token_card_data.rb +0 -51
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/token_e_wallet_data.rb +0 -35
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product705_specific_data.rb +0 -44
- data/lib/ingenico/connect/sdk/domain/token/token_non_sepa_direct_debit_payment_product730_specific_data.rb +0 -37
- data/lib/ingenico/connect/sdk/domain/token/token_response.rb +0 -85
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/token_sepa_direct_debit_without_creditor.rb +0 -46
- data/lib/ingenico/connect/sdk/domain/token/update_token_request.rb +0 -71
- data/lib/ingenico/connect/sdk/domain/token.rb +0 -5
- data/lib/ingenico/connect/sdk/endpoint_configuration.rb +0 -136
- data/lib/ingenico/connect/sdk/exceptions.rb +0 -1
- data/lib/ingenico/connect/sdk/factory.rb +0 -213
- data/lib/ingenico/connect/sdk/global_collect_exception.rb +0 -20
- data/lib/ingenico/connect/sdk/idempotence_exception.rb +0 -28
- data/lib/ingenico/connect/sdk/logging/communicator_logger.rb +0 -26
- data/lib/ingenico/connect/sdk/logging/log_message_builder.rb +0 -88
- data/lib/ingenico/connect/sdk/logging/logging_capable.rb +0 -19
- data/lib/ingenico/connect/sdk/logging/logging_util.rb +0 -320
- data/lib/ingenico/connect/sdk/logging/obfuscation/body_obfuscator.rb +0 -102
- data/lib/ingenico/connect/sdk/logging/obfuscation/header_obfuscator.rb +0 -56
- data/lib/ingenico/connect/sdk/logging/obfuscation/obfuscation_capable.rb +0 -23
- data/lib/ingenico/connect/sdk/logging/obfuscation/obfuscation_rule.rb +0 -49
- data/lib/ingenico/connect/sdk/logging/request_log_message_builder.rb +0 -52
- data/lib/ingenico/connect/sdk/logging/response_log_message_builder.rb +0 -43
- data/lib/ingenico/connect/sdk/logging/ruby_communicator_logger.rb +0 -63
- data/lib/ingenico/connect/sdk/logging/stdout_communicator_logger.rb +0 -38
- data/lib/ingenico/connect/sdk/marshaller.rb +0 -27
- data/lib/ingenico/connect/sdk/marshaller_syntax_exception.rb +0 -9
- data/lib/ingenico/connect/sdk/merchant/captures/captures_client.rb +0 -93
- data/lib/ingenico/connect/sdk/merchant/captures.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/disputes/disputes_client.rb +0 -153
- data/lib/ingenico/connect/sdk/merchant/disputes/upload_file_request.rb +0 -30
- data/lib/ingenico/connect/sdk/merchant/disputes.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/files/files_client.rb +0 -58
- data/lib/ingenico/connect/sdk/merchant/files.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts/hostedcheckouts_client.rb +0 -116
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb +0 -87
- data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/installments/installments_client.rb +0 -56
- data/lib/ingenico/connect/sdk/merchant/installments.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/mandates/mandates_client.rb +0 -212
- data/lib/ingenico/connect/sdk/merchant/mandates.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/merchant_client.rb +0 -135
- data/lib/ingenico/connect/sdk/merchant/payments/find_payments_params.rb +0 -46
- data/lib/ingenico/connect/sdk/merchant/payments/payments_client.rb +0 -567
- data/lib/ingenico/connect/sdk/merchant/payments.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/payouts/find_payouts_params.rb +0 -42
- data/lib/ingenico/connect/sdk/merchant/payouts/payouts_client.rb +0 -208
- data/lib/ingenico/connect/sdk/merchant/payouts.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/productgroups/find_productgroups_params.rb +0 -65
- data/lib/ingenico/connect/sdk/merchant/productgroups/get_productgroup_params.rb +0 -65
- data/lib/ingenico/connect/sdk/merchant/productgroups/productgroups_client.rb +0 -120
- data/lib/ingenico/connect/sdk/merchant/productgroups.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/products/directory_params.rb +0 -34
- data/lib/ingenico/connect/sdk/merchant/products/find_products_params.rb +0 -65
- data/lib/ingenico/connect/sdk/merchant/products/get_product_params.rb +0 -69
- data/lib/ingenico/connect/sdk/merchant/products/networks_params.rb +0 -42
- data/lib/ingenico/connect/sdk/merchant/products/products_client.rb +0 -250
- data/lib/ingenico/connect/sdk/merchant/products.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/refunds/find_refunds_params.rb +0 -46
- data/lib/ingenico/connect/sdk/merchant/refunds/refunds_client.rb +0 -177
- data/lib/ingenico/connect/sdk/merchant/refunds.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/riskassessments/riskassessments_client.rb +0 -84
- data/lib/ingenico/connect/sdk/merchant/riskassessments.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/services/convert_amount_params.rb +0 -38
- data/lib/ingenico/connect/sdk/merchant/services/privacypolicy_params.rb +0 -34
- data/lib/ingenico/connect/sdk/merchant/services/services_client.rb +0 -168
- data/lib/ingenico/connect/sdk/merchant/services.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/sessions/sessions_client.rb +0 -56
- data/lib/ingenico/connect/sdk/merchant/sessions.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant/tokens/delete_token_params.rb +0 -30
- data/lib/ingenico/connect/sdk/merchant/tokens/tokens_client.rb +0 -179
- data/lib/ingenico/connect/sdk/merchant/tokens.rb +0 -5
- data/lib/ingenico/connect/sdk/merchant.rb +0 -5
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +0 -156
- data/lib/ingenico/connect/sdk/modules.rb +0 -187
- data/lib/ingenico/connect/sdk/multipart_form_data_object.rb +0 -47
- data/lib/ingenico/connect/sdk/multipart_form_data_request.rb +0 -13
- data/lib/ingenico/connect/sdk/not_found_exception.rb +0 -19
- data/lib/ingenico/connect/sdk/param_request.rb +0 -14
- data/lib/ingenico/connect/sdk/pooled_connection.rb +0 -26
- data/lib/ingenico/connect/sdk/proxy_configuration.rb +0 -76
- data/lib/ingenico/connect/sdk/reference_exception.rb +0 -19
- data/lib/ingenico/connect/sdk/request_header.rb +0 -64
- data/lib/ingenico/connect/sdk/request_param.rb +0 -28
- data/lib/ingenico/connect/sdk/response_exception.rb +0 -56
- data/lib/ingenico/connect/sdk/response_header.rb +0 -78
- data/lib/ingenico/connect/sdk/session.rb +0 -43
- data/lib/ingenico/connect/sdk/uploadable_file.rb +0 -33
- data/lib/ingenico/connect/sdk/validation_exception.rb +0 -19
- data/lib/ingenico/connect/sdk/webhooks/api_version_mismatch_exception.rb +0 -24
- data/lib/ingenico/connect/sdk/webhooks/in_memory_secret_key_store.rb +0 -61
- data/lib/ingenico/connect/sdk/webhooks/secret_key_not_available_exception.rb +0 -23
- data/lib/ingenico/connect/sdk/webhooks/secret_key_store.rb +0 -20
- data/lib/ingenico/connect/sdk/webhooks/signature_validation_exception.rb +0 -22
- data/lib/ingenico/connect/sdk/webhooks/signature_validator.rb +0 -83
- data/lib/ingenico/connect/sdk/webhooks/webhooks.rb +0 -26
- data/lib/ingenico/connect/sdk/webhooks/webhooks_event.rb +0 -69
- data/lib/ingenico/connect/sdk/webhooks/webhooks_helper.rb +0 -48
- data/lib/ingenico/connect/sdk/webhooks/webhooks_helper_builder.rb +0 -30
- data/spec/lib/defaultimpl/default_authenticator_spec.rb +0 -74
- data/spec/lib/defaultimpl/default_connection_idempotence_spec.rb +0 -141
- data/spec/lib/defaultimpl/default_connection_logger_spec.rb +0 -569
- data/spec/lib/defaultimpl/default_connection_spec.rb +0 -351
- data/spec/lib/defaultimpl/default_marshaller_spec.rb +0 -36
- data/spec/lib/logging/header_obfuscator_spec.rb +0 -51
- data/spec/lib/logging/legacy_logging_spec.rb +0 -178
- data/spec/lib/logging/logging_util_spec.rb +0 -150
- data/spec/lib/logging/obfuscator_spec.rb +0 -52
- data/spec/lib/logging/value_obfuscator_spec.rb +0 -107
- data/spec/lib/meta_data_provider_spec.rb +0 -93
- /data/lib/{ingenico → worldline}/connect/sdk/domain.rb +0 -0
- /data/lib/{ingenico → worldline}/connect/sdk/logging/obfuscation.rb +0 -0
- /data/lib/{ingenico → worldline}/connect/sdk/logging.rb +0 -0
- /data/lib/{ingenico → worldline}/connect/sdk/webhooks.rb +0 -0
- /data/lib/{ingenico → worldline}/connect/sdk.rb +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/convertAmount.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.failure.invalidCardNumber.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.failure.rejected.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/createPayment.unicode.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/idempotence_duplicate_failure.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/idempotence_rejected.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/idempotence_success.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/notFound.html +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/testConnection.json +0 -0
- /data/spec/fixtures/resources/{defaultimpl → communication}/unknownServerError.json +0 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
6
|
+
|
7
|
+
module Worldline
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module V1
|
11
|
+
module Domain
|
12
|
+
# @attr [String] merchant_reference
|
13
|
+
class OrderReferencesApprovePayment < Worldline::Connect::SDK::Domain::DataObject
|
14
|
+
|
15
|
+
attr_accessor :merchant_reference
|
16
|
+
|
17
|
+
# @return (Hash)
|
18
|
+
def to_h
|
19
|
+
hash = super
|
20
|
+
hash['merchantReference'] = @merchant_reference unless @merchant_reference.nil?
|
21
|
+
hash
|
22
|
+
end
|
23
|
+
|
24
|
+
def from_hash(hash)
|
25
|
+
super
|
26
|
+
if hash.has_key? 'merchantReference'
|
27
|
+
@merchant_reference = hash['merchantReference']
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/additional_order_input_airline_data'
|
7
|
+
require 'worldline/connect/sdk/v1/domain/amount_of_money'
|
8
|
+
require 'worldline/connect/sdk/v1/domain/customer_risk_assessment'
|
9
|
+
require 'worldline/connect/sdk/v1/domain/shipping_risk_assessment'
|
10
|
+
|
11
|
+
module Worldline
|
12
|
+
module Connect
|
13
|
+
module SDK
|
14
|
+
module V1
|
15
|
+
module Domain
|
16
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::AdditionalOrderInputAirlineData] additional_input
|
17
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::AmountOfMoney] amount_of_money
|
18
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::CustomerRiskAssessment] customer
|
19
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::ShippingRiskAssessment] shipping
|
20
|
+
class OrderRiskAssessment < Worldline::Connect::SDK::Domain::DataObject
|
21
|
+
|
22
|
+
attr_accessor :additional_input
|
23
|
+
|
24
|
+
attr_accessor :amount_of_money
|
25
|
+
|
26
|
+
attr_accessor :customer
|
27
|
+
|
28
|
+
attr_accessor :shipping
|
29
|
+
|
30
|
+
# @return (Hash)
|
31
|
+
def to_h
|
32
|
+
hash = super
|
33
|
+
hash['additionalInput'] = @additional_input.to_h unless @additional_input.nil?
|
34
|
+
hash['amountOfMoney'] = @amount_of_money.to_h unless @amount_of_money.nil?
|
35
|
+
hash['customer'] = @customer.to_h unless @customer.nil?
|
36
|
+
hash['shipping'] = @shipping.to_h unless @shipping.nil?
|
37
|
+
hash
|
38
|
+
end
|
39
|
+
|
40
|
+
def from_hash(hash)
|
41
|
+
super
|
42
|
+
if hash.has_key? 'additionalInput'
|
43
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['additionalInput']] unless hash['additionalInput'].is_a? Hash
|
44
|
+
@additional_input = Worldline::Connect::SDK::V1::Domain::AdditionalOrderInputAirlineData.new_from_hash(hash['additionalInput'])
|
45
|
+
end
|
46
|
+
if hash.has_key? 'amountOfMoney'
|
47
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['amountOfMoney']] unless hash['amountOfMoney'].is_a? Hash
|
48
|
+
@amount_of_money = Worldline::Connect::SDK::V1::Domain::AmountOfMoney.new_from_hash(hash['amountOfMoney'])
|
49
|
+
end
|
50
|
+
if hash.has_key? 'customer'
|
51
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['customer']] unless hash['customer'].is_a? Hash
|
52
|
+
@customer = Worldline::Connect::SDK::V1::Domain::CustomerRiskAssessment.new_from_hash(hash['customer'])
|
53
|
+
end
|
54
|
+
if hash.has_key? 'shipping'
|
55
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['shipping']] unless hash['shipping'].is_a? Hash
|
56
|
+
@shipping = Worldline::Connect::SDK::V1::Domain::ShippingRiskAssessment.new_from_hash(hash['shipping'])
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/api_error'
|
7
|
+
require 'worldline/connect/sdk/v1/domain/key_value_pair'
|
8
|
+
|
9
|
+
module Worldline
|
10
|
+
module Connect
|
11
|
+
module SDK
|
12
|
+
module V1
|
13
|
+
module Domain
|
14
|
+
# @attr [Array<Worldline::Connect::SDK::V1::Domain::APIError>] errors
|
15
|
+
# @attr [true/false] is_cancellable
|
16
|
+
# @attr [true/false] is_retriable
|
17
|
+
# @attr [Array<Worldline::Connect::SDK::V1::Domain::KeyValuePair>] provider_raw_output
|
18
|
+
# @attr [String] status_category
|
19
|
+
# @attr [Integer] status_code
|
20
|
+
# @attr [String] status_code_change_date_time
|
21
|
+
class OrderStatusOutput < Worldline::Connect::SDK::Domain::DataObject
|
22
|
+
|
23
|
+
attr_accessor :errors
|
24
|
+
|
25
|
+
attr_accessor :is_cancellable
|
26
|
+
|
27
|
+
attr_accessor :is_retriable
|
28
|
+
|
29
|
+
attr_accessor :provider_raw_output
|
30
|
+
|
31
|
+
attr_accessor :status_category
|
32
|
+
|
33
|
+
attr_accessor :status_code
|
34
|
+
|
35
|
+
attr_accessor :status_code_change_date_time
|
36
|
+
|
37
|
+
# @return (Hash)
|
38
|
+
def to_h
|
39
|
+
hash = super
|
40
|
+
hash['errors'] = @errors.collect{|val| val.to_h} unless @errors.nil?
|
41
|
+
hash['isCancellable'] = @is_cancellable unless @is_cancellable.nil?
|
42
|
+
hash['isRetriable'] = @is_retriable unless @is_retriable.nil?
|
43
|
+
hash['providerRawOutput'] = @provider_raw_output.collect{|val| val.to_h} unless @provider_raw_output.nil?
|
44
|
+
hash['statusCategory'] = @status_category unless @status_category.nil?
|
45
|
+
hash['statusCode'] = @status_code unless @status_code.nil?
|
46
|
+
hash['statusCodeChangeDateTime'] = @status_code_change_date_time unless @status_code_change_date_time.nil?
|
47
|
+
hash
|
48
|
+
end
|
49
|
+
|
50
|
+
def from_hash(hash)
|
51
|
+
super
|
52
|
+
if hash.has_key? 'errors'
|
53
|
+
raise TypeError, "value '%s' is not an Array" % [hash['errors']] unless hash['errors'].is_a? Array
|
54
|
+
@errors = []
|
55
|
+
hash['errors'].each do |e|
|
56
|
+
@errors << Worldline::Connect::SDK::V1::Domain::APIError.new_from_hash(e)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
if hash.has_key? 'isCancellable'
|
60
|
+
@is_cancellable = hash['isCancellable']
|
61
|
+
end
|
62
|
+
if hash.has_key? 'isRetriable'
|
63
|
+
@is_retriable = hash['isRetriable']
|
64
|
+
end
|
65
|
+
if hash.has_key? 'providerRawOutput'
|
66
|
+
raise TypeError, "value '%s' is not an Array" % [hash['providerRawOutput']] unless hash['providerRawOutput'].is_a? Array
|
67
|
+
@provider_raw_output = []
|
68
|
+
hash['providerRawOutput'].each do |e|
|
69
|
+
@provider_raw_output << Worldline::Connect::SDK::V1::Domain::KeyValuePair.new_from_hash(e)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
if hash.has_key? 'statusCategory'
|
73
|
+
@status_category = hash['statusCategory']
|
74
|
+
end
|
75
|
+
if hash.has_key? 'statusCode'
|
76
|
+
@status_code = hash['statusCode']
|
77
|
+
end
|
78
|
+
if hash.has_key? 'statusCodeChangeDateTime'
|
79
|
+
@status_code_change_date_time = hash['statusCodeChangeDateTime']
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
6
|
+
|
7
|
+
module Worldline
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module V1
|
11
|
+
module Domain
|
12
|
+
# @attr [String] funding_type
|
13
|
+
# @attr [String] purchase_type
|
14
|
+
# @attr [String] transaction_type
|
15
|
+
# @attr [String] usage_type
|
16
|
+
class OrderTypeInformation < Worldline::Connect::SDK::Domain::DataObject
|
17
|
+
|
18
|
+
attr_accessor :funding_type
|
19
|
+
|
20
|
+
attr_accessor :purchase_type
|
21
|
+
|
22
|
+
attr_accessor :transaction_type
|
23
|
+
|
24
|
+
attr_accessor :usage_type
|
25
|
+
|
26
|
+
# @return (Hash)
|
27
|
+
def to_h
|
28
|
+
hash = super
|
29
|
+
hash['fundingType'] = @funding_type unless @funding_type.nil?
|
30
|
+
hash['purchaseType'] = @purchase_type unless @purchase_type.nil?
|
31
|
+
hash['transactionType'] = @transaction_type unless @transaction_type.nil?
|
32
|
+
hash['usageType'] = @usage_type unless @usage_type.nil?
|
33
|
+
hash
|
34
|
+
end
|
35
|
+
|
36
|
+
def from_hash(hash)
|
37
|
+
super
|
38
|
+
if hash.has_key? 'fundingType'
|
39
|
+
@funding_type = hash['fundingType']
|
40
|
+
end
|
41
|
+
if hash.has_key? 'purchaseType'
|
42
|
+
@purchase_type = hash['purchaseType']
|
43
|
+
end
|
44
|
+
if hash.has_key? 'transactionType'
|
45
|
+
@transaction_type = hash['transactionType']
|
46
|
+
end
|
47
|
+
if hash.has_key? 'usageType'
|
48
|
+
@usage_type = hash['usageType']
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/v1/domain/abstract_order_status'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/hosted_checkout_specific_output'
|
7
|
+
require 'worldline/connect/sdk/v1/domain/payment_output'
|
8
|
+
require 'worldline/connect/sdk/v1/domain/payment_status_output'
|
9
|
+
|
10
|
+
module Worldline
|
11
|
+
module Connect
|
12
|
+
module SDK
|
13
|
+
module V1
|
14
|
+
module Domain
|
15
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::HostedCheckoutSpecificOutput] hosted_checkout_specific_output
|
16
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::PaymentOutput] payment_output
|
17
|
+
# @attr [String] status
|
18
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::PaymentStatusOutput] status_output
|
19
|
+
class Payment < Worldline::Connect::SDK::V1::Domain::AbstractOrderStatus
|
20
|
+
|
21
|
+
attr_accessor :hosted_checkout_specific_output
|
22
|
+
|
23
|
+
attr_accessor :payment_output
|
24
|
+
|
25
|
+
attr_accessor :status
|
26
|
+
|
27
|
+
attr_accessor :status_output
|
28
|
+
|
29
|
+
# @return (Hash)
|
30
|
+
def to_h
|
31
|
+
hash = super
|
32
|
+
hash['hostedCheckoutSpecificOutput'] = @hosted_checkout_specific_output.to_h unless @hosted_checkout_specific_output.nil?
|
33
|
+
hash['paymentOutput'] = @payment_output.to_h unless @payment_output.nil?
|
34
|
+
hash['status'] = @status unless @status.nil?
|
35
|
+
hash['statusOutput'] = @status_output.to_h unless @status_output.nil?
|
36
|
+
hash
|
37
|
+
end
|
38
|
+
|
39
|
+
def from_hash(hash)
|
40
|
+
super
|
41
|
+
if hash.has_key? 'hostedCheckoutSpecificOutput'
|
42
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['hostedCheckoutSpecificOutput']] unless hash['hostedCheckoutSpecificOutput'].is_a? Hash
|
43
|
+
@hosted_checkout_specific_output = Worldline::Connect::SDK::V1::Domain::HostedCheckoutSpecificOutput.new_from_hash(hash['hostedCheckoutSpecificOutput'])
|
44
|
+
end
|
45
|
+
if hash.has_key? 'paymentOutput'
|
46
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentOutput']] unless hash['paymentOutput'].is_a? Hash
|
47
|
+
@payment_output = Worldline::Connect::SDK::V1::Domain::PaymentOutput.new_from_hash(hash['paymentOutput'])
|
48
|
+
end
|
49
|
+
if hash.has_key? 'status'
|
50
|
+
@status = hash['status']
|
51
|
+
end
|
52
|
+
if hash.has_key? 'statusOutput'
|
53
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['statusOutput']] unless hash['statusOutput'].is_a? Hash
|
54
|
+
@status_output = Worldline::Connect::SDK::V1::Domain::PaymentStatusOutput.new_from_hash(hash['statusOutput'])
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
6
|
+
|
7
|
+
module Worldline
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module V1
|
11
|
+
module Domain
|
12
|
+
# @attr [String] create_date
|
13
|
+
# @attr [Integer] number_of_card_on_file_creation_attempts_last24_hours
|
14
|
+
class PaymentAccountOnFile < Worldline::Connect::SDK::Domain::DataObject
|
15
|
+
|
16
|
+
attr_accessor :create_date
|
17
|
+
|
18
|
+
attr_accessor :number_of_card_on_file_creation_attempts_last24_hours
|
19
|
+
|
20
|
+
# @return (Hash)
|
21
|
+
def to_h
|
22
|
+
hash = super
|
23
|
+
hash['createDate'] = @create_date unless @create_date.nil?
|
24
|
+
hash['numberOfCardOnFileCreationAttemptsLast24Hours'] = @number_of_card_on_file_creation_attempts_last24_hours unless @number_of_card_on_file_creation_attempts_last24_hours.nil?
|
25
|
+
hash
|
26
|
+
end
|
27
|
+
|
28
|
+
def from_hash(hash)
|
29
|
+
super
|
30
|
+
if hash.has_key? 'createDate'
|
31
|
+
@create_date = hash['createDate']
|
32
|
+
end
|
33
|
+
if hash.has_key? 'numberOfCardOnFileCreationAttemptsLast24Hours'
|
34
|
+
@number_of_card_on_file_creation_attempts_last24_hours = hash['numberOfCardOnFileCreationAttemptsLast24Hours']
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/approve_payment_card_payment_method_specific_output'
|
7
|
+
require 'worldline/connect/sdk/v1/domain/approve_payment_mobile_payment_method_specific_output'
|
8
|
+
require 'worldline/connect/sdk/v1/domain/payment'
|
9
|
+
|
10
|
+
module Worldline
|
11
|
+
module Connect
|
12
|
+
module SDK
|
13
|
+
module V1
|
14
|
+
module Domain
|
15
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::ApprovePaymentCardPaymentMethodSpecificOutput] card_payment_method_specific_output
|
16
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::ApprovePaymentMobilePaymentMethodSpecificOutput] mobile_payment_method_specific_output
|
17
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::Payment] payment
|
18
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::ApprovePaymentCardPaymentMethodSpecificOutput] payment_method_specific_output
|
19
|
+
class PaymentApprovalResponse < Worldline::Connect::SDK::Domain::DataObject
|
20
|
+
|
21
|
+
attr_accessor :card_payment_method_specific_output
|
22
|
+
|
23
|
+
attr_accessor :mobile_payment_method_specific_output
|
24
|
+
|
25
|
+
attr_accessor :payment
|
26
|
+
|
27
|
+
#
|
28
|
+
# @deprecated Use cardPaymentMethodSpecificOutput instead
|
29
|
+
attr_accessor :payment_method_specific_output
|
30
|
+
|
31
|
+
# @return (Hash)
|
32
|
+
def to_h
|
33
|
+
hash = super
|
34
|
+
hash['cardPaymentMethodSpecificOutput'] = @card_payment_method_specific_output.to_h unless @card_payment_method_specific_output.nil?
|
35
|
+
hash['mobilePaymentMethodSpecificOutput'] = @mobile_payment_method_specific_output.to_h unless @mobile_payment_method_specific_output.nil?
|
36
|
+
hash['payment'] = @payment.to_h unless @payment.nil?
|
37
|
+
hash['paymentMethodSpecificOutput'] = @payment_method_specific_output.to_h unless @payment_method_specific_output.nil?
|
38
|
+
hash
|
39
|
+
end
|
40
|
+
|
41
|
+
def from_hash(hash)
|
42
|
+
super
|
43
|
+
if hash.has_key? 'cardPaymentMethodSpecificOutput'
|
44
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['cardPaymentMethodSpecificOutput']] unless hash['cardPaymentMethodSpecificOutput'].is_a? Hash
|
45
|
+
@card_payment_method_specific_output = Worldline::Connect::SDK::V1::Domain::ApprovePaymentCardPaymentMethodSpecificOutput.new_from_hash(hash['cardPaymentMethodSpecificOutput'])
|
46
|
+
end
|
47
|
+
if hash.has_key? 'mobilePaymentMethodSpecificOutput'
|
48
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['mobilePaymentMethodSpecificOutput']] unless hash['mobilePaymentMethodSpecificOutput'].is_a? Hash
|
49
|
+
@mobile_payment_method_specific_output = Worldline::Connect::SDK::V1::Domain::ApprovePaymentMobilePaymentMethodSpecificOutput.new_from_hash(hash['mobilePaymentMethodSpecificOutput'])
|
50
|
+
end
|
51
|
+
if hash.has_key? 'payment'
|
52
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['payment']] unless hash['payment'].is_a? Hash
|
53
|
+
@payment = Worldline::Connect::SDK::V1::Domain::Payment.new_from_hash(hash['payment'])
|
54
|
+
end
|
55
|
+
if hash.has_key? 'paymentMethodSpecificOutput'
|
56
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentMethodSpecificOutput']] unless hash['paymentMethodSpecificOutput'].is_a? Hash
|
57
|
+
@payment_method_specific_output = Worldline::Connect::SDK::V1::Domain::ApprovePaymentCardPaymentMethodSpecificOutput.new_from_hash(hash['paymentMethodSpecificOutput'])
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/amount_of_money'
|
7
|
+
|
8
|
+
module Worldline
|
9
|
+
module Connect
|
10
|
+
module SDK
|
11
|
+
module V1
|
12
|
+
module Domain
|
13
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::AmountOfMoney] amount_of_money
|
14
|
+
# @attr [String] country_code
|
15
|
+
# @attr [true/false] is_installments
|
16
|
+
# @attr [true/false] is_recurring
|
17
|
+
class PaymentContext < Worldline::Connect::SDK::Domain::DataObject
|
18
|
+
|
19
|
+
attr_accessor :amount_of_money
|
20
|
+
|
21
|
+
attr_accessor :country_code
|
22
|
+
|
23
|
+
attr_accessor :is_installments
|
24
|
+
|
25
|
+
attr_accessor :is_recurring
|
26
|
+
|
27
|
+
# @return (Hash)
|
28
|
+
def to_h
|
29
|
+
hash = super
|
30
|
+
hash['amountOfMoney'] = @amount_of_money.to_h unless @amount_of_money.nil?
|
31
|
+
hash['countryCode'] = @country_code unless @country_code.nil?
|
32
|
+
hash['isInstallments'] = @is_installments unless @is_installments.nil?
|
33
|
+
hash['isRecurring'] = @is_recurring unless @is_recurring.nil?
|
34
|
+
hash
|
35
|
+
end
|
36
|
+
|
37
|
+
def from_hash(hash)
|
38
|
+
super
|
39
|
+
if hash.has_key? 'amountOfMoney'
|
40
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['amountOfMoney']] unless hash['amountOfMoney'].is_a? Hash
|
41
|
+
@amount_of_money = Worldline::Connect::SDK::V1::Domain::AmountOfMoney.new_from_hash(hash['amountOfMoney'])
|
42
|
+
end
|
43
|
+
if hash.has_key? 'countryCode'
|
44
|
+
@country_code = hash['countryCode']
|
45
|
+
end
|
46
|
+
if hash.has_key? 'isInstallments'
|
47
|
+
@is_installments = hash['isInstallments']
|
48
|
+
end
|
49
|
+
if hash.has_key? 'isRecurring'
|
50
|
+
@is_recurring = hash['isRecurring']
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/v1/domain/payment_creation_references'
|
6
|
+
|
7
|
+
module Worldline
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module V1
|
11
|
+
module Domain
|
12
|
+
# @attr [true/false] is_checked_remember_me
|
13
|
+
# @attr [true/false] is_new_token
|
14
|
+
# @attr [String] token
|
15
|
+
# @attr [true/false] tokenization_succeeded
|
16
|
+
class PaymentCreationOutput < Worldline::Connect::SDK::V1::Domain::PaymentCreationReferences
|
17
|
+
|
18
|
+
attr_accessor :is_checked_remember_me
|
19
|
+
|
20
|
+
attr_accessor :is_new_token
|
21
|
+
|
22
|
+
attr_accessor :token
|
23
|
+
|
24
|
+
attr_accessor :tokenization_succeeded
|
25
|
+
|
26
|
+
# @return (Hash)
|
27
|
+
def to_h
|
28
|
+
hash = super
|
29
|
+
hash['isCheckedRememberMe'] = @is_checked_remember_me unless @is_checked_remember_me.nil?
|
30
|
+
hash['isNewToken'] = @is_new_token unless @is_new_token.nil?
|
31
|
+
hash['token'] = @token unless @token.nil?
|
32
|
+
hash['tokenizationSucceeded'] = @tokenization_succeeded unless @tokenization_succeeded.nil?
|
33
|
+
hash
|
34
|
+
end
|
35
|
+
|
36
|
+
def from_hash(hash)
|
37
|
+
super
|
38
|
+
if hash.has_key? 'isCheckedRememberMe'
|
39
|
+
@is_checked_remember_me = hash['isCheckedRememberMe']
|
40
|
+
end
|
41
|
+
if hash.has_key? 'isNewToken'
|
42
|
+
@is_new_token = hash['isNewToken']
|
43
|
+
end
|
44
|
+
if hash.has_key? 'token'
|
45
|
+
@token = hash['token']
|
46
|
+
end
|
47
|
+
if hash.has_key? 'tokenizationSucceeded'
|
48
|
+
@tokenization_succeeded = hash['tokenizationSucceeded']
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
6
|
+
|
7
|
+
module Worldline
|
8
|
+
module Connect
|
9
|
+
module SDK
|
10
|
+
module V1
|
11
|
+
module Domain
|
12
|
+
# @attr [String] additional_reference
|
13
|
+
# @attr [String] external_reference
|
14
|
+
class PaymentCreationReferences < Worldline::Connect::SDK::Domain::DataObject
|
15
|
+
|
16
|
+
attr_accessor :additional_reference
|
17
|
+
|
18
|
+
attr_accessor :external_reference
|
19
|
+
|
20
|
+
# @return (Hash)
|
21
|
+
def to_h
|
22
|
+
hash = super
|
23
|
+
hash['additionalReference'] = @additional_reference unless @additional_reference.nil?
|
24
|
+
hash['externalReference'] = @external_reference unless @external_reference.nil?
|
25
|
+
hash
|
26
|
+
end
|
27
|
+
|
28
|
+
def from_hash(hash)
|
29
|
+
super
|
30
|
+
if hash.has_key? 'additionalReference'
|
31
|
+
@additional_reference = hash['additionalReference']
|
32
|
+
end
|
33
|
+
if hash.has_key? 'externalReference'
|
34
|
+
@external_reference = hash['externalReference']
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://apireference.connect.worldline-solutions.com/
|
4
|
+
#
|
5
|
+
require 'worldline/connect/sdk/domain/data_object'
|
6
|
+
require 'worldline/connect/sdk/v1/domain/api_error'
|
7
|
+
require 'worldline/connect/sdk/v1/domain/create_payment_result'
|
8
|
+
|
9
|
+
module Worldline
|
10
|
+
module Connect
|
11
|
+
module SDK
|
12
|
+
module V1
|
13
|
+
module Domain
|
14
|
+
# @attr [String] error_id
|
15
|
+
# @attr [Array<Worldline::Connect::SDK::V1::Domain::APIError>] errors
|
16
|
+
# @attr [Worldline::Connect::SDK::V1::Domain::CreatePaymentResult] payment_result
|
17
|
+
class PaymentErrorResponse < Worldline::Connect::SDK::Domain::DataObject
|
18
|
+
|
19
|
+
attr_accessor :error_id
|
20
|
+
|
21
|
+
attr_accessor :errors
|
22
|
+
|
23
|
+
attr_accessor :payment_result
|
24
|
+
|
25
|
+
# @return (Hash)
|
26
|
+
def to_h
|
27
|
+
hash = super
|
28
|
+
hash['errorId'] = @error_id unless @error_id.nil?
|
29
|
+
hash['errors'] = @errors.collect{|val| val.to_h} unless @errors.nil?
|
30
|
+
hash['paymentResult'] = @payment_result.to_h unless @payment_result.nil?
|
31
|
+
hash
|
32
|
+
end
|
33
|
+
|
34
|
+
def from_hash(hash)
|
35
|
+
super
|
36
|
+
if hash.has_key? 'errorId'
|
37
|
+
@error_id = hash['errorId']
|
38
|
+
end
|
39
|
+
if hash.has_key? 'errors'
|
40
|
+
raise TypeError, "value '%s' is not an Array" % [hash['errors']] unless hash['errors'].is_a? Array
|
41
|
+
@errors = []
|
42
|
+
hash['errors'].each do |e|
|
43
|
+
@errors << Worldline::Connect::SDK::V1::Domain::APIError.new_from_hash(e)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
if hash.has_key? 'paymentResult'
|
47
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentResult']] unless hash['paymentResult'].is_a? Hash
|
48
|
+
@payment_result = Worldline::Connect::SDK::V1::Domain::CreatePaymentResult.new_from_hash(hash['paymentResult'])
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|