Retrieve all categories for a category group and construct a tree out of it.
Syntax
List< ICouponCategoryTreeNode >
getCouponCategoryTree
(
Integer
categoryGroup
,
boolean
activeOnly
)
Parameters
-
categoryGroup –
(optional) filter on a category group
-
activeOnly –
specifies if only active categories should be returned
Returns
list of root notes that references the children
Usage
list of root notes that references the children