Module: Worldline::Connect::SDK::V1

Defined in:
lib/worldline/connect/sdk/v1/v1_client.rb,
lib/worldline/connect/sdk/v1/domain/card.rb,
lib/worldline/connect/sdk/v1/domain/order.rb,
lib/worldline/connect/sdk/v1/domain/swift.rb,
lib/worldline/connect/sdk/v1/api_exception.rb,
lib/worldline/connect/sdk/v1/domain/debtor.rb,
lib/worldline/connect/sdk/v1/domain/seller.rb,
lib/worldline/connect/sdk/v1/domain/address.rb,
lib/worldline/connect/sdk/v1/domain/capture.rb,
lib/worldline/connect/sdk/v1/domain/dispute.rb,
lib/worldline/connect/sdk/v1/domain/in_auth.rb,
lib/worldline/connect/sdk/v1/domain/payment.rb,
lib/worldline/connect/sdk/v1/domain/afr_name.rb,
lib/worldline/connect/sdk/v1/domain/creditor.rb,
lib/worldline/connect/sdk/v1/domain/customer.rb,
lib/worldline/connect/sdk/v1/domain/merchant.rb,
lib/worldline/connect/sdk/v1/domain/shipping.rb,
lib/worldline/connect/sdk/v1/domain/api_error.rb,
lib/worldline/connect/sdk/v1/domain/bank_data.rb,
lib/worldline/connect/sdk/v1/domain/directory.rb,
lib/worldline/connect/sdk/v1/domain/frequency.rb,
lib/worldline/connect/sdk/v1/domain/line_item.rb,
lib/worldline/connect/sdk/v1/domain/iin_detail.rb,
lib/worldline/connect/sdk/v1/domain/token_card.rb,
lib/worldline/connect/sdk/v1/exception_factory.rb,
lib/worldline/connect/sdk/v1/domain/hosted_file.rb,
lib/worldline/connect/sdk/v1/platform_exception.rb,
lib/worldline/connect/sdk/v1/domain/airline_data.rb,
lib/worldline/connect/sdk/v1/domain/bank_account.rb,
lib/worldline/connect/sdk/v1/domain/bank_details.rb,
lib/worldline/connect/sdk/v1/domain/browser_data.rb,
lib/worldline/connect/sdk/v1/domain/fraud_fields.rb,
lib/worldline/connect/sdk/v1/domain/installments.rb,
lib/worldline/connect/sdk/v1/domain/lodging_data.rb,
lib/worldline/connect/sdk/v1/domain/lodging_room.rb,
lib/worldline/connect/sdk/v1/domain/order_output.rb,
lib/worldline/connect/sdk/v1/domain/trial_period.rb,
lib/worldline/connect/sdk/v1/reference_exception.rb,
lib/worldline/connect/sdk/v1/domain/customer_base.rb,
lib/worldline/connect/sdk/v1/domain/fraud_results.rb,
lib/worldline/connect/sdk/v1/domain/payout_result.rb,
lib/worldline/connect/sdk/v1/domain/personal_name.rb,
lib/worldline/connect/sdk/v1/domain/redirect_data.rb,
lib/worldline/connect/sdk/v1/domain/refund_output.rb,
lib/worldline/connect/sdk/v1/domain/refund_result.rb,
lib/worldline/connect/sdk/v1/domain/shopping_cart.rb,
lib/worldline/connect/sdk/v1/validation_exception.rb,
lib/worldline/connect/sdk/v1/domain/abstract_token.rb,
lib/worldline/connect/sdk/v1/domain/capture_output.rb,
lib/worldline/connect/sdk/v1/domain/convert_amount.rb,
lib/worldline/connect/sdk/v1/domain/customer_token.rb,
lib/worldline/connect/sdk/v1/domain/displayed_data.rb,
lib/worldline/connect/sdk/v1/domain/dispute_output.rb,
lib/worldline/connect/sdk/v1/domain/error_response.rb,
lib/worldline/connect/sdk/v1/domain/key_value_pair.rb,
lib/worldline/connect/sdk/v1/domain/loan_recipient.rb,
lib/worldline/connect/sdk/v1/domain/lodging_charge.rb,
lib/worldline/connect/sdk/v1/domain/payment_output.rb,
lib/worldline/connect/sdk/v1/domain/payout_details.rb,
lib/worldline/connect/sdk/v1/domain/refund_request.rb,
lib/worldline/connect/sdk/v1/domain/sdk_data_input.rb,
lib/worldline/connect/sdk/v1/domain/three_d_secure.rb,
lib/worldline/connect/sdk/v1/domain/token_e_wallet.rb,
lib/worldline/connect/sdk/v1/domain/token_response.rb,
lib/worldline/connect/sdk/v1/domain/webhooks_event.rb,
lib/worldline/connect/sdk/v1/idempotence_exception.rb,
lib/worldline/connect/sdk/v1/domain/account_on_file.rb,
lib/worldline/connect/sdk/v1/domain/amount_of_money.rb,
lib/worldline/connect/sdk/v1/domain/card_essentials.rb,
lib/worldline/connect/sdk/v1/domain/contact_details.rb,
lib/worldline/connect/sdk/v1/domain/customer_device.rb,
lib/worldline/connect/sdk/v1/domain/directory_entry.rb,
lib/worldline/connect/sdk/v1/domain/empty_validator.rb,
lib/worldline/connect/sdk/v1/domain/mandate_address.rb,
lib/worldline/connect/sdk/v1/domain/merchant_action.rb,
lib/worldline/connect/sdk/v1/domain/payment_context.rb,
lib/worldline/connect/sdk/v1/domain/payment_product.rb,
lib/worldline/connect/sdk/v1/domain/payout_customer.rb,
lib/worldline/connect/sdk/v1/domain/payout_merchant.rb,
lib/worldline/connect/sdk/v1/domain/payout_response.rb,
lib/worldline/connect/sdk/v1/domain/range_validator.rb,
lib/worldline/connect/sdk/v1/domain/refund_customer.rb,
lib/worldline/connect/sdk/v1/domain/refund_response.rb,
lib/worldline/connect/sdk/v1/domain/risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/sdk_data_output.rb,
lib/worldline/connect/sdk/v1/domain/session_request.rb,
lib/worldline/connect/sdk/v1/domain/test_connection.rb,
lib/worldline/connect/sdk/v1/domain/token_card_data.rb,
lib/worldline/connect/sdk/v1/authorization_exception.rb,
lib/worldline/connect/sdk/v1/domain/address_personal.rb,
lib/worldline/connect/sdk/v1/domain/amount_breakdown.rb,
lib/worldline/connect/sdk/v1/domain/capture_response.rb,
lib/worldline/connect/sdk/v1/domain/card_without_cvv.rb,
lib/worldline/connect/sdk/v1/domain/customer_account.rb,
lib/worldline/connect/sdk/v1/domain/dispute_response.rb,
lib/worldline/connect/sdk/v1/domain/exemption_output.rb,
lib/worldline/connect/sdk/v1/domain/length_validator.rb,
lib/worldline/connect/sdk/v1/domain/mandate_approval.rb,
lib/worldline/connect/sdk/v1/domain/mandate_customer.rb,
lib/worldline/connect/sdk/v1/domain/mandate_response.rb,
lib/worldline/connect/sdk/v1/domain/order_references.rb,
lib/worldline/connect/sdk/v1/domain/payment_products.rb,
lib/worldline/connect/sdk/v1/domain/payment_response.rb,
lib/worldline/connect/sdk/v1/domain/payout_recipient.rb,
lib/worldline/connect/sdk/v1/domain/redirection_data.rb,
lib/worldline/connect/sdk/v1/domain/refunds_response.rb,
lib/worldline/connect/sdk/v1/domain/session_response.rb,
lib/worldline/connect/sdk/v1/domain/third_party_data.rb,
lib/worldline/connect/sdk/v1/domain/airline_passenger.rb,
lib/worldline/connect/sdk/v1/domain/bank_account_bban.rb,
lib/worldline/connect/sdk/v1/domain/bank_account_iban.rb,
lib/worldline/connect/sdk/v1/domain/captures_response.rb,
lib/worldline/connect/sdk/v1/domain/dispute_reference.rb,
lib/worldline/connect/sdk/v1/domain/disputes_response.rb,
lib/worldline/connect/sdk/v1/domain/fraugster_results.rb,
lib/worldline/connect/sdk/v1/domain/payout_references.rb,
lib/worldline/connect/sdk/v1/domain/refund_references.rb,
lib/worldline/connect/sdk/v1/domain/scheme_token_data.rb,
lib/worldline/connect/sdk/v1/domain/trial_information.rb,
lib/worldline/connect/sdk/v1/merchant/merchant_client.rb,
lib/worldline/connect/sdk/v1/webhooks/webhooks_helper.rb,
lib/worldline/connect/sdk/v1/declined_payout_exception.rb,
lib/worldline/connect/sdk/v1/declined_refund_exception.rb,
lib/worldline/connect/sdk/v1/domain/abstract_indicator.rb,
lib/worldline/connect/sdk/v1/domain/airline_flight_leg.rb,
lib/worldline/connect/sdk/v1/domain/card_fraud_results.rb,
lib/worldline/connect/sdk/v1/domain/gift_card_purchase.rb,
lib/worldline/connect/sdk/v1/domain/order_invoice_data.rb,
lib/worldline/connect/sdk/v1/domain/order_line_details.rb,
lib/worldline/connect/sdk/v1/domain/payment_references.rb,
lib/worldline/connect/sdk/v1/domain/personal_name_base.rb,
lib/worldline/connect/sdk/v1/domain/redirect_data_base.rb,
lib/worldline/connect/sdk/v1/declined_payment_exception.rb,
lib/worldline/connect/sdk/v1/domain/company_information.rb,
lib/worldline/connect/sdk/v1/domain/create_mandate_base.rb,
lib/worldline/connect/sdk/v1/domain/hosted_mandate_info.rb,
lib/worldline/connect/sdk/v1/domain/installment_options.rb,
lib/worldline/connect/sdk/v1/domain/level3_summary_data.rb,
lib/worldline/connect/sdk/v1/domain/mobile_payment_data.rb,
lib/worldline/connect/sdk/v1/domain/order_status_output.rb,
lib/worldline/connect/sdk/v1/domain/personal_name_token.rb,
lib/worldline/connect/sdk/v1/domain/three_d_secure_base.rb,
lib/worldline/connect/sdk/v1/domain/three_d_secure_data.rb,
lib/worldline/connect/sdk/v1/domain/token_e_wallet_data.rb,
lib/worldline/connect/sdk/v1/domain/bank_details_request.rb,
lib/worldline/connect/sdk/v1/domain/contact_details_base.rb,
lib/worldline/connect/sdk/v1/domain/create_token_request.rb,
lib/worldline/connect/sdk/v1/domain/fixed_list_validator.rb,
lib/worldline/connect/sdk/v1/domain/g_pay_three_d_secure.rb,
lib/worldline/connect/sdk/v1/domain/get_mandate_response.rb,
lib/worldline/connect/sdk/v1/domain/personal_information.rb,
lib/worldline/connect/sdk/v1/domain/risk_assessment_card.rb,
lib/worldline/connect/sdk/v1/domain/trustly_bank_account.rb,
lib/worldline/connect/sdk/v1/domain/update_token_request.rb,
lib/worldline/connect/sdk/v1/merchant/files/files_client.rb,
lib/worldline/connect/sdk/v1/domain/abstract_order_status.rb,
lib/worldline/connect/sdk/v1/domain/approve_token_request.rb,
lib/worldline/connect/sdk/v1/domain/bank_details_response.rb,
lib/worldline/connect/sdk/v1/domain/capture_status_output.rb,
lib/worldline/connect/sdk/v1/domain/contact_details_token.rb,
lib/worldline/connect/sdk/v1/domain/create_payment_result.rb,
lib/worldline/connect/sdk/v1/domain/create_payout_request.rb,
lib/worldline/connect/sdk/v1/domain/create_token_response.rb,
lib/worldline/connect/sdk/v1/domain/device_render_options.rb,
lib/worldline/connect/sdk/v1/domain/dispute_status_output.rb,
lib/worldline/connect/sdk/v1/domain/find_payouts_response.rb,
lib/worldline/connect/sdk/v1/domain/find_refunds_response.rb,
lib/worldline/connect/sdk/v1/domain/mandate_personal_name.rb,
lib/worldline/connect/sdk/v1/domain/mandate_redirect_data.rb,
lib/worldline/connect/sdk/v1/domain/order_approve_payment.rb,
lib/worldline/connect/sdk/v1/domain/order_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_field.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_group.rb,
lib/worldline/connect/sdk/v1/domain/payment_status_output.rb,
lib/worldline/connect/sdk/v1/domain/payout_error_response.rb,
lib/worldline/connect/sdk/v1/domain/refund_error_response.rb,
lib/worldline/connect/sdk/v1/domain/value_mapping_element.rb,
lib/worldline/connect/sdk/v1/webhooks/v1_webhooks_factory.rb,
lib/worldline/connect/sdk/v1/domain/additional_order_input.rb,
lib/worldline/connect/sdk/v1/domain/approve_payout_request.rb,
lib/worldline/connect/sdk/v1/domain/approve_refund_request.rb,
lib/worldline/connect/sdk/v1/domain/create_dispute_request.rb,
lib/worldline/connect/sdk/v1/domain/create_mandate_request.rb,
lib/worldline/connect/sdk/v1/domain/create_payment_request.rb,
lib/worldline/connect/sdk/v1/domain/created_payment_output.rb,
lib/worldline/connect/sdk/v1/domain/decrypted_payment_data.rb,
lib/worldline/connect/sdk/v1/domain/find_payments_response.rb,
lib/worldline/connect/sdk/v1/domain/label_template_element.rb,
lib/worldline/connect/sdk/v1/domain/line_item_invoice_data.rb,
lib/worldline/connect/sdk/v1/domain/order_type_information.rb,
lib/worldline/connect/sdk/v1/domain/payment_error_response.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_filter.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_groups.rb,
lib/worldline/connect/sdk/v1/domain/protection_eligibility.rb,
lib/worldline/connect/sdk/v1/domain/three_d_secure_results.rb,
lib/worldline/connect/sdk/v1/merchant/tokens/tokens_client.rb,
lib/worldline/connect/sdk/v1/declined_transaction_exception.rb,
lib/worldline/connect/sdk/v1/domain/abstract_three_d_secure.rb,
lib/worldline/connect/sdk/v1/domain/approve_payment_request.rb,
lib/worldline/connect/sdk/v1/domain/cancel_payment_response.rb,
lib/worldline/connect/sdk/v1/domain/capture_payment_request.rb,
lib/worldline/connect/sdk/v1/domain/card_recurrence_details.rb,
lib/worldline/connect/sdk/v1/domain/create_mandate_response.rb,
lib/worldline/connect/sdk/v1/domain/create_payment_response.rb,
lib/worldline/connect/sdk/v1/domain/dispute_creation_detail.rb,
lib/worldline/connect/sdk/v1/domain/get_iin_details_request.rb,
lib/worldline/connect/sdk/v1/domain/get_installment_request.rb,
lib/worldline/connect/sdk/v1/domain/mandate_contact_details.rb,
lib/worldline/connect/sdk/v1/domain/mandate_merchant_action.rb,
lib/worldline/connect/sdk/v1/domain/microsoft_fraud_results.rb,
lib/worldline/connect/sdk/v1/domain/payment_account_on_file.rb,
lib/worldline/connect/sdk/v1/domain/payment_creation_output.rb,
lib/worldline/connect/sdk/v1/domain/personal_identification.rb,
lib/worldline/connect/sdk/v1/domain/recurring_payments_data.rb,
lib/worldline/connect/sdk/v1/domain/token_sepa_direct_debit.rb,
lib/worldline/connect/sdk/v1/domain/authentication_indicator.rb,
lib/worldline/connect/sdk/v1/domain/bank_account_bban_refund.rb,
lib/worldline/connect/sdk/v1/domain/complete_payment_request.rb,
lib/worldline/connect/sdk/v1/domain/customer_approve_payment.rb,
lib/worldline/connect/sdk/v1/domain/customer_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/get_iin_details_response.rb,
lib/worldline/connect/sdk/v1/domain/merchant_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_response.rb,
lib/worldline/connect/sdk/v1/domain/risk_assessment_response.rb,
lib/worldline/connect/sdk/v1/domain/shipping_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/tokenize_payment_request.rb,
lib/worldline/connect/sdk/v1/merchant/payouts/payouts_client.rb,
lib/worldline/connect/sdk/v1/merchant/refunds/refunds_client.rb,
lib/worldline/connect/sdk/v1/domain/account_funding_recipient.rb,
lib/worldline/connect/sdk/v1/domain/account_on_file_attribute.rb,
lib/worldline/connect/sdk/v1/domain/complete_payment_response.rb,
lib/worldline/connect/sdk/v1/domain/customer_payment_activity.rb,
lib/worldline/connect/sdk/v1/domain/installment_display_hints.rb,
lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit.rb,
lib/worldline/connect/sdk/v1/domain/payment_approval_response.rb,
lib/worldline/connect/sdk/v1/domain/result_do_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/device_fingerprint_details.rb,
lib/worldline/connect/sdk/v1/domain/device_fingerprint_request.rb,
lib/worldline/connect/sdk/v1/domain/personal_information_token.rb,
lib/worldline/connect/sdk/v1/merchant/captures/captures_client.rb,
lib/worldline/connect/sdk/v1/merchant/disputes/disputes_client.rb,
lib/worldline/connect/sdk/v1/merchant/mandates/mandates_client.rb,
lib/worldline/connect/sdk/v1/merchant/payments/payments_client.rb,
lib/worldline/connect/sdk/v1/merchant/products/networks_params.rb,
lib/worldline/connect/sdk/v1/merchant/products/products_client.rb,
lib/worldline/connect/sdk/v1/merchant/services/services_client.rb,
lib/worldline/connect/sdk/v1/merchant/sessions/sessions_client.rb,
lib/worldline/connect/sdk/v1/domain/device_fingerprint_response.rb,
lib/worldline/connect/sdk/v1/domain/get_privacy_policy_response.rb,
lib/worldline/connect/sdk/v1/domain/payment_creation_references.rb,
lib/worldline/connect/sdk/v1/domain/third_party_status_response.rb,
lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit.rb,
lib/worldline/connect/sdk/v1/merchant/products/directory_params.rb,
lib/worldline/connect/sdk/v1/domain/get_customer_details_request.rb,
lib/worldline/connect/sdk/v1/domain/get_hosted_checkout_response.rb,
lib/worldline/connect/sdk/v1/domain/installment_options_response.rb,
lib/worldline/connect/sdk/v1/domain/mandate_personal_information.rb,
lib/worldline/connect/sdk/v1/domain/regular_expression_validator.rb,
lib/worldline/connect/sdk/v1/domain/risk_assessment_bank_account.rb,
lib/worldline/connect/sdk/v1/domain/upload_dispute_file_response.rb,
lib/worldline/connect/sdk/v1/merchant/tokens/delete_token_params.rb,
lib/worldline/connect/sdk/v1/domain/account_on_file_display_hints.rb,
lib/worldline/connect/sdk/v1/domain/fraud_fields_shipping_details.rb,
lib/worldline/connect/sdk/v1/domain/get_customer_details_response.rb,
lib/worldline/connect/sdk/v1/domain/mandate_non_sepa_direct_debit.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_display_hints.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_field_tooltip.rb,
lib/worldline/connect/sdk/v1/domain/personal_name_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/refund_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/validation_bank_account_check.rb,
lib/worldline/connect/sdk/v1/merchant/payouts/find_payouts_params.rb,
lib/worldline/connect/sdk/v1/merchant/products/get_product_params.rb,
lib/worldline/connect/sdk/v1/merchant/refunds/find_refunds_params.rb,
lib/worldline/connect/sdk/v1/domain/create_hosted_checkout_request.rb,
lib/worldline/connect/sdk/v1/domain/create_mandate_with_return_url.rb,
lib/worldline/connect/sdk/v1/domain/fraud_results_retail_decisions.rb,
lib/worldline/connect/sdk/v1/domain/hosted_checkout_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_group_response.rb,
lib/worldline/connect/sdk/v1/domain/validation_bank_account_output.rb,
lib/worldline/connect/sdk/v1/merchant/disputes/upload_file_request.rb,
lib/worldline/connect/sdk/v1/domain/contact_details_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/create_hosted_checkout_response.rb,
lib/worldline/connect/sdk/v1/domain/customer_account_authentication.rb,
lib/worldline/connect/sdk/v1/domain/customer_device_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/hosted_checkout_specific_output.rb,
lib/worldline/connect/sdk/v1/merchant/payments/find_payments_params.rb,
lib/worldline/connect/sdk/v1/merchant/products/find_products_params.rb,
lib/worldline/connect/sdk/v1/merchant/services/privacypolicy_params.rb,
lib/worldline/connect/sdk/v1/domain/cancel_approval_payment_response.rb,
lib/worldline/connect/sdk/v1/domain/customer_account_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/order_references_approve_payment.rb,
lib/worldline/connect/sdk/v1/domain/payment_product302_specific_data.rb,
lib/worldline/connect/sdk/v1/domain/payment_product320_specific_data.rb,
lib/worldline/connect/sdk/v1/domain/payment_product863_specific_data.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_field_validators.rb,
lib/worldline/connect/sdk/v1/merchant/services/convert_amount_params.rb,
lib/worldline/connect/sdk/v1/domain/bank_refund_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/card_payout_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_networks_response.rb,
lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/payment_product771_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/payment_product806_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/payment_product836_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/payment_product840_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_field_form_element.rb,
lib/worldline/connect/sdk/v1/domain/refund_bank_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/refund_card_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/refund_cash_method_specific_output.rb,
lib/worldline/connect/sdk/v1/merchant/installments/installments_client.rb,
lib/worldline/connect/sdk/v1/domain/additional_order_input_airline_data.rb,
lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/customer_token_with_contact_details.rb,
lib/worldline/connect/sdk/v1/domain/payment_product3201_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/payment_product840_customer_account.rb,
lib/worldline/connect/sdk/v1/domain/payment_product863_third_party_data.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_field_display_hints.rb,
lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/personal_information_risk_assessment.rb,
lib/worldline/connect/sdk/v1/domain/refund_mobile_method_specific_output.rb,
lib/worldline/connect/sdk/v1/merchant/productgroups/productgroups_client.rb,
lib/worldline/connect/sdk/v1/domain/abstract_payout_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/invoice_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_field_display_element.rb,
lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/boleto_bancario_requiredness_validator.rb,
lib/worldline/connect/sdk/v1/domain/create_payment_product_session_request.rb,
lib/worldline/connect/sdk/v1/domain/get_hosted_mandate_management_response.rb,
lib/worldline/connect/sdk/v1/domain/invoice_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_filters_client_session.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/refund_e_wallet_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/retail_decisions_cc_fraud_check_output.rb,
lib/worldline/connect/sdk/v1/domain/abstract_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/card_payment_method_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_method_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_product1503_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_product1504_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_product1521_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_product1522_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_product1523_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_product1524_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_product1526_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/create_payment_product_session_response.rb,
lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/external_cardholder_authentication_data.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_field_data_restrictions.rb,
lib/worldline/connect/sdk/v1/domain/payment_product_filters_hosted_checkout.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/refund_e_invoice_method_specific_output.rb,
lib/worldline/connect/sdk/v1/merchant/productgroups/get_productgroup_params.rb,
lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_request.rb,
lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/hosted_mandate_management_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/line_item_level3_interchange_information.rb,
lib/worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/token_sepa_direct_debit_without_creditor.rb,
lib/worldline/connect/sdk/v1/merchant/hostedcheckouts/hostedcheckouts_client.rb,
lib/worldline/connect/sdk/v1/merchant/riskassessments/riskassessments_client.rb,
lib/worldline/connect/sdk/v1/domain/create_hosted_mandate_management_response.rb,
lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit_with_mandate_id.rb,
lib/worldline/connect/sdk/v1/domain/refund_payment_product840_specific_output.rb,
lib/worldline/connect/sdk/v1/merchant/productgroups/find_productgroups_params.rb,
lib/worldline/connect/sdk/v1/domain/bank_transfer_payout_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/mandate_sepa_direct_debit_without_creditor.rb,
lib/worldline/connect/sdk/v1/domain/mobile_three_d_secure_challenge_parameters.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_product809_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_product840_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_product861_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_product863_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_product869_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_product882_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/refund_payment_product840_customer_account.rb,
lib/worldline/connect/sdk/v1/domain/abstract_card_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/abstract_cash_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_method_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_product4101_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/e_invoice_payment_method_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/e_invoice_payment_product9000_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/approve_payment_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/e_invoice_payment_product9000_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_product840_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/abstract_e_invoice_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/bank_transfer_payment_method_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/redirect_payment_product4101_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/mobile_payment_product_session302_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/cancel_payment_card_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_product840_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/approve_payment_card_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/complete_payment_card_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_product771_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/abstract_bank_transfer_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/abstract_redirect_payment_product4101_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/cancel_payment_mobile_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/mobile_payment_method_specific_input_hosted_checkout.rb,
lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_method_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/approve_payment_mobile_payment_method_specific_output.rb,
lib/worldline/connect/sdk/v1/domain/cash_payment_product_with_redirect_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_product705_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/non_sepa_direct_debit_payment_product730_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/abstract_sepa_direct_debit_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/mobile_payment_product302_specific_input_hosted_checkout.rb,
lib/worldline/connect/sdk/v1/domain/mobile_payment_product320_specific_input_hosted_checkout.rb,
lib/worldline/connect/sdk/v1/domain/sepa_direct_debit_payment_product771_specific_input_base.rb,
lib/worldline/connect/sdk/v1/domain/approve_payment_direct_debit_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb,
lib/worldline/connect/sdk/v1/domain/abstract_sepa_direct_debit_payment_product771_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit_payment_product705_specific_data.rb,
lib/worldline/connect/sdk/v1/domain/token_non_sepa_direct_debit_payment_product730_specific_data.rb,
lib/worldline/connect/sdk/v1/domain/approve_payment_sepa_direct_debit_payment_method_specific_input.rb,
lib/worldline/connect/sdk/v1/domain/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb

Defined Under Namespace

Modules: Domain, Merchant, Webhooks Classes: ApiException, AuthorizationException, DeclinedPaymentException, DeclinedPayoutException, DeclinedRefundException, DeclinedTransactionException, IdempotenceException, PlatformException, ReferenceException, V1Client, ValidationException

Class Method Summary collapse

Class Method Details

.create_exception(status_code, response_body, error_object, context) ⇒ Object

Raises:

  • (ArgumentError)


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/worldline/connect/sdk/v1/exception_factory.rb', line 24

def self.create_exception(status_code, response_body, error_object, context)
  if error_object.is_a?(Worldline::Connect::SDK::V1::Domain::PaymentErrorResponse)
    return DeclinedPaymentException.new(status_code, response_body, error_object) unless error_object.payment_result.nil?
    return create_exception_from_response_fields(status_code, response_body, error_object.error_id, error_object.errors, context)
  end
  if error_object.is_a?(Worldline::Connect::SDK::V1::Domain::PayoutErrorResponse)
    return DeclinedPayoutException.new(status_code, response_body, error_object) unless error_object.payout_result.nil?
    return create_exception_from_response_fields(status_code, response_body, error_object.error_id, error_object.errors, context)
  end
  if error_object.is_a?(Worldline::Connect::SDK::V1::Domain::RefundErrorResponse)
    return DeclinedRefundException.new(status_code, response_body, error_object) unless error_object.refund_result.nil?
    return create_exception_from_response_fields(status_code, response_body, error_object.error_id, error_object.errors, context)
  end
  raise ArgumentError.new("unsupported error object type: " + error_object.class.name) unless error_object.is_a?(Worldline::Connect::SDK::V1::Domain::ErrorResponse)
  create_exception_from_response_fields(status_code, response_body, error_object.error_id, error_object.errors, context)
end