Class OpenCashDrawerRequest

java.lang.Object
com.clover.remote.client.messages.BaseRequest
com.clover.remote.client.messages.OpenCashDrawerRequest

public class OpenCashDrawerRequest extends BaseRequest
Request object to open cash drawer
  • Constructor Details

    • OpenCashDrawerRequest

      public OpenCashDrawerRequest(String reason)
      Constructor
      Parameters:
      reason - String describing the reason to open the drawer
  • Method Details

    • getReason

      public String getReason()
      Get the field value
      Returns:
      String describing the reason to open the drawer
    • getDeviceId

      public String getDeviceId()
      Get the field value
      Returns:
      deviceId to use
    • setReason

      public void setReason(String reason)
      Set the field value
      Parameters:
      reason - string describing reason to open the cash drawer
    • setDeviceId

      public void setDeviceId(String deviceId)
      Set the field value
      Parameters:
      deviceId - printer to use