-
public class BillingManagerauthor: MrHe date : 2023/2/22 desc :
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanmIsNeedBillingprivate final <ERROR CLASS><String, String>mPriceHashMappublic final static BillingManagerINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitinitConfig(Application application, PurchaseConfig purchaseConfig)final Unitpurchase(Activity activity, String productId)购买接口 final Unitsubscribe(Activity activity, String productId)订阅接口 final BooleanisSubscribeValid(String productId)final BooleanisNonConsumablePurchased(String productId)final UnitonDestroy()final BooleanisSupportProductDetail()final List<ProductBean>getProductList()final List<PurchaseBean>getPurchaseInfoList()final BooleangetMIsNeedBilling()final UnitsetMIsNeedBilling(Boolean mIsNeedBilling)final <ERROR CLASS><String, String>getMPriceHashMap()-
-
Method Detail
-
initConfig
final Unit initConfig(Application application, PurchaseConfig purchaseConfig)
-
isSubscribeValid
final Boolean isSubscribeValid(String productId)
-
isNonConsumablePurchased
final Boolean isNonConsumablePurchased(String productId)
-
isSupportProductDetail
final Boolean isSupportProductDetail()
-
getProductList
final List<ProductBean> getProductList()
-
getPurchaseInfoList
final List<PurchaseBean> getPurchaseInfoList()
-
getMIsNeedBilling
final Boolean getMIsNeedBilling()
-
setMIsNeedBilling
final Unit setMIsNeedBilling(Boolean mIsNeedBilling)
-
getMPriceHashMap
final <ERROR CLASS><String, String> getMPriceHashMap()
-
-
-
-