All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clover.remote.client.messages.RetrieveDeviceStatusRequest Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
package com.clover.remote.client.messages;


/**
 * Request object for requesting the current device status. If {@link #sendLastMessage} is true, the device will
 * send the last request it is waiting for a response to such as a signature or payment confirmation request
 */
@SuppressWarnings(value="unused")
public class RetrieveDeviceStatusRequest extends BaseRequest {

  private boolean sendLastMessage;

  public RetrieveDeviceStatusRequest(boolean sendLastMessage) {
    this.sendLastMessage = sendLastMessage;
  }

  /**
   * Get the field value
   *
   * @return Send last message, if true
   */
  public boolean isSendLastMessage() {
    return sendLastMessage;
  }

  /**
   * Set the field value
   *
   * @param sendLastMessage Send last message, if true
   */
  public void setSendLastMessage(boolean sendLastMessage) {
    this.sendLastMessage = sendLastMessage;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy