maytes-api-client-py 0.1.1__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.
- maytes_api_client_py-0.1.1/LICENSE +21 -0
- maytes_api_client_py-0.1.1/PKG-INFO +70 -0
- maytes_api_client_py-0.1.1/README.md +46 -0
- maytes_api_client_py-0.1.1/maytes_api_client/__init__.py +150 -0
- maytes_api_client_py-0.1.1/maytes_api_client/api/__init__.py +5 -0
- maytes_api_client_py-0.1.1/maytes_api_client/api/default_api.py +2661 -0
- maytes_api_client_py-0.1.1/maytes_api_client/api_client.py +804 -0
- maytes_api_client_py-0.1.1/maytes_api_client/api_response.py +21 -0
- maytes_api_client_py-0.1.1/maytes_api_client/configuration.py +630 -0
- maytes_api_client_py-0.1.1/maytes_api_client/exceptions.py +218 -0
- maytes_api_client_py-0.1.1/maytes_api_client/managed_client.py +199 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/__init__.py +64 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/cancel_checkout409_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/cancel_checkout_request.py +88 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/cancel_checkout_response.py +92 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/capture_checkout409_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/capture_checkout422_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/capture_checkout_request.py +118 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/capture_checkout_response.py +92 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/checkout.py +159 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/checkout_cancelled.py +97 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/checkout_captured.py +109 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/checkout_created.py +95 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/checkout_discount.py +133 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/checkout_fee.py +150 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/create_checkout401_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/create_checkout409_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/create_checkout422_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/create_checkout_request.py +213 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/create_checkout_response.py +92 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/create_refund_request.py +91 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/customer_data.py +107 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/digital_goods_custom_data.py +93 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/digital_goods_line_item.py +150 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/donation_line_item.py +144 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/error_response_dto.py +94 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/fee.py +103 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/fee_breakdown_line.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/food_beverage_line_item.py +144 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/get_checkout404_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/get_checkout422_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/get_checkout_response.py +92 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/get_settlement_response.py +92 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/health_response.py +88 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/line_item.py +210 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/list_settlements_response.py +96 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/o_auth_token_request.py +102 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/o_auth_token_response.py +96 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/other_line_item.py +144 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/physical_goods_custom_data.py +90 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/physical_goods_line_item.py +150 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/refund_checkout402_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/refund_checkout409_response.py +101 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/service_custom_data.py +93 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/service_line_item.py +150 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/settlement.py +160 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/tax.py +111 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/ticket_custom_data.py +125 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/ticket_line_item.py +150 -0
- maytes_api_client_py-0.1.1/maytes_api_client/models/ticket_seating.py +94 -0
- maytes_api_client_py-0.1.1/maytes_api_client/py.typed +0 -0
- maytes_api_client_py-0.1.1/maytes_api_client/rest.py +263 -0
- maytes_api_client_py-0.1.1/maytes_api_client/webhook_verifier.py +197 -0
- maytes_api_client_py-0.1.1/maytes_api_client_py.egg-info/PKG-INFO +70 -0
- maytes_api_client_py-0.1.1/maytes_api_client_py.egg-info/SOURCES.txt +119 -0
- maytes_api_client_py-0.1.1/maytes_api_client_py.egg-info/dependency_links.txt +1 -0
- maytes_api_client_py-0.1.1/maytes_api_client_py.egg-info/requires.txt +4 -0
- maytes_api_client_py-0.1.1/maytes_api_client_py.egg-info/top_level.txt +1 -0
- maytes_api_client_py-0.1.1/pyproject.toml +98 -0
- maytes_api_client_py-0.1.1/setup.cfg +7 -0
- maytes_api_client_py-0.1.1/setup.py +47 -0
- maytes_api_client_py-0.1.1/test/test_cancel_checkout409_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_cancel_checkout_request.py +51 -0
- maytes_api_client_py-0.1.1/test/test_cancel_checkout_response.py +58 -0
- maytes_api_client_py-0.1.1/test/test_capture_checkout409_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_capture_checkout422_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_capture_checkout_request.py +56 -0
- maytes_api_client_py-0.1.1/test/test_capture_checkout_response.py +64 -0
- maytes_api_client_py-0.1.1/test/test_checkout.py +102 -0
- maytes_api_client_py-0.1.1/test/test_checkout_cancelled.py +56 -0
- maytes_api_client_py-0.1.1/test/test_checkout_captured.py +62 -0
- maytes_api_client_py-0.1.1/test/test_checkout_created.py +58 -0
- maytes_api_client_py-0.1.1/test/test_checkout_discount.py +65 -0
- maytes_api_client_py-0.1.1/test/test_checkout_fee.py +66 -0
- maytes_api_client_py-0.1.1/test/test_create_checkout401_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_create_checkout409_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_create_checkout422_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_create_checkout_request.py +108 -0
- maytes_api_client_py-0.1.1/test/test_create_checkout_response.py +60 -0
- maytes_api_client_py-0.1.1/test/test_create_refund_request.py +53 -0
- maytes_api_client_py-0.1.1/test/test_customer_data.py +53 -0
- maytes_api_client_py-0.1.1/test/test_default_api.py +94 -0
- maytes_api_client_py-0.1.1/test/test_digital_goods_custom_data.py +51 -0
- maytes_api_client_py-0.1.1/test/test_digital_goods_line_item.py +68 -0
- maytes_api_client_py-0.1.1/test/test_donation_line_item.py +66 -0
- maytes_api_client_py-0.1.1/test/test_error_response_dto.py +59 -0
- maytes_api_client_py-0.1.1/test/test_fee.py +70 -0
- maytes_api_client_py-0.1.1/test/test_fee_breakdown_line.py +58 -0
- maytes_api_client_py-0.1.1/test/test_food_beverage_line_item.py +66 -0
- maytes_api_client_py-0.1.1/test/test_get_checkout404_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_get_checkout422_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_get_checkout_response.py +104 -0
- maytes_api_client_py-0.1.1/test/test_get_settlement_response.py +88 -0
- maytes_api_client_py-0.1.1/test/test_health_response.py +52 -0
- maytes_api_client_py-0.1.1/test/test_line_item.py +70 -0
- maytes_api_client_py-0.1.1/test/test_list_settlements_response.py +92 -0
- maytes_api_client_py-0.1.1/test/test_o_auth_token_request.py +59 -0
- maytes_api_client_py-0.1.1/test/test_o_auth_token_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_other_line_item.py +66 -0
- maytes_api_client_py-0.1.1/test/test_physical_goods_custom_data.py +53 -0
- maytes_api_client_py-0.1.1/test/test_physical_goods_line_item.py +72 -0
- maytes_api_client_py-0.1.1/test/test_refund_checkout402_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_refund_checkout409_response.py +59 -0
- maytes_api_client_py-0.1.1/test/test_service_custom_data.py +51 -0
- maytes_api_client_py-0.1.1/test/test_service_line_item.py +68 -0
- maytes_api_client_py-0.1.1/test/test_settlement.py +86 -0
- maytes_api_client_py-0.1.1/test/test_tax.py +53 -0
- maytes_api_client_py-0.1.1/test/test_ticket_custom_data.py +73 -0
- maytes_api_client_py-0.1.1/test/test_ticket_line_item.py +108 -0
- maytes_api_client_py-0.1.1/test/test_ticket_seating.py +56 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Maytes
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: maytes-api-client-py
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: Official Python client for the Maytes API — create, capture and cancel checkouts, with OAuth2 token management and webhook signature verification.
|
|
5
|
+
Home-page: https://github.com/kttipay/maytes-api-client-py
|
|
6
|
+
Author: Maytes
|
|
7
|
+
Author-email: team@openapitools.org
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Repository, https://github.com/kttipay/maytes-api-client-py
|
|
10
|
+
Project-URL: Homepage, https://developers.maytes.co
|
|
11
|
+
Project-URL: Documentation, https://developers.maytes.co
|
|
12
|
+
Project-URL: Issues, https://github.com/kttipay/maytes-api-client-py/issues
|
|
13
|
+
Keywords: maytes,checkout,payments,api,sdk
|
|
14
|
+
Requires-Python: >=3.9
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
18
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
19
|
+
Requires-Dist: pydantic>=2.11
|
|
20
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: home-page
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
25
|
+
# Maytes Python SDK
|
|
26
|
+
|
|
27
|
+
Official Python client for the [Maytes API](https://developers.maytes.co) — create,
|
|
28
|
+
capture and cancel checkouts, and verify inbound webhook signatures.
|
|
29
|
+
|
|
30
|
+
> **Generated package.** This repository is a build artefact, published from the
|
|
31
|
+
> Maytes API service definition. Pull requests here are not accepted — file
|
|
32
|
+
> issues instead, and fixes land upstream in the source model.
|
|
33
|
+
|
|
34
|
+
## Install
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install maytes-api-client-py
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
|
|
42
|
+
The client mints an OAuth2 `client_credentials` token on first use, caches it,
|
|
43
|
+
and — on a `401` — refreshes and retries the request once. There is no
|
|
44
|
+
client-side expiry maths to get wrong, and no proactive refresh to schedule.
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
from maytes_api_client import create_maytes_api_client, verify_webhook_signature
|
|
48
|
+
|
|
49
|
+
client = create_maytes_api_client(endpoint, client_id, client_secret)
|
|
50
|
+
checkout = client.create_checkout(request)
|
|
51
|
+
|
|
52
|
+
event = verify_webhook_signature(raw_body, signature_header, signing_secret)
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
The PyPI project is `maytes-api-client-py`; the import package is
|
|
56
|
+
`maytes_api_client`.
|
|
57
|
+
|
|
58
|
+
### Verifying webhooks
|
|
59
|
+
|
|
60
|
+
Verify **before** parsing the body, and pass the raw request bytes — not a
|
|
61
|
+
re-encoded object. Re-serialising changes the bytes and the signature will not
|
|
62
|
+
match. The event id is stable across retries, so deduplicate on it.
|
|
63
|
+
|
|
64
|
+
## Documentation
|
|
65
|
+
|
|
66
|
+
Full integration docs: <https://developers.maytes.co>
|
|
67
|
+
|
|
68
|
+
## License
|
|
69
|
+
|
|
70
|
+
MIT — see [LICENSE](LICENSE).
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Maytes Python SDK
|
|
2
|
+
|
|
3
|
+
Official Python client for the [Maytes API](https://developers.maytes.co) — create,
|
|
4
|
+
capture and cancel checkouts, and verify inbound webhook signatures.
|
|
5
|
+
|
|
6
|
+
> **Generated package.** This repository is a build artefact, published from the
|
|
7
|
+
> Maytes API service definition. Pull requests here are not accepted — file
|
|
8
|
+
> issues instead, and fixes land upstream in the source model.
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
pip install maytes-api-client-py
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
The client mints an OAuth2 `client_credentials` token on first use, caches it,
|
|
19
|
+
and — on a `401` — refreshes and retries the request once. There is no
|
|
20
|
+
client-side expiry maths to get wrong, and no proactive refresh to schedule.
|
|
21
|
+
|
|
22
|
+
```python
|
|
23
|
+
from maytes_api_client import create_maytes_api_client, verify_webhook_signature
|
|
24
|
+
|
|
25
|
+
client = create_maytes_api_client(endpoint, client_id, client_secret)
|
|
26
|
+
checkout = client.create_checkout(request)
|
|
27
|
+
|
|
28
|
+
event = verify_webhook_signature(raw_body, signature_header, signing_secret)
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
The PyPI project is `maytes-api-client-py`; the import package is
|
|
32
|
+
`maytes_api_client`.
|
|
33
|
+
|
|
34
|
+
### Verifying webhooks
|
|
35
|
+
|
|
36
|
+
Verify **before** parsing the body, and pass the raw request bytes — not a
|
|
37
|
+
re-encoded object. Re-serialising changes the bytes and the signature will not
|
|
38
|
+
match. The event id is stable across retries, so deduplicate on it.
|
|
39
|
+
|
|
40
|
+
## Documentation
|
|
41
|
+
|
|
42
|
+
Full integration docs: <https://developers.maytes.co>
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
MIT — see [LICENSE](LICENSE).
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Maytes API
|
|
7
|
+
|
|
8
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 1.0.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "0.1.1"
|
|
18
|
+
|
|
19
|
+
# Define package exports
|
|
20
|
+
__all__ = [
|
|
21
|
+
"DefaultApi",
|
|
22
|
+
"ApiResponse",
|
|
23
|
+
"ApiClient",
|
|
24
|
+
"Configuration",
|
|
25
|
+
"OpenApiException",
|
|
26
|
+
"ApiTypeError",
|
|
27
|
+
"ApiValueError",
|
|
28
|
+
"ApiKeyError",
|
|
29
|
+
"ApiAttributeError",
|
|
30
|
+
"ApiException",
|
|
31
|
+
"CancelCheckout409Response",
|
|
32
|
+
"CancelCheckoutRequest",
|
|
33
|
+
"CancelCheckoutResponse",
|
|
34
|
+
"CaptureCheckout409Response",
|
|
35
|
+
"CaptureCheckout422Response",
|
|
36
|
+
"CaptureCheckoutRequest",
|
|
37
|
+
"CaptureCheckoutResponse",
|
|
38
|
+
"Checkout",
|
|
39
|
+
"CheckoutCancelled",
|
|
40
|
+
"CheckoutCaptured",
|
|
41
|
+
"CheckoutCreated",
|
|
42
|
+
"CheckoutDiscount",
|
|
43
|
+
"CheckoutFee",
|
|
44
|
+
"CreateCheckout401Response",
|
|
45
|
+
"CreateCheckout409Response",
|
|
46
|
+
"CreateCheckout422Response",
|
|
47
|
+
"CreateCheckoutRequest",
|
|
48
|
+
"CreateCheckoutResponse",
|
|
49
|
+
"CreateRefundRequest",
|
|
50
|
+
"CustomerData",
|
|
51
|
+
"DigitalGoodsCustomData",
|
|
52
|
+
"DigitalGoodsLineItem",
|
|
53
|
+
"DonationLineItem",
|
|
54
|
+
"ErrorResponseDto",
|
|
55
|
+
"Fee",
|
|
56
|
+
"FeeBreakdownLine",
|
|
57
|
+
"FoodBeverageLineItem",
|
|
58
|
+
"GetCheckout404Response",
|
|
59
|
+
"GetCheckout422Response",
|
|
60
|
+
"GetCheckoutResponse",
|
|
61
|
+
"GetSettlementResponse",
|
|
62
|
+
"HealthResponse",
|
|
63
|
+
"LineItem",
|
|
64
|
+
"ListSettlementsResponse",
|
|
65
|
+
"OAuthTokenRequest",
|
|
66
|
+
"OAuthTokenResponse",
|
|
67
|
+
"OtherLineItem",
|
|
68
|
+
"PhysicalGoodsCustomData",
|
|
69
|
+
"PhysicalGoodsLineItem",
|
|
70
|
+
"RefundCheckout402Response",
|
|
71
|
+
"RefundCheckout409Response",
|
|
72
|
+
"ServiceCustomData",
|
|
73
|
+
"ServiceLineItem",
|
|
74
|
+
"Settlement",
|
|
75
|
+
"Tax",
|
|
76
|
+
"TicketCustomData",
|
|
77
|
+
"TicketLineItem",
|
|
78
|
+
"TicketSeating",
|
|
79
|
+
]
|
|
80
|
+
|
|
81
|
+
# import apis into sdk package
|
|
82
|
+
from maytes_api_client.api.default_api import DefaultApi as DefaultApi
|
|
83
|
+
|
|
84
|
+
# import ApiClient
|
|
85
|
+
from maytes_api_client.api_response import ApiResponse as ApiResponse
|
|
86
|
+
from maytes_api_client.api_client import ApiClient as ApiClient
|
|
87
|
+
from maytes_api_client.configuration import Configuration as Configuration
|
|
88
|
+
from maytes_api_client.exceptions import OpenApiException as OpenApiException
|
|
89
|
+
from maytes_api_client.exceptions import ApiTypeError as ApiTypeError
|
|
90
|
+
from maytes_api_client.exceptions import ApiValueError as ApiValueError
|
|
91
|
+
from maytes_api_client.exceptions import ApiKeyError as ApiKeyError
|
|
92
|
+
from maytes_api_client.exceptions import ApiAttributeError as ApiAttributeError
|
|
93
|
+
from maytes_api_client.exceptions import ApiException as ApiException
|
|
94
|
+
|
|
95
|
+
# import models into sdk package
|
|
96
|
+
from maytes_api_client.models.cancel_checkout409_response import CancelCheckout409Response as CancelCheckout409Response
|
|
97
|
+
from maytes_api_client.models.cancel_checkout_request import CancelCheckoutRequest as CancelCheckoutRequest
|
|
98
|
+
from maytes_api_client.models.cancel_checkout_response import CancelCheckoutResponse as CancelCheckoutResponse
|
|
99
|
+
from maytes_api_client.models.capture_checkout409_response import CaptureCheckout409Response as CaptureCheckout409Response
|
|
100
|
+
from maytes_api_client.models.capture_checkout422_response import CaptureCheckout422Response as CaptureCheckout422Response
|
|
101
|
+
from maytes_api_client.models.capture_checkout_request import CaptureCheckoutRequest as CaptureCheckoutRequest
|
|
102
|
+
from maytes_api_client.models.capture_checkout_response import CaptureCheckoutResponse as CaptureCheckoutResponse
|
|
103
|
+
from maytes_api_client.models.checkout import Checkout as Checkout
|
|
104
|
+
from maytes_api_client.models.checkout_cancelled import CheckoutCancelled as CheckoutCancelled
|
|
105
|
+
from maytes_api_client.models.checkout_captured import CheckoutCaptured as CheckoutCaptured
|
|
106
|
+
from maytes_api_client.models.checkout_created import CheckoutCreated as CheckoutCreated
|
|
107
|
+
from maytes_api_client.models.checkout_discount import CheckoutDiscount as CheckoutDiscount
|
|
108
|
+
from maytes_api_client.models.checkout_fee import CheckoutFee as CheckoutFee
|
|
109
|
+
from maytes_api_client.models.create_checkout401_response import CreateCheckout401Response as CreateCheckout401Response
|
|
110
|
+
from maytes_api_client.models.create_checkout409_response import CreateCheckout409Response as CreateCheckout409Response
|
|
111
|
+
from maytes_api_client.models.create_checkout422_response import CreateCheckout422Response as CreateCheckout422Response
|
|
112
|
+
from maytes_api_client.models.create_checkout_request import CreateCheckoutRequest as CreateCheckoutRequest
|
|
113
|
+
from maytes_api_client.models.create_checkout_response import CreateCheckoutResponse as CreateCheckoutResponse
|
|
114
|
+
from maytes_api_client.models.create_refund_request import CreateRefundRequest as CreateRefundRequest
|
|
115
|
+
from maytes_api_client.models.customer_data import CustomerData as CustomerData
|
|
116
|
+
from maytes_api_client.models.digital_goods_custom_data import DigitalGoodsCustomData as DigitalGoodsCustomData
|
|
117
|
+
from maytes_api_client.models.digital_goods_line_item import DigitalGoodsLineItem as DigitalGoodsLineItem
|
|
118
|
+
from maytes_api_client.models.donation_line_item import DonationLineItem as DonationLineItem
|
|
119
|
+
from maytes_api_client.models.error_response_dto import ErrorResponseDto as ErrorResponseDto
|
|
120
|
+
from maytes_api_client.models.fee import Fee as Fee
|
|
121
|
+
from maytes_api_client.models.fee_breakdown_line import FeeBreakdownLine as FeeBreakdownLine
|
|
122
|
+
from maytes_api_client.models.food_beverage_line_item import FoodBeverageLineItem as FoodBeverageLineItem
|
|
123
|
+
from maytes_api_client.models.get_checkout404_response import GetCheckout404Response as GetCheckout404Response
|
|
124
|
+
from maytes_api_client.models.get_checkout422_response import GetCheckout422Response as GetCheckout422Response
|
|
125
|
+
from maytes_api_client.models.get_checkout_response import GetCheckoutResponse as GetCheckoutResponse
|
|
126
|
+
from maytes_api_client.models.get_settlement_response import GetSettlementResponse as GetSettlementResponse
|
|
127
|
+
from maytes_api_client.models.health_response import HealthResponse as HealthResponse
|
|
128
|
+
from maytes_api_client.models.line_item import LineItem as LineItem
|
|
129
|
+
from maytes_api_client.models.list_settlements_response import ListSettlementsResponse as ListSettlementsResponse
|
|
130
|
+
from maytes_api_client.models.o_auth_token_request import OAuthTokenRequest as OAuthTokenRequest
|
|
131
|
+
from maytes_api_client.models.o_auth_token_response import OAuthTokenResponse as OAuthTokenResponse
|
|
132
|
+
from maytes_api_client.models.other_line_item import OtherLineItem as OtherLineItem
|
|
133
|
+
from maytes_api_client.models.physical_goods_custom_data import PhysicalGoodsCustomData as PhysicalGoodsCustomData
|
|
134
|
+
from maytes_api_client.models.physical_goods_line_item import PhysicalGoodsLineItem as PhysicalGoodsLineItem
|
|
135
|
+
from maytes_api_client.models.refund_checkout402_response import RefundCheckout402Response as RefundCheckout402Response
|
|
136
|
+
from maytes_api_client.models.refund_checkout409_response import RefundCheckout409Response as RefundCheckout409Response
|
|
137
|
+
from maytes_api_client.models.service_custom_data import ServiceCustomData as ServiceCustomData
|
|
138
|
+
from maytes_api_client.models.service_line_item import ServiceLineItem as ServiceLineItem
|
|
139
|
+
from maytes_api_client.models.settlement import Settlement as Settlement
|
|
140
|
+
from maytes_api_client.models.tax import Tax as Tax
|
|
141
|
+
from maytes_api_client.models.ticket_custom_data import TicketCustomData as TicketCustomData
|
|
142
|
+
from maytes_api_client.models.ticket_line_item import TicketLineItem as TicketLineItem
|
|
143
|
+
from maytes_api_client.models.ticket_seating import TicketSeating as TicketSeating
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
# Managed OAuth (post-processed in by sdks/backend-sdk/bin/postprocess-python.sh)
|
|
147
|
+
from maytes_api_client.managed_client import OAuthTokenProvider, create_maytes_api_client
|
|
148
|
+
|
|
149
|
+
# Webhook signature verification (post-processed in by sdks/backend-sdk/bin/postprocess-python.sh)
|
|
150
|
+
from maytes_api_client.webhook_verifier import MaytesWebhookEvent, WebhookSignatureError, verify_webhook_signature
|