Script: Class dw.catalog.ProductSearchRefinementValue

Class ProductSearchRefinementValue

Represents the value of a product search refinement.

Properties

valueFrom : Number Read Only

The lower bound for price refinements. For example, 50.00 for a range of $50.00 - $99.99.

valueTo : Number Read Only

The upper bound for price refinements. For example, 99.99 for a range of $50.00 - $99.99.

Constructor Summary

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

Method Summary

getValueFrom() : Number

Returns the lower bound for price refinements.

getValueTo() : Number

Returns the upper bound for price refinements.

Methods inherited from class SearchRefinementValue

getDescription, getDisplayValue, getHitCount, getID, getPresentationID, getValue

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

getValueFrom

getValueFrom() : Number

Returns the lower bound for price refinements. For example, 50.00 for a range of $50.00 - $99.99.

Returns:

the lower bound for price refinements.

getValueTo

getValueTo() : Number

Returns the upper bound for price refinements. For example, 99.99 for a range of $50.00 - $99.99.

Returns:

the upper bound for price refinements.