new module:models/ProductSearchPage()
Constructs a new ProductSearchPage
. POJO containing the
result page for product search.
- Source:
Members
(inner) breadcrumbs :Array.<module:models/Breadcrumb>
Type:
- Array.<module:models/Breadcrumb>
- Source:
(inner) categoryCode :String
Type:
- String
- Source:
(inner) currentQuery :module:models/SearchState
Type:
- Source:
(inner) facets :Array.<module:models/Facet>
Type:
- Array.<module:models/Facet>
- Source:
(inner) freeTextSearch :String
Type:
- String
- Source:
(inner) keywordRedirectUrl :String
Type:
- String
- Source:
(inner) pagination :module:models/Pagination
Type:
- Source:
(inner) products :Array.<module:models/ProductOCC1>
Type:
- Array.<module:models/ProductOCC1>
- Source:
(inner) sorts :Array.<module:models/Sort>
Type:
- Array.<module:models/Sort>
- Source:
(inner) spellingSuggestion :module:models/SpellingSuggestion
Type:
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/ProductSearchPage}
Constructs a ProductSearchPage
from a plain JavaScript
object, optionally creating a new instance. Copies all relevant properties
from data
to obj
if supplied or a new instance
if not.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:models/ProductSearchPage | Optional instance to populate. |
- Source:
Returns:
The populated
ProductSearchPage
instance.