Class InvalidStateTransitionResponse

java.lang.Object
com.clover.remote.client.messages.BaseResponse
com.clover.remote.client.messages.InvalidStateTransitionResponse

public class InvalidStateTransitionResponse extends BaseResponse
Response object for a retrieve device status request
  • Constructor Details

    • InvalidStateTransitionResponse

      public InvalidStateTransitionResponse(boolean result, ResultCode code, String reason, String requestedTransition, com.clover.remote.ExternalDeviceState state, com.clover.remote.ExternalDeviceStateData data)
      Constructor
      Parameters:
      result - If true then the requested operation succeeded
      code - The result of the requested operation
      state - The state of the device
      data - Additional optional relevant information for the state
  • Method Details

    • getRequestedTransition

      public String getRequestedTransition()
      Get the field value
      Returns:
      the state of the device
    • getState

      public com.clover.remote.ExternalDeviceState getState()
      Get the field value
      Returns:
      the state of the device
    • getData

      public com.clover.remote.ExternalDeviceStateData getData()
      Get the field value
      Returns:
      optionally contains relevant information for the state