mollie-api-py 1.1.2__tar.gz → 1.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/PKG-INFO +2 -1
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/README-PYPI.md +1 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/pyproject.toml +1 -1
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/_version.py +2 -2
- mollie_api_py-1.1.3/src/mollie/delayed_routing.py +623 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/__init__.py +42 -14
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_route_get_response.py +10 -5
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_create_routeop.py +4 -4
- mollie_api_py-1.1.3/src/mollie/models/payment_get_routeop.py +40 -0
- mollie_api_py-1.1.3/src/mollie/models/route_create_request.py +50 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/route_create_response.py +17 -6
- mollie_api_py-1.1.3/src/mollie/models/route_get_response.py +107 -0
- mollie_api_py-1.1.2/src/mollie/delayed_routing.py +0 -421
- mollie_api_py-1.1.2/src/mollie/models/entity_route.py +0 -96
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/LICENSE.md +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/py.typed +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/__init__.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/_hooks/__init__.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/_hooks/mollie_hooks.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/_hooks/registration.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/_hooks/sdkhooks.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/_hooks/types.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/balance_transfers.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/balances.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/basesdk.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/capabilities.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/captures.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/chargebacks_sdk.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/client_links.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/clients.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/customers.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/httpclient.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/invoices.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/mandates.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/methods.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/address.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/amount.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/amount_nullable.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/apierror.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_card_audience.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_card_issuer.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_card_region.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_fee_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_prepayment_part_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_report_grouping.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_transaction_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_transfer_category.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_transfer_category_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_transfer_destination_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_transfer_party_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_transfer_party_type_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_transfer_status.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/balance_transfer_status_reason_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/billingaddress.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/cancel_paymentop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/cancel_refundop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/cancel_subscriptionop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/capability_requirement_status.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/capability_status.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/capability_status_reason.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/capture_mode.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/capture_mode_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/capture_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/client_link_request.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/client_link_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/clienterror.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/components_sub_totals.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_captureop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_client_linkop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_connect_balance_transferop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_customer_paymentop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_customerop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_mandateop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_payment_linkop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_paymentop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_profileop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_refundop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_sales_invoiceop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_subscriptionop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_webhook.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/create_webhookop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/currencies.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/customer_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/delete_customerop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/delete_payment_linkop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/delete_profileop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/delete_sales_invoiceop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/delete_values_sales_invoice.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/delete_webhookop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_balance.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_balance_report.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_balance_transaction.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_balance_transfer.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_balance_transfer_party.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_balance_transfer_party_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_balance_transfer_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_capability.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_capability_requirement.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_capture.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_chargeback.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_customer.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_event.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_invoice.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_method_get.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_onboarding_status.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_organization.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_payment_route.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_payment_route_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_permission.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_refund_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_settlement.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_terminal.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_webhook.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/entity_webhook_event.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/error_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_balance_reportop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_balanceop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_captureop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_chargebackop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_clientop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_connect_balance_transferop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_current_organizationop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_current_profileop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_customerop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_invoiceop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_mandateop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_methodop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_next_settlementop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_onboarding_statusop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_open_settlementop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_organizationop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_partner_statusop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_payment_link_paymentsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_payment_linkop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_paymentop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_permissionop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_primary_balanceop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_profileop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_refundop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_sales_invoiceop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_settlementop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_subscriptionop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_terminalop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_webhook_eventop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/get_webhookop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/internal/__init__.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/internal/globals.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/line_categories.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/line_categories_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_all_chargebacksop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_all_methodsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_all_refundsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_all_subscriptionsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_balance_transactionsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_balancesop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_capabilitiesop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_capture_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_capturesop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_chargebacksop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_clientsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_connect_balance_transfersop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_customer_paymentsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_customer_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_customersop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_balance.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_chargeback.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_invoice.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_method.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_method_all.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_permission.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_refund.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_settlement.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_terminal.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_entity_webhook.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_invoicesop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_links.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_mandate_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_mandatesop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_methodsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_payment_linksop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_payment_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_paymentsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_permissionsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_profile_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_profilesop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_refundsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_sales_invoice_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_sales_invoicesop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_settlement_capturesop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_settlement_chargebacksop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_settlement_paymentsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_settlement_refundsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_settlementsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_subscription_paymentsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_subscription_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_subscriptionsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_terminalsop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/list_webhooksop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/locale.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/locale_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/mandate_details_card_label_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/mandate_method.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/mandate_method_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/mandate_request.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/mandate_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/metadata.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/method_enum.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/method_id.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/method_include_wallets_parameter.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/method_resource_parameter.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/method_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/method_status.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/mode.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/no_response_error.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/onboarding_vat_regulation.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/organization_vat_regulation.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_address.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_card_audition_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_card_funding_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_card_label_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_card_security_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_failure_reason_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_fee_region_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_receipt_card_read_method_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_receipt_card_verification_method_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_seller_protection_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_details_wallet_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_line_item.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_line_item_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_line_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_line_type_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_link_method.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_link_method_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_link_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_link_sequence_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_link_sequence_type_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_list_routesop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_method.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_request.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/payment_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/profile_request.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/profile_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/profile_review_status_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/recurring_line_item.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/refund_external_reference_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/refund_external_reference_type_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/refund_request.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/release_authorizationop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/request_apple_pay_payment_sessionop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/responsevalidationerror.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/revoke_mandateop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/route_destination_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/route_destination_type_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_discount.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_discount_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_discount_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_discount_type_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_email_details.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_line_item.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_line_item_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_payment_details.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_payment_details_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_payment_details_source.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_payment_details_source_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_payment_term.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_payment_term_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_recipient.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_recipient_locale.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_recipient_locale_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_recipient_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_recipient_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_recipient_type_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_request.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_status.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_status_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_vat_mode.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_vat_mode_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_vat_scheme.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sales_invoice_vat_scheme_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/security.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sequence_type.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sequence_type_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sorting.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/status_reason.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sub_group.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/sub_totals.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/submit_onboarding_dataop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/subscription_method.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/subscription_method_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/subscription_request.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/subscription_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/terminal_brand.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/terminal_model.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/test_webhookop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/update_customerop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/update_payment_linkop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/update_paymentop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/update_profileop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/update_sales_invoiceop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/update_subscriptionop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/update_webhookop.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/url.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/url_nullable.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/webhook_event_types.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/models/webhook_status.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/onboarding.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/organizations.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/payment_links.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/payments_sdk.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/permissions.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/profiles.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/py.typed +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/refunds_sdk.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/sales_invoices.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/sdk.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/sdkconfiguration.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/settlements.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/subscriptions.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/terminals.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/types/__init__.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/types/basemodel.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/__init__.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/annotations.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/datetimes.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/enums.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/eventstreaming.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/forms.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/headers.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/logger.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/metadata.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/queryparams.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/requestbodies.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/retries.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/security.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/serializers.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/unmarshal_json_response.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/url.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/utils/values.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/wallets.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/webhook_events.py +0 -0
- {mollie_api_py-1.1.2 → mollie_api_py-1.1.3}/src/mollie/webhooks.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mollie-api-py
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
License-File: LICENSE.md
|
|
6
6
|
Author: Speakeasy
|
|
@@ -364,6 +364,7 @@ client = ClientSDK(
|
|
|
364
364
|
|
|
365
365
|
* [create](https://github.com/mollie/mollie-api-py/blob/master/docs/sdks/delayedrouting/README.md#create) - Create a delayed route
|
|
366
366
|
* [list](https://github.com/mollie/mollie-api-py/blob/master/docs/sdks/delayedrouting/README.md#list) - List payment routes
|
|
367
|
+
* [get](https://github.com/mollie/mollie-api-py/blob/master/docs/sdks/delayedrouting/README.md#get) - Get a delayed route
|
|
367
368
|
|
|
368
369
|
### [invoices](https://github.com/mollie/mollie-api-py/blob/master/docs/sdks/invoices/README.md)
|
|
369
370
|
|
|
@@ -343,6 +343,7 @@ client = ClientSDK(
|
|
|
343
343
|
|
|
344
344
|
* [create](https://github.com/mollie/mollie-api-py/blob/master/docs/sdks/delayedrouting/README.md#create) - Create a delayed route
|
|
345
345
|
* [list](https://github.com/mollie/mollie-api-py/blob/master/docs/sdks/delayedrouting/README.md#list) - List payment routes
|
|
346
|
+
* [get](https://github.com/mollie/mollie-api-py/blob/master/docs/sdks/delayedrouting/README.md#get) - Get a delayed route
|
|
346
347
|
|
|
347
348
|
### [invoices](https://github.com/mollie/mollie-api-py/blob/master/docs/sdks/invoices/README.md)
|
|
348
349
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "mollie-api-py"
|
|
6
|
-
__version__: str = "1.1.
|
|
6
|
+
__version__: str = "1.1.3"
|
|
7
7
|
__openapi_doc_version__: str = "1.0.0"
|
|
8
8
|
__gen_version__: str = "2.730.5"
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 1.1.
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 1.1.3 2.730.5 1.0.0 mollie-api-py"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -0,0 +1,623 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from .basesdk import BaseSDK
|
|
4
|
+
from mollie import models, utils
|
|
5
|
+
from mollie._hooks import HookContext
|
|
6
|
+
from mollie.types import OptionalNullable, UNSET
|
|
7
|
+
from mollie.utils import get_security_from_env
|
|
8
|
+
from mollie.utils.unmarshal_json_response import unmarshal_json_response
|
|
9
|
+
from typing import Any, Mapping, Optional, Union
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class DelayedRouting(BaseSDK):
|
|
13
|
+
def create(
|
|
14
|
+
self,
|
|
15
|
+
*,
|
|
16
|
+
payment_id: str,
|
|
17
|
+
idempotency_key: Optional[str] = None,
|
|
18
|
+
route_create_request: Optional[
|
|
19
|
+
Union[models.RouteCreateRequest, models.RouteCreateRequestTypedDict]
|
|
20
|
+
] = None,
|
|
21
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
22
|
+
server_url: Optional[str] = None,
|
|
23
|
+
timeout_ms: Optional[int] = None,
|
|
24
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
25
|
+
) -> models.RouteCreateResponse:
|
|
26
|
+
r"""Create a delayed route
|
|
27
|
+
|
|
28
|
+
Create a route for a specific payment.
|
|
29
|
+
The routed amount is credited to the account of your customer.
|
|
30
|
+
|
|
31
|
+
:param payment_id: Provide the ID of the related payment.
|
|
32
|
+
:param idempotency_key: A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
33
|
+
:param route_create_request:
|
|
34
|
+
:param retries: Override the default retry configuration for this method
|
|
35
|
+
:param server_url: Override the default server URL for this method
|
|
36
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
37
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
38
|
+
"""
|
|
39
|
+
base_url = None
|
|
40
|
+
url_variables = None
|
|
41
|
+
if timeout_ms is None:
|
|
42
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
43
|
+
|
|
44
|
+
if server_url is not None:
|
|
45
|
+
base_url = server_url
|
|
46
|
+
else:
|
|
47
|
+
base_url = self._get_url(base_url, url_variables)
|
|
48
|
+
|
|
49
|
+
request = models.PaymentCreateRouteRequest(
|
|
50
|
+
payment_id=payment_id,
|
|
51
|
+
idempotency_key=idempotency_key,
|
|
52
|
+
route_create_request=utils.get_pydantic_model(
|
|
53
|
+
route_create_request, Optional[models.RouteCreateRequest]
|
|
54
|
+
),
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
req = self._build_request(
|
|
58
|
+
method="POST",
|
|
59
|
+
path="/payments/{paymentId}/routes",
|
|
60
|
+
base_url=base_url,
|
|
61
|
+
url_variables=url_variables,
|
|
62
|
+
request=request,
|
|
63
|
+
request_body_required=False,
|
|
64
|
+
request_has_path_params=True,
|
|
65
|
+
request_has_query_params=True,
|
|
66
|
+
user_agent_header="user-agent",
|
|
67
|
+
accept_header_value="application/hal+json",
|
|
68
|
+
http_headers=http_headers,
|
|
69
|
+
security=self.sdk_configuration.security,
|
|
70
|
+
get_serialized_body=lambda: utils.serialize_request_body(
|
|
71
|
+
request.route_create_request,
|
|
72
|
+
False,
|
|
73
|
+
True,
|
|
74
|
+
"json",
|
|
75
|
+
Optional[models.RouteCreateRequest],
|
|
76
|
+
),
|
|
77
|
+
timeout_ms=timeout_ms,
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
if retries == UNSET:
|
|
81
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
82
|
+
retries = self.sdk_configuration.retry_config
|
|
83
|
+
else:
|
|
84
|
+
retries = utils.RetryConfig(
|
|
85
|
+
"backoff", utils.BackoffStrategy(500, 5000, 2, 7500), True
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
retry_config = None
|
|
89
|
+
if isinstance(retries, utils.RetryConfig):
|
|
90
|
+
retry_config = (retries, ["5xx"])
|
|
91
|
+
|
|
92
|
+
http_res = self.do_request(
|
|
93
|
+
hook_ctx=HookContext(
|
|
94
|
+
config=self.sdk_configuration,
|
|
95
|
+
base_url=base_url or "",
|
|
96
|
+
operation_id="payment-create-route",
|
|
97
|
+
oauth2_scopes=None,
|
|
98
|
+
security_source=get_security_from_env(
|
|
99
|
+
self.sdk_configuration.security, models.Security
|
|
100
|
+
),
|
|
101
|
+
),
|
|
102
|
+
request=req,
|
|
103
|
+
error_status_codes=["404", "4XX", "5XX"],
|
|
104
|
+
retry_config=retry_config,
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
response_data: Any = None
|
|
108
|
+
if utils.match_response(http_res, "201", "application/hal+json"):
|
|
109
|
+
return unmarshal_json_response(models.RouteCreateResponse, http_res)
|
|
110
|
+
if utils.match_response(http_res, "404", "application/hal+json"):
|
|
111
|
+
response_data = unmarshal_json_response(models.ErrorResponseData, http_res)
|
|
112
|
+
raise models.ErrorResponse(response_data, http_res)
|
|
113
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
114
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
115
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
116
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
117
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
118
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
119
|
+
|
|
120
|
+
raise models.APIError("Unexpected response received", http_res)
|
|
121
|
+
|
|
122
|
+
async def create_async(
|
|
123
|
+
self,
|
|
124
|
+
*,
|
|
125
|
+
payment_id: str,
|
|
126
|
+
idempotency_key: Optional[str] = None,
|
|
127
|
+
route_create_request: Optional[
|
|
128
|
+
Union[models.RouteCreateRequest, models.RouteCreateRequestTypedDict]
|
|
129
|
+
] = None,
|
|
130
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
131
|
+
server_url: Optional[str] = None,
|
|
132
|
+
timeout_ms: Optional[int] = None,
|
|
133
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
134
|
+
) -> models.RouteCreateResponse:
|
|
135
|
+
r"""Create a delayed route
|
|
136
|
+
|
|
137
|
+
Create a route for a specific payment.
|
|
138
|
+
The routed amount is credited to the account of your customer.
|
|
139
|
+
|
|
140
|
+
:param payment_id: Provide the ID of the related payment.
|
|
141
|
+
:param idempotency_key: A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
142
|
+
:param route_create_request:
|
|
143
|
+
:param retries: Override the default retry configuration for this method
|
|
144
|
+
:param server_url: Override the default server URL for this method
|
|
145
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
146
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
147
|
+
"""
|
|
148
|
+
base_url = None
|
|
149
|
+
url_variables = None
|
|
150
|
+
if timeout_ms is None:
|
|
151
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
152
|
+
|
|
153
|
+
if server_url is not None:
|
|
154
|
+
base_url = server_url
|
|
155
|
+
else:
|
|
156
|
+
base_url = self._get_url(base_url, url_variables)
|
|
157
|
+
|
|
158
|
+
request = models.PaymentCreateRouteRequest(
|
|
159
|
+
payment_id=payment_id,
|
|
160
|
+
idempotency_key=idempotency_key,
|
|
161
|
+
route_create_request=utils.get_pydantic_model(
|
|
162
|
+
route_create_request, Optional[models.RouteCreateRequest]
|
|
163
|
+
),
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
req = self._build_request_async(
|
|
167
|
+
method="POST",
|
|
168
|
+
path="/payments/{paymentId}/routes",
|
|
169
|
+
base_url=base_url,
|
|
170
|
+
url_variables=url_variables,
|
|
171
|
+
request=request,
|
|
172
|
+
request_body_required=False,
|
|
173
|
+
request_has_path_params=True,
|
|
174
|
+
request_has_query_params=True,
|
|
175
|
+
user_agent_header="user-agent",
|
|
176
|
+
accept_header_value="application/hal+json",
|
|
177
|
+
http_headers=http_headers,
|
|
178
|
+
security=self.sdk_configuration.security,
|
|
179
|
+
get_serialized_body=lambda: utils.serialize_request_body(
|
|
180
|
+
request.route_create_request,
|
|
181
|
+
False,
|
|
182
|
+
True,
|
|
183
|
+
"json",
|
|
184
|
+
Optional[models.RouteCreateRequest],
|
|
185
|
+
),
|
|
186
|
+
timeout_ms=timeout_ms,
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
if retries == UNSET:
|
|
190
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
191
|
+
retries = self.sdk_configuration.retry_config
|
|
192
|
+
else:
|
|
193
|
+
retries = utils.RetryConfig(
|
|
194
|
+
"backoff", utils.BackoffStrategy(500, 5000, 2, 7500), True
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
retry_config = None
|
|
198
|
+
if isinstance(retries, utils.RetryConfig):
|
|
199
|
+
retry_config = (retries, ["5xx"])
|
|
200
|
+
|
|
201
|
+
http_res = await self.do_request_async(
|
|
202
|
+
hook_ctx=HookContext(
|
|
203
|
+
config=self.sdk_configuration,
|
|
204
|
+
base_url=base_url or "",
|
|
205
|
+
operation_id="payment-create-route",
|
|
206
|
+
oauth2_scopes=None,
|
|
207
|
+
security_source=get_security_from_env(
|
|
208
|
+
self.sdk_configuration.security, models.Security
|
|
209
|
+
),
|
|
210
|
+
),
|
|
211
|
+
request=req,
|
|
212
|
+
error_status_codes=["404", "4XX", "5XX"],
|
|
213
|
+
retry_config=retry_config,
|
|
214
|
+
)
|
|
215
|
+
|
|
216
|
+
response_data: Any = None
|
|
217
|
+
if utils.match_response(http_res, "201", "application/hal+json"):
|
|
218
|
+
return unmarshal_json_response(models.RouteCreateResponse, http_res)
|
|
219
|
+
if utils.match_response(http_res, "404", "application/hal+json"):
|
|
220
|
+
response_data = unmarshal_json_response(models.ErrorResponseData, http_res)
|
|
221
|
+
raise models.ErrorResponse(response_data, http_res)
|
|
222
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
223
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
224
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
225
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
226
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
227
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
228
|
+
|
|
229
|
+
raise models.APIError("Unexpected response received", http_res)
|
|
230
|
+
|
|
231
|
+
def list(
|
|
232
|
+
self,
|
|
233
|
+
*,
|
|
234
|
+
payment_id: str,
|
|
235
|
+
testmode: Optional[bool] = None,
|
|
236
|
+
idempotency_key: Optional[str] = None,
|
|
237
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
238
|
+
server_url: Optional[str] = None,
|
|
239
|
+
timeout_ms: Optional[int] = None,
|
|
240
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
241
|
+
) -> models.PaymentListRoutesResponse:
|
|
242
|
+
r"""List payment routes
|
|
243
|
+
|
|
244
|
+
Retrieve a list of all routes created for a specific payment.
|
|
245
|
+
|
|
246
|
+
:param payment_id: Provide the ID of the related payment.
|
|
247
|
+
:param testmode: Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the `testmode` query parameter to `true`. Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
248
|
+
:param idempotency_key: A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
249
|
+
:param retries: Override the default retry configuration for this method
|
|
250
|
+
:param server_url: Override the default server URL for this method
|
|
251
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
252
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
253
|
+
"""
|
|
254
|
+
base_url = None
|
|
255
|
+
url_variables = None
|
|
256
|
+
if timeout_ms is None:
|
|
257
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
258
|
+
|
|
259
|
+
if server_url is not None:
|
|
260
|
+
base_url = server_url
|
|
261
|
+
else:
|
|
262
|
+
base_url = self._get_url(base_url, url_variables)
|
|
263
|
+
|
|
264
|
+
request = models.PaymentListRoutesRequest(
|
|
265
|
+
payment_id=payment_id,
|
|
266
|
+
testmode=testmode,
|
|
267
|
+
idempotency_key=idempotency_key,
|
|
268
|
+
)
|
|
269
|
+
|
|
270
|
+
req = self._build_request(
|
|
271
|
+
method="GET",
|
|
272
|
+
path="/payments/{paymentId}/routes",
|
|
273
|
+
base_url=base_url,
|
|
274
|
+
url_variables=url_variables,
|
|
275
|
+
request=request,
|
|
276
|
+
request_body_required=False,
|
|
277
|
+
request_has_path_params=True,
|
|
278
|
+
request_has_query_params=True,
|
|
279
|
+
user_agent_header="user-agent",
|
|
280
|
+
accept_header_value="application/hal+json",
|
|
281
|
+
http_headers=http_headers,
|
|
282
|
+
_globals=models.PaymentListRoutesGlobals(
|
|
283
|
+
testmode=self.sdk_configuration.globals.testmode,
|
|
284
|
+
),
|
|
285
|
+
security=self.sdk_configuration.security,
|
|
286
|
+
timeout_ms=timeout_ms,
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
if retries == UNSET:
|
|
290
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
291
|
+
retries = self.sdk_configuration.retry_config
|
|
292
|
+
else:
|
|
293
|
+
retries = utils.RetryConfig(
|
|
294
|
+
"backoff", utils.BackoffStrategy(500, 5000, 2, 7500), True
|
|
295
|
+
)
|
|
296
|
+
|
|
297
|
+
retry_config = None
|
|
298
|
+
if isinstance(retries, utils.RetryConfig):
|
|
299
|
+
retry_config = (retries, ["5xx"])
|
|
300
|
+
|
|
301
|
+
http_res = self.do_request(
|
|
302
|
+
hook_ctx=HookContext(
|
|
303
|
+
config=self.sdk_configuration,
|
|
304
|
+
base_url=base_url or "",
|
|
305
|
+
operation_id="payment-list-routes",
|
|
306
|
+
oauth2_scopes=None,
|
|
307
|
+
security_source=get_security_from_env(
|
|
308
|
+
self.sdk_configuration.security, models.Security
|
|
309
|
+
),
|
|
310
|
+
),
|
|
311
|
+
request=req,
|
|
312
|
+
error_status_codes=["404", "4XX", "5XX"],
|
|
313
|
+
retry_config=retry_config,
|
|
314
|
+
)
|
|
315
|
+
|
|
316
|
+
response_data: Any = None
|
|
317
|
+
if utils.match_response(http_res, "200", "application/hal+json"):
|
|
318
|
+
return unmarshal_json_response(models.PaymentListRoutesResponse, http_res)
|
|
319
|
+
if utils.match_response(http_res, "404", "application/hal+json"):
|
|
320
|
+
response_data = unmarshal_json_response(models.ErrorResponseData, http_res)
|
|
321
|
+
raise models.ErrorResponse(response_data, http_res)
|
|
322
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
323
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
324
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
325
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
326
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
327
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
328
|
+
|
|
329
|
+
raise models.APIError("Unexpected response received", http_res)
|
|
330
|
+
|
|
331
|
+
async def list_async(
|
|
332
|
+
self,
|
|
333
|
+
*,
|
|
334
|
+
payment_id: str,
|
|
335
|
+
testmode: Optional[bool] = None,
|
|
336
|
+
idempotency_key: Optional[str] = None,
|
|
337
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
338
|
+
server_url: Optional[str] = None,
|
|
339
|
+
timeout_ms: Optional[int] = None,
|
|
340
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
341
|
+
) -> models.PaymentListRoutesResponse:
|
|
342
|
+
r"""List payment routes
|
|
343
|
+
|
|
344
|
+
Retrieve a list of all routes created for a specific payment.
|
|
345
|
+
|
|
346
|
+
:param payment_id: Provide the ID of the related payment.
|
|
347
|
+
:param testmode: Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the `testmode` query parameter to `true`. Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
348
|
+
:param idempotency_key: A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
349
|
+
:param retries: Override the default retry configuration for this method
|
|
350
|
+
:param server_url: Override the default server URL for this method
|
|
351
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
352
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
353
|
+
"""
|
|
354
|
+
base_url = None
|
|
355
|
+
url_variables = None
|
|
356
|
+
if timeout_ms is None:
|
|
357
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
358
|
+
|
|
359
|
+
if server_url is not None:
|
|
360
|
+
base_url = server_url
|
|
361
|
+
else:
|
|
362
|
+
base_url = self._get_url(base_url, url_variables)
|
|
363
|
+
|
|
364
|
+
request = models.PaymentListRoutesRequest(
|
|
365
|
+
payment_id=payment_id,
|
|
366
|
+
testmode=testmode,
|
|
367
|
+
idempotency_key=idempotency_key,
|
|
368
|
+
)
|
|
369
|
+
|
|
370
|
+
req = self._build_request_async(
|
|
371
|
+
method="GET",
|
|
372
|
+
path="/payments/{paymentId}/routes",
|
|
373
|
+
base_url=base_url,
|
|
374
|
+
url_variables=url_variables,
|
|
375
|
+
request=request,
|
|
376
|
+
request_body_required=False,
|
|
377
|
+
request_has_path_params=True,
|
|
378
|
+
request_has_query_params=True,
|
|
379
|
+
user_agent_header="user-agent",
|
|
380
|
+
accept_header_value="application/hal+json",
|
|
381
|
+
http_headers=http_headers,
|
|
382
|
+
_globals=models.PaymentListRoutesGlobals(
|
|
383
|
+
testmode=self.sdk_configuration.globals.testmode,
|
|
384
|
+
),
|
|
385
|
+
security=self.sdk_configuration.security,
|
|
386
|
+
timeout_ms=timeout_ms,
|
|
387
|
+
)
|
|
388
|
+
|
|
389
|
+
if retries == UNSET:
|
|
390
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
391
|
+
retries = self.sdk_configuration.retry_config
|
|
392
|
+
else:
|
|
393
|
+
retries = utils.RetryConfig(
|
|
394
|
+
"backoff", utils.BackoffStrategy(500, 5000, 2, 7500), True
|
|
395
|
+
)
|
|
396
|
+
|
|
397
|
+
retry_config = None
|
|
398
|
+
if isinstance(retries, utils.RetryConfig):
|
|
399
|
+
retry_config = (retries, ["5xx"])
|
|
400
|
+
|
|
401
|
+
http_res = await self.do_request_async(
|
|
402
|
+
hook_ctx=HookContext(
|
|
403
|
+
config=self.sdk_configuration,
|
|
404
|
+
base_url=base_url or "",
|
|
405
|
+
operation_id="payment-list-routes",
|
|
406
|
+
oauth2_scopes=None,
|
|
407
|
+
security_source=get_security_from_env(
|
|
408
|
+
self.sdk_configuration.security, models.Security
|
|
409
|
+
),
|
|
410
|
+
),
|
|
411
|
+
request=req,
|
|
412
|
+
error_status_codes=["404", "4XX", "5XX"],
|
|
413
|
+
retry_config=retry_config,
|
|
414
|
+
)
|
|
415
|
+
|
|
416
|
+
response_data: Any = None
|
|
417
|
+
if utils.match_response(http_res, "200", "application/hal+json"):
|
|
418
|
+
return unmarshal_json_response(models.PaymentListRoutesResponse, http_res)
|
|
419
|
+
if utils.match_response(http_res, "404", "application/hal+json"):
|
|
420
|
+
response_data = unmarshal_json_response(models.ErrorResponseData, http_res)
|
|
421
|
+
raise models.ErrorResponse(response_data, http_res)
|
|
422
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
423
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
424
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
425
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
426
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
427
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
428
|
+
|
|
429
|
+
raise models.APIError("Unexpected response received", http_res)
|
|
430
|
+
|
|
431
|
+
def get(
|
|
432
|
+
self,
|
|
433
|
+
*,
|
|
434
|
+
payment_id: str,
|
|
435
|
+
route_id: str,
|
|
436
|
+
idempotency_key: Optional[str] = None,
|
|
437
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
438
|
+
server_url: Optional[str] = None,
|
|
439
|
+
timeout_ms: Optional[int] = None,
|
|
440
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
441
|
+
) -> models.RouteGetResponse:
|
|
442
|
+
r"""Get a delayed route
|
|
443
|
+
|
|
444
|
+
Retrieve a single route created for a specific payment.
|
|
445
|
+
|
|
446
|
+
:param payment_id: Provide the ID of the related payment.
|
|
447
|
+
:param route_id: Provide the ID of the route.
|
|
448
|
+
:param idempotency_key: A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
449
|
+
:param retries: Override the default retry configuration for this method
|
|
450
|
+
:param server_url: Override the default server URL for this method
|
|
451
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
452
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
453
|
+
"""
|
|
454
|
+
base_url = None
|
|
455
|
+
url_variables = None
|
|
456
|
+
if timeout_ms is None:
|
|
457
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
458
|
+
|
|
459
|
+
if server_url is not None:
|
|
460
|
+
base_url = server_url
|
|
461
|
+
else:
|
|
462
|
+
base_url = self._get_url(base_url, url_variables)
|
|
463
|
+
|
|
464
|
+
request = models.PaymentGetRouteRequest(
|
|
465
|
+
payment_id=payment_id,
|
|
466
|
+
route_id=route_id,
|
|
467
|
+
idempotency_key=idempotency_key,
|
|
468
|
+
)
|
|
469
|
+
|
|
470
|
+
req = self._build_request(
|
|
471
|
+
method="GET",
|
|
472
|
+
path="/payments/{paymentId}/routes/{routeId}",
|
|
473
|
+
base_url=base_url,
|
|
474
|
+
url_variables=url_variables,
|
|
475
|
+
request=request,
|
|
476
|
+
request_body_required=False,
|
|
477
|
+
request_has_path_params=True,
|
|
478
|
+
request_has_query_params=True,
|
|
479
|
+
user_agent_header="user-agent",
|
|
480
|
+
accept_header_value="application/hal+json",
|
|
481
|
+
http_headers=http_headers,
|
|
482
|
+
security=self.sdk_configuration.security,
|
|
483
|
+
timeout_ms=timeout_ms,
|
|
484
|
+
)
|
|
485
|
+
|
|
486
|
+
if retries == UNSET:
|
|
487
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
488
|
+
retries = self.sdk_configuration.retry_config
|
|
489
|
+
else:
|
|
490
|
+
retries = utils.RetryConfig(
|
|
491
|
+
"backoff", utils.BackoffStrategy(500, 5000, 2, 7500), True
|
|
492
|
+
)
|
|
493
|
+
|
|
494
|
+
retry_config = None
|
|
495
|
+
if isinstance(retries, utils.RetryConfig):
|
|
496
|
+
retry_config = (retries, ["5xx"])
|
|
497
|
+
|
|
498
|
+
http_res = self.do_request(
|
|
499
|
+
hook_ctx=HookContext(
|
|
500
|
+
config=self.sdk_configuration,
|
|
501
|
+
base_url=base_url or "",
|
|
502
|
+
operation_id="payment-get-route",
|
|
503
|
+
oauth2_scopes=None,
|
|
504
|
+
security_source=get_security_from_env(
|
|
505
|
+
self.sdk_configuration.security, models.Security
|
|
506
|
+
),
|
|
507
|
+
),
|
|
508
|
+
request=req,
|
|
509
|
+
error_status_codes=["404", "4XX", "5XX"],
|
|
510
|
+
retry_config=retry_config,
|
|
511
|
+
)
|
|
512
|
+
|
|
513
|
+
response_data: Any = None
|
|
514
|
+
if utils.match_response(http_res, "200", "application/hal+json"):
|
|
515
|
+
return unmarshal_json_response(models.RouteGetResponse, http_res)
|
|
516
|
+
if utils.match_response(http_res, "404", "application/hal+json"):
|
|
517
|
+
response_data = unmarshal_json_response(models.ErrorResponseData, http_res)
|
|
518
|
+
raise models.ErrorResponse(response_data, http_res)
|
|
519
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
520
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
521
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
522
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
523
|
+
http_res_text = utils.stream_to_text(http_res)
|
|
524
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
525
|
+
|
|
526
|
+
raise models.APIError("Unexpected response received", http_res)
|
|
527
|
+
|
|
528
|
+
async def get_async(
|
|
529
|
+
self,
|
|
530
|
+
*,
|
|
531
|
+
payment_id: str,
|
|
532
|
+
route_id: str,
|
|
533
|
+
idempotency_key: Optional[str] = None,
|
|
534
|
+
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
535
|
+
server_url: Optional[str] = None,
|
|
536
|
+
timeout_ms: Optional[int] = None,
|
|
537
|
+
http_headers: Optional[Mapping[str, str]] = None,
|
|
538
|
+
) -> models.RouteGetResponse:
|
|
539
|
+
r"""Get a delayed route
|
|
540
|
+
|
|
541
|
+
Retrieve a single route created for a specific payment.
|
|
542
|
+
|
|
543
|
+
:param payment_id: Provide the ID of the related payment.
|
|
544
|
+
:param route_id: Provide the ID of the route.
|
|
545
|
+
:param idempotency_key: A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
546
|
+
:param retries: Override the default retry configuration for this method
|
|
547
|
+
:param server_url: Override the default server URL for this method
|
|
548
|
+
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
549
|
+
:param http_headers: Additional headers to set or replace on requests.
|
|
550
|
+
"""
|
|
551
|
+
base_url = None
|
|
552
|
+
url_variables = None
|
|
553
|
+
if timeout_ms is None:
|
|
554
|
+
timeout_ms = self.sdk_configuration.timeout_ms
|
|
555
|
+
|
|
556
|
+
if server_url is not None:
|
|
557
|
+
base_url = server_url
|
|
558
|
+
else:
|
|
559
|
+
base_url = self._get_url(base_url, url_variables)
|
|
560
|
+
|
|
561
|
+
request = models.PaymentGetRouteRequest(
|
|
562
|
+
payment_id=payment_id,
|
|
563
|
+
route_id=route_id,
|
|
564
|
+
idempotency_key=idempotency_key,
|
|
565
|
+
)
|
|
566
|
+
|
|
567
|
+
req = self._build_request_async(
|
|
568
|
+
method="GET",
|
|
569
|
+
path="/payments/{paymentId}/routes/{routeId}",
|
|
570
|
+
base_url=base_url,
|
|
571
|
+
url_variables=url_variables,
|
|
572
|
+
request=request,
|
|
573
|
+
request_body_required=False,
|
|
574
|
+
request_has_path_params=True,
|
|
575
|
+
request_has_query_params=True,
|
|
576
|
+
user_agent_header="user-agent",
|
|
577
|
+
accept_header_value="application/hal+json",
|
|
578
|
+
http_headers=http_headers,
|
|
579
|
+
security=self.sdk_configuration.security,
|
|
580
|
+
timeout_ms=timeout_ms,
|
|
581
|
+
)
|
|
582
|
+
|
|
583
|
+
if retries == UNSET:
|
|
584
|
+
if self.sdk_configuration.retry_config is not UNSET:
|
|
585
|
+
retries = self.sdk_configuration.retry_config
|
|
586
|
+
else:
|
|
587
|
+
retries = utils.RetryConfig(
|
|
588
|
+
"backoff", utils.BackoffStrategy(500, 5000, 2, 7500), True
|
|
589
|
+
)
|
|
590
|
+
|
|
591
|
+
retry_config = None
|
|
592
|
+
if isinstance(retries, utils.RetryConfig):
|
|
593
|
+
retry_config = (retries, ["5xx"])
|
|
594
|
+
|
|
595
|
+
http_res = await self.do_request_async(
|
|
596
|
+
hook_ctx=HookContext(
|
|
597
|
+
config=self.sdk_configuration,
|
|
598
|
+
base_url=base_url or "",
|
|
599
|
+
operation_id="payment-get-route",
|
|
600
|
+
oauth2_scopes=None,
|
|
601
|
+
security_source=get_security_from_env(
|
|
602
|
+
self.sdk_configuration.security, models.Security
|
|
603
|
+
),
|
|
604
|
+
),
|
|
605
|
+
request=req,
|
|
606
|
+
error_status_codes=["404", "4XX", "5XX"],
|
|
607
|
+
retry_config=retry_config,
|
|
608
|
+
)
|
|
609
|
+
|
|
610
|
+
response_data: Any = None
|
|
611
|
+
if utils.match_response(http_res, "200", "application/hal+json"):
|
|
612
|
+
return unmarshal_json_response(models.RouteGetResponse, http_res)
|
|
613
|
+
if utils.match_response(http_res, "404", "application/hal+json"):
|
|
614
|
+
response_data = unmarshal_json_response(models.ErrorResponseData, http_res)
|
|
615
|
+
raise models.ErrorResponse(response_data, http_res)
|
|
616
|
+
if utils.match_response(http_res, "4XX", "*"):
|
|
617
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
618
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
619
|
+
if utils.match_response(http_res, "5XX", "*"):
|
|
620
|
+
http_res_text = await utils.stream_to_text_async(http_res)
|
|
621
|
+
raise models.APIError("API error occurred", http_res, http_res_text)
|
|
622
|
+
|
|
623
|
+
raise models.APIError("Unexpected response received", http_res)
|