Class GeneratedProductRestriction

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

public abstract class GeneratedProductRestriction extends Restriction
Generated class for type ProductRestriction.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedProductRestriction

      public GeneratedProductRestriction()
  • Method Details

    • getDefaultAttributeModes

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

      public Collection<Product> getProducts(SessionContext ctx)
      Generated method - Getter of the ProductRestriction.products attribute.
      Returns:
      the products - the products the given voucher is valid for.
    • getProducts

      public Collection<Product> getProducts()
      Generated method - Getter of the ProductRestriction.products attribute.
      Returns:
      the products - the products the given voucher is valid for.
    • setProducts

      public void setProducts(SessionContext ctx, Collection<Product> value)
      Generated method - Setter of the ProductRestriction.products attribute.
      Parameters:
      value - the products - the products the given voucher is valid for.
    • setProducts

      public void setProducts(Collection<Product> value)
      Generated method - Setter of the ProductRestriction.products attribute.
      Parameters:
      value - the products - the products the given voucher is valid for.