Debian Codegraph @

stripe/params/issuing/_card_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 CardListParams(RequestOptions):
9 cardholder: NotRequired[str]
10 """
11 Only return cards belonging to the Cardholder with the provided ID.
12 """
13 created: NotRequired["CardListParamsCreated|int"]
14 """
15 Only return cards that were issued during the given date interval.
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 exp_month: NotRequired[int]
22 """
23 Only return cards that have the given expiration month.
24 """
25 exp_year: NotRequired[int]
26 """
27 Only return cards that have the given expiration year.
28 """
29 expand: NotRequired[List[str]]
30 """
31 Specifies which fields in the response should be expanded.
32 """
33 last4: NotRequired[str]
34 """
35 Only return cards that have the given last four digits.
36 """
37 limit: NotRequired[int]
38 """
39 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
40 """
41 personalization_design: NotRequired[str]
42 starting_after: NotRequired[str]
43 """
44 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.
45 """
46 status: NotRequired[Literal["active", "canceled", "inactive"]]
47 """
48 Only return cards that have the given status. One of `active`, `inactive`, or `canceled`.
49 """
50 type: NotRequired[Literal["physical", "virtual"]]
51 """
52 Only return cards that have the given type. One of `virtual` or `physical`.
53 """
54
55
56 class CardListParamsCreated(TypedDict):
57 gt: NotRequired[int]
58 """
59 Minimum value to filter by (exclusive)
60 """
61 gte: NotRequired[int]
62 """
63 Minimum value to filter by (inclusive)
64 """
65 lt: NotRequired[int]
66 """
67 Maximum value to filter by (exclusive)
68 """
69 lte: NotRequired[int]
70 """
71 Maximum value to filter by (inclusive)
72 """