Class ProductTag

    • Constructor Detail

      • ProductTag

        public ProductTag()
    • Method Detail

      • addAttribute

        public void addAttribute​(String name,
                                 Object value)
        Takes in any additional attributes passed in the request not matching any defined properties.
        Parameters:
        name - Name of the additional attribute
        value - Value of the additional attribute
      • getAttribute

        public Map<String,​Object> getAttribute()
        Return any additional attributes passed in the request not matching any defined properties.
        Returns:
        any additional attributes passed in the request not matching any defined properties.
      • getId

        public String getId()
        A unique system identifier.
        Returns:
        A unique system identifier.
      • getSorting

        public String getSorting()
        Field indicating a sort order, if sorted. This is alphanumeric, allowing for lexicographical sorting.
        Returns:
        Field indicating a sort order, if sorted.
      • getProductId

        public String getProductId()
        ID of the parent product.
        Returns:
        ID of the parent product.
      • getAttributes

        public Map<String,​Object> getAttributes()
        Map holding any additional attributes passed in the request not matching any defined properties.
      • setId

        public void setId​(String id)
        A unique system identifier.
        Parameters:
        id - A unique system identifier.
      • setSorting

        public void setSorting​(String sorting)
        Field indicating a sort order, if sorted. This is alphanumeric, allowing for lexicographical sorting.
        Parameters:
        sorting - Field indicating a sort order, if sorted.
      • setProductId

        public void setProductId​(String productId)
        ID of the parent product.
        Parameters:
        productId - ID of the parent product.
      • setAttributes

        public void setAttributes​(Map<String,​Object> attributes)
        Map holding any additional attributes passed in the request not matching any defined properties.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object