Script: Class dw.catalog.SortingRule

Class SortingRule

Represents a product sorting rule for use with the ProductSearchModel.

Properties

ID : String Read Only

The ID of the sorting rule.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getID() : String

Returns the ID of the sorting rule.

Methods inherited from class PersistentObject

getCreationDate, getLastModified, getUUID

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getID

getID() : String

Returns the ID of the sorting rule.

Returns:

sorting rule ID