Filter¶
The Filter object represents a single list filter in the storefront.
classDiagram
direction LR
Filter --> FilterValuesList
class Filter{
string name
bool isActive
bool hasCounters
bool isSingleChoiceOnly
FilterValuesList values
}
class FilterValuesList{
}
Properties¶
| Attribute name | Type | Description |
|---|---|---|
| name | string |
The name of the filter. |
| isActive | bool |
Returns true when filter is active. |
| hasCounters | bool |
Returns true when filter has counter. |
| isSingleChoiceOnly | bool |
Returns true when filter is single choice. |
| values | FilterValuesList |
The FilterValuesList object that represents list of FilterValue object. |