TransactionManager

constructor(storeManager: StoreManager, purchaseController: PurchaseController, eventsQueue: EventsQueue, storage: Storage, activityProvider: ActivityProvider, factory: TransactionManager.Factory, ioScope: IOScope, track: suspend (TrackableSuperwallEvent) -> Unit = { Superwall.instance.track(it) }, dismiss: suspend (paywallId: String, result: PaywallResult) -> Unit, showAlert: (AlertControllerFactory.AlertProps) -> Unit, subscriptionStatus: () -> SubscriptionStatus = { Superwall.instance.entitlements.status.value }, entitlementsById: (String) -> Set<Entitlement>, allEntitlementsByProductId: () -> Map<String, Set<Entitlement>>, webEntitlements: () -> Set<Entitlement> = { Superwall.instance.entitlements.web }, currentCustomerInfo: () -> CustomerInfo = { Superwall.instance.getCustomerInfo() }, showRestoreDialogForWeb: suspend () -> Unit, notifyBackendOfReceipts: suspend () -> Unit = {}, refreshReceipt: () -> Unit, updateState: (cacheKey: String, update: PaywallViewState.Updates) -> Unit, notifyOfTransactionComplete: suspend (paywallCacheKey: String, trialEndDate: Long?, productId: String) -> Unit, notifyOfTransactionAbandon: suspend (paywallCacheKey: String) -> Unit = {}, testMode: TestMode? = null, testModeTransactionHandler: TestModeTransactionHandler? = null, setSubscriptionStatus: (SubscriptionStatus) -> Unit? = null)(source)