Reader
@JsonClass(generateAdapter = true)
Content copied to clipboard
The Reader
is a representation of a physical reader device.
Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal
Constructors
Link copied to clipboard
fun Reader(deviceType: DeviceType = DeviceType.UNKNOWN, @Json(name = "location") locationRaw: ExpandableLocation? = null, locationStatus: LocationStatus = UNKNOWN, id: String? = null, readerInfo: ReaderInfo? = null, isSimulated: Boolean = false, @Json(name = "status") networkStatus: Reader.NetworkStatus? = null, @Json(name = "serialNumber") rawSerialNumber: String? = null, label: String? = null, deviceSwVersion: String? = null, baseUrl: String? = null, ipAddress: String? = null, livemode: Boolean? = null, device: BluetoothDevice? = null, bluetoothDevice: BluetoothDevice? = null, usbDevice: UsbDevice? = null, location: Location? = null)
Content copied to clipboard
Types
Functions
Link copied to clipboard
fun setAvailableUpdate(targetKey: String?, targetConfig: String?, targetFirmware: String?)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
If, during connection to the reader, a ReaderSoftwareUpdate is found that is not yet required, it will be stored in this field for future installation. When Terminal.installAvailableUpdate is called, this is the update that will be installed.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the LocationStatus of this reader, to know what can be expected in the registeredLocation
field
Link copied to clipboard