Debian Codegraph @

stripe/params/terminal/_configuration_update_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from typing import List
4 from typing_extensions import Literal, NotRequired, TypedDict
5
6
7 class ConfigurationUpdateParams(TypedDict):
8 bbpos_wisepad3: NotRequired[
9 "Literal['']|ConfigurationUpdateParamsBbposWisepad3"
10 ]
11 """
12 An object containing device type specific settings for BBPOS WisePad 3 readers.
13 """
14 bbpos_wisepos_e: NotRequired[
15 "Literal['']|ConfigurationUpdateParamsBbposWiseposE"
16 ]
17 """
18 An object containing device type specific settings for BBPOS WisePOS E readers.
19 """
20 cellular: NotRequired["Literal['']|ConfigurationUpdateParamsCellular"]
21 """
22 Configuration for cellular connectivity.
23 """
24 expand: NotRequired[List[str]]
25 """
26 Specifies which fields in the response should be expanded.
27 """
28 name: NotRequired[str]
29 """
30 Name of the configuration
31 """
32 offline: NotRequired["Literal['']|ConfigurationUpdateParamsOffline"]
33 """
34 Configurations for collecting transactions offline.
35 """
36 reboot_window: NotRequired[
37 "Literal['']|ConfigurationUpdateParamsRebootWindow"
38 ]
39 """
40 Reboot time settings for readers. that support customized reboot time configuration.
41 """
42 stripe_s700: NotRequired["Literal['']|ConfigurationUpdateParamsStripeS700"]
43 """
44 An object containing device type specific settings for Stripe S700 readers.
45 """
46 stripe_s710: NotRequired["Literal['']|ConfigurationUpdateParamsStripeS710"]
47 """
48 An object containing device type specific settings for Stripe S710 readers.
49 """
50 tipping: NotRequired["Literal['']|ConfigurationUpdateParamsTipping"]
51 """
52 Tipping configurations for readers that support on-reader tips.
53 """
54 verifone_p400: NotRequired[
55 "Literal['']|ConfigurationUpdateParamsVerifoneP400"
56 ]
57 """
58 An object containing device type specific settings for Verifone P400 readers.
59 """
60 wifi: NotRequired["Literal['']|ConfigurationUpdateParamsWifi"]
61 """
62 Configurations for connecting to a WiFi network.
63 """
64
65
66 class ConfigurationUpdateParamsBbposWisepad3(TypedDict):
67 splashscreen: NotRequired["Literal['']|str"]
68 """
69 A File ID representing an image you want to display on the reader.
70 """
71
72
73 class ConfigurationUpdateParamsBbposWiseposE(TypedDict):
74 splashscreen: NotRequired["Literal['']|str"]
75 """
76 A File ID representing an image to display on the reader
77 """
78
79
80 class ConfigurationUpdateParamsCellular(TypedDict):
81 enabled: bool
82 """
83 Determines whether to allow the reader to connect to a cellular network. Defaults to false.
84 """
85
86
87 class ConfigurationUpdateParamsOffline(TypedDict):
88 enabled: bool
89 """
90 Determines whether to allow transactions to be collected while reader is offline. Defaults to false.
91 """
92
93
94 class ConfigurationUpdateParamsRebootWindow(TypedDict):
95 end_hour: int
96 """
97 Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
98 """
99 start_hour: int
100 """
101 Integer between 0 to 23 that represents the start hour of the reboot time window.
102 """
103
104
105 class ConfigurationUpdateParamsStripeS700(TypedDict):
106 splashscreen: NotRequired["Literal['']|str"]
107 """
108 A File ID representing an image you want to display on the reader.
109 """
110
111
112 class ConfigurationUpdateParamsStripeS710(TypedDict):
113 splashscreen: NotRequired["Literal['']|str"]
114 """
115 A File ID representing an image you want to display on the reader.
116 """
117
118
119 class ConfigurationUpdateParamsTipping(TypedDict):
120 aed: NotRequired["ConfigurationUpdateParamsTippingAed"]
121 """
122 Tipping configuration for AED
123 """
124 aud: NotRequired["ConfigurationUpdateParamsTippingAud"]
125 """
126 Tipping configuration for AUD
127 """
128 cad: NotRequired["ConfigurationUpdateParamsTippingCad"]
129 """
130 Tipping configuration for CAD
131 """
132 chf: NotRequired["ConfigurationUpdateParamsTippingChf"]
133 """
134 Tipping configuration for CHF
135 """
136 czk: NotRequired["ConfigurationUpdateParamsTippingCzk"]
137 """
138 Tipping configuration for CZK
139 """
140 dkk: NotRequired["ConfigurationUpdateParamsTippingDkk"]
141 """
142 Tipping configuration for DKK
143 """
144 eur: NotRequired["ConfigurationUpdateParamsTippingEur"]
145 """
146 Tipping configuration for EUR
147 """
148 gbp: NotRequired["ConfigurationUpdateParamsTippingGbp"]
149 """
150 Tipping configuration for GBP
151 """
152 gip: NotRequired["ConfigurationUpdateParamsTippingGip"]
153 """
154 Tipping configuration for GIP
155 """
156 hkd: NotRequired["ConfigurationUpdateParamsTippingHkd"]
157 """
158 Tipping configuration for HKD
159 """
160 huf: NotRequired["ConfigurationUpdateParamsTippingHuf"]
161 """
162 Tipping configuration for HUF
163 """
164 jpy: NotRequired["ConfigurationUpdateParamsTippingJpy"]
165 """
166 Tipping configuration for JPY
167 """
168 mxn: NotRequired["ConfigurationUpdateParamsTippingMxn"]
169 """
170 Tipping configuration for MXN
171 """
172 myr: NotRequired["ConfigurationUpdateParamsTippingMyr"]
173 """
174 Tipping configuration for MYR
175 """
176 nok: NotRequired["ConfigurationUpdateParamsTippingNok"]
177 """
178 Tipping configuration for NOK
179 """
180 nzd: NotRequired["ConfigurationUpdateParamsTippingNzd"]
181 """
182 Tipping configuration for NZD
183 """
184 pln: NotRequired["ConfigurationUpdateParamsTippingPln"]
185 """
186 Tipping configuration for PLN
187 """
188 ron: NotRequired["ConfigurationUpdateParamsTippingRon"]
189 """
190 Tipping configuration for RON
191 """
192 sek: NotRequired["ConfigurationUpdateParamsTippingSek"]
193 """
194 Tipping configuration for SEK
195 """
196 sgd: NotRequired["ConfigurationUpdateParamsTippingSgd"]
197 """
198 Tipping configuration for SGD
199 """
200 usd: NotRequired["ConfigurationUpdateParamsTippingUsd"]
201 """
202 Tipping configuration for USD
203 """
204
205
206 class ConfigurationUpdateParamsTippingAed(TypedDict):
207 fixed_amounts: NotRequired[List[int]]
208 """
209 Fixed amounts displayed when collecting a tip
210 """
211 percentages: NotRequired[List[int]]
212 """
213 Percentages displayed when collecting a tip
214 """
215 smart_tip_threshold: NotRequired[int]
216 """
217 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
218 """
219
220
221 class ConfigurationUpdateParamsTippingAud(TypedDict):
222 fixed_amounts: NotRequired[List[int]]
223 """
224 Fixed amounts displayed when collecting a tip
225 """
226 percentages: NotRequired[List[int]]
227 """
228 Percentages displayed when collecting a tip
229 """
230 smart_tip_threshold: NotRequired[int]
231 """
232 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
233 """
234
235
236 class ConfigurationUpdateParamsTippingCad(TypedDict):
237 fixed_amounts: NotRequired[List[int]]
238 """
239 Fixed amounts displayed when collecting a tip
240 """
241 percentages: NotRequired[List[int]]
242 """
243 Percentages displayed when collecting a tip
244 """
245 smart_tip_threshold: NotRequired[int]
246 """
247 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
248 """
249
250
251 class ConfigurationUpdateParamsTippingChf(TypedDict):
252 fixed_amounts: NotRequired[List[int]]
253 """
254 Fixed amounts displayed when collecting a tip
255 """
256 percentages: NotRequired[List[int]]
257 """
258 Percentages displayed when collecting a tip
259 """
260 smart_tip_threshold: NotRequired[int]
261 """
262 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
263 """
264
265
266 class ConfigurationUpdateParamsTippingCzk(TypedDict):
267 fixed_amounts: NotRequired[List[int]]
268 """
269 Fixed amounts displayed when collecting a tip
270 """
271 percentages: NotRequired[List[int]]
272 """
273 Percentages displayed when collecting a tip
274 """
275 smart_tip_threshold: NotRequired[int]
276 """
277 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
278 """
279
280
281 class ConfigurationUpdateParamsTippingDkk(TypedDict):
282 fixed_amounts: NotRequired[List[int]]
283 """
284 Fixed amounts displayed when collecting a tip
285 """
286 percentages: NotRequired[List[int]]
287 """
288 Percentages displayed when collecting a tip
289 """
290 smart_tip_threshold: NotRequired[int]
291 """
292 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
293 """
294
295
296 class ConfigurationUpdateParamsTippingEur(TypedDict):
297 fixed_amounts: NotRequired[List[int]]
298 """
299 Fixed amounts displayed when collecting a tip
300 """
301 percentages: NotRequired[List[int]]
302 """
303 Percentages displayed when collecting a tip
304 """
305 smart_tip_threshold: NotRequired[int]
306 """
307 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
308 """
309
310
311 class ConfigurationUpdateParamsTippingGbp(TypedDict):
312 fixed_amounts: NotRequired[List[int]]
313 """
314 Fixed amounts displayed when collecting a tip
315 """
316 percentages: NotRequired[List[int]]
317 """
318 Percentages displayed when collecting a tip
319 """
320 smart_tip_threshold: NotRequired[int]
321 """
322 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
323 """
324
325
326 class ConfigurationUpdateParamsTippingGip(TypedDict):
327 fixed_amounts: NotRequired[List[int]]
328 """
329 Fixed amounts displayed when collecting a tip
330 """
331 percentages: NotRequired[List[int]]
332 """
333 Percentages displayed when collecting a tip
334 """
335 smart_tip_threshold: NotRequired[int]
336 """
337 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
338 """
339
340
341 class ConfigurationUpdateParamsTippingHkd(TypedDict):
342 fixed_amounts: NotRequired[List[int]]
343 """
344 Fixed amounts displayed when collecting a tip
345 """
346 percentages: NotRequired[List[int]]
347 """
348 Percentages displayed when collecting a tip
349 """
350 smart_tip_threshold: NotRequired[int]
351 """
352 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
353 """
354
355
356 class ConfigurationUpdateParamsTippingHuf(TypedDict):
357 fixed_amounts: NotRequired[List[int]]
358 """
359 Fixed amounts displayed when collecting a tip
360 """
361 percentages: NotRequired[List[int]]
362 """
363 Percentages displayed when collecting a tip
364 """
365 smart_tip_threshold: NotRequired[int]
366 """
367 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
368 """
369
370
371 class ConfigurationUpdateParamsTippingJpy(TypedDict):
372 fixed_amounts: NotRequired[List[int]]
373 """
374 Fixed amounts displayed when collecting a tip
375 """
376 percentages: NotRequired[List[int]]
377 """
378 Percentages displayed when collecting a tip
379 """
380 smart_tip_threshold: NotRequired[int]
381 """
382 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
383 """
384
385
386 class ConfigurationUpdateParamsTippingMxn(TypedDict):
387 fixed_amounts: NotRequired[List[int]]
388 """
389 Fixed amounts displayed when collecting a tip
390 """
391 percentages: NotRequired[List[int]]
392 """
393 Percentages displayed when collecting a tip
394 """
395 smart_tip_threshold: NotRequired[int]
396 """
397 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
398 """
399
400
401 class ConfigurationUpdateParamsTippingMyr(TypedDict):
402 fixed_amounts: NotRequired[List[int]]
403 """
404 Fixed amounts displayed when collecting a tip
405 """
406 percentages: NotRequired[List[int]]
407 """
408 Percentages displayed when collecting a tip
409 """
410 smart_tip_threshold: NotRequired[int]
411 """
412 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
413 """
414
415
416 class ConfigurationUpdateParamsTippingNok(TypedDict):
417 fixed_amounts: NotRequired[List[int]]
418 """
419 Fixed amounts displayed when collecting a tip
420 """
421 percentages: NotRequired[List[int]]
422 """
423 Percentages displayed when collecting a tip
424 """
425 smart_tip_threshold: NotRequired[int]
426 """
427 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
428 """
429
430
431 class ConfigurationUpdateParamsTippingNzd(TypedDict):
432 fixed_amounts: NotRequired[List[int]]
433 """
434 Fixed amounts displayed when collecting a tip
435 """
436 percentages: NotRequired[List[int]]
437 """
438 Percentages displayed when collecting a tip
439 """
440 smart_tip_threshold: NotRequired[int]
441 """
442 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
443 """
444
445
446 class ConfigurationUpdateParamsTippingPln(TypedDict):
447 fixed_amounts: NotRequired[List[int]]
448 """
449 Fixed amounts displayed when collecting a tip
450 """
451 percentages: NotRequired[List[int]]
452 """
453 Percentages displayed when collecting a tip
454 """
455 smart_tip_threshold: NotRequired[int]
456 """
457 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
458 """
459
460
461 class ConfigurationUpdateParamsTippingRon(TypedDict):
462 fixed_amounts: NotRequired[List[int]]
463 """
464 Fixed amounts displayed when collecting a tip
465 """
466 percentages: NotRequired[List[int]]
467 """
468 Percentages displayed when collecting a tip
469 """
470 smart_tip_threshold: NotRequired[int]
471 """
472 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
473 """
474
475
476 class ConfigurationUpdateParamsTippingSek(TypedDict):
477 fixed_amounts: NotRequired[List[int]]
478 """
479 Fixed amounts displayed when collecting a tip
480 """
481 percentages: NotRequired[List[int]]
482 """
483 Percentages displayed when collecting a tip
484 """
485 smart_tip_threshold: NotRequired[int]
486 """
487 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
488 """
489
490
491 class ConfigurationUpdateParamsTippingSgd(TypedDict):
492 fixed_amounts: NotRequired[List[int]]
493 """
494 Fixed amounts displayed when collecting a tip
495 """
496 percentages: NotRequired[List[int]]
497 """
498 Percentages displayed when collecting a tip
499 """
500 smart_tip_threshold: NotRequired[int]
501 """
502 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
503 """
504
505
506 class ConfigurationUpdateParamsTippingUsd(TypedDict):
507 fixed_amounts: NotRequired[List[int]]
508 """
509 Fixed amounts displayed when collecting a tip
510 """
511 percentages: NotRequired[List[int]]
512 """
513 Percentages displayed when collecting a tip
514 """
515 smart_tip_threshold: NotRequired[int]
516 """
517 Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
518 """
519
520
521 class ConfigurationUpdateParamsVerifoneP400(TypedDict):
522 splashscreen: NotRequired["Literal['']|str"]
523 """
524 A File ID representing an image you want to display on the reader.
525 """
526
527
528 class ConfigurationUpdateParamsWifi(TypedDict):
529 enterprise_eap_peap: NotRequired[
530 "ConfigurationUpdateParamsWifiEnterpriseEapPeap"
531 ]
532 """
533 Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.
534 """
535 enterprise_eap_tls: NotRequired[
536 "ConfigurationUpdateParamsWifiEnterpriseEapTls"
537 ]
538 """
539 Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.
540 """
541 personal_psk: NotRequired["ConfigurationUpdateParamsWifiPersonalPsk"]
542 """
543 Credentials for a WPA-Personal WiFi network.
544 """
545 type: Literal["enterprise_eap_peap", "enterprise_eap_tls", "personal_psk"]
546 """
547 Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.
548 """
549
550
551 class ConfigurationUpdateParamsWifiEnterpriseEapPeap(TypedDict):
552 ca_certificate_file: NotRequired[str]
553 """
554 A File ID representing a PEM file containing the server certificate
555 """
556 password: str
557 """
558 Password for connecting to the WiFi network
559 """
560 ssid: str
561 """
562 Name of the WiFi network
563 """
564 username: str
565 """
566 Username for connecting to the WiFi network
567 """
568
569
570 class ConfigurationUpdateParamsWifiEnterpriseEapTls(TypedDict):
571 ca_certificate_file: NotRequired[str]
572 """
573 A File ID representing a PEM file containing the server certificate
574 """
575 client_certificate_file: str
576 """
577 A File ID representing a PEM file containing the client certificate
578 """
579 private_key_file: str
580 """
581 A File ID representing a PEM file containing the client RSA private key
582 """
583 private_key_file_password: NotRequired[str]
584 """
585 Password for the private key file
586 """
587 ssid: str
588 """
589 Name of the WiFi network
590 """
591
592
593 class ConfigurationUpdateParamsWifiPersonalPsk(TypedDict):
594 password: str
595 """
596 Password for connecting to the WiFi network
597 """
598 ssid: str
599 """
600 Name of the WiFi network
601 """