Class: module:models/ProductSearchPage

module:models/ProductSearchPage()

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:
Source:

(inner) categoryCode :String

Type:
  • String
Source:

(inner) currentQuery :module:models/SearchState

Type:
Source:

(inner) facets :Array.<module:models/Facet>

Type:
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:
Source:

(inner) sorts :Array.<module:models/Sort>

Type:
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.

Type
module:models/ProductSearchPage