Constructor
new ProductSearch(productSearch, httpParams, sortingRule, sortingOptions, rootCategory)
Parameters:
Name | Type | Description |
---|---|---|
productSearch |
dw.catalog.ProductSearchModel | Product search object |
httpParams |
Object | HTTP query parameters |
sortingRule |
string | Sorting option rule ID |
sortingOptions |
dw.util.ArrayList.<dw.catalog.SortingOption> | Options to sort search results |
rootCategory |
dw.catalog.Category | Search result's root category if applicable |