Debian Codegraph @

stripe/params/terminal/_reader_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 Dict, List
5 from typing_extensions import Literal, NotRequired
6
7
8 class ReaderCreateParams(RequestOptions):
9 expand: NotRequired[List[str]]
10 """
11 Specifies which fields in the response should be expanded.
12 """
13 label: NotRequired[str]
14 """
15 Custom label given to the reader for easier identification. If no label is specified, the registration code will be used.
16 """
17 location: NotRequired[str]
18 """
19 The location to assign the reader to.
20 """
21 metadata: NotRequired["Literal['']|Dict[str, str]"]
22 """
23 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`.
24 """
25 registration_code: str
26 """
27 A code generated by the reader used for registering to an account.
28 """