Debian Codegraph @

stripe/params/issuing/_personalization_design_modify_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 PersonalizationDesignModifyParams(RequestOptions):
9 card_logo: NotRequired["Literal['']|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[
14 "Literal['']|PersonalizationDesignModifyParamsCarrierText"
15 ]
16 """
17 Hash containing carrier text, for use with physical bundles that support carrier text.
18 """
19 expand: NotRequired[List[str]]
20 """
21 Specifies which fields in the response should be expanded.
22 """
23 lookup_key: NotRequired["Literal['']|str"]
24 """
25 A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.
26 """
27 metadata: NotRequired[Dict[str, str]]
28 """
29 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`.
30 """
31 name: NotRequired["Literal['']|str"]
32 """
33 Friendly display name. Providing an empty string will set the field to null.
34 """
35 physical_bundle: NotRequired[str]
36 """
37 The physical bundle object belonging to this personalization design.
38 """
39 preferences: NotRequired["PersonalizationDesignModifyParamsPreferences"]
40 """
41 Information on whether this personalization design is used to create cards when one is not specified.
42 """
43 transfer_lookup_key: NotRequired[bool]
44 """
45 If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design.
46 """
47
48
49 class PersonalizationDesignModifyParamsCarrierText(TypedDict):
50 footer_body: NotRequired["Literal['']|str"]
51 """
52 The footer body text of the carrier letter.
53 """
54 footer_title: NotRequired["Literal['']|str"]
55 """
56 The footer title text of the carrier letter.
57 """
58 header_body: NotRequired["Literal['']|str"]
59 """
60 The header body text of the carrier letter.
61 """
62 header_title: NotRequired["Literal['']|str"]
63 """
64 The header title text of the carrier letter.
65 """
66
67
68 class PersonalizationDesignModifyParamsPreferences(TypedDict):
69 is_default: bool
70 """
71 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.
72 """