SortInformation
public struct SortInformation
Combines sorting information to be used in product search criteria
-
The sort type. If
orderis specified this should be specified.Declaration
Swift
let sort: String -
The order to sort by. If
sortis specified this should be specified.Declaration
Swift
let order: String -
Creates a SortInformation from the sort type and order for the sort.
- Parameters:
- sort: Sort information
- order: Order information
Declaration
Swift
public init(sort: String, order: String)Parameters
sortSort information
orderOrder information
- Parameters:
SortInformation Struct Reference