Iterable<Result.Attribute>
public static class Result.CategoryData extends Result.Category
Modifier and Type | Method | Description |
---|---|---|
String |
getTree() |
Get the tree name of this category, which is also the referencing product attribute.
|
static Result.CategoryData |
mock(String key,
String ticket,
String parentKey,
String tree,
List<Result.Attribute> attributes,
List<Result.Attribute> specialAttributes) |
Creates a new CategoryData object for test purposes.
|
forEach, spliterator
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getAttribute, getDisplayName, getLocale, getParentKey, getProductCount, getTicket, getValue, getValue, hashCode, iterator, key, toString
public String getTree()
public static Result.CategoryData mock(String key, String ticket, String parentKey, String tree, List<Result.Attribute> attributes, List<Result.Attribute> specialAttributes)
key
- the category keyticket
- the category ticketparentKey
- the parent category keytree
- the category treeattributes
- the custom category attributesspecialAttributes
- the special attributes, e.g. display_nameCopyright © 2019 Apptus Technologies AB. All rights reserved.