CategoryFacet

public struct CategoryFacet : Decodable

A model represeting a facet that refers to the categories available in a CatalogItemSearchResult.

  • A Category that the search result contains

    Declaration

    Swift

    public let category: String
  • A the number of items that belong to that category

    Declaration

    Swift

    public let quantity: Int
  • Declaration

    Swift

    public init(from decoder: Decoder) throws