Class GeneratedPromotionProductRestriction

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
PromotionProductRestriction

public abstract class GeneratedPromotionProductRestriction extends AbstractPromotionRestriction
Generated class for type PromotionProductRestriction.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedPromotionProductRestriction

      public GeneratedPromotionProductRestriction()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedAbstractPromotionRestriction
    • getProducts

      public Collection<Product> getProducts(SessionContext ctx)
      Generated method - Getter of the PromotionProductRestriction.products attribute.
      Returns:
      the products - The products that the promotion should not be applied to
    • getProducts

      public Collection<Product> getProducts()
      Generated method - Getter of the PromotionProductRestriction.products attribute.
      Returns:
      the products - The products that the promotion should not be applied to
    • setProducts

      public void setProducts(SessionContext ctx, Collection<Product> value)
      Generated method - Setter of the PromotionProductRestriction.products attribute.
      Parameters:
      value - the products - The products that the promotion should not be applied to
    • setProducts

      public void setProducts(Collection<Product> value)
      Generated method - Setter of the PromotionProductRestriction.products attribute.
      Parameters:
      value - the products - The products that the promotion should not be applied to