StoreKit

interface StoreKit(source)

Inheritors

Functions

Link copied to clipboard
abstract fun cacheProduct(fullProductIdentifier: String, storeProduct: StoreProduct)
Link copied to clipboard
abstract suspend fun consume(purchaseToken: String): Result<String>
Link copied to clipboard
abstract fun getProductFromCache(productId: String): StoreProduct?
Link copied to clipboard
abstract suspend fun getProducts(substituteProducts: Map<String, StoreProduct>? = null, paywall: Paywall, request: PaywallRequest? = null): GetProductsResponse
Link copied to clipboard
abstract suspend fun getProductsWithoutPaywall(productIds: List<String>, substituteProducts: Map<String, StoreProduct>? = null): Map<String, StoreProduct>
Link copied to clipboard
abstract suspend fun getProductVariables(paywall: Paywall, request: PaywallRequest): List<ProductVariable>
Link copied to clipboard
abstract fun hasCached(productId: String): Boolean
Link copied to clipboard
abstract suspend fun loadPurchasedProducts(serverEntitlementsByProductId: Map<String, Set<Entitlement>>)
Link copied to clipboard
abstract fun refreshReceipt()