Class: ProductSearchResult

ProductSearchResult

new ProductSearchResult() → {ProductSearchResult}

Source:
Returns:
Type
ProductSearchResult

Methods

(static) createFromJson(jsonObject, Defaultclear) → {ProductSearchResult}

Parameters:
Name Type Description
jsonObject Object
Defaultclear
Source:
Returns:
Type
ProductSearchResult

getCategories() → {Array.<Category>}

Source:
Returns:
Type
Array.<Category>

getCategoryTree() → {Array.<Category>}

Source:
Returns:
Type
Array.<Category>

getFacets() → {ProductSearchResult|Array.<FacetCounts>}

Source:
Returns:
Type
ProductSearchResult | Array.<FacetCounts>

getMaxPrice() → {number|null}

Returns the max price in euro cent, if the price range was not requested/selected
Source:
Returns:
Type
number | null

getMinPrice() → {number|null}

Returns the min price in euro cent or null, if the price range was not requested/selected
Source:
Returns:
Type
number | null

getPageHash() → {string}

Source:
Returns:
Type
string

getPriceRanges() → {Array.<PriceRange>}

Source:
Returns:
Type
Array.<PriceRange>

getProductCount() → {number}

Source:
Returns:
Type
number

getProducts() → {Array.<Product>}

Source:
Returns:
Type
Array.<Product>

getRawFacets() → {Object}

Source:
Returns:
Type
Object

getSaleCounts() → {number}

Source:
Returns:
SaleCounts
Type
number