SortInformation

public struct SortInformation

Combines sorting information to be used in product search criteria

  • The sort type. If order is specified this should be specified.

    Declaration

    Swift

    let sort: String
  • The order to sort by. If sort is 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

    sort

    Sort information

    order

    Order information