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 - Information about items included and integration options.
        Returns:
        the current TerminalProduct instance, allowing for method chaining
      • getDescription

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

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

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

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

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

        public TerminalProduct itemsIncluded​(List<String> itemsIncluded)
        A list of parts included in the terminal package.
        Parameters:
        itemsIncluded - A list of parts included in the terminal package.
        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 A list of parts included in the terminal package.
      • setItemsIncluded

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

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

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

        public void setName​(String name)
        The descriptive name of the product.
        Parameters:
        name - The descriptive name of the product.
      • 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