CustomerSort

May 28, 2020 ยท View on GitHub

Description

Specifies how searched customers profiles are sorted, including the sort key and sort order.

Properties

NameGetterSetterTypeDescriptionNotes
fieldgetField()setField($value)stringUse one or more customer attributes as the sort key to sort searched customer profiles. For example, use creation date (`created_at`) of customers or default attributes as the sort key. Default: `DEFAULT`. See CustomerSortField for possible values[optional]
ordergetOrder()setOrder($value)stringIndicates the order in which results should be sorted based on the sort field value. Strings use standard alphabetic comparison to determine order. Strings representing numbers are sorted as strings. Default: `ASC`. See SortOrder for possible values[optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]