Class OpenCashDrawerRequest
java.lang.Object
com.clover.remote.client.messages.BaseRequest
com.clover.remote.client.messages.OpenCashDrawerRequest
Request object to open cash drawer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the field valueGet the field valuevoidsetDeviceId(String deviceId) Set the field valuevoidSet the field value
-
Constructor Details
-
OpenCashDrawerRequest
Constructor- Parameters:
reason- String describing the reason to open the drawer
-
-
Method Details
-
getReason
Get the field value- Returns:
- String describing the reason to open the drawer
-
getDeviceId
Get the field value- Returns:
- deviceId to use
-
setReason
Set the field value- Parameters:
reason- string describing reason to open the cash drawer
-
setDeviceId
Set the field value- Parameters:
deviceId- printer to use
-