Poq.SDK.Node

Home > @poq/sdk-sfcc > SearchRefinementsConverter > toPriceFilter

SearchRefinementsConverter.toPriceFilter() method

Converts ProductSearchRefinement into price filter

Signature:

static toPriceFilter(priceRefinement: ProductSearchRefinement): SearchResponseFilter | null;

Parameters

Parameter Type Description
priceRefinement ProductSearchRefinement Price refinement to be converted.

Returns:

SearchResponseFilter | null

Parsed filter or null if filter is not available.