Poq.SDK.Node

Home > @poq/sdk-sfcc > ProductSearchRequestRefinements

ProductSearchRequestRefinements class

Class defines refinements for search as a group.

Signature:

export declare class ProductSearchRequestRefinements 

Constructors

Constructor Modifiers Description
(constructor)(values)   Constructs a new instance of the ProductSearchRequestRefinements class

Methods

Method Modifiers Description
addRefinement(key, value)   Method adds category value.
addRefinement(key, value)   Method adds price value.
addRefinement(key, value)   Method adds category value.
addRefinement(key, value)   Method adds hit type value.
addRefinement(key, value)   Method adds arbitrary refinement.
parse(refinementString) static Methods helps to parse query-like defined list of refinements into ProductSearchRequestRefinements
stringifyValues()   Method return stringified refinements.
toRecord()   Method returns record with refinements.