| 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 |
| 6 |
|
| 7 |
|
| 8 |
class ReaderListParams(RequestOptions): |
| 9 |
device_type: NotRequired[ |
| 10 |
Literal[ |
| 11 |
"bbpos_chipper2x", |
| 12 |
"bbpos_wisepad3", |
| 13 |
"bbpos_wisepos_e", |
| 14 |
"mobile_phone_reader", |
| 15 |
"simulated_stripe_s700", |
| 16 |
"simulated_stripe_s710", |
| 17 |
"simulated_wisepos_e", |
| 18 |
"stripe_m2", |
| 19 |
"stripe_s700", |
| 20 |
"stripe_s710", |
| 21 |
"verifone_P400", |
| 22 |
] |
| 23 |
] |
| 24 |
""" |
| 25 |
Filters readers by device type |
| 26 |
""" |
| 27 |
ending_before: NotRequired[str] |
| 28 |
""" |
| 29 |
A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. |
| 30 |
""" |
| 31 |
expand: NotRequired[List[str]] |
| 32 |
""" |
| 33 |
Specifies which fields in the response should be expanded. |
| 34 |
""" |
| 35 |
limit: NotRequired[int] |
| 36 |
""" |
| 37 |
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| 38 |
""" |
| 39 |
location: NotRequired[str] |
| 40 |
""" |
| 41 |
A location ID to filter the response list to only readers at the specific location |
| 42 |
""" |
| 43 |
serial_number: NotRequired[str] |
| 44 |
""" |
| 45 |
Filters readers by serial number |
| 46 |
""" |
| 47 |
starting_after: NotRequired[str] |
| 48 |
""" |
| 49 |
A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. |
| 50 |
""" |
| 51 |
status: NotRequired[Literal["offline", "online"]] |
| 52 |
""" |
| 53 |
A status filter to filter readers to only offline or online readers |
| 54 |
""" |