Class ProductSearchRefinementDefinition

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

Property Summary 

PropertyDescription
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 

MethodDescription
isCategoryRefinement()Identifies if this is a category refinement.
isPriceRefinement()Identifies if this is a price refinement.
isPromotionRefinement()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

Property Details 

categoryRefinement 

categoryRefinement: Boolean (read-only)

Identifies if this is a category refinement.


priceRefinement 

priceRefinement: Boolean (read-only)

Identifies if this is a price refinement.


promotionRefinement 

promotionRefinement: Boolean (read-only)

Identifies if this is a promotion refinement.


Method Details 

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.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!