Script: Class dw.catalog.ProductSearchRefinementDefinition

Class ProductSearchRefinementDefinition

This class provides an interface to refinement options for the product search.

Properties

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.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

isCategoryRefinement() : boolean

Identifies if this is a category refinement.

isPriceRefinement() : boolean

Identifies if this is a price refinement.

isPromotionRefinement() : boolean

Identifies if this is a promotion refinement.

Methods inherited from class SearchRefinementDefinition

getAttributeID, getCutoffThreshold, getDisplayName, getValueTypeCode, isAttributeRefinement

Methods inherited from class ExtensibleObject

describe, getCustom

Methods inherited from class PersistentObject

getCreationDate, getLastModified, getUUID

Methods inherited from class Object

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

Method Detail

isCategoryRefinement

isCategoryRefinement() : boolean

Identifies if this is a category refinement.

Returns:

true if this is a category refinement, false otherwise.

isPriceRefinement

isPriceRefinement() : boolean

Identifies if this is a price refinement.

Returns:

true if this is a price refinement, false otherwise.


isPromotionRefinement

isPromotionRefinement() : boolean

Identifies if this is a promotion refinement.

Returns:

true if this is a promotion refinement, false otherwise.