Test Mode Session Data
data class TestModeSessionData(val products: List<SuperwallProduct> = emptyList(), val testProductsByFullId: Map<String, StoreProduct> = emptyMap(), val entitlementIds: Set<String> = emptySet(), val entitlementSelections: List<EntitlementSelection> = emptyList(), val freeTrialOverride: FreeTrialOverride = FreeTrialOverride.UseDefault, val overriddenSubscriptionStatus: SubscriptionStatus? = null, val productsLoaded: CompletableDeferred<Unit> = CompletableDeferred())(source)
Per-activation working set. Immutable — every mutation produces a copy.
Constructors
Link copied to clipboard
constructor(products: List<SuperwallProduct> = emptyList(), testProductsByFullId: Map<String, StoreProduct> = emptyMap(), entitlementIds: Set<String> = emptySet(), entitlementSelections: List<EntitlementSelection> = emptyList(), freeTrialOverride: FreeTrialOverride = FreeTrialOverride.UseDefault, overriddenSubscriptionStatus: SubscriptionStatus? = null, productsLoaded: CompletableDeferred<Unit> = CompletableDeferred())