Class VariantCharacteristicsResponse

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

public class VariantCharacteristicsResponse extends Object implements Serializable
DTO holding information providing the caller with the combinations of variant option Characteristics values for a particular Product based to be used to generate Variants automatically.
Since:
Catalog Service 2.2.0, Release Train 2.2.0
See Also:
  • Constructor Details

    • VariantCharacteristicsResponse

      public VariantCharacteristicsResponse()
  • Method Details

    • getHeaders

      public List<HashMap<String,String>> getHeaders()
      The headers for the table in the format of a list of maps. Each map should contain a key of "name" and "label"
    • getRows

      public List<Map<String,CharacteristicValue>> getRows()
      The rows for the table in the format of a list of maps. Each map should contain a key of the characteristic name and the value of the characteristic value
    • setHeaders

      public void setHeaders(List<HashMap<String,String>> headers)
      The headers for the table in the format of a list of maps. Each map should contain a key of "name" and "label"
    • setRows

      public void setRows(List<Map<String,CharacteristicValue>> rows)
      The rows for the table in the format of a list of maps. Each map should contain a key of the characteristic name and the value of the characteristic value
    • 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