Debian Codegraph @

stripe/params/terminal/_location_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 LocationUpdateParams(TypedDict):
8 address: NotRequired["LocationUpdateParamsAddress"]
9 """
10 The full address of the location. You can't change the location's `country`. If you need to modify the `country` field, create a new `Location` object and re-register any existing readers to that location.
11 """
12 address_kana: NotRequired["LocationUpdateParamsAddressKana"]
13 """
14 The Kana variation of the full address of the location (Japan only).
15 """
16 address_kanji: NotRequired["LocationUpdateParamsAddressKanji"]
17 """
18 The Kanji variation of the full address of the location (Japan only).
19 """
20 configuration_overrides: NotRequired["Literal['']|str"]
21 """
22 The ID of a configuration that will be used to customize all readers in this location.
23 """
24 display_name: NotRequired["Literal['']|str"]
25 """
26 A name for the location.
27 """
28 display_name_kana: NotRequired["Literal['']|str"]
29 """
30 The Kana variation of the name for the location (Japan only).
31 """
32 display_name_kanji: NotRequired["Literal['']|str"]
33 """
34 The Kanji variation of the name for the location (Japan only).
35 """
36 expand: NotRequired[List[str]]
37 """
38 Specifies which fields in the response should be expanded.
39 """
40 metadata: NotRequired["Literal['']|Dict[str, str]"]
41 """
42 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`.
43 """
44 phone: NotRequired["Literal['']|str"]
45 """
46 The phone number for the location.
47 """
48
49
50 class LocationUpdateParamsAddress(TypedDict):
51 city: NotRequired[str]
52 """
53 City, district, suburb, town, or village.
54 """
55 country: NotRequired[str]
56 """
57 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
58 """
59 line1: NotRequired[str]
60 """
61 Address line 1, such as the street, PO Box, or company name.
62 """
63 line2: NotRequired[str]
64 """
65 Address line 2, such as the apartment, suite, unit, or building.
66 """
67 postal_code: NotRequired[str]
68 """
69 ZIP or postal code.
70 """
71 state: NotRequired[str]
72 """
73 State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
74 """
75
76
77 class LocationUpdateParamsAddressKana(TypedDict):
78 city: NotRequired[str]
79 """
80 City or ward.
81 """
82 country: NotRequired[str]
83 """
84 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
85 """
86 line1: NotRequired[str]
87 """
88 Block or building number.
89 """
90 line2: NotRequired[str]
91 """
92 Building details.
93 """
94 postal_code: NotRequired[str]
95 """
96 Postal code.
97 """
98 state: NotRequired[str]
99 """
100 Prefecture.
101 """
102 town: NotRequired[str]
103 """
104 Town or cho-me.
105 """
106
107
108 class LocationUpdateParamsAddressKanji(TypedDict):
109 city: NotRequired[str]
110 """
111 City or ward.
112 """
113 country: NotRequired[str]
114 """
115 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
116 """
117 line1: NotRequired[str]
118 """
119 Block or building number.
120 """
121 line2: NotRequired[str]
122 """
123 Building details.
124 """
125 postal_code: NotRequired[str]
126 """
127 Postal code.
128 """
129 state: NotRequired[str]
130 """
131 Prefecture.
132 """
133 town: NotRequired[str]
134 """
135 Town or cho-me.
136 """