Class ProductSearchRefinementDefinition
This class provides an interface to refinement options for the product search.
| Property | Description |
|---|---|
categoryRefinement: Boolean (read-only) | Identifies if this is a category refinement. |
priceRefinement: Boolean (read-only) | Identifies if this is a price refinement. |
promotionRefinement: Boolean (read-only) | Identifies if this is a promotion refinement. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| isCategoryRefinement() | Identifies if this is a category refinement. |
| isPriceRefinement() | Identifies if this is a price refinement. |
| isPromotionRefinement() | Identifies if this is a promotion refinement. |
getAttributeID, getCutoffThreshold, getDisplayName, getValueTypeCode, isAttributeRefinement
getCreationDate, getLastModified, getUUID
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
- categoryRefinement: Boolean
(read-only) Identifies if this is a category refinement.
- priceRefinement: Boolean
(read-only) Identifies if this is a price refinement.
- promotionRefinement: Boolean
(read-only) Identifies if this is a promotion refinement.
- isCategoryRefinement(): Boolean
Identifies if this is a category refinement.
Returns:
- true if this is a category refinement, false otherwise.
- isPriceRefinement(): Boolean
Identifies if this is a price refinement.
Returns:
- true if this is a price refinement, false otherwise.
- isPromotionRefinement(): Boolean
Identifies if this is a promotion refinement.
Returns:
- true if this is a promotion refinement, false otherwise.