getProductsWith  
  fun <Error class: unknown class>.getProductsWith(productIds: List<String>, onError: (error: PurchasesError) -> Unit = ON_ERROR_STUB, onGetStoreProducts: (storeProducts: List<StoreProduct>) -> Unit)
Gets the StoreProduct(s) for the given list of product ids for all product types.
Parameters
productIds 
List of productIds
onError 
Will be called if there was an error with the purchase
onGetStoreProducts   
Will be called after fetching StoreProducts
fun <Error class: unknown class>.getProductsWith(productIds: List<String>, type: ProductType?, onError: (error: PurchasesError) -> Unit = ON_ERROR_STUB, onGetStoreProducts: (storeProducts: List<StoreProduct>) -> Unit)
Gets the StoreProduct(s) for the given list of product ids of type type
Parameters
productIds 
List of productIds
type
A product type to filter by
onError 
Will be called if there was an error with the purchase
onGetStoreProducts   
Will be called after fetching StoreProducts with the list of StoreProduct that have been able to be successfully fetched from the store. Not found products will be ignored.