Debian Codegraph @

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