Functions

Link copied to clipboard
Link copied to clipboard
abstract suspend fun activeProductIds(): List<String>
Link copied to clipboard
abstract fun customerInfoFlow(): StateFlow<CustomerInfo>
Link copied to clipboard
Link copied to clipboard
open fun json(): Json
Link copied to clipboard
abstract suspend fun makeIdentityInfo(): IdentityInfo
Link copied to clipboard
abstract suspend fun makeIdentityManager(): IdentityManager
Link copied to clipboard
abstract fun makeLocaleIdentifier(): String?
Link copied to clipboard
abstract suspend fun makeStoreTransaction(transaction: Purchase): StoreTransaction

abstract suspend fun makeStoreTransaction(customTransactionId: String, productIdentifier: String, purchaseDate: Date): StoreTransaction

Builds a StoreTransaction for a custom-product purchase (no Google Play receipt). customTransactionId is the pre-generated UUID used as both original and store transaction identifier.

Link copied to clipboard
Link copied to clipboard
abstract fun storefrontCountryCode(): String?

The Play Store account country code held by StoreManager, or null if not yet loaded / billing unavailable.