Debian Codegraph @

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