Class TerminalActionScheduleDetail


  • public class TerminalActionScheduleDetail
    extends Object
    TerminalActionScheduleDetail
    • Constructor Detail

      • TerminalActionScheduleDetail

        public TerminalActionScheduleDetail()
    • Method Detail

      • getId

        public String getId()
        The ID of the action on the specified terminal.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getTerminalId

        public String getTerminalId()
        The unique ID of the terminal that the action applies to.
        Returns:
        terminalId
      • setTerminalId

        public void setTerminalId​(String terminalId)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to TerminalActionScheduleDetail
      • fromJson

        public static TerminalActionScheduleDetail fromJson​(String jsonString)
                                                     throws IOException
        Create an instance of TerminalActionScheduleDetail given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TerminalActionScheduleDetail
        Throws:
        IOException - if the JSON string is invalid with respect to TerminalActionScheduleDetail
      • toJson

        public String toJson()
        Convert an instance of TerminalActionScheduleDetail to an JSON string
        Returns:
        JSON string