Debian Codegraph @

stripe/params/issuing/_personalization_design_update_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from typing import Dict, List
4 from typing_extensions import Literal, NotRequired, TypedDict
5
6
7 class PersonalizationDesignUpdateParams(TypedDict):
8 card_logo: NotRequired["Literal['']|str"]
9 """
10 The file for the card logo, for use with physical bundles that support card logos. Must have a `purpose` value of `issuing_logo`.
11 """
12 carrier_text: NotRequired[
13 "Literal['']|PersonalizationDesignUpdateParamsCarrierText"
14 ]
15 """
16 Hash containing carrier text, for use with physical bundles that support carrier text.
17 """
18 expand: NotRequired[List[str]]
19 """
20 Specifies which fields in the response should be expanded.
21 """
22 lookup_key: NotRequired["Literal['']|str"]
23 """
24 A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.
25 """
26 metadata: NotRequired[Dict[str, str]]
27 """
28 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`.
29 """
30 name: NotRequired["Literal['']|str"]
31 """
32 Friendly display name. Providing an empty string will set the field to null.
33 """
34 physical_bundle: NotRequired[str]
35 """
36 The physical bundle object belonging to this personalization design.
37 """
38 preferences: NotRequired["PersonalizationDesignUpdateParamsPreferences"]
39 """
40 Information on whether this personalization design is used to create cards when one is not specified.
41 """
42 transfer_lookup_key: NotRequired[bool]
43 """
44 If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design.
45 """
46
47
48 class PersonalizationDesignUpdateParamsCarrierText(TypedDict):
49 footer_body: NotRequired["Literal['']|str"]
50 """
51 The footer body text of the carrier letter.
52 """
53 footer_title: NotRequired["Literal['']|str"]
54 """
55 The footer title text of the carrier letter.
56 """
57 header_body: NotRequired["Literal['']|str"]
58 """
59 The header body text of the carrier letter.
60 """
61 header_title: NotRequired["Literal['']|str"]
62 """
63 The header title text of the carrier letter.
64 """
65
66
67 class PersonalizationDesignUpdateParamsPreferences(TypedDict):
68 is_default: bool
69 """
70 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.
71 """