CatalogQuery
public struct CatalogQuery
This type is used to accurately retrieve a Catalog that interests the user
-
Array of
AnyProducts to find similar items toDeclaration
Swift
public var products: [AnyProduct]? -
City for which items should be searched for
Declaration
Swift
public var city: String? -
The coordinate location for which items should be filtered for
Declaration
Swift
public var location: Coordinate? -
Initializes a
CatalogQueryDeclaration
Swift
public init(flights: [Flight]? = nil, products: [AnyProduct]? = nil, city: String? = nil, location: Coordinate? = nil)Parameters
flightsAn optional
Array<Flight>productsAn optional
AnyProductReturn Value
CatalogQuery
CatalogQuery Structure Reference