Purchases

interface Purchases

Inheritors

Types

Link copied to clipboard

Properties

Link copied to clipboard
abstract var logLevel: LogLevel

Functions

Link copied to clipboard
suspend fun Purchases.awaitCustomerInfo(fetchPolicy: CacheFetchPolicy = CacheFetchPolicy.default()): CustomerInfo
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun configure(apiKey: String, appUserId: String? = null)
Link copied to clipboard
abstract fun getCustomerInfo(fetchPolicy: CacheFetchPolicy = CacheFetchPolicy.default(), onResult: (Result<CustomerInfo>) -> Unit)
Link copied to clipboard
abstract fun login(appUserId: String, onResult: (Result<LogInResult>) -> Unit)
Link copied to clipboard
abstract fun logOut(onResult: (Result<CustomerInfo>) -> Unit)
Link copied to clipboard
abstract fun setAttributes(attributes: Map<String, String?>)
Link copied to clipboard
abstract fun setFirebaseAppInstanceID(firebaseAppInstanceID: String)
Link copied to clipboard
abstract fun syncPurchases(onResult: (Result<CustomerInfo>) -> Unit)