Class TerminalProduct


  • public class TerminalProduct
    extends Object
    TerminalProduct
    • Constructor Detail

      • TerminalProduct

        public TerminalProduct()
    • Method Detail

      • description

        public TerminalProduct description​(String description)
        Information about items included and integration options.
        Parameters:
        description -
        Returns:
        the current TerminalProduct instance, allowing for method chaining
      • getDescription

        public String getDescription()
        Information about items included and integration options.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        Information about items included and integration options.
        Parameters:
        description -
      • id

        public TerminalProduct id​(String id)
        The unique identifier of the product.
        Parameters:
        id -
        Returns:
        the current TerminalProduct instance, allowing for method chaining
      • getId

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

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

        public TerminalProduct itemsIncluded​(List<String> itemsIncluded)
        A list of parts included in the terminal package.
        Parameters:
        itemsIncluded -
        Returns:
        the current TerminalProduct instance, allowing for method chaining
      • getItemsIncluded

        public List<String> getItemsIncluded()
        A list of parts included in the terminal package.
        Returns:
        itemsIncluded
      • setItemsIncluded

        public void setItemsIncluded​(List<String> itemsIncluded)
        A list of parts included in the terminal package.
        Parameters:
        itemsIncluded -
      • name

        public TerminalProduct name​(String name)
        The descriptive name of the product.
        Parameters:
        name -
        Returns:
        the current TerminalProduct instance, allowing for method chaining
      • getName

        public String getName()
        The descriptive name of the product.
        Returns:
        name
      • setName

        public void setName​(String name)
        The descriptive name of the product.
        Parameters:
        name -
      • equals

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

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

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

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