Home > @poq/sdk-sfcc > ProductSearchRequestRefinements
Class defines refinements for search as a group.
Signature:
export declare class ProductSearchRequestRefinements
Constructor | Modifiers | Description |
---|---|---|
(constructor)(values) | Constructs a new instance of the ProductSearchRequestRefinements class |
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. |