Class GeneratedProductCategoryRestriction

    • Field Detail

      • CATEGORIES

        public static final java.lang.String CATEGORIES
        Qualifier of the ProductCategoryRestriction.categories attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedProductCategoryRestriction

        public GeneratedProductCategoryRestriction()
    • Method Detail

      • getCategories

        public java.util.Collection<Category> getCategories​(SessionContext ctx)
        Generated method - Getter of the ProductCategoryRestriction.categories attribute.
        Returns:
        the categories - the categories the given voucher is valid for.
      • getCategories

        public java.util.Collection<Category> getCategories()
        Generated method - Getter of the ProductCategoryRestriction.categories attribute.
        Returns:
        the categories - the categories the given voucher is valid for.
      • setCategories

        public void setCategories​(SessionContext ctx,
                                  java.util.Collection<Category> value)
        Generated method - Setter of the ProductCategoryRestriction.categories attribute.
        Parameters:
        value - the categories - the categories the given voucher is valid for.
      • setCategories

        public void setCategories​(java.util.Collection<Category> value)
        Generated method - Setter of the ProductCategoryRestriction.categories attribute.
        Parameters:
        value - the categories - the categories the given voucher is valid for.