java.lang.Object
com.broadleafcommerce.bulkoperations.domain.Product
All Implemented Interfaces:
CatalogItem, Serializable

public class Product extends Object implements CatalogItem
DTO for a Broadleaf Product.
See Also:
  • Constructor Details

    • Product

      public Product()
  • Method Details

    • getId

      public String getId()
      The context ID of the product
      Specified by:
      getId in interface CatalogItem
      Returns:
      The ID of the CatalogItem.
    • getSku

      public String getSku()
      The SKU of the product.
    • getPricingKey

      public String getPricingKey()
      The pricing key of the product.
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Map of any additional attributes for the product.
      Specified by:
      getAdditionalAttributes in interface CatalogItem
      Returns:
      any additional attributes passed in the request not matching any defined properties.
    • setId

      public void setId(String id)
      The context ID of the product
    • setSku

      public void setSku(String sku)
      The SKU of the product.
    • setPricingKey

      public void setPricingKey(String pricingKey)
      The pricing key of the product.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Map of any additional attributes for the product.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object