Debian Codegraph @

stripe/params/_setup_intent_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 SetupIntentListParams(RequestOptions):
9 attach_to_self: NotRequired[bool]
10 """
11 If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
12
13 It can only be used for this Stripe Account's own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
14 """
15 created: NotRequired["SetupIntentListParamsCreated|int"]
16 """
17 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.
18 """
19 customer: NotRequired[str]
20 """
21 Only return SetupIntents for the customer specified by this customer ID.
22 """
23 customer_account: NotRequired[str]
24 """
25 Only return SetupIntents for the account specified by this customer ID.
26 """
27 ending_before: NotRequired[str]
28 """
29 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.
30 """
31 expand: NotRequired[List[str]]
32 """
33 Specifies which fields in the response should be expanded.
34 """
35 limit: NotRequired[int]
36 """
37 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
38 """
39 payment_method: NotRequired[str]
40 """
41 Only return SetupIntents that associate with the specified payment method.
42 """
43 starting_after: NotRequired[str]
44 """
45 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.
46 """
47
48
49 class SetupIntentListParamsCreated(TypedDict):
50 gt: NotRequired[int]
51 """
52 Minimum value to filter by (exclusive)
53 """
54 gte: NotRequired[int]
55 """
56 Minimum value to filter by (inclusive)
57 """
58 lt: NotRequired[int]
59 """
60 Maximum value to filter by (exclusive)
61 """
62 lte: NotRequired[int]
63 """
64 Maximum value to filter by (inclusive)
65 """