Debian Codegraph @

stripe/params/_setup_attempt_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 NotRequired, TypedDict
6
7
8 class SetupAttemptListParams(RequestOptions):
9 created: NotRequired["SetupAttemptListParamsCreated|int"]
10 """
11 A filter on the list, based on the object `created` field. The value
12 can be a string with an integer Unix timestamp or a
13 dictionary with a number of different query options.
14 """
15 ending_before: NotRequired[str]
16 """
17 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.
18 """
19 expand: NotRequired[List[str]]
20 """
21 Specifies which fields in the response should be expanded.
22 """
23 limit: NotRequired[int]
24 """
25 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
26 """
27 setup_intent: str
28 """
29 Only return SetupAttempts created by the SetupIntent specified by
30 this ID.
31 """
32 starting_after: NotRequired[str]
33 """
34 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.
35 """
36
37
38 class SetupAttemptListParamsCreated(TypedDict):
39 gt: NotRequired[int]
40 """
41 Minimum value to filter by (exclusive)
42 """
43 gte: NotRequired[int]
44 """
45 Minimum value to filter by (inclusive)
46 """
47 lt: NotRequired[int]
48 """
49 Maximum value to filter by (exclusive)
50 """
51 lte: NotRequired[int]
52 """
53 Maximum value to filter by (inclusive)
54 """