Debian Codegraph @

stripe/params/issuing/_personalization_design_reject_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 PersonalizationDesignRejectParams(RequestOptions):
9 expand: NotRequired[List[str]]
10 """
11 Specifies which fields in the response should be expanded.
12 """
13 rejection_reasons: "PersonalizationDesignRejectParamsRejectionReasons"
14 """
15 The reason(s) the personalization design was rejected.
16 """
17
18
19 class PersonalizationDesignRejectParamsRejectionReasons(TypedDict):
20 card_logo: NotRequired[
21 List[
22 Literal[
23 "geographic_location",
24 "inappropriate",
25 "network_name",
26 "non_binary_image",
27 "non_fiat_currency",
28 "other",
29 "other_entity",
30 "promotional_material",
31 ]
32 ]
33 ]
34 """
35 The reason(s) the card logo was rejected.
36 """
37 carrier_text: NotRequired[
38 List[
39 Literal[
40 "geographic_location",
41 "inappropriate",
42 "network_name",
43 "non_fiat_currency",
44 "other",
45 "other_entity",
46 "promotional_material",
47 ]
48 ]
49 ]
50 """
51 The reason(s) the carrier text was rejected.
52 """