Class ProductCreationTemplateResponse

java.lang.Object
com.broadleafcommerce.catalog.web.endpoint.dto.ProductCreationTemplateResponse
All Implemented Interfaces:
Serializable

public class ProductCreationTemplateResponse extends Object implements Serializable
A DTO representing a template for creating a new product. This template is designed to be generated based on a business type to prepopulate a product creation form.
Author:
jfleschler
See Also:
  • Constructor Details

    • ProductCreationTemplateResponse

      public ProductCreationTemplateResponse()
  • Method Details

    • getCharacteristics

      public Map<String,ProductCharacteristic> getCharacteristics()
      A list of product characteristics that should be pre-populated on the new product.
    • getOptions

      public List<ProductOption> getOptions()
      A list of product options that should be pre-populated on the new product.
    • setCharacteristics

      public void setCharacteristics(Map<String,ProductCharacteristic> characteristics)
      A list of product characteristics that should be pre-populated on the new product.
    • setOptions

      public void setOptions(List<ProductOption> options)
      A list of product options that should be pre-populated on the new 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