ProductSearchDataManager
public protocol ProductSearchDataManager: DataManager
Product Search Data Manager Protocol
-
filteredProducts(searchCriteria:completion:)
Default implementationSearches for products based on a criteria.
- Parameters:
- searchCriteria: An object that can be converted to URL query to be used for filtering products.
- completion: The completion block.
Default Implementation
Declaration
Swift
func filteredProducts(searchCriteria: QueryItemConvertible,
Parameters
searchCriteria
An object that can be converted to URL query to be used for filtering products.
completion
The completion block.
- Parameters:
-
Associated product search.
Declaration
Swift
associatedtype ProductSearchType: ProductSearch
-
getProductSearchRequest(forPath:queryItems:)
Extension methodUndocumented
Declaration
Swift
public protocol ProductSearchDataManager: DataManager