Debian Codegraph @

stripe/params/_account_list_persons_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 AccountListPersonsParams(RequestOptions):
9 ending_before: NotRequired[str]
10 """
11 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.
12 """
13 expand: NotRequired[List[str]]
14 """
15 Specifies which fields in the response should be expanded.
16 """
17 limit: NotRequired[int]
18 """
19 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
20 """
21 relationship: NotRequired["AccountListPersonsParamsRelationship"]
22 """
23 Filters on the list of people returned based on the person's relationship to the account's company.
24 """
25 starting_after: NotRequired[str]
26 """
27 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.
28 """
29
30
31 class AccountListPersonsParamsRelationship(TypedDict):
32 authorizer: NotRequired[bool]
33 """
34 A filter on the list of people returned based on whether these people are authorizers of the account's representative.
35 """
36 director: NotRequired[bool]
37 """
38 A filter on the list of people returned based on whether these people are directors of the account's company.
39 """
40 executive: NotRequired[bool]
41 """
42 A filter on the list of people returned based on whether these people are executives of the account's company.
43 """
44 legal_guardian: NotRequired[bool]
45 """
46 A filter on the list of people returned based on whether these people are legal guardians of the account's representative.
47 """
48 owner: NotRequired[bool]
49 """
50 A filter on the list of people returned based on whether these people are owners of the account's company.
51 """
52 representative: NotRequired[bool]
53 """
54 A filter on the list of people returned based on whether these people are the representative of the account's company.
55 """