Class TerminalStatusResponse

java.lang.Object
com.blockchyp.client.dto.TerminalStatusResponse
All Implemented Interfaces:
IAbstractAcknowledgement

public class TerminalStatusResponse extends Object implements IAbstractAcknowledgement
The current status of a terminal.
  • Constructor Details

    • TerminalStatusResponse

      public TerminalStatusResponse()
  • Method Details

    • setSuccess

      public void setSuccess(boolean value)
      Sets whether or not the request succeeded.
      Parameters:
      value - whether or not the request succeeded.
    • isSuccess

      public boolean isSuccess()
      Gets whether or not the request succeeded.
      Specified by:
      isSuccess in interface IAbstractAcknowledgement
      Returns:
      whether or not the request succeeded.
    • setError

      public void setError(String value)
      Sets the error, if an error occurred.
      Parameters:
      value - the error, if an error occurred.
    • getError

      public String getError()
      Gets the error, if an error occurred.
      Specified by:
      getError in interface IAbstractAcknowledgement
      Returns:
      the error, if an error occurred.
    • setResponseDescription

      public void setResponseDescription(String value)
      Sets a narrative description of the transaction result.
      Parameters:
      value - a narrative description of the transaction result.
    • getResponseDescription

      public String getResponseDescription()
      Gets a narrative description of the transaction result.
      Specified by:
      getResponseDescription in interface IAbstractAcknowledgement
      Returns:
      a narrative description of the transaction result.
    • setIdle

      public void setIdle(boolean value)
      Sets that the terminal is idle.
      Parameters:
      value - that the terminal is idle.
    • isIdle

      public boolean isIdle()
      Gets that the terminal is idle.
      Returns:
      that the terminal is idle.
    • setCardInSlot

      public void setCardInSlot(boolean value)
      Sets whether or not a card is currently in the card slot.
      Parameters:
      value - whether or not a card is currently in the card slot.
    • isCardInSlot

      public boolean isCardInSlot()
      Gets whether or not a card is currently in the card slot.
      Returns:
      whether or not a card is currently in the card slot.
    • setStatus

      public void setStatus(String value)
      Sets the operation that the terminal is performing.
      Parameters:
      value - the operation that the terminal is performing.
    • getStatus

      public String getStatus()
      Gets the operation that the terminal is performing.
      Returns:
      the operation that the terminal is performing.
    • setTransactionRef

      public void setTransactionRef(String value)
      Sets the transaction reference for an ongoing transaction, if one was specified at request time.
      Parameters:
      value - the transaction reference for an ongoing transaction, if one was specified at request time.
    • getTransactionRef

      public String getTransactionRef()
      Gets the transaction reference for an ongoing transaction, if one was specified at request time.
      Returns:
      the transaction reference for an ongoing transaction, if one was specified at request time.
    • setSince

      public void setSince(Date value)
      Sets the timestamp of the last status change.
      Parameters:
      value - the timestamp of the last status change.
    • getSince

      public Date getSince()
      Gets the timestamp of the last status change.
      Returns:
      the timestamp of the last status change.