| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# File generated from our OpenAPI spec |
| 3 |
from typing import List |
| 4 |
from typing_extensions import NotRequired, TypedDict |
| 5 |
|
| 6 |
|
| 7 |
class CustomerBalanceTransactionListParams(TypedDict): |
| 8 |
created: NotRequired["CustomerBalanceTransactionListParamsCreated|int"] |
| 9 |
""" |
| 10 |
Only return customer balance transactions that were created during the given date interval. |
| 11 |
""" |
| 12 |
ending_before: NotRequired[str] |
| 13 |
""" |
| 14 |
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. |
| 15 |
""" |
| 16 |
expand: NotRequired[List[str]] |
| 17 |
""" |
| 18 |
Specifies which fields in the response should be expanded. |
| 19 |
""" |
| 20 |
invoice: NotRequired[str] |
| 21 |
""" |
| 22 |
Only return transactions that are related to the specified invoice. |
| 23 |
""" |
| 24 |
limit: NotRequired[int] |
| 25 |
""" |
| 26 |
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| 27 |
""" |
| 28 |
starting_after: NotRequired[str] |
| 29 |
""" |
| 30 |
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. |
| 31 |
""" |
| 32 |
|
| 33 |
|
| 34 |
class CustomerBalanceTransactionListParamsCreated(TypedDict): |
| 35 |
gt: NotRequired[int] |
| 36 |
""" |
| 37 |
Minimum value to filter by (exclusive) |
| 38 |
""" |
| 39 |
gte: NotRequired[int] |
| 40 |
""" |
| 41 |
Minimum value to filter by (inclusive) |
| 42 |
""" |
| 43 |
lt: NotRequired[int] |
| 44 |
""" |
| 45 |
Maximum value to filter by (exclusive) |
| 46 |
""" |
| 47 |
lte: NotRequired[int] |
| 48 |
""" |
| 49 |
Maximum value to filter by (inclusive) |
| 50 |
""" |