Class SkuGenerationParameters

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

public class SkuGenerationParameters extends Object implements Serializable
Parameters that can be used to drive the generation of variants
Author:
Phillip Verheyden (phillipuniverse)
See Also:
  • Constructor Details

    • SkuGenerationParameters

      public SkuGenerationParameters(String prefix)
    • SkuGenerationParameters

      public SkuGenerationParameters()
  • Method Details

    • getPrefix

      public String getPrefix()

      Default is SKU-

      Returns:
      the prefix that should be applied to all the Variant.getSku() that are generated as a result of this operation
    • setPrefix

      public void setPrefix(String prefix)

      Default is SKU-

      Parameters:
      prefix - the prefix that should be applied to all the Variant.getSku() that are generated as a result of this operation
    • 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