Package-level declarations

Types

Link copied to clipboard
interface Billing
Link copied to clipboard
sealed class BillingError : Exception
Link copied to clipboard
data class DecomposedProductIds(val subscriptionId: String, val basePlanType: BasePlanType, val offerType: OfferType, val fullId: String)

Represents a decomposed product ID in the format: productId:basePlan:offer

Link copied to clipboard
Link copied to clipboard
class GoogleBillingWrapper(val context: Context, val ioScope: IOScope, val appLifecycleObserver: AppLifecycleObserver, val factory: GoogleBillingWrapper.Factory, val createBillingClient: (PurchasesUpdatedListener) -> BillingClient = { BillingClient .newBuilder(context) .setListener(it) .enablePendingPurchases( PendingPurchasesParams.newBuilder().enableOneTimeProducts().build(), ).build() }) : PurchasesUpdatedListener, BillingClientStateListener, Billing
Link copied to clipboard
Link copied to clipboard
data class SWProduct(val skuDetails: SkuDetails)

Functions

Link copied to clipboard
fun Pair<BillingResult, List<Purchase>?>.toInternalResult(): List<InternalPurchaseResult>