Store Manager
class StoreManager(val purchaseController: InternalPurchaseController, val billing: Billing, receiptManagerFactory: () -> ReceiptManager, track: suspend (InternalSuperwallEvent) -> Unit = {
Superwall.instance.track(it)
}) : ProductsFetcher, StoreKit(source)
Constructors
Link copied to clipboard
constructor(purchaseController: InternalPurchaseController, billing: Billing, receiptManagerFactory: () -> ReceiptManager, track: suspend (InternalSuperwallEvent) -> Unit = {
Superwall.instance.track(it)
})
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getProducts(substituteProducts: Map<String, StoreProduct>?, paywall: Paywall, request: PaywallRequest?): GetProductsResponse
Link copied to clipboard
open suspend override fun getProductsWithoutPaywall(productIds: List<String>, substituteProducts: Map<String, StoreProduct>?): Map<String, StoreProduct>
Link copied to clipboard
open suspend override fun getProductVariables(paywall: Paywall, request: PaywallRequest): List<ProductVariable>
Link copied to clipboard
open suspend override fun loadPurchasedProducts(serverEntitlementsByProductId: Map<String, Set<Entitlement>>)
Link copied to clipboard