-
public final class BillingConnector
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBillingConnector.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisReadyprivate final BillingSupportStateisSubscriptionSupportedprivate final BillingSupportStateisSupportProductDetail
-
Constructor Summary
Constructors Constructor Description BillingConnector(Context context, String base64Key)
-
Method Summary
-
-
Method Detail
-
getIsReady
final Boolean getIsReady()
-
getIsSubscriptionSupported
final BillingSupportState getIsSubscriptionSupported()
-
getIsSupportProductDetail
final BillingSupportState getIsSupportProductDetail()
-
setBillingEventListener
final BillingConnector setBillingEventListener(BillingEventListener listener)
-
setConsumableIds
final <ERROR CLASS> setConsumableIds(List<String> ids)
-
setNonConsumableIds
final <ERROR CLASS> setNonConsumableIds(List<String> ids)
-
setSubscriptionIds
final <ERROR CLASS> setSubscriptionIds(List<String> ids)
-
autoAcknowledge
final <ERROR CLASS> autoAcknowledge()
-
autoConsume
final <ERROR CLASS> autoConsume()
-
enableLogging
final <ERROR CLASS> enableLogging()
-
connect
final BillingConnector connect()
-
fetchPurchasedProducts
final Unit fetchPurchasedProducts(String productType)
-
consumePurchase
final Unit consumePurchase(PurchaseBean purchaseBean)
-
acknowledgePurchase
final Unit acknowledgePurchase(PurchaseBean purchaseBean)
-
unsubscribe
final Unit unsubscribe(Activity activity, String productId)
-
isPurchased
final BillingInitResult isPurchased(ProductBean productBean)
-
-
-
-