public class Reader
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
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
getBatteryLevel()
Get the current battery level as a boxed float in the range 0,1. If the reader does
not have a battery, or the battery level is unknown, this will return null.
|
DeviceType |
getDeviceType()
Get the
|
java.lang.String |
getSerialNumber()
Get the serial number of this reader
|
java.lang.String |
getSoftwareVersion()
Get the current software version on the reader, expressed as a string
|
boolean |
isSimulated()
Return whether this reader is simulated
|
@Nullable public java.lang.Float getBatteryLevel()
Get the current battery level as a boxed float in the range 0,1. If the reader does not have a battery, or the battery level is unknown, this will return null.
@Nullable public java.lang.String getSerialNumber()
Get the serial number of this reader
@NotNull public java.lang.String getSoftwareVersion()
Get the current software version on the reader, expressed as a string
@NotNull public DeviceType getDeviceType()
Get the
enum DeviceType
of this reader
enum DeviceType
public boolean isSimulated()
Return whether this reader is simulated