Class ProductSearchRefinementValue

Represents the value of a product search refinement.

Property Summary 

PropertyDescription
valueFrom: Number (read-only)Returns the lower bound for price refinements.
valueTo: Number (read-only)Returns the upper bound for price refinements.

Constructor Summary 

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

Method Summary 

MethodDescription
getValueFrom()Returns the lower bound for price refinements.
getValueTo()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

Property Details 

valueFrom 

valueFrom: Number (read-only)

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


valueTo 

valueTo: Number (read-only)

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


Method Details 

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.

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