-
- All Implemented Interfaces:
-
io.purchasely.common.PLYCoroutineScope,kotlinx.coroutines.CoroutineScope
public class PLYProductsManager implements PLYCoroutineScope
-
-
Field Summary
Fields Modifier and Type Field Description private final <ERROR CLASS>jobprivate final CoroutineContextcoroutineContextpublic final static PLYProductsManagerINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitrefreshProducts()Fetch products from store final UnitfetchProducts()final BooleanhasStoreProducts()Check if there is any store product in storage If products in storage are empty or there is no plans or there is no store product id, return true because it means that there is no products configured in Purchasely final PLYPlangetPlanFromStoreProductId(String id)<ERROR CLASS>getJob()CoroutineContextgetCoroutineContext()-
-
Method Detail
-
refreshProducts
final Unit refreshProducts()
Fetch products from store
-
fetchProducts
final Unit fetchProducts()
-
hasStoreProducts
final Boolean hasStoreProducts()
Check if there is any store product in storage If products in storage are empty or there is no plans or there is no store product id, return true because it means that there is no products configured in Purchasely
-
getPlanFromStoreProductId
final PLYPlan getPlanFromStoreProductId(String id)
-
getJob
<ERROR CLASS> getJob()
-
getCoroutineContext
CoroutineContext getCoroutineContext()
-
-
-
-