Poq.SDK.Node

Home > @poq/sdk-sfcc > Sort

Sort class

Document representing a sort request.

Signature:

export declare class Sort extends BaseModel<Sort> 

Extends: BaseModel<Sort

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the Sort class

Properties

Property Modifiers Type Description
field   string The name of the field to sort on.
sortOrder?   SortSortOrderEnum (Optional) The sort order to be applied when sorting. When omitted, the default sort order (ASC) is used.