new OpenCashDrawerRequest()
Extends
Methods
(static) OpenCashDrawerRequest#getDeviceId() → {String|Null}
Get the field value
The ID of the drawer or attached printer.
Returns:
- Type
- String | Null
(static) OpenCashDrawerRequest#getReason() → {String}
Get the field value
Why the drawer is being opened.
Returns:
- Type
- String
(static) OpenCashDrawerRequest#setDeviceId(deviceId)
Set the field value
The ID of the drawer or attached printer.
Parameters:
Name | Type | Description |
---|---|---|
deviceId |
String | Null |
(static) OpenCashDrawerRequest#setReason(reason)
Set the field value
Why the drawer is being opened.
Parameters:
Name | Type | Description |
---|---|---|
reason |
String |