Debian Codegraph @

stripe/params/treasury/_transaction_entry_list_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._request_options import RequestOptions
4 from typing import List
5 from typing_extensions import Literal, NotRequired, TypedDict
6
7
8 class TransactionEntryListParams(RequestOptions):
9 created: NotRequired["TransactionEntryListParamsCreated|int"]
10 """
11 Only return TransactionEntries that were created during the given date interval.
12 """
13 effective_at: NotRequired["TransactionEntryListParamsEffectiveAt|int"]
14 ending_before: NotRequired[str]
15 """
16 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.
17 """
18 expand: NotRequired[List[str]]
19 """
20 Specifies which fields in the response should be expanded.
21 """
22 financial_account: str
23 """
24 Returns objects associated with this FinancialAccount.
25 """
26 limit: NotRequired[int]
27 """
28 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
29 """
30 order_by: NotRequired[Literal["created", "effective_at"]]
31 """
32 The results are in reverse chronological order by `created` or `effective_at`. The default is `created`.
33 """
34 starting_after: NotRequired[str]
35 """
36 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.
37 """
38 transaction: NotRequired[str]
39 """
40 Only return TransactionEntries associated with this Transaction.
41 """
42
43
44 class TransactionEntryListParamsCreated(TypedDict):
45 gt: NotRequired[int]
46 """
47 Minimum value to filter by (exclusive)
48 """
49 gte: NotRequired[int]
50 """
51 Minimum value to filter by (inclusive)
52 """
53 lt: NotRequired[int]
54 """
55 Maximum value to filter by (exclusive)
56 """
57 lte: NotRequired[int]
58 """
59 Maximum value to filter by (inclusive)
60 """
61
62
63 class TransactionEntryListParamsEffectiveAt(TypedDict):
64 gt: NotRequired[int]
65 """
66 Minimum value to filter by (exclusive)
67 """
68 gte: NotRequired[int]
69 """
70 Minimum value to filter by (inclusive)
71 """
72 lt: NotRequired[int]
73 """
74 Maximum value to filter by (exclusive)
75 """
76 lte: NotRequired[int]
77 """
78 Maximum value to filter by (inclusive)
79 """