Debian Codegraph @

stripe/params/issuing/_personalization_design_create_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 Dict, List
5 from typing_extensions import Literal, NotRequired, TypedDict
6
7
8 class PersonalizationDesignCreateParams(RequestOptions):
9 card_logo: NotRequired[str]
10 """
11 The file for the card logo, for use with physical bundles that support card logos. Must have a `purpose` value of `issuing_logo`.
12 """
13 carrier_text: NotRequired["PersonalizationDesignCreateParamsCarrierText"]
14 """
15 Hash containing carrier text, for use with physical bundles that support carrier text.
16 """
17 expand: NotRequired[List[str]]
18 """
19 Specifies which fields in the response should be expanded.
20 """
21 lookup_key: NotRequired[str]
22 """
23 A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.
24 """
25 metadata: NotRequired[Dict[str, str]]
26 """
27 Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
28 """
29 name: NotRequired[str]
30 """
31 Friendly display name.
32 """
33 physical_bundle: str
34 """
35 The physical bundle object belonging to this personalization design.
36 """
37 preferences: NotRequired["PersonalizationDesignCreateParamsPreferences"]
38 """
39 Information on whether this personalization design is used to create cards when one is not specified.
40 """
41 transfer_lookup_key: NotRequired[bool]
42 """
43 If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design.
44 """
45
46
47 class PersonalizationDesignCreateParamsCarrierText(TypedDict):
48 footer_body: NotRequired["Literal['']|str"]
49 """
50 The footer body text of the carrier letter.
51 """
52 footer_title: NotRequired["Literal['']|str"]
53 """
54 The footer title text of the carrier letter.
55 """
56 header_body: NotRequired["Literal['']|str"]
57 """
58 The header body text of the carrier letter.
59 """
60 header_title: NotRequired["Literal['']|str"]
61 """
62 The header title text of the carrier letter.
63 """
64
65
66 class PersonalizationDesignCreateParamsPreferences(TypedDict):
67 is_default: bool
68 """
69 Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design.
70 """