ProductSearchDataManager

public protocol ProductSearchDataManager: DataManager

Product Search Data Manager Protocol

  • Searches 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.

  • Associated product search.

    Declaration

    Swift

    associatedtype ProductSearchType: ProductSearch