PageInformation

public struct PageInformation

Combines paging information to be used in product search criteria

  • The index of the starting product of the resulting products. If limit is specified this should be specified.

    Declaration

    Swift

    let offset: Int
  • The number of products that should be returned. If offset is specified this should be specified.

    Declaration

    Swift

    let limit: Int
  • Creates a PageInformation from the offset and limit.

    • Parameters:
      • offset: Offset information.
      • limit: Limit information.

    Declaration

    Swift

    public init(offset: Int, limit: Int)

    Parameters

    offset

    Offset information.

    limit

    Limit information.