-
A list of ShortProduct given one or many categories and a list of filters.
Declaration
Swift
public let products: [ProductType]
-
Total number of results for the search query.
Declaration
Swift
public let totalResults: Int
-
An array of Filter to be used with the search endpoint.
Declaration
Swift
public let filters: [FilterType]
-
An array of SortOption to be used with the search endpoint.
Declaration
Swift
public let sortOptions: [SortOptionType]
-
The sort option selected during the previous product search.
Declaration
Swift
public let selectedSortOption: SortOptionType?
-
An array of filters selected during the previous product search.
Declaration
Swift
public let selectedFilters: [FilterType]
-
An array of filters selected during the previous product search.
Declaration
Swift
public init?(json: JSON)
Parameters
json
JSON representation of object.
Return Value
New instance when JSON parsing successful, false otherwise.