Facets

public struct Facets : Decodable

A model representing different ways in which the items in CatalogSearchResult can be aggregated

  • Minium price available for items delivered in the catalog search result

    Declaration

    Swift

    public let minPrice: Price
  • Maximum price available for items delivered in the catalog search result

    Declaration

    Swift

    public let maxPrice: Price
  • Categories available for items delivered in the catalog search result

    Declaration

    Swift

    public let categories: [CategoryFacet]
  • Declaration

    Swift

    public init(from decoder: Decoder) throws