new OpenCashDrawerMessage()
Extends
Methods
(static) OpenCashDrawerMessage#getPrinter() → {printer.Printer}
Get the field value
The ID of the specific drawer to open.
Returns:
- Type
- printer.Printer
(static) OpenCashDrawerMessage#getReason() → {String}
Get the field value
The reason the cash drawer was opened.
Returns:
- Type
- String
(static) OpenCashDrawerMessage#setPrinter(printer)
Set the field value
The ID of the specific drawer to open.
Parameters:
Name | Type | Description |
---|---|---|
printer |
printer.Printer |
(static) OpenCashDrawerMessage#setReason(reason)
Set the field value
The reason the cash drawer was opened.
Parameters:
Name | Type | Description |
---|---|---|
reason |
String |