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.
|
equals, getAttribute, getDisplayName, getLocale, getParentKey, getProductCount, getTicket, getValue, getValue, hashCode, iterator, key, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
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 © 2021 Apptus Technologies AB. All rights reserved.