Class: module:models/ProductSearchSortingOption

module:models/ProductSearchSortingOption()

new module:models/ProductSearchSortingOption()

Constructs a new ProductSearchSortingOption. Document representing a product search sorting option.

Source:

Members

(inner) id :String

The id of the sorting option.

Type:
  • String
Source:

(inner) label :String

The localized label of the sorting option.

Type:
  • String
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/ProductSearchSortingOption}

Constructs a ProductSearchSortingOption 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/ProductSearchSortingOption

Optional instance to populate.

Source:
Returns:

The populated ProductSearchSortingOption instance.

Type
module:models/ProductSearchSortingOption