Class Terminal


  • public class Terminal
    extends Object
    Terminal
    • Constructor Detail

      • Terminal

        public Terminal()
    • Method Detail

      • getAssignment

        public TerminalAssignment getAssignment()
        Get assignment
        Returns:
        assignment
      • setAssignment

        public void setAssignment​(TerminalAssignment assignment)
        assignment
        Parameters:
        assignment -
      • getConnectivity

        public TerminalConnectivity getConnectivity()
        Get connectivity
        Returns:
        connectivity
      • setConnectivity

        public void setConnectivity​(TerminalConnectivity connectivity)
        connectivity
        Parameters:
        connectivity -
      • firmwareVersion

        public Terminal firmwareVersion​(String firmwareVersion)
      • getFirmwareVersion

        public String getFirmwareVersion()
        The software release currently in use on the terminal.
        Returns:
        firmwareVersion
      • setFirmwareVersion

        public void setFirmwareVersion​(String firmwareVersion)
        The software release currently in use on the terminal.
        Parameters:
        firmwareVersion -
      • getId

        public String getId()
        The unique identifier of the terminal.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the terminal.
        Parameters:
        id -
      • getLastActivityAt

        public OffsetDateTime getLastActivityAt()
        Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago.
        Returns:
        lastActivityAt
      • setLastActivityAt

        public void setLastActivityAt​(OffsetDateTime lastActivityAt)
        Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago.
        Parameters:
        lastActivityAt -
      • getLastTransactionAt

        public OffsetDateTime getLastTransactionAt()
        Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago.
        Returns:
        lastTransactionAt
      • setLastTransactionAt

        public void setLastTransactionAt​(OffsetDateTime lastTransactionAt)
        Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago.
        Parameters:
        lastTransactionAt -
      • getModel

        public String getModel()
        The model name of the terminal.
        Returns:
        model
      • setModel

        public void setModel​(String model)
        The model name of the terminal.
        Parameters:
        model -
      • restartLocalTime

        public Terminal restartLocalTime​(String restartLocalTime)
      • getRestartLocalTime

        public String getRestartLocalTime()
        The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format.
        Returns:
        restartLocalTime
      • setRestartLocalTime

        public void setRestartLocalTime​(String restartLocalTime)
        The exact time of the terminal reboot, in the timezone of the terminal in **HH:mm** format.
        Parameters:
        restartLocalTime -
      • serialNumber

        public Terminal serialNumber​(String serialNumber)
      • getSerialNumber

        public String getSerialNumber()
        The serial number of the terminal.
        Returns:
        serialNumber
      • setSerialNumber

        public void setSerialNumber​(String serialNumber)
        The serial number of the terminal.
        Parameters:
        serialNumber -
      • equals

        public boolean equals​(Object o)
        Return true if this Terminal object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static Terminal fromJson​(String jsonString)
                                 throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Terminal given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Terminal
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Terminal
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Terminal to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException