new module:models/ProductSearchSortingOption()
Constructs a new ProductSearchSortingOption.
Document representing a product search sorting option.
Members
(inner) id :String
The id of the sorting option.
Type:
- String
(inner) label :String
The localized label of the sorting option.
Type:
- String
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. |
Returns:
The populated ProductSearchSortingOption instance.