Debian Codegraph @

stripe/params/_topup_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 TopupListParams(RequestOptions):
9 amount: NotRequired["TopupListParamsAmount|int"]
10 """
11 A positive integer representing how much to transfer.
12 """
13 created: NotRequired["TopupListParamsCreated|int"]
14 """
15 A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
16 """
17 ending_before: NotRequired[str]
18 """
19 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.
20 """
21 expand: NotRequired[List[str]]
22 """
23 Specifies which fields in the response should be expanded.
24 """
25 limit: NotRequired[int]
26 """
27 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
28 """
29 starting_after: NotRequired[str]
30 """
31 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.
32 """
33 status: NotRequired[Literal["canceled", "failed", "pending", "succeeded"]]
34 """
35 Only return top-ups that have the given status. One of `canceled`, `failed`, `pending` or `succeeded`.
36 """
37
38
39 class TopupListParamsAmount(TypedDict):
40 gt: NotRequired[int]
41 """
42 Minimum value to filter by (exclusive)
43 """
44 gte: NotRequired[int]
45 """
46 Minimum value to filter by (inclusive)
47 """
48 lt: NotRequired[int]
49 """
50 Maximum value to filter by (exclusive)
51 """
52 lte: NotRequired[int]
53 """
54 Maximum value to filter by (inclusive)
55 """
56
57
58 class TopupListParamsCreated(TypedDict):
59 gt: NotRequired[int]
60 """
61 Minimum value to filter by (exclusive)
62 """
63 gte: NotRequired[int]
64 """
65 Minimum value to filter by (inclusive)
66 """
67 lt: NotRequired[int]
68 """
69 Maximum value to filter by (exclusive)
70 """
71 lte: NotRequired[int]
72 """
73 Maximum value to filter by (inclusive)
74 """