Debian Codegraph @

stripe/params/_payout_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 PayoutListParams(RequestOptions):
9 arrival_date: NotRequired["PayoutListParamsArrivalDate|int"]
10 """
11 Only return payouts that are expected to arrive during the given date interval.
12 """
13 created: NotRequired["PayoutListParamsCreated|int"]
14 """
15 Only return payouts that were created during the given date interval.
16 """
17 destination: NotRequired[str]
18 """
19 The ID of an external account - only return payouts sent to this external account.
20 """
21 ending_before: NotRequired[str]
22 """
23 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.
24 """
25 expand: NotRequired[List[str]]
26 """
27 Specifies which fields in the response should be expanded.
28 """
29 limit: NotRequired[int]
30 """
31 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
32 """
33 starting_after: NotRequired[str]
34 """
35 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.
36 """
37 status: NotRequired[str]
38 """
39 Only return payouts that have the given status: `pending`, `paid`, `failed`, or `canceled`.
40 """
41
42
43 class PayoutListParamsArrivalDate(TypedDict):
44 gt: NotRequired[int]
45 """
46 Minimum value to filter by (exclusive)
47 """
48 gte: NotRequired[int]
49 """
50 Minimum value to filter by (inclusive)
51 """
52 lt: NotRequired[int]
53 """
54 Maximum value to filter by (exclusive)
55 """
56 lte: NotRequired[int]
57 """
58 Maximum value to filter by (inclusive)
59 """
60
61
62 class PayoutListParamsCreated(TypedDict):
63 gt: NotRequired[int]
64 """
65 Minimum value to filter by (exclusive)
66 """
67 gte: NotRequired[int]
68 """
69 Minimum value to filter by (inclusive)
70 """
71 lt: NotRequired[int]
72 """
73 Maximum value to filter by (exclusive)
74 """
75 lte: NotRequired[int]
76 """
77 Maximum value to filter by (inclusive)
78 """