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) : PurchasesUpdatedListener, BillingClientStateListener, Billing
Link copied to clipboard
Link copied to clipboard
data class SWProduct(val skuDetails: SkuDetails)

Functions

Link copied to clipboard
suspend fun BillingClient.queryType(type: String): List<Purchase>
Link copied to clipboard
fun Pair<BillingResult, List<Purchase>?>.toInternalResult(): List<InternalPurchaseResult>