From 0df65a6c84f6a4c86f5240cb6100d1b7b83b125c Mon Sep 17 00:00:00 2001 From: JayShortway <29483617+JayShortway@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:29:42 +0200 Subject: [PATCH] Moves CustomerInfo to the models package (#189) --- .../kmp/apitester/CustomerInfoAPI.kt | 4 +- .../kmp/apitester/EntitlementInfoAPI.kt | 2 +- .../kmp/apitester/EntitlementInfosAPI.kt | 4 +- .../kmp/apitester/OwnershipTypeAPI.kt | 2 +- .../kmp/apitester/PaywallListenerAPI.kt | 2 +- .../purchases/kmp/apitester/PeriodTypeAPI.kt | 2 +- .../kmp/apitester/PurchasesCommonAPI.kt | 4 +- .../purchases/kmp/apitester/StoreAPI.kt | 2 +- .../purchases/kmp/sample/MainScreen.kt | 2 +- .../sample/components/CustomerInfoSection.kt | 2 +- .../sample/components/EntitlementInfoRow.kt | 4 +- .../sample/rememberLoggingPaywallListener.kt | 2 +- core/api/core.api | 20 +- core/api/core.klib.api | 46 ++-- .../purchases/kmp/Purchases.android.kt | 2 + .../revenuecat/purchases/kmp/MovedModels.kt | 54 +++++ .../com/revenuecat/purchases/kmp/Purchases.kt | 2 + .../purchases/kmp/PurchasesConfiguration.kt | 1 + .../purchases/kmp/ktx/Coroutines.kt | 2 +- .../revenuecat/purchases/kmp/Purchases.ios.kt | 2 + datetime/api/datetime.api | 22 +- datetime/api/datetime.klib.api | 44 ++-- .../purchases/kmp/datetime/CustomerInfo.kt | 2 +- .../purchases/kmp/datetime/EntitlementInfo.kt | 4 +- either/api/either.klib.api | 8 +- .../revenuecat/purchases/kmp/either/Either.kt | 2 +- .../kmp/mappings/CustomerInfo.android.kt | 2 +- .../kmp/mappings/EntitlementInfo.android.kt | 6 +- .../kmp/mappings/EntitlementInfos.android.kt | 2 +- .../purchases/kmp/mappings/Store.android.kt | 2 +- .../kmp/mappings/CustomerInfo.ios.kt | 2 +- .../kmp/mappings/EntitlementInfo.ios.kt | 8 +- .../kmp/mappings/EntitlementInfos.ios.kt | 2 +- models/api/models.api | 158 ++++++------- models/api/models.klib.api | 214 +++++++++--------- .../kmp/PurchasesDelegate.android.kt | 1 + .../purchases/kmp/PurchasesDelegate.kt | 1 + .../kmp/{ => models}/CustomerInfo.kt | 4 +- .../kmp/{ => models}/EntitlementInfo.kt | 2 +- .../kmp/{ => models}/EntitlementInfos.kt | 2 +- result/api/result.klib.api | 8 +- .../revenuecat/purchases/kmp/result/Result.kt | 2 +- revenuecatui/api/revenuecatui.api | 8 +- revenuecatui/api/revenuecatui.klib.api | 4 +- .../kmp/ui/revenuecatui/PaywallListener.kt | 2 +- 45 files changed, 367 insertions(+), 306 deletions(-) rename models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/{ => models}/CustomerInfo.kt (97%) rename models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/{ => models}/EntitlementInfo.kt (99%) rename models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/{ => models}/EntitlementInfos.kt (95%) diff --git a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/CustomerInfoAPI.kt b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/CustomerInfoAPI.kt index 14549ac0..fea8ef56 100644 --- a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/CustomerInfoAPI.kt +++ b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/CustomerInfoAPI.kt @@ -2,14 +2,14 @@ package com.revenuecat.purchases.kmp.apitester -import com.revenuecat.purchases.kmp.CustomerInfo -import com.revenuecat.purchases.kmp.EntitlementInfos import com.revenuecat.purchases.kmp.datetime.allExpirationInstants import com.revenuecat.purchases.kmp.datetime.allPurchaseInstants import com.revenuecat.purchases.kmp.datetime.firstSeenInstant import com.revenuecat.purchases.kmp.datetime.latestExpirationInstant import com.revenuecat.purchases.kmp.datetime.originalPurchaseInstant import com.revenuecat.purchases.kmp.datetime.requestInstant +import com.revenuecat.purchases.kmp.models.CustomerInfo +import com.revenuecat.purchases.kmp.models.EntitlementInfos import com.revenuecat.purchases.kmp.models.Transaction import kotlinx.datetime.Instant diff --git a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/EntitlementInfoAPI.kt b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/EntitlementInfoAPI.kt index db883684..e1798d33 100644 --- a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/EntitlementInfoAPI.kt +++ b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/EntitlementInfoAPI.kt @@ -1,11 +1,11 @@ package com.revenuecat.purchases.kmp.apitester -import com.revenuecat.purchases.kmp.EntitlementInfo import com.revenuecat.purchases.kmp.datetime.billingIssueDetectedAtInstant import com.revenuecat.purchases.kmp.datetime.expirationInstant import com.revenuecat.purchases.kmp.datetime.latestPurchaseInstant import com.revenuecat.purchases.kmp.datetime.originalPurchaseInstant import com.revenuecat.purchases.kmp.datetime.unsubscribeDetectedAtInstant +import com.revenuecat.purchases.kmp.models.EntitlementInfo import kotlinx.datetime.Instant @Suppress("unused", "UNUSED_VARIABLE") diff --git a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/EntitlementInfosAPI.kt b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/EntitlementInfosAPI.kt index 29ba1818..6be96694 100644 --- a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/EntitlementInfosAPI.kt +++ b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/EntitlementInfosAPI.kt @@ -1,7 +1,7 @@ package com.revenuecat.purchases.kmp.apitester -import com.revenuecat.purchases.kmp.EntitlementInfo -import com.revenuecat.purchases.kmp.EntitlementInfos +import com.revenuecat.purchases.kmp.models.EntitlementInfo +import com.revenuecat.purchases.kmp.models.EntitlementInfos @Suppress("unused", "UNUSED_VARIABLE") private class EntitlementInfosAPI { diff --git a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/OwnershipTypeAPI.kt b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/OwnershipTypeAPI.kt index a0ed5c99..04f9b1fb 100644 --- a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/OwnershipTypeAPI.kt +++ b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/OwnershipTypeAPI.kt @@ -1,6 +1,6 @@ package com.revenuecat.purchases.kmp.apitester -import com.revenuecat.purchases.kmp.OwnershipType +import com.revenuecat.purchases.kmp.models.OwnershipType @Suppress("unused") private class OwnershipTypeAPI { diff --git a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PaywallListenerAPI.kt b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PaywallListenerAPI.kt index 025143c9..83787bb7 100644 --- a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PaywallListenerAPI.kt +++ b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PaywallListenerAPI.kt @@ -1,8 +1,8 @@ package com.revenuecat.purchases.kmp.apitester -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.Package import com.revenuecat.purchases.kmp.PurchasesError +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.StoreTransaction import com.revenuecat.purchases.kmp.ui.revenuecatui.PaywallListener diff --git a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PeriodTypeAPI.kt b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PeriodTypeAPI.kt index 79f26eea..144d97d5 100644 --- a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PeriodTypeAPI.kt +++ b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PeriodTypeAPI.kt @@ -1,6 +1,6 @@ package com.revenuecat.purchases.kmp.apitester -import com.revenuecat.purchases.kmp.PeriodType +import com.revenuecat.purchases.kmp.models.PeriodType @Suppress("unused") private class PeriodTypeAPI { diff --git a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PurchasesCommonAPI.kt b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PurchasesCommonAPI.kt index 60e81f19..3093bdf2 100644 --- a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PurchasesCommonAPI.kt +++ b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PurchasesCommonAPI.kt @@ -1,7 +1,6 @@ package com.revenuecat.purchases.kmp.apitester import arrow.core.Either -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.DangerousSettings import com.revenuecat.purchases.kmp.LogHandler import com.revenuecat.purchases.kmp.LogLevel @@ -12,7 +11,6 @@ import com.revenuecat.purchases.kmp.PurchasesAreCompletedBy import com.revenuecat.purchases.kmp.PurchasesConfiguration import com.revenuecat.purchases.kmp.PurchasesDelegate import com.revenuecat.purchases.kmp.PurchasesError -import com.revenuecat.purchases.kmp.Store import com.revenuecat.purchases.kmp.configure import com.revenuecat.purchases.kmp.either.FailedPurchase import com.revenuecat.purchases.kmp.either.awaitGetProductsEither @@ -23,8 +21,10 @@ import com.revenuecat.purchases.kmp.ktx.awaitGetProducts import com.revenuecat.purchases.kmp.ktx.awaitOfferings import com.revenuecat.purchases.kmp.ktx.awaitPurchase import com.revenuecat.purchases.kmp.models.BillingFeature +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.EntitlementVerificationMode import com.revenuecat.purchases.kmp.models.GoogleReplacementMode +import com.revenuecat.purchases.kmp.models.Store import com.revenuecat.purchases.kmp.models.StoreKitVersion import com.revenuecat.purchases.kmp.models.StoreProduct import com.revenuecat.purchases.kmp.models.StoreTransaction diff --git a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/StoreAPI.kt b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/StoreAPI.kt index 5d14df22..9d0369b7 100644 --- a/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/StoreAPI.kt +++ b/apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/StoreAPI.kt @@ -1,6 +1,6 @@ package com.revenuecat.purchases.kmp.apitester -import com.revenuecat.purchases.kmp.Store +import com.revenuecat.purchases.kmp.models.Store @Suppress("unused") private class StoreAPI { diff --git a/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/MainScreen.kt b/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/MainScreen.kt index 0bc6597a..151f88d0 100644 --- a/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/MainScreen.kt +++ b/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/MainScreen.kt @@ -31,7 +31,6 @@ import androidx.compose.ui.text.font.FontFamily import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp import arrow.core.Either -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.Offering import com.revenuecat.purchases.kmp.Offerings import com.revenuecat.purchases.kmp.Purchases @@ -40,6 +39,7 @@ import com.revenuecat.purchases.kmp.PurchasesDelegate import com.revenuecat.purchases.kmp.PurchasesError import com.revenuecat.purchases.kmp.either.awaitOfferingsEither import com.revenuecat.purchases.kmp.ktx.awaitCustomerInfo +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.StoreProduct import com.revenuecat.purchases.kmp.models.StoreTransaction import com.revenuecat.purchases.kmp.sample.components.CustomerInfoSection diff --git a/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/components/CustomerInfoSection.kt b/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/components/CustomerInfoSection.kt index 46e9c31b..f0fadd66 100644 --- a/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/components/CustomerInfoSection.kt +++ b/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/components/CustomerInfoSection.kt @@ -8,13 +8,13 @@ import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.datetime.allExpirationInstants import com.revenuecat.purchases.kmp.datetime.allPurchaseInstants import com.revenuecat.purchases.kmp.datetime.firstSeenInstant import com.revenuecat.purchases.kmp.datetime.latestExpirationInstant import com.revenuecat.purchases.kmp.datetime.originalPurchaseInstant import com.revenuecat.purchases.kmp.datetime.requestInstant +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.sample.AsyncState import com.revenuecat.purchases.kmp.sample.DefaultSpacingVertical diff --git a/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/components/EntitlementInfoRow.kt b/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/components/EntitlementInfoRow.kt index bdf587b7..375ed73b 100644 --- a/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/components/EntitlementInfoRow.kt +++ b/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/components/EntitlementInfoRow.kt @@ -6,13 +6,13 @@ import androidx.compose.foundation.layout.padding import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier -import com.revenuecat.purchases.kmp.EntitlementInfo -import com.revenuecat.purchases.kmp.EntitlementInfos import com.revenuecat.purchases.kmp.datetime.billingIssueDetectedAtInstant import com.revenuecat.purchases.kmp.datetime.expirationInstant import com.revenuecat.purchases.kmp.datetime.latestPurchaseInstant import com.revenuecat.purchases.kmp.datetime.originalPurchaseInstant import com.revenuecat.purchases.kmp.datetime.unsubscribeDetectedAtInstant +import com.revenuecat.purchases.kmp.models.EntitlementInfo +import com.revenuecat.purchases.kmp.models.EntitlementInfos import com.revenuecat.purchases.kmp.sample.DefaultPaddingHorizontal import com.revenuecat.purchases.kmp.sample.DefaultSpacingVertical diff --git a/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/rememberLoggingPaywallListener.kt b/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/rememberLoggingPaywallListener.kt index 4009bdcd..83a5f416 100644 --- a/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/rememberLoggingPaywallListener.kt +++ b/composeApp/src/commonMain/kotlin/com/revenuecat/purchases/kmp/sample/rememberLoggingPaywallListener.kt @@ -2,9 +2,9 @@ package com.revenuecat.purchases.kmp.sample import androidx.compose.runtime.Composable import androidx.compose.runtime.remember -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.Package import com.revenuecat.purchases.kmp.PurchasesError +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.StoreTransaction import com.revenuecat.purchases.kmp.ui.revenuecatui.PaywallListener diff --git a/core/api/core.api b/core/api/core.api index 7f388260..4c510304 100644 --- a/core/api/core.api +++ b/core/api/core.api @@ -18,7 +18,7 @@ public final class com/revenuecat/purchases/kmp/Purchases { public static final fun getProxyURL ()Ljava/lang/String; public static final fun getSharedInstance ()Lcom/revenuecat/purchases/kmp/Purchases; public static final fun getSimulatesAskToBuyInSandbox ()Z - public final fun getStore ()Lcom/revenuecat/purchases/kmp/Store; + public final fun getStore ()Lcom/revenuecat/purchases/kmp/models/Store; public final fun invalidateCustomerInfoCache ()V public final fun isAnonymous ()Z public static final fun isConfigured ()Z @@ -87,7 +87,7 @@ public final class com/revenuecat/purchases/kmp/Purchases$Companion { } public final class com/revenuecat/purchases/kmp/PurchasesConfiguration { - public synthetic fun (Ljava/lang/String;Ljava/lang/String;Lcom/revenuecat/purchases/kmp/PurchasesAreCompletedBy;Ljava/lang/String;Lcom/revenuecat/purchases/kmp/models/StoreKitVersion;ZLcom/revenuecat/purchases/kmp/Store;ZLcom/revenuecat/purchases/kmp/DangerousSettings;Lcom/revenuecat/purchases/kmp/models/EntitlementVerificationMode;Ljava/lang/Boolean;Lkotlin/jvm/internal/DefaultConstructorMarker;)V + public synthetic fun (Ljava/lang/String;Ljava/lang/String;Lcom/revenuecat/purchases/kmp/PurchasesAreCompletedBy;Ljava/lang/String;Lcom/revenuecat/purchases/kmp/models/StoreKitVersion;ZLcom/revenuecat/purchases/kmp/models/Store;ZLcom/revenuecat/purchases/kmp/DangerousSettings;Lcom/revenuecat/purchases/kmp/models/EntitlementVerificationMode;Ljava/lang/Boolean;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getApiKey ()Ljava/lang/String; public final fun getAppUserId ()Ljava/lang/String; public final fun getDangerousSettings ()Lcom/revenuecat/purchases/kmp/DangerousSettings; @@ -95,7 +95,7 @@ public final class com/revenuecat/purchases/kmp/PurchasesConfiguration { public final fun getPendingTransactionsForPrepaidPlansEnabled ()Ljava/lang/Boolean; public final fun getPurchasesAreCompletedBy ()Lcom/revenuecat/purchases/kmp/PurchasesAreCompletedBy; public final fun getShowInAppMessagesAutomatically ()Z - public final fun getStore ()Lcom/revenuecat/purchases/kmp/Store; + public final fun getStore ()Lcom/revenuecat/purchases/kmp/models/Store; public final fun getStoreKitVersion ()Lcom/revenuecat/purchases/kmp/models/StoreKitVersion; public final fun getUserDefaultsSuiteName ()Ljava/lang/String; public final fun getVerificationMode ()Lcom/revenuecat/purchases/kmp/models/EntitlementVerificationMode; @@ -116,7 +116,7 @@ public final class com/revenuecat/purchases/kmp/PurchasesConfiguration$Builder { public final fun getPendingTransactionsForPrepaidPlansEnabled ()Ljava/lang/Boolean; public final fun getPurchasesAreCompletedBy ()Lcom/revenuecat/purchases/kmp/PurchasesAreCompletedBy; public final fun getShowInAppMessagesAutomatically ()Z - public final fun getStore ()Lcom/revenuecat/purchases/kmp/Store; + public final fun getStore ()Lcom/revenuecat/purchases/kmp/models/Store; public final fun getStoreKitVersion ()Lcom/revenuecat/purchases/kmp/models/StoreKitVersion; public final fun getUserDefaultsSuiteName ()Ljava/lang/String; public final fun getVerificationMode ()Lcom/revenuecat/purchases/kmp/models/EntitlementVerificationMode; @@ -129,12 +129,12 @@ public final class com/revenuecat/purchases/kmp/PurchasesConfiguration$Builder { public final synthetic fun setPendingTransactionsForPrepaidPlansEnabled (Ljava/lang/Boolean;)V public final synthetic fun setPurchasesAreCompletedBy (Lcom/revenuecat/purchases/kmp/PurchasesAreCompletedBy;)V public final synthetic fun setShowInAppMessagesAutomatically (Z)V - public final synthetic fun setStore (Lcom/revenuecat/purchases/kmp/Store;)V + public final synthetic fun setStore (Lcom/revenuecat/purchases/kmp/models/Store;)V public final synthetic fun setStoreKitVersion (Lcom/revenuecat/purchases/kmp/models/StoreKitVersion;)V public final synthetic fun setUserDefaultsSuiteName (Ljava/lang/String;)V public final synthetic fun setVerificationMode (Lcom/revenuecat/purchases/kmp/models/EntitlementVerificationMode;)V public final fun showInAppMessagesAutomatically (Z)Lcom/revenuecat/purchases/kmp/PurchasesConfiguration$Builder; - public final fun store (Lcom/revenuecat/purchases/kmp/Store;)Lcom/revenuecat/purchases/kmp/PurchasesConfiguration$Builder; + public final fun store (Lcom/revenuecat/purchases/kmp/models/Store;)Lcom/revenuecat/purchases/kmp/PurchasesConfiguration$Builder; public final fun storeKitVersion (Lcom/revenuecat/purchases/kmp/models/StoreKitVersion;)Lcom/revenuecat/purchases/kmp/PurchasesConfiguration$Builder; public final fun userDefaultsSuiteName (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/PurchasesConfiguration$Builder; public final fun verificationMode (Lcom/revenuecat/purchases/kmp/models/EntitlementVerificationMode;)Lcom/revenuecat/purchases/kmp/PurchasesConfiguration$Builder; @@ -173,14 +173,14 @@ public final class com/revenuecat/purchases/kmp/ktx/CoroutinesKt { } public final class com/revenuecat/purchases/kmp/ktx/SuccessfulLogin { - public fun (Lcom/revenuecat/purchases/kmp/CustomerInfo;Z)V + public fun (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;Z)V public final fun getCreated ()Z - public final fun getCustomerInfo ()Lcom/revenuecat/purchases/kmp/CustomerInfo; + public final fun getCustomerInfo ()Lcom/revenuecat/purchases/kmp/models/CustomerInfo; } public final class com/revenuecat/purchases/kmp/ktx/SuccessfulPurchase { - public fun (Lcom/revenuecat/purchases/kmp/models/StoreTransaction;Lcom/revenuecat/purchases/kmp/CustomerInfo;)V - public final fun getCustomerInfo ()Lcom/revenuecat/purchases/kmp/CustomerInfo; + public fun (Lcom/revenuecat/purchases/kmp/models/StoreTransaction;Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)V + public final fun getCustomerInfo ()Lcom/revenuecat/purchases/kmp/models/CustomerInfo; public final fun getStoreTransaction ()Lcom/revenuecat/purchases/kmp/models/StoreTransaction; } diff --git a/core/api/core.klib.api b/core/api/core.klib.api index b8d137b0..ba72f3c5 100644 --- a/core/api/core.klib.api +++ b/core/api/core.klib.api @@ -7,36 +7,36 @@ // Library unique name: final class com.revenuecat.purchases.kmp.ktx/SuccessfulLogin { // com.revenuecat.purchases.kmp.ktx/SuccessfulLogin|null[0] - constructor (com.revenuecat.purchases.kmp/CustomerInfo, kotlin/Boolean) // com.revenuecat.purchases.kmp.ktx/SuccessfulLogin.|(com.revenuecat.purchases.kmp.CustomerInfo;kotlin.Boolean){}[0] + constructor (com.revenuecat.purchases.kmp.models/CustomerInfo, kotlin/Boolean) // com.revenuecat.purchases.kmp.ktx/SuccessfulLogin.|(com.revenuecat.purchases.kmp.models.CustomerInfo;kotlin.Boolean){}[0] final val created // com.revenuecat.purchases.kmp.ktx/SuccessfulLogin.created|{}created[0] final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp.ktx/SuccessfulLogin.created.|(){}[0] final val customerInfo // com.revenuecat.purchases.kmp.ktx/SuccessfulLogin.customerInfo|{}customerInfo[0] - final fun (): com.revenuecat.purchases.kmp/CustomerInfo // com.revenuecat.purchases.kmp.ktx/SuccessfulLogin.customerInfo.|(){}[0] + final fun (): com.revenuecat.purchases.kmp.models/CustomerInfo // com.revenuecat.purchases.kmp.ktx/SuccessfulLogin.customerInfo.|(){}[0] } final class com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase { // com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase|null[0] - constructor (com.revenuecat.purchases.kmp.models/StoreTransaction, com.revenuecat.purchases.kmp/CustomerInfo) // com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase.|(com.revenuecat.purchases.kmp.models.StoreTransaction;com.revenuecat.purchases.kmp.CustomerInfo){}[0] + constructor (com.revenuecat.purchases.kmp.models/StoreTransaction, com.revenuecat.purchases.kmp.models/CustomerInfo) // com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase.|(com.revenuecat.purchases.kmp.models.StoreTransaction;com.revenuecat.purchases.kmp.models.CustomerInfo){}[0] final val customerInfo // com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase.customerInfo|{}customerInfo[0] - final fun (): com.revenuecat.purchases.kmp/CustomerInfo // com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase.customerInfo.|(){}[0] + final fun (): com.revenuecat.purchases.kmp.models/CustomerInfo // com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase.customerInfo.|(){}[0] final val storeTransaction // com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase.storeTransaction|{}storeTransaction[0] final fun (): com.revenuecat.purchases.kmp.models/StoreTransaction // com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase.storeTransaction.|(){}[0] } final class com.revenuecat.purchases.kmp/Purchases { // com.revenuecat.purchases.kmp/Purchases|null[0] final fun close() // com.revenuecat.purchases.kmp/Purchases.close|close(){}[0] final fun collectDeviceIdentifiers() // com.revenuecat.purchases.kmp/Purchases.collectDeviceIdentifiers|collectDeviceIdentifiers(){}[0] - final fun getCustomerInfo(com.revenuecat.purchases.kmp.models/CacheFetchPolicy =..., kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.getCustomerInfo|getCustomerInfo(com.revenuecat.purchases.kmp.models.CacheFetchPolicy;kotlin.Function1;kotlin.Function1){}[0] + final fun getCustomerInfo(com.revenuecat.purchases.kmp.models/CacheFetchPolicy =..., kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.getCustomerInfo|getCustomerInfo(com.revenuecat.purchases.kmp.models.CacheFetchPolicy;kotlin.Function1;kotlin.Function1){}[0] final fun getOfferings(kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.getOfferings|getOfferings(kotlin.Function1;kotlin.Function1){}[0] final fun getProducts(kotlin.collections/List, kotlin/Function1, kotlin/Function1, kotlin/Unit>) // com.revenuecat.purchases.kmp/Purchases.getProducts|getProducts(kotlin.collections.List;kotlin.Function1;kotlin.Function1,kotlin.Unit>){}[0] final fun getPromotionalOffer(com.revenuecat.purchases.kmp.models/StoreProductDiscount, com.revenuecat.purchases.kmp.models/StoreProduct, kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.getPromotionalOffer|getPromotionalOffer(com.revenuecat.purchases.kmp.models.StoreProductDiscount;com.revenuecat.purchases.kmp.models.StoreProduct;kotlin.Function1;kotlin.Function1){}[0] final fun invalidateCustomerInfoCache() // com.revenuecat.purchases.kmp/Purchases.invalidateCustomerInfoCache|invalidateCustomerInfoCache(){}[0] - final fun logIn(kotlin/String, kotlin/Function1, kotlin/Function2) // com.revenuecat.purchases.kmp/Purchases.logIn|logIn(kotlin.String;kotlin.Function1;kotlin.Function2){}[0] - final fun logOut(kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.logOut|logOut(kotlin.Function1;kotlin.Function1){}[0] - final fun purchase(com.revenuecat.purchases.kmp.models/StoreProduct, com.revenuecat.purchases.kmp.models/PromotionalOffer, kotlin/Function2, kotlin/Function2) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.models.StoreProduct;com.revenuecat.purchases.kmp.models.PromotionalOffer;kotlin.Function2;kotlin.Function2){}[0] - final fun purchase(com.revenuecat.purchases.kmp.models/StoreProduct, kotlin/Function2, kotlin/Function2, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp/ReplacementMode? =...) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.models.StoreProduct;kotlin.Function2;kotlin.Function2;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.ReplacementMode?){}[0] - final fun purchase(com.revenuecat.purchases.kmp.models/SubscriptionOption, kotlin/Function2, kotlin/Function2, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp/ReplacementMode? =...) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.models.SubscriptionOption;kotlin.Function2;kotlin.Function2;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.ReplacementMode?){}[0] - final fun purchase(com.revenuecat.purchases.kmp/Package, com.revenuecat.purchases.kmp.models/PromotionalOffer, kotlin/Function2, kotlin/Function2) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.Package;com.revenuecat.purchases.kmp.models.PromotionalOffer;kotlin.Function2;kotlin.Function2){}[0] - final fun purchase(com.revenuecat.purchases.kmp/Package, kotlin/Function2, kotlin/Function2, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp/ReplacementMode? =...) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.Package;kotlin.Function2;kotlin.Function2;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.ReplacementMode?){}[0] + final fun logIn(kotlin/String, kotlin/Function1, kotlin/Function2) // com.revenuecat.purchases.kmp/Purchases.logIn|logIn(kotlin.String;kotlin.Function1;kotlin.Function2){}[0] + final fun logOut(kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.logOut|logOut(kotlin.Function1;kotlin.Function1){}[0] + final fun purchase(com.revenuecat.purchases.kmp.models/StoreProduct, com.revenuecat.purchases.kmp.models/PromotionalOffer, kotlin/Function2, kotlin/Function2) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.models.StoreProduct;com.revenuecat.purchases.kmp.models.PromotionalOffer;kotlin.Function2;kotlin.Function2){}[0] + final fun purchase(com.revenuecat.purchases.kmp.models/StoreProduct, kotlin/Function2, kotlin/Function2, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp/ReplacementMode? =...) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.models.StoreProduct;kotlin.Function2;kotlin.Function2;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.ReplacementMode?){}[0] + final fun purchase(com.revenuecat.purchases.kmp.models/SubscriptionOption, kotlin/Function2, kotlin/Function2, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp/ReplacementMode? =...) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.models.SubscriptionOption;kotlin.Function2;kotlin.Function2;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.ReplacementMode?){}[0] + final fun purchase(com.revenuecat.purchases.kmp/Package, com.revenuecat.purchases.kmp.models/PromotionalOffer, kotlin/Function2, kotlin/Function2) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.Package;com.revenuecat.purchases.kmp.models.PromotionalOffer;kotlin.Function2;kotlin.Function2){}[0] + final fun purchase(com.revenuecat.purchases.kmp/Package, kotlin/Function2, kotlin/Function2, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp/ReplacementMode? =...) // com.revenuecat.purchases.kmp/Purchases.purchase|purchase(com.revenuecat.purchases.kmp.Package;kotlin.Function2;kotlin.Function2;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.ReplacementMode?){}[0] final fun recordPurchase(kotlin/String, kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.recordPurchase|recordPurchase(kotlin.String;kotlin.Function1;kotlin.Function1){}[0] - final fun restorePurchases(kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.restorePurchases|restorePurchases(kotlin.Function1;kotlin.Function1){}[0] + final fun restorePurchases(kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.restorePurchases|restorePurchases(kotlin.Function1;kotlin.Function1){}[0] final fun setAd(kotlin/String?) // com.revenuecat.purchases.kmp/Purchases.setAd|setAd(kotlin.String?){}[0] final fun setAdGroup(kotlin/String?) // com.revenuecat.purchases.kmp/Purchases.setAdGroup|setAdGroup(kotlin.String?){}[0] final fun setAdjustID(kotlin/String?) // com.revenuecat.purchases.kmp/Purchases.setAdjustID|setAdjustID(kotlin.String?){}[0] @@ -61,7 +61,7 @@ final class com.revenuecat.purchases.kmp/Purchases { // com.revenuecat.purchases final fun showInAppMessagesIfNeeded(kotlin.collections/List =...) // com.revenuecat.purchases.kmp/Purchases.showInAppMessagesIfNeeded|showInAppMessagesIfNeeded(kotlin.collections.List){}[0] final fun syncAmazonPurchase(kotlin/String, kotlin/String, kotlin/String, kotlin/String?, kotlin/Double?) // com.revenuecat.purchases.kmp/Purchases.syncAmazonPurchase|syncAmazonPurchase(kotlin.String;kotlin.String;kotlin.String;kotlin.String?;kotlin.Double?){}[0] final fun syncAttributesAndOfferingsIfNeeded(kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.syncAttributesAndOfferingsIfNeeded|syncAttributesAndOfferingsIfNeeded(kotlin.Function1;kotlin.Function1){}[0] - final fun syncPurchases(kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.syncPurchases|syncPurchases(kotlin.Function1;kotlin.Function1){}[0] + final fun syncPurchases(kotlin/Function1, kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.syncPurchases|syncPurchases(kotlin.Function1;kotlin.Function1){}[0] final object Companion { // com.revenuecat.purchases.kmp/Purchases.Companion|null[0] final fun canMakePayments(kotlin.collections/List =..., kotlin/Function1) // com.revenuecat.purchases.kmp/Purchases.Companion.canMakePayments|canMakePayments(kotlin.collections.List;kotlin.Function1){}[0] final fun configure(com.revenuecat.purchases.kmp/PurchasesConfiguration): com.revenuecat.purchases.kmp/Purchases // com.revenuecat.purchases.kmp/Purchases.Companion.configure|configure(com.revenuecat.purchases.kmp.PurchasesConfiguration){}[0] @@ -90,7 +90,7 @@ final class com.revenuecat.purchases.kmp/Purchases { // com.revenuecat.purchases final val isAnonymous // com.revenuecat.purchases.kmp/Purchases.isAnonymous|{}isAnonymous[0] final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp/Purchases.isAnonymous.|(){}[0] final val store // com.revenuecat.purchases.kmp/Purchases.store|{}store[0] - final fun (): com.revenuecat.purchases.kmp/Store // com.revenuecat.purchases.kmp/Purchases.store.|(){}[0] + final fun (): com.revenuecat.purchases.kmp.models/Store // com.revenuecat.purchases.kmp/Purchases.store.|(){}[0] final var delegate // com.revenuecat.purchases.kmp/Purchases.delegate|{}delegate[0] final fun (): com.revenuecat.purchases.kmp/PurchasesDelegate? // com.revenuecat.purchases.kmp/Purchases.delegate.|(){}[0] final fun (com.revenuecat.purchases.kmp/PurchasesDelegate?) // com.revenuecat.purchases.kmp/Purchases.delegate.|(com.revenuecat.purchases.kmp.PurchasesDelegate?){}[0] @@ -106,7 +106,7 @@ final class com.revenuecat.purchases.kmp/PurchasesConfiguration { // com.revenue final fun pendingTransactionsForPrepaidPlansEnabled(kotlin/Boolean): com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.pendingTransactionsForPrepaidPlansEnabled|pendingTransactionsForPrepaidPlansEnabled(kotlin.Boolean){}[0] final fun purchasesAreCompletedBy(com.revenuecat.purchases.kmp/PurchasesAreCompletedBy): com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.purchasesAreCompletedBy|purchasesAreCompletedBy(com.revenuecat.purchases.kmp.PurchasesAreCompletedBy){}[0] final fun showInAppMessagesAutomatically(kotlin/Boolean): com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.showInAppMessagesAutomatically|showInAppMessagesAutomatically(kotlin.Boolean){}[0] - final fun store(com.revenuecat.purchases.kmp/Store?): com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.store|store(com.revenuecat.purchases.kmp.Store?){}[0] + final fun store(com.revenuecat.purchases.kmp.models/Store?): com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.store|store(com.revenuecat.purchases.kmp.models.Store?){}[0] final fun storeKitVersion(com.revenuecat.purchases.kmp.models/StoreKitVersion): com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.storeKitVersion|storeKitVersion(com.revenuecat.purchases.kmp.models.StoreKitVersion){}[0] final fun userDefaultsSuiteName(kotlin/String?): com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.userDefaultsSuiteName|userDefaultsSuiteName(kotlin.String?){}[0] final fun verificationMode(com.revenuecat.purchases.kmp.models/EntitlementVerificationMode): com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.verificationMode|verificationMode(com.revenuecat.purchases.kmp.models.EntitlementVerificationMode){}[0] @@ -132,8 +132,8 @@ final class com.revenuecat.purchases.kmp/PurchasesConfiguration { // com.revenue final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.showInAppMessagesAutomatically.|(){}[0] final fun (kotlin/Boolean) // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.showInAppMessagesAutomatically.|(kotlin.Boolean){}[0] final var store // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.store|{}store[0] - final fun (): com.revenuecat.purchases.kmp/Store? // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.store.|(){}[0] - final fun (com.revenuecat.purchases.kmp/Store?) // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.store.|(com.revenuecat.purchases.kmp.Store?){}[0] + final fun (): com.revenuecat.purchases.kmp.models/Store? // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.store.|(){}[0] + final fun (com.revenuecat.purchases.kmp.models/Store?) // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.store.|(com.revenuecat.purchases.kmp.models.Store?){}[0] final var storeKitVersion // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.storeKitVersion|{}storeKitVersion[0] final fun (): com.revenuecat.purchases.kmp.models/StoreKitVersion // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.storeKitVersion.|(){}[0] final fun (com.revenuecat.purchases.kmp.models/StoreKitVersion) // com.revenuecat.purchases.kmp/PurchasesConfiguration.Builder.storeKitVersion.|(com.revenuecat.purchases.kmp.models.StoreKitVersion){}[0] @@ -160,7 +160,7 @@ final class com.revenuecat.purchases.kmp/PurchasesConfiguration { // com.revenue final val showInAppMessagesAutomatically // com.revenuecat.purchases.kmp/PurchasesConfiguration.showInAppMessagesAutomatically|{}showInAppMessagesAutomatically[0] final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp/PurchasesConfiguration.showInAppMessagesAutomatically.|(){}[0] final val store // com.revenuecat.purchases.kmp/PurchasesConfiguration.store|{}store[0] - final fun (): com.revenuecat.purchases.kmp/Store? // com.revenuecat.purchases.kmp/PurchasesConfiguration.store.|(){}[0] + final fun (): com.revenuecat.purchases.kmp.models/Store? // com.revenuecat.purchases.kmp/PurchasesConfiguration.store.|(){}[0] final val storeKitVersion // com.revenuecat.purchases.kmp/PurchasesConfiguration.storeKitVersion|{}storeKitVersion[0] final fun (): com.revenuecat.purchases.kmp.models/StoreKitVersion // com.revenuecat.purchases.kmp/PurchasesConfiguration.storeKitVersion.|(){}[0] final val userDefaultsSuiteName // com.revenuecat.purchases.kmp/PurchasesConfiguration.userDefaultsSuiteName|{}userDefaultsSuiteName[0] @@ -170,10 +170,10 @@ final class com.revenuecat.purchases.kmp/PurchasesConfiguration { // com.revenue } final fun (com.revenuecat.purchases.kmp/Purchases.Companion).com.revenuecat.purchases.kmp/configure(kotlin/String, kotlin/Function1 =...): com.revenuecat.purchases.kmp/Purchases // com.revenuecat.purchases.kmp/configure|configure@com.revenuecat.purchases.kmp.Purchases.Companion(kotlin.String;kotlin.Function1){}[0] final fun com.revenuecat.purchases.kmp/PurchasesConfiguration(kotlin/String, kotlin/Function1 =...): com.revenuecat.purchases.kmp/PurchasesConfiguration // com.revenuecat.purchases.kmp/PurchasesConfiguration|PurchasesConfiguration(kotlin.String;kotlin.Function1){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitCustomerInfo(com.revenuecat.purchases.kmp.models/CacheFetchPolicy =...): com.revenuecat.purchases.kmp/CustomerInfo // com.revenuecat.purchases.kmp.ktx/awaitCustomerInfo|awaitCustomerInfo@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.CacheFetchPolicy){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitCustomerInfo(com.revenuecat.purchases.kmp.models/CacheFetchPolicy =...): com.revenuecat.purchases.kmp.models/CustomerInfo // com.revenuecat.purchases.kmp.ktx/awaitCustomerInfo|awaitCustomerInfo@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.CacheFetchPolicy){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitGetProducts(kotlin.collections/List): kotlin.collections/List // com.revenuecat.purchases.kmp.ktx/awaitGetProducts|awaitGetProducts@com.revenuecat.purchases.kmp.Purchases(kotlin.collections.List){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitLogIn(kotlin/String): com.revenuecat.purchases.kmp.ktx/SuccessfulLogin // com.revenuecat.purchases.kmp.ktx/awaitLogIn|awaitLogIn@com.revenuecat.purchases.kmp.Purchases(kotlin.String){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitLogOut(): com.revenuecat.purchases.kmp/CustomerInfo // com.revenuecat.purchases.kmp.ktx/awaitLogOut|awaitLogOut@com.revenuecat.purchases.kmp.Purchases(){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitLogOut(): com.revenuecat.purchases.kmp.models/CustomerInfo // com.revenuecat.purchases.kmp.ktx/awaitLogOut|awaitLogOut@com.revenuecat.purchases.kmp.Purchases(){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitOfferings(): com.revenuecat.purchases.kmp/Offerings // com.revenuecat.purchases.kmp.ktx/awaitOfferings|awaitOfferings@com.revenuecat.purchases.kmp.Purchases(){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitPromotionalOffer(com.revenuecat.purchases.kmp.models/StoreProductDiscount, com.revenuecat.purchases.kmp.models/StoreProduct): com.revenuecat.purchases.kmp.models/PromotionalOffer // com.revenuecat.purchases.kmp.ktx/awaitPromotionalOffer|awaitPromotionalOffer@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.StoreProductDiscount;com.revenuecat.purchases.kmp.models.StoreProduct){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitPurchase(com.revenuecat.purchases.kmp.models/StoreProduct, com.revenuecat.purchases.kmp.models/PromotionalOffer): com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase // com.revenuecat.purchases.kmp.ktx/awaitPurchase|awaitPurchase@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.StoreProduct;com.revenuecat.purchases.kmp.models.PromotionalOffer){}[0] @@ -181,8 +181,8 @@ final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purcha final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitPurchase(com.revenuecat.purchases.kmp.models/SubscriptionOption, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp.models/GoogleReplacementMode =...): com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase // com.revenuecat.purchases.kmp.ktx/awaitPurchase|awaitPurchase@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.SubscriptionOption;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.models.GoogleReplacementMode){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitPurchase(com.revenuecat.purchases.kmp/Package, com.revenuecat.purchases.kmp.models/PromotionalOffer): com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase // com.revenuecat.purchases.kmp.ktx/awaitPurchase|awaitPurchase@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.Package;com.revenuecat.purchases.kmp.models.PromotionalOffer){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitPurchase(com.revenuecat.purchases.kmp/Package, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp.models/GoogleReplacementMode =...): com.revenuecat.purchases.kmp.ktx/SuccessfulPurchase // com.revenuecat.purchases.kmp.ktx/awaitPurchase|awaitPurchase@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.Package;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.models.GoogleReplacementMode){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitRestore(): com.revenuecat.purchases.kmp/CustomerInfo // com.revenuecat.purchases.kmp.ktx/awaitRestore|awaitRestore@com.revenuecat.purchases.kmp.Purchases(){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitRestore(): com.revenuecat.purchases.kmp.models/CustomerInfo // com.revenuecat.purchases.kmp.ktx/awaitRestore|awaitRestore@com.revenuecat.purchases.kmp.Purchases(){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitSyncAttributesAndOfferingsIfNeeded(): com.revenuecat.purchases.kmp/Offerings // com.revenuecat.purchases.kmp.ktx/awaitSyncAttributesAndOfferingsIfNeeded|awaitSyncAttributesAndOfferingsIfNeeded@com.revenuecat.purchases.kmp.Purchases(){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitSyncPurchases(): com.revenuecat.purchases.kmp/CustomerInfo // com.revenuecat.purchases.kmp.ktx/awaitSyncPurchases|awaitSyncPurchases@com.revenuecat.purchases.kmp.Purchases(){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.ktx/awaitSyncPurchases(): com.revenuecat.purchases.kmp.models/CustomerInfo // com.revenuecat.purchases.kmp.ktx/awaitSyncPurchases|awaitSyncPurchases@com.revenuecat.purchases.kmp.Purchases(){}[0] final val com.revenuecat.purchases.kmp/frameworkVersion // com.revenuecat.purchases.kmp/frameworkVersion|@com.revenuecat.purchases.kmp.Purchases.Companion{}frameworkVersion[0] final fun (com.revenuecat.purchases.kmp/Purchases.Companion).(): kotlin/String // com.revenuecat.purchases.kmp/frameworkVersion.|@com.revenuecat.purchases.kmp.Purchases.Companion(){}[0] diff --git a/core/src/androidMain/kotlin/com/revenuecat/purchases/kmp/Purchases.android.kt b/core/src/androidMain/kotlin/com/revenuecat/purchases/kmp/Purchases.android.kt index 2a8b5ada..76ee3398 100644 --- a/core/src/androidMain/kotlin/com/revenuecat/purchases/kmp/Purchases.android.kt +++ b/core/src/androidMain/kotlin/com/revenuecat/purchases/kmp/Purchases.android.kt @@ -30,8 +30,10 @@ import com.revenuecat.purchases.kmp.mappings.toStoreTransaction import com.revenuecat.purchases.kmp.mappings.toUpdatedCustomerInfoListener import com.revenuecat.purchases.kmp.models.BillingFeature import com.revenuecat.purchases.kmp.models.CacheFetchPolicy +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.GoogleReplacementMode import com.revenuecat.purchases.kmp.models.PromotionalOffer +import com.revenuecat.purchases.kmp.models.Store import com.revenuecat.purchases.kmp.models.StoreMessageType import com.revenuecat.purchases.kmp.models.StoreProduct import com.revenuecat.purchases.kmp.models.StoreProductDiscount diff --git a/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/MovedModels.kt b/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/MovedModels.kt index 4d3986cd..c45b4355 100644 --- a/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/MovedModels.kt +++ b/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/MovedModels.kt @@ -15,6 +15,33 @@ package com.revenuecat.purchases.kmp ) public typealias CacheFetchPolicy = com.revenuecat.purchases.kmp.models.CacheFetchPolicy +@Deprecated( + message = "This type has moved to the models package.", + replaceWith = ReplaceWith( + expression = "CustomerInfo", + imports = ["com.revenuecat.purchases.kmp.models.CustomerInfo"] + ) +) +public typealias CustomerInfo = com.revenuecat.purchases.kmp.models.CustomerInfo + +@Deprecated( + message = "This type has moved to the models package.", + replaceWith = ReplaceWith( + expression = "EntitlementInfo", + imports = ["com.revenuecat.purchases.kmp.models.EntitlementInfo"] + ) +) +public typealias EntitlementInfo = com.revenuecat.purchases.kmp.models.EntitlementInfo + +@Deprecated( + message = "This type has moved to the models package.", + replaceWith = ReplaceWith( + expression = "EntitlementInfos", + imports = ["com.revenuecat.purchases.kmp.models.EntitlementInfos"] + ) +) +public typealias EntitlementInfos = com.revenuecat.purchases.kmp.models.EntitlementInfos + @Deprecated( message = "This type has moved to the models package.", replaceWith = ReplaceWith( @@ -25,6 +52,24 @@ public typealias CacheFetchPolicy = com.revenuecat.purchases.kmp.models.CacheFet public typealias EntitlementVerificationMode = com.revenuecat.purchases.kmp.models.EntitlementVerificationMode +@Deprecated( + message = "This type has moved to the models package.", + replaceWith = ReplaceWith( + expression = "OwnershipType", + imports = ["com.revenuecat.purchases.kmp.models.OwnershipType"] + ) +) +public typealias OwnershipType = com.revenuecat.purchases.kmp.models.OwnershipType + +@Deprecated( + message = "This type has moved to the models package.", + replaceWith = ReplaceWith( + expression = "PeriodType", + imports = ["com.revenuecat.purchases.kmp.models.PeriodType"] + ) +) +public typealias PeriodType = com.revenuecat.purchases.kmp.models.PeriodType + @Deprecated( message = "This type has moved to the models package.", replaceWith = ReplaceWith( @@ -34,6 +79,15 @@ public typealias EntitlementVerificationMode = ) public typealias ProductType = com.revenuecat.purchases.kmp.models.ProductType +@Deprecated( + message = "This type has moved to the models package.", + replaceWith = ReplaceWith( + expression = "Store", + imports = ["com.revenuecat.purchases.kmp.models.Store"] + ) +) +public typealias Store = com.revenuecat.purchases.kmp.models.Store + @Deprecated( message = "This type has moved to the models package.", replaceWith = ReplaceWith( diff --git a/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/Purchases.kt b/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/Purchases.kt index 76556e31..dbdb6463 100644 --- a/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/Purchases.kt +++ b/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/Purchases.kt @@ -3,7 +3,9 @@ package com.revenuecat.purchases.kmp import com.revenuecat.purchases.kmp.PurchasesConfiguration.Builder import com.revenuecat.purchases.kmp.models.BillingFeature import com.revenuecat.purchases.kmp.models.CacheFetchPolicy +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.PromotionalOffer +import com.revenuecat.purchases.kmp.models.Store import com.revenuecat.purchases.kmp.models.StoreMessageType import com.revenuecat.purchases.kmp.models.StoreProduct import com.revenuecat.purchases.kmp.models.StoreProductDiscount diff --git a/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/PurchasesConfiguration.kt b/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/PurchasesConfiguration.kt index 07cf0954..96ddc3b7 100644 --- a/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/PurchasesConfiguration.kt +++ b/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/PurchasesConfiguration.kt @@ -3,6 +3,7 @@ package com.revenuecat.purchases.kmp import com.revenuecat.purchases.kmp.Purchases.Companion.logHandler import com.revenuecat.purchases.kmp.PurchasesConfiguration.Builder import com.revenuecat.purchases.kmp.models.EntitlementVerificationMode +import com.revenuecat.purchases.kmp.models.Store import com.revenuecat.purchases.kmp.models.StoreKitVersion import kotlin.jvm.JvmSynthetic diff --git a/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ktx/Coroutines.kt b/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ktx/Coroutines.kt index 5dbccc3e..5d423ff7 100644 --- a/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ktx/Coroutines.kt +++ b/core/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ktx/Coroutines.kt @@ -1,12 +1,12 @@ package com.revenuecat.purchases.kmp.ktx -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.Offerings import com.revenuecat.purchases.kmp.Package import com.revenuecat.purchases.kmp.Purchases import com.revenuecat.purchases.kmp.PurchasesException import com.revenuecat.purchases.kmp.PurchasesTransactionException import com.revenuecat.purchases.kmp.models.CacheFetchPolicy +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.GoogleReplacementMode import com.revenuecat.purchases.kmp.models.PromotionalOffer import com.revenuecat.purchases.kmp.models.StoreProduct diff --git a/core/src/iosMain/kotlin/com/revenuecat/purchases/kmp/Purchases.ios.kt b/core/src/iosMain/kotlin/com/revenuecat/purchases/kmp/Purchases.ios.kt index 852cf0e6..1e5f112d 100644 --- a/core/src/iosMain/kotlin/com/revenuecat/purchases/kmp/Purchases.ios.kt +++ b/core/src/iosMain/kotlin/com/revenuecat/purchases/kmp/Purchases.ios.kt @@ -28,7 +28,9 @@ import com.revenuecat.purchases.kmp.mappings.toStoreProduct import com.revenuecat.purchases.kmp.mappings.toStoreTransaction import com.revenuecat.purchases.kmp.models.BillingFeature import com.revenuecat.purchases.kmp.models.CacheFetchPolicy +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.PromotionalOffer +import com.revenuecat.purchases.kmp.models.Store import com.revenuecat.purchases.kmp.models.StoreMessageType import com.revenuecat.purchases.kmp.models.StoreProduct import com.revenuecat.purchases.kmp.models.StoreProductDiscount diff --git a/datetime/api/datetime.api b/datetime/api/datetime.api index 19d10f77..da12561c 100644 --- a/datetime/api/datetime.api +++ b/datetime/api/datetime.api @@ -1,18 +1,18 @@ public final class com/revenuecat/purchases/kmp/datetime/CustomerInfoKt { - public static final fun getAllExpirationInstants (Lcom/revenuecat/purchases/kmp/CustomerInfo;)Ljava/util/Map; - public static final fun getAllPurchaseInstants (Lcom/revenuecat/purchases/kmp/CustomerInfo;)Ljava/util/Map; - public static final fun getFirstSeenInstant (Lcom/revenuecat/purchases/kmp/CustomerInfo;)Lkotlinx/datetime/Instant; - public static final fun getLatestExpirationInstant (Lcom/revenuecat/purchases/kmp/CustomerInfo;)Lkotlinx/datetime/Instant; - public static final fun getOriginalPurchaseInstant (Lcom/revenuecat/purchases/kmp/CustomerInfo;)Lkotlinx/datetime/Instant; - public static final fun getRequestInstant (Lcom/revenuecat/purchases/kmp/CustomerInfo;)Lkotlinx/datetime/Instant; + public static final fun getAllExpirationInstants (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)Ljava/util/Map; + public static final fun getAllPurchaseInstants (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)Ljava/util/Map; + public static final fun getFirstSeenInstant (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)Lkotlinx/datetime/Instant; + public static final fun getLatestExpirationInstant (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)Lkotlinx/datetime/Instant; + public static final fun getOriginalPurchaseInstant (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)Lkotlinx/datetime/Instant; + public static final fun getRequestInstant (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)Lkotlinx/datetime/Instant; } public final class com/revenuecat/purchases/kmp/datetime/EntitlementInfoKt { - public static final fun getBillingIssueDetectedAtInstant (Lcom/revenuecat/purchases/kmp/EntitlementInfo;)Lkotlinx/datetime/Instant; - public static final fun getExpirationInstant (Lcom/revenuecat/purchases/kmp/EntitlementInfo;)Lkotlinx/datetime/Instant; - public static final fun getLatestPurchaseInstant (Lcom/revenuecat/purchases/kmp/EntitlementInfo;)Lkotlinx/datetime/Instant; - public static final fun getOriginalPurchaseInstant (Lcom/revenuecat/purchases/kmp/EntitlementInfo;)Lkotlinx/datetime/Instant; - public static final fun getUnsubscribeDetectedAtInstant (Lcom/revenuecat/purchases/kmp/EntitlementInfo;)Lkotlinx/datetime/Instant; + public static final fun getBillingIssueDetectedAtInstant (Lcom/revenuecat/purchases/kmp/models/EntitlementInfo;)Lkotlinx/datetime/Instant; + public static final fun getExpirationInstant (Lcom/revenuecat/purchases/kmp/models/EntitlementInfo;)Lkotlinx/datetime/Instant; + public static final fun getLatestPurchaseInstant (Lcom/revenuecat/purchases/kmp/models/EntitlementInfo;)Lkotlinx/datetime/Instant; + public static final fun getOriginalPurchaseInstant (Lcom/revenuecat/purchases/kmp/models/EntitlementInfo;)Lkotlinx/datetime/Instant; + public static final fun getUnsubscribeDetectedAtInstant (Lcom/revenuecat/purchases/kmp/models/EntitlementInfo;)Lkotlinx/datetime/Instant; } public final class com/revenuecat/purchases/kmp/datetime/TransactionKt { diff --git a/datetime/api/datetime.klib.api b/datetime/api/datetime.klib.api index d4444b6b..d3565bcf 100644 --- a/datetime/api/datetime.klib.api +++ b/datetime/api/datetime.klib.api @@ -6,27 +6,27 @@ // - Show declarations: true // Library unique name: -final val com.revenuecat.purchases.kmp.datetime/allExpirationInstants // com.revenuecat.purchases.kmp.datetime/allExpirationInstants|@com.revenuecat.purchases.kmp.CustomerInfo{}allExpirationInstants[0] - final fun (com.revenuecat.purchases.kmp/CustomerInfo).(): kotlin.collections/Map // com.revenuecat.purchases.kmp.datetime/allExpirationInstants.|@com.revenuecat.purchases.kmp.CustomerInfo(){}[0] -final val com.revenuecat.purchases.kmp.datetime/allPurchaseInstants // com.revenuecat.purchases.kmp.datetime/allPurchaseInstants|@com.revenuecat.purchases.kmp.CustomerInfo{}allPurchaseInstants[0] - final fun (com.revenuecat.purchases.kmp/CustomerInfo).(): kotlin.collections/Map // com.revenuecat.purchases.kmp.datetime/allPurchaseInstants.|@com.revenuecat.purchases.kmp.CustomerInfo(){}[0] -final val com.revenuecat.purchases.kmp.datetime/billingIssueDetectedAtInstant // com.revenuecat.purchases.kmp.datetime/billingIssueDetectedAtInstant|@com.revenuecat.purchases.kmp.EntitlementInfo{}billingIssueDetectedAtInstant[0] - final fun (com.revenuecat.purchases.kmp/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/billingIssueDetectedAtInstant.|@com.revenuecat.purchases.kmp.EntitlementInfo(){}[0] -final val com.revenuecat.purchases.kmp.datetime/expirationInstant // com.revenuecat.purchases.kmp.datetime/expirationInstant|@com.revenuecat.purchases.kmp.EntitlementInfo{}expirationInstant[0] - final fun (com.revenuecat.purchases.kmp/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/expirationInstant.|@com.revenuecat.purchases.kmp.EntitlementInfo(){}[0] -final val com.revenuecat.purchases.kmp.datetime/firstSeenInstant // com.revenuecat.purchases.kmp.datetime/firstSeenInstant|@com.revenuecat.purchases.kmp.CustomerInfo{}firstSeenInstant[0] - final fun (com.revenuecat.purchases.kmp/CustomerInfo).(): kotlinx.datetime/Instant // com.revenuecat.purchases.kmp.datetime/firstSeenInstant.|@com.revenuecat.purchases.kmp.CustomerInfo(){}[0] -final val com.revenuecat.purchases.kmp.datetime/latestExpirationInstant // com.revenuecat.purchases.kmp.datetime/latestExpirationInstant|@com.revenuecat.purchases.kmp.CustomerInfo{}latestExpirationInstant[0] - final fun (com.revenuecat.purchases.kmp/CustomerInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/latestExpirationInstant.|@com.revenuecat.purchases.kmp.CustomerInfo(){}[0] -final val com.revenuecat.purchases.kmp.datetime/latestPurchaseInstant // com.revenuecat.purchases.kmp.datetime/latestPurchaseInstant|@com.revenuecat.purchases.kmp.EntitlementInfo{}latestPurchaseInstant[0] - final fun (com.revenuecat.purchases.kmp/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/latestPurchaseInstant.|@com.revenuecat.purchases.kmp.EntitlementInfo(){}[0] -final val com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant // com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant|@com.revenuecat.purchases.kmp.CustomerInfo{}originalPurchaseInstant[0] - final fun (com.revenuecat.purchases.kmp/CustomerInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant.|@com.revenuecat.purchases.kmp.CustomerInfo(){}[0] -final val com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant // com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant|@com.revenuecat.purchases.kmp.EntitlementInfo{}originalPurchaseInstant[0] - final fun (com.revenuecat.purchases.kmp/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant.|@com.revenuecat.purchases.kmp.EntitlementInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/allExpirationInstants // com.revenuecat.purchases.kmp.datetime/allExpirationInstants|@com.revenuecat.purchases.kmp.models.CustomerInfo{}allExpirationInstants[0] + final fun (com.revenuecat.purchases.kmp.models/CustomerInfo).(): kotlin.collections/Map // com.revenuecat.purchases.kmp.datetime/allExpirationInstants.|@com.revenuecat.purchases.kmp.models.CustomerInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/allPurchaseInstants // com.revenuecat.purchases.kmp.datetime/allPurchaseInstants|@com.revenuecat.purchases.kmp.models.CustomerInfo{}allPurchaseInstants[0] + final fun (com.revenuecat.purchases.kmp.models/CustomerInfo).(): kotlin.collections/Map // com.revenuecat.purchases.kmp.datetime/allPurchaseInstants.|@com.revenuecat.purchases.kmp.models.CustomerInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/billingIssueDetectedAtInstant // com.revenuecat.purchases.kmp.datetime/billingIssueDetectedAtInstant|@com.revenuecat.purchases.kmp.models.EntitlementInfo{}billingIssueDetectedAtInstant[0] + final fun (com.revenuecat.purchases.kmp.models/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/billingIssueDetectedAtInstant.|@com.revenuecat.purchases.kmp.models.EntitlementInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/expirationInstant // com.revenuecat.purchases.kmp.datetime/expirationInstant|@com.revenuecat.purchases.kmp.models.EntitlementInfo{}expirationInstant[0] + final fun (com.revenuecat.purchases.kmp.models/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/expirationInstant.|@com.revenuecat.purchases.kmp.models.EntitlementInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/firstSeenInstant // com.revenuecat.purchases.kmp.datetime/firstSeenInstant|@com.revenuecat.purchases.kmp.models.CustomerInfo{}firstSeenInstant[0] + final fun (com.revenuecat.purchases.kmp.models/CustomerInfo).(): kotlinx.datetime/Instant // com.revenuecat.purchases.kmp.datetime/firstSeenInstant.|@com.revenuecat.purchases.kmp.models.CustomerInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/latestExpirationInstant // com.revenuecat.purchases.kmp.datetime/latestExpirationInstant|@com.revenuecat.purchases.kmp.models.CustomerInfo{}latestExpirationInstant[0] + final fun (com.revenuecat.purchases.kmp.models/CustomerInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/latestExpirationInstant.|@com.revenuecat.purchases.kmp.models.CustomerInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/latestPurchaseInstant // com.revenuecat.purchases.kmp.datetime/latestPurchaseInstant|@com.revenuecat.purchases.kmp.models.EntitlementInfo{}latestPurchaseInstant[0] + final fun (com.revenuecat.purchases.kmp.models/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/latestPurchaseInstant.|@com.revenuecat.purchases.kmp.models.EntitlementInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant // com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant|@com.revenuecat.purchases.kmp.models.CustomerInfo{}originalPurchaseInstant[0] + final fun (com.revenuecat.purchases.kmp.models/CustomerInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant.|@com.revenuecat.purchases.kmp.models.CustomerInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant // com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant|@com.revenuecat.purchases.kmp.models.EntitlementInfo{}originalPurchaseInstant[0] + final fun (com.revenuecat.purchases.kmp.models/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/originalPurchaseInstant.|@com.revenuecat.purchases.kmp.models.EntitlementInfo(){}[0] final val com.revenuecat.purchases.kmp.datetime/purchaseInstant // com.revenuecat.purchases.kmp.datetime/purchaseInstant|@com.revenuecat.purchases.kmp.models.Transaction{}purchaseInstant[0] final fun (com.revenuecat.purchases.kmp.models/Transaction).(): kotlinx.datetime/Instant // com.revenuecat.purchases.kmp.datetime/purchaseInstant.|@com.revenuecat.purchases.kmp.models.Transaction(){}[0] -final val com.revenuecat.purchases.kmp.datetime/requestInstant // com.revenuecat.purchases.kmp.datetime/requestInstant|@com.revenuecat.purchases.kmp.CustomerInfo{}requestInstant[0] - final fun (com.revenuecat.purchases.kmp/CustomerInfo).(): kotlinx.datetime/Instant // com.revenuecat.purchases.kmp.datetime/requestInstant.|@com.revenuecat.purchases.kmp.CustomerInfo(){}[0] -final val com.revenuecat.purchases.kmp.datetime/unsubscribeDetectedAtInstant // com.revenuecat.purchases.kmp.datetime/unsubscribeDetectedAtInstant|@com.revenuecat.purchases.kmp.EntitlementInfo{}unsubscribeDetectedAtInstant[0] - final fun (com.revenuecat.purchases.kmp/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/unsubscribeDetectedAtInstant.|@com.revenuecat.purchases.kmp.EntitlementInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/requestInstant // com.revenuecat.purchases.kmp.datetime/requestInstant|@com.revenuecat.purchases.kmp.models.CustomerInfo{}requestInstant[0] + final fun (com.revenuecat.purchases.kmp.models/CustomerInfo).(): kotlinx.datetime/Instant // com.revenuecat.purchases.kmp.datetime/requestInstant.|@com.revenuecat.purchases.kmp.models.CustomerInfo(){}[0] +final val com.revenuecat.purchases.kmp.datetime/unsubscribeDetectedAtInstant // com.revenuecat.purchases.kmp.datetime/unsubscribeDetectedAtInstant|@com.revenuecat.purchases.kmp.models.EntitlementInfo{}unsubscribeDetectedAtInstant[0] + final fun (com.revenuecat.purchases.kmp.models/EntitlementInfo).(): kotlinx.datetime/Instant? // com.revenuecat.purchases.kmp.datetime/unsubscribeDetectedAtInstant.|@com.revenuecat.purchases.kmp.models.EntitlementInfo(){}[0] diff --git a/datetime/src/commonMain/kotlin/com/revenuecat/purchases/kmp/datetime/CustomerInfo.kt b/datetime/src/commonMain/kotlin/com/revenuecat/purchases/kmp/datetime/CustomerInfo.kt index d2ca7974..f6bec674 100644 --- a/datetime/src/commonMain/kotlin/com/revenuecat/purchases/kmp/datetime/CustomerInfo.kt +++ b/datetime/src/commonMain/kotlin/com/revenuecat/purchases/kmp/datetime/CustomerInfo.kt @@ -1,7 +1,7 @@ package com.revenuecat.purchases.kmp.datetime -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.Purchases +import com.revenuecat.purchases.kmp.models.CustomerInfo import kotlinx.datetime.Instant /** diff --git a/datetime/src/commonMain/kotlin/com/revenuecat/purchases/kmp/datetime/EntitlementInfo.kt b/datetime/src/commonMain/kotlin/com/revenuecat/purchases/kmp/datetime/EntitlementInfo.kt index 856201c6..ecde22fd 100644 --- a/datetime/src/commonMain/kotlin/com/revenuecat/purchases/kmp/datetime/EntitlementInfo.kt +++ b/datetime/src/commonMain/kotlin/com/revenuecat/purchases/kmp/datetime/EntitlementInfo.kt @@ -1,7 +1,7 @@ package com.revenuecat.purchases.kmp.datetime -import com.revenuecat.purchases.kmp.EntitlementInfo -import com.revenuecat.purchases.kmp.PeriodType +import com.revenuecat.purchases.kmp.models.EntitlementInfo +import com.revenuecat.purchases.kmp.models.PeriodType import kotlinx.datetime.Instant diff --git a/either/api/either.klib.api b/either/api/either.klib.api index 21764b4a..07acd4f0 100644 --- a/either/api/either.klib.api +++ b/either/api/either.klib.api @@ -12,10 +12,10 @@ final class com.revenuecat.purchases.kmp.either/FailedPurchase { // com.revenuec final val userCancelled // com.revenuecat.purchases.kmp.either/FailedPurchase.userCancelled|{}userCancelled[0] final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp.either/FailedPurchase.userCancelled.|(){}[0] } -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitCustomerInfoEither(com.revenuecat.purchases.kmp.models/CacheFetchPolicy =...): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitCustomerInfoEither|awaitCustomerInfoEither@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.CacheFetchPolicy){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitCustomerInfoEither(com.revenuecat.purchases.kmp.models/CacheFetchPolicy =...): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitCustomerInfoEither|awaitCustomerInfoEither@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.CacheFetchPolicy){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitGetProductsEither(kotlin.collections/List): arrow.core/Either> // com.revenuecat.purchases.kmp.either/awaitGetProductsEither|awaitGetProductsEither@com.revenuecat.purchases.kmp.Purchases(kotlin.collections.List){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitLogInEither(kotlin/String): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitLogInEither|awaitLogInEither@com.revenuecat.purchases.kmp.Purchases(kotlin.String){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitLogOutEither(): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitLogOutEither|awaitLogOutEither@com.revenuecat.purchases.kmp.Purchases(){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitLogOutEither(): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitLogOutEither|awaitLogOutEither@com.revenuecat.purchases.kmp.Purchases(){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitOfferingsEither(): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitOfferingsEither|awaitOfferingsEither@com.revenuecat.purchases.kmp.Purchases(){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitPromotionalOfferEither(com.revenuecat.purchases.kmp.models/StoreProductDiscount, com.revenuecat.purchases.kmp.models/StoreProduct): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitPromotionalOfferEither|awaitPromotionalOfferEither@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.StoreProductDiscount;com.revenuecat.purchases.kmp.models.StoreProduct){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitPurchaseEither(com.revenuecat.purchases.kmp.models/StoreProduct, com.revenuecat.purchases.kmp.models/PromotionalOffer): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitPurchaseEither|awaitPurchaseEither@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.StoreProduct;com.revenuecat.purchases.kmp.models.PromotionalOffer){}[0] @@ -23,6 +23,6 @@ final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purcha final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitPurchaseEither(com.revenuecat.purchases.kmp.models/SubscriptionOption, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp.models/GoogleReplacementMode =...): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitPurchaseEither|awaitPurchaseEither@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.SubscriptionOption;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.models.GoogleReplacementMode){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitPurchaseEither(com.revenuecat.purchases.kmp/Package, com.revenuecat.purchases.kmp.models/PromotionalOffer): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitPurchaseEither|awaitPurchaseEither@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.Package;com.revenuecat.purchases.kmp.models.PromotionalOffer){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitPurchaseEither(com.revenuecat.purchases.kmp/Package, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp.models/GoogleReplacementMode =...): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitPurchaseEither|awaitPurchaseEither@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.Package;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.models.GoogleReplacementMode){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitRestoreEither(): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitRestoreEither|awaitRestoreEither@com.revenuecat.purchases.kmp.Purchases(){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitRestoreEither(): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitRestoreEither|awaitRestoreEither@com.revenuecat.purchases.kmp.Purchases(){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitSyncAttributesAndOfferingsIfNeededEither(): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitSyncAttributesAndOfferingsIfNeededEither|awaitSyncAttributesAndOfferingsIfNeededEither@com.revenuecat.purchases.kmp.Purchases(){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitSyncPurchasesEither(): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitSyncPurchasesEither|awaitSyncPurchasesEither@com.revenuecat.purchases.kmp.Purchases(){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.either/awaitSyncPurchasesEither(): arrow.core/Either // com.revenuecat.purchases.kmp.either/awaitSyncPurchasesEither|awaitSyncPurchasesEither@com.revenuecat.purchases.kmp.Purchases(){}[0] diff --git a/either/src/commonMain/kotlin/com/revenuecat/purchases/kmp/either/Either.kt b/either/src/commonMain/kotlin/com/revenuecat/purchases/kmp/either/Either.kt index 3e41b83a..a44170f6 100644 --- a/either/src/commonMain/kotlin/com/revenuecat/purchases/kmp/either/Either.kt +++ b/either/src/commonMain/kotlin/com/revenuecat/purchases/kmp/either/Either.kt @@ -3,7 +3,6 @@ package com.revenuecat.purchases.kmp.either import arrow.core.Either import arrow.core.left import arrow.core.right -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.Offerings import com.revenuecat.purchases.kmp.Package import com.revenuecat.purchases.kmp.Purchases @@ -13,6 +12,7 @@ import com.revenuecat.purchases.kmp.ktx.SuccessfulPurchase import com.revenuecat.purchases.kmp.ktx.awaitPromotionalOffer import com.revenuecat.purchases.kmp.ktx.awaitPurchase import com.revenuecat.purchases.kmp.models.CacheFetchPolicy +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.GoogleReplacementMode import com.revenuecat.purchases.kmp.models.PromotionalOffer import com.revenuecat.purchases.kmp.models.StoreProduct diff --git a/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/CustomerInfo.android.kt b/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/CustomerInfo.android.kt index d2ecd034..96677548 100644 --- a/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/CustomerInfo.android.kt +++ b/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/CustomerInfo.android.kt @@ -1,6 +1,6 @@ package com.revenuecat.purchases.kmp.mappings -import com.revenuecat.purchases.kmp.CustomerInfo +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.CustomerInfo as AndroidCustomerInfo public fun AndroidCustomerInfo.toCustomerInfo(): CustomerInfo { diff --git a/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfo.android.kt b/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfo.android.kt index a50019c4..8bbecbfa 100644 --- a/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfo.android.kt +++ b/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfo.android.kt @@ -1,8 +1,8 @@ package com.revenuecat.purchases.kmp.mappings -import com.revenuecat.purchases.kmp.EntitlementInfo -import com.revenuecat.purchases.kmp.OwnershipType -import com.revenuecat.purchases.kmp.PeriodType +import com.revenuecat.purchases.kmp.models.EntitlementInfo +import com.revenuecat.purchases.kmp.models.OwnershipType +import com.revenuecat.purchases.kmp.models.PeriodType import com.revenuecat.purchases.EntitlementInfo as RcEntitlementInfo import com.revenuecat.purchases.OwnershipType as AndroidOwnershipType import com.revenuecat.purchases.PeriodType as AndroidPeriodType diff --git a/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfos.android.kt b/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfos.android.kt index 87f3d577..c46b3e4b 100644 --- a/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfos.android.kt +++ b/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfos.android.kt @@ -1,6 +1,6 @@ package com.revenuecat.purchases.kmp.mappings -import com.revenuecat.purchases.kmp.EntitlementInfos +import com.revenuecat.purchases.kmp.models.EntitlementInfos import com.revenuecat.purchases.EntitlementInfos as RcEntitlementInfos internal fun RcEntitlementInfos.toEntitlementInfos(): EntitlementInfos = diff --git a/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/Store.android.kt b/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/Store.android.kt index 6ff55b3b..a981c7b0 100644 --- a/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/Store.android.kt +++ b/mappings/src/androidMain/kotlin/com/revenuecat/purchases/kmp/mappings/Store.android.kt @@ -1,6 +1,6 @@ package com.revenuecat.purchases.kmp.mappings -import com.revenuecat.purchases.kmp.Store +import com.revenuecat.purchases.kmp.models.Store import com.revenuecat.purchases.Store as AndroidStore public fun AndroidStore.toStore(): Store = diff --git a/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/CustomerInfo.ios.kt b/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/CustomerInfo.ios.kt index e092c28f..49c12c2e 100644 --- a/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/CustomerInfo.ios.kt +++ b/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/CustomerInfo.ios.kt @@ -1,7 +1,7 @@ package com.revenuecat.purchases.kmp.mappings -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.mappings.ktx.toEpochMilliseconds +import com.revenuecat.purchases.kmp.models.CustomerInfo import platform.Foundation.dictionaryWithValuesForKeys import platform.darwin.NSObject import cocoapods.PurchasesHybridCommon.RCCustomerInfo as IosCustomerInfo diff --git a/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfo.ios.kt b/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfo.ios.kt index fc5d137c..2837d58d 100644 --- a/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfo.ios.kt +++ b/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfo.ios.kt @@ -15,10 +15,10 @@ import cocoapods.PurchasesHybridCommon.RCStripe import cocoapods.PurchasesHybridCommon.RCTrial import cocoapods.PurchasesHybridCommon.RCUnknownStore import com.revenuecat.purchases.kmp.mappings.ktx.toEpochMilliseconds -import com.revenuecat.purchases.kmp.EntitlementInfo -import com.revenuecat.purchases.kmp.OwnershipType -import com.revenuecat.purchases.kmp.PeriodType -import com.revenuecat.purchases.kmp.Store +import com.revenuecat.purchases.kmp.models.EntitlementInfo +import com.revenuecat.purchases.kmp.models.OwnershipType +import com.revenuecat.purchases.kmp.models.PeriodType +import com.revenuecat.purchases.kmp.models.Store import cocoapods.PurchasesHybridCommon.RCPeriodType as IosPeriodType import cocoapods.PurchasesHybridCommon.RCPurchaseOwnershipType as IosOwnershipType import cocoapods.PurchasesHybridCommon.RCStore as IosStore diff --git a/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfos.ios.kt b/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfos.ios.kt index e0869ef1..e7188b13 100644 --- a/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfos.ios.kt +++ b/mappings/src/iosMain/kotlin/com/revenuecat/purchases/kmp/mappings/EntitlementInfos.ios.kt @@ -3,7 +3,7 @@ package com.revenuecat.purchases.kmp.mappings import cocoapods.PurchasesHybridCommon.RCEntitlementInfo import cocoapods.PurchasesHybridCommon.RCEntitlementInfos import com.revenuecat.purchases.kmp.mappings.ktx.mapEntries -import com.revenuecat.purchases.kmp.EntitlementInfos +import com.revenuecat.purchases.kmp.models.EntitlementInfos internal fun RCEntitlementInfos.toEntitlementInfos(): EntitlementInfos = EntitlementInfos( diff --git a/models/api/models.api b/models/api/models.api index 96149266..e4bbb60e 100644 --- a/models/api/models.api +++ b/models/api/models.api @@ -1,20 +1,3 @@ -public final class com/revenuecat/purchases/kmp/CustomerInfo { - public fun (Ljava/util/Set;Ljava/util/Map;Ljava/util/Map;Ljava/util/Set;Lcom/revenuecat/purchases/kmp/EntitlementInfos;JLjava/lang/Long;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;J)V - public final fun getActiveSubscriptions ()Ljava/util/Set; - public final fun getAllExpirationDateMillis ()Ljava/util/Map; - public final fun getAllPurchaseDateMillis ()Ljava/util/Map; - public final fun getAllPurchasedProductIdentifiers ()Ljava/util/Set; - public final fun getEntitlements ()Lcom/revenuecat/purchases/kmp/EntitlementInfos; - public final fun getFirstSeenMillis ()J - public final fun getLatestExpirationDateMillis ()Ljava/lang/Long; - public final fun getManagementUrlString ()Ljava/lang/String; - public final fun getNonSubscriptionTransactions ()Ljava/util/List; - public final fun getOriginalAppUserId ()Ljava/lang/String; - public final fun getOriginalApplicationVersion ()Ljava/lang/String; - public final fun getOriginalPurchaseDateMillis ()Ljava/lang/Long; - public final fun getRequestDateMillis ()J -} - public final class com/revenuecat/purchases/kmp/DangerousSettings { public fun ()V public fun (Z)V @@ -22,33 +5,6 @@ public final class com/revenuecat/purchases/kmp/DangerousSettings { public final fun getAutoSyncPurchases ()Z } -public final class com/revenuecat/purchases/kmp/EntitlementInfo { - public fun (Ljava/lang/String;ZZLcom/revenuecat/purchases/kmp/PeriodType;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;Lcom/revenuecat/purchases/kmp/Store;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Long;Ljava/lang/Long;Lcom/revenuecat/purchases/kmp/OwnershipType;Lcom/revenuecat/purchases/kmp/models/VerificationResult;)V - public final fun getBillingIssueDetectedAtMillis ()Ljava/lang/Long; - public final fun getExpirationDateMillis ()Ljava/lang/Long; - public final fun getIdentifier ()Ljava/lang/String; - public final fun getLatestPurchaseDateMillis ()Ljava/lang/Long; - public final fun getOriginalPurchaseDateMillis ()Ljava/lang/Long; - public final fun getOwnershipType ()Lcom/revenuecat/purchases/kmp/OwnershipType; - public final fun getPeriodType ()Lcom/revenuecat/purchases/kmp/PeriodType; - public final fun getProductIdentifier ()Ljava/lang/String; - public final fun getProductPlanIdentifier ()Ljava/lang/String; - public final fun getStore ()Lcom/revenuecat/purchases/kmp/Store; - public final fun getUnsubscribeDetectedAtMillis ()Ljava/lang/Long; - public final fun getVerification ()Lcom/revenuecat/purchases/kmp/models/VerificationResult; - public final fun getWillRenew ()Z - public final fun isActive ()Z - public final fun isSandbox ()Z -} - -public final class com/revenuecat/purchases/kmp/EntitlementInfos { - public fun (Ljava/util/Map;Lcom/revenuecat/purchases/kmp/models/VerificationResult;)V - public final fun get (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/EntitlementInfo; - public final fun getActive ()Ljava/util/Map; - public final fun getAll ()Ljava/util/Map; - public final fun getVerification ()Lcom/revenuecat/purchases/kmp/models/VerificationResult; -} - public abstract interface class com/revenuecat/purchases/kmp/LogHandler { public abstract fun d (Ljava/lang/String;Ljava/lang/String;)V public abstract fun e (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V @@ -99,15 +55,6 @@ public final class com/revenuecat/purchases/kmp/Offerings { public final fun getOffering (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/Offering; } -public final class com/revenuecat/purchases/kmp/OwnershipType : java/lang/Enum { - public static final field FAMILY_SHARED Lcom/revenuecat/purchases/kmp/OwnershipType; - public static final field PURCHASED Lcom/revenuecat/purchases/kmp/OwnershipType; - public static final field UNKNOWN Lcom/revenuecat/purchases/kmp/OwnershipType; - public static fun getEntries ()Lkotlin/enums/EnumEntries; - public static fun valueOf (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/OwnershipType; - public static fun values ()[Lcom/revenuecat/purchases/kmp/OwnershipType; -} - public abstract interface class com/revenuecat/purchases/kmp/Package { public abstract fun getIdentifier ()Ljava/lang/String; public abstract fun getPackageType ()Lcom/revenuecat/purchases/kmp/PackageType; @@ -130,15 +77,6 @@ public final class com/revenuecat/purchases/kmp/PackageType : java/lang/Enum { public static fun values ()[Lcom/revenuecat/purchases/kmp/PackageType; } -public final class com/revenuecat/purchases/kmp/PeriodType : java/lang/Enum { - public static final field INTRO Lcom/revenuecat/purchases/kmp/PeriodType; - public static final field NORMAL Lcom/revenuecat/purchases/kmp/PeriodType; - public static final field TRIAL Lcom/revenuecat/purchases/kmp/PeriodType; - public static fun getEntries ()Lkotlin/enums/EnumEntries; - public static fun valueOf (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/PeriodType; - public static fun values ()[Lcom/revenuecat/purchases/kmp/PeriodType; -} - public final class com/revenuecat/purchases/kmp/PresentedOfferingContext { public fun (Ljava/lang/String;Ljava/lang/String;Lcom/revenuecat/purchases/kmp/PresentedOfferingTargetingContext;)V public final fun getOfferingIdentifier ()Ljava/lang/String; @@ -168,7 +106,7 @@ public final class com/revenuecat/purchases/kmp/PurchasesAreCompletedBy$RevenueC } public abstract interface class com/revenuecat/purchases/kmp/PurchasesDelegate { - public abstract fun onCustomerInfoUpdated (Lcom/revenuecat/purchases/kmp/CustomerInfo;)V + public abstract fun onCustomerInfoUpdated (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)V public abstract fun onPurchasePromoProduct (Lcom/revenuecat/purchases/kmp/models/StoreProduct;Lkotlin/jvm/functions/Function2;)V } @@ -243,24 +181,9 @@ public abstract interface class com/revenuecat/purchases/kmp/ReplacementMode { public abstract fun getName ()Ljava/lang/String; } -public final class com/revenuecat/purchases/kmp/Store : java/lang/Enum { - public static final field AMAZON Lcom/revenuecat/purchases/kmp/Store; - public static final field APP_STORE Lcom/revenuecat/purchases/kmp/Store; - public static final field EXTERNAL Lcom/revenuecat/purchases/kmp/Store; - public static final field MAC_APP_STORE Lcom/revenuecat/purchases/kmp/Store; - public static final field PLAY_STORE Lcom/revenuecat/purchases/kmp/Store; - public static final field PROMOTIONAL Lcom/revenuecat/purchases/kmp/Store; - public static final field RC_BILLING Lcom/revenuecat/purchases/kmp/Store; - public static final field STRIPE Lcom/revenuecat/purchases/kmp/Store; - public static final field UNKNOWN_STORE Lcom/revenuecat/purchases/kmp/Store; - public static fun getEntries ()Lkotlin/enums/EnumEntries; - public static fun valueOf (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/Store; - public static fun values ()[Lcom/revenuecat/purchases/kmp/Store; -} - public final class com/revenuecat/purchases/kmp/UpdatedCustomerInfoDelegate : com/revenuecat/purchases/kmp/PurchasesDelegate { public fun (Lkotlin/jvm/functions/Function1;)V - public fun onCustomerInfoUpdated (Lcom/revenuecat/purchases/kmp/CustomerInfo;)V + public fun onCustomerInfoUpdated (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)V public fun onPurchasePromoProduct (Lcom/revenuecat/purchases/kmp/models/StoreProduct;Lkotlin/jvm/functions/Function2;)V } @@ -288,6 +211,23 @@ public final class com/revenuecat/purchases/kmp/models/CacheFetchPolicy$Companio public final fun default ()Lcom/revenuecat/purchases/kmp/models/CacheFetchPolicy; } +public final class com/revenuecat/purchases/kmp/models/CustomerInfo { + public fun (Ljava/util/Set;Ljava/util/Map;Ljava/util/Map;Ljava/util/Set;Lcom/revenuecat/purchases/kmp/models/EntitlementInfos;JLjava/lang/Long;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;J)V + public final fun getActiveSubscriptions ()Ljava/util/Set; + public final fun getAllExpirationDateMillis ()Ljava/util/Map; + public final fun getAllPurchaseDateMillis ()Ljava/util/Map; + public final fun getAllPurchasedProductIdentifiers ()Ljava/util/Set; + public final fun getEntitlements ()Lcom/revenuecat/purchases/kmp/models/EntitlementInfos; + public final fun getFirstSeenMillis ()J + public final fun getLatestExpirationDateMillis ()Ljava/lang/Long; + public final fun getManagementUrlString ()Ljava/lang/String; + public final fun getNonSubscriptionTransactions ()Ljava/util/List; + public final fun getOriginalAppUserId ()Ljava/lang/String; + public final fun getOriginalApplicationVersion ()Ljava/lang/String; + public final fun getOriginalPurchaseDateMillis ()Ljava/lang/Long; + public final fun getRequestDateMillis ()J +} + public final class com/revenuecat/purchases/kmp/models/DiscountPaymentMode : java/lang/Enum { public static final field FREE_TRIAL Lcom/revenuecat/purchases/kmp/models/DiscountPaymentMode; public static final field PAY_AS_YOU_GO Lcom/revenuecat/purchases/kmp/models/DiscountPaymentMode; @@ -305,6 +245,33 @@ public final class com/revenuecat/purchases/kmp/models/DiscountType : java/lang/ public static fun values ()[Lcom/revenuecat/purchases/kmp/models/DiscountType; } +public final class com/revenuecat/purchases/kmp/models/EntitlementInfo { + public fun (Ljava/lang/String;ZZLcom/revenuecat/purchases/kmp/models/PeriodType;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;Lcom/revenuecat/purchases/kmp/models/Store;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Long;Ljava/lang/Long;Lcom/revenuecat/purchases/kmp/models/OwnershipType;Lcom/revenuecat/purchases/kmp/models/VerificationResult;)V + public final fun getBillingIssueDetectedAtMillis ()Ljava/lang/Long; + public final fun getExpirationDateMillis ()Ljava/lang/Long; + public final fun getIdentifier ()Ljava/lang/String; + public final fun getLatestPurchaseDateMillis ()Ljava/lang/Long; + public final fun getOriginalPurchaseDateMillis ()Ljava/lang/Long; + public final fun getOwnershipType ()Lcom/revenuecat/purchases/kmp/models/OwnershipType; + public final fun getPeriodType ()Lcom/revenuecat/purchases/kmp/models/PeriodType; + public final fun getProductIdentifier ()Ljava/lang/String; + public final fun getProductPlanIdentifier ()Ljava/lang/String; + public final fun getStore ()Lcom/revenuecat/purchases/kmp/models/Store; + public final fun getUnsubscribeDetectedAtMillis ()Ljava/lang/Long; + public final fun getVerification ()Lcom/revenuecat/purchases/kmp/models/VerificationResult; + public final fun getWillRenew ()Z + public final fun isActive ()Z + public final fun isSandbox ()Z +} + +public final class com/revenuecat/purchases/kmp/models/EntitlementInfos { + public fun (Ljava/util/Map;Lcom/revenuecat/purchases/kmp/models/VerificationResult;)V + public final fun get (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/models/EntitlementInfo; + public final fun getActive ()Ljava/util/Map; + public final fun getAll ()Ljava/util/Map; + public final fun getVerification ()Lcom/revenuecat/purchases/kmp/models/VerificationResult; +} + public final class com/revenuecat/purchases/kmp/models/EntitlementVerificationMode : java/lang/Enum { public static final field DISABLED Lcom/revenuecat/purchases/kmp/models/EntitlementVerificationMode; public static final field INFORMATIONAL Lcom/revenuecat/purchases/kmp/models/EntitlementVerificationMode; @@ -340,6 +307,15 @@ public final class com/revenuecat/purchases/kmp/models/OfferPaymentMode : java/l public static fun values ()[Lcom/revenuecat/purchases/kmp/models/OfferPaymentMode; } +public final class com/revenuecat/purchases/kmp/models/OwnershipType : java/lang/Enum { + public static final field FAMILY_SHARED Lcom/revenuecat/purchases/kmp/models/OwnershipType; + public static final field PURCHASED Lcom/revenuecat/purchases/kmp/models/OwnershipType; + public static final field UNKNOWN Lcom/revenuecat/purchases/kmp/models/OwnershipType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/models/OwnershipType; + public static fun values ()[Lcom/revenuecat/purchases/kmp/models/OwnershipType; +} + public final class com/revenuecat/purchases/kmp/models/Period { public fun (ILcom/revenuecat/purchases/kmp/models/PeriodUnit;)V public final fun getUnit ()Lcom/revenuecat/purchases/kmp/models/PeriodUnit; @@ -347,6 +323,15 @@ public final class com/revenuecat/purchases/kmp/models/Period { public final fun getValueInMonths ()D } +public final class com/revenuecat/purchases/kmp/models/PeriodType : java/lang/Enum { + public static final field INTRO Lcom/revenuecat/purchases/kmp/models/PeriodType; + public static final field NORMAL Lcom/revenuecat/purchases/kmp/models/PeriodType; + public static final field TRIAL Lcom/revenuecat/purchases/kmp/models/PeriodType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/models/PeriodType; + public static fun values ()[Lcom/revenuecat/purchases/kmp/models/PeriodType; +} + public final class com/revenuecat/purchases/kmp/models/PeriodUnit : java/lang/Enum { public static final field DAY Lcom/revenuecat/purchases/kmp/models/PeriodUnit; public static final field MONTH Lcom/revenuecat/purchases/kmp/models/PeriodUnit; @@ -410,6 +395,21 @@ public final class com/revenuecat/purchases/kmp/models/RecurrenceMode : java/lan public static fun values ()[Lcom/revenuecat/purchases/kmp/models/RecurrenceMode; } +public final class com/revenuecat/purchases/kmp/models/Store : java/lang/Enum { + public static final field AMAZON Lcom/revenuecat/purchases/kmp/models/Store; + public static final field APP_STORE Lcom/revenuecat/purchases/kmp/models/Store; + public static final field EXTERNAL Lcom/revenuecat/purchases/kmp/models/Store; + public static final field MAC_APP_STORE Lcom/revenuecat/purchases/kmp/models/Store; + public static final field PLAY_STORE Lcom/revenuecat/purchases/kmp/models/Store; + public static final field PROMOTIONAL Lcom/revenuecat/purchases/kmp/models/Store; + public static final field RC_BILLING Lcom/revenuecat/purchases/kmp/models/Store; + public static final field STRIPE Lcom/revenuecat/purchases/kmp/models/Store; + public static final field UNKNOWN_STORE Lcom/revenuecat/purchases/kmp/models/Store; + public static fun getEntries ()Lkotlin/enums/EnumEntries; + public static fun valueOf (Ljava/lang/String;)Lcom/revenuecat/purchases/kmp/models/Store; + public static fun values ()[Lcom/revenuecat/purchases/kmp/models/Store; +} + public final class com/revenuecat/purchases/kmp/models/StoreKitVersion : java/lang/Enum { public static final field DEFAULT Lcom/revenuecat/purchases/kmp/models/StoreKitVersion; public static final field STOREKIT_1 Lcom/revenuecat/purchases/kmp/models/StoreKitVersion; diff --git a/models/api/models.klib.api b/models/api/models.klib.api index 40ff858a..65440c54 100644 --- a/models/api/models.klib.api +++ b/models/api/models.klib.api @@ -130,13 +130,85 @@ abstract interface com.revenuecat.purchases.kmp/Package { // com.revenuecat.purc abstract fun (): com.revenuecat.purchases.kmp.models/StoreProduct // com.revenuecat.purchases.kmp/Package.storeProduct.|(){}[0] } abstract interface com.revenuecat.purchases.kmp/PurchasesDelegate { // com.revenuecat.purchases.kmp/PurchasesDelegate|null[0] - abstract fun onCustomerInfoUpdated(com.revenuecat.purchases.kmp/CustomerInfo) // com.revenuecat.purchases.kmp/PurchasesDelegate.onCustomerInfoUpdated|onCustomerInfoUpdated(com.revenuecat.purchases.kmp.CustomerInfo){}[0] - abstract fun onPurchasePromoProduct(com.revenuecat.purchases.kmp.models/StoreProduct, kotlin/Function2, kotlin/Function2, kotlin/Unit>) // com.revenuecat.purchases.kmp/PurchasesDelegate.onPurchasePromoProduct|onPurchasePromoProduct(com.revenuecat.purchases.kmp.models.StoreProduct;kotlin.Function2,kotlin.Function2,kotlin.Unit>){}[0] + abstract fun onCustomerInfoUpdated(com.revenuecat.purchases.kmp.models/CustomerInfo) // com.revenuecat.purchases.kmp/PurchasesDelegate.onCustomerInfoUpdated|onCustomerInfoUpdated(com.revenuecat.purchases.kmp.models.CustomerInfo){}[0] + abstract fun onPurchasePromoProduct(com.revenuecat.purchases.kmp.models/StoreProduct, kotlin/Function2, kotlin/Function2, kotlin/Unit>) // com.revenuecat.purchases.kmp/PurchasesDelegate.onPurchasePromoProduct|onPurchasePromoProduct(com.revenuecat.purchases.kmp.models.StoreProduct;kotlin.Function2,kotlin.Function2,kotlin.Unit>){}[0] } abstract interface com.revenuecat.purchases.kmp/ReplacementMode { // com.revenuecat.purchases.kmp/ReplacementMode|null[0] abstract val name // com.revenuecat.purchases.kmp/ReplacementMode.name|{}name[0] abstract fun (): kotlin/String // com.revenuecat.purchases.kmp/ReplacementMode.name.|(){}[0] } +final class com.revenuecat.purchases.kmp.models/CustomerInfo { // com.revenuecat.purchases.kmp.models/CustomerInfo|null[0] + constructor (kotlin.collections/Set, kotlin.collections/Map, kotlin.collections/Map, kotlin.collections/Set, com.revenuecat.purchases.kmp.models/EntitlementInfos, kotlin/Long, kotlin/Long?, kotlin/String?, kotlin.collections/List, kotlin/String, kotlin/String?, kotlin/Long?, kotlin/Long) // com.revenuecat.purchases.kmp.models/CustomerInfo.|(kotlin.collections.Set;kotlin.collections.Map;kotlin.collections.Map;kotlin.collections.Set;com.revenuecat.purchases.kmp.models.EntitlementInfos;kotlin.Long;kotlin.Long?;kotlin.String?;kotlin.collections.List;kotlin.String;kotlin.String?;kotlin.Long?;kotlin.Long){}[0] + final val activeSubscriptions // com.revenuecat.purchases.kmp.models/CustomerInfo.activeSubscriptions|{}activeSubscriptions[0] + final fun (): kotlin.collections/Set // com.revenuecat.purchases.kmp.models/CustomerInfo.activeSubscriptions.|(){}[0] + final val allExpirationDateMillis // com.revenuecat.purchases.kmp.models/CustomerInfo.allExpirationDateMillis|{}allExpirationDateMillis[0] + final fun (): kotlin.collections/Map // com.revenuecat.purchases.kmp.models/CustomerInfo.allExpirationDateMillis.|(){}[0] + final val allPurchaseDateMillis // com.revenuecat.purchases.kmp.models/CustomerInfo.allPurchaseDateMillis|{}allPurchaseDateMillis[0] + final fun (): kotlin.collections/Map // com.revenuecat.purchases.kmp.models/CustomerInfo.allPurchaseDateMillis.|(){}[0] + final val allPurchasedProductIdentifiers // com.revenuecat.purchases.kmp.models/CustomerInfo.allPurchasedProductIdentifiers|{}allPurchasedProductIdentifiers[0] + final fun (): kotlin.collections/Set // com.revenuecat.purchases.kmp.models/CustomerInfo.allPurchasedProductIdentifiers.|(){}[0] + final val entitlements // com.revenuecat.purchases.kmp.models/CustomerInfo.entitlements|{}entitlements[0] + final fun (): com.revenuecat.purchases.kmp.models/EntitlementInfos // com.revenuecat.purchases.kmp.models/CustomerInfo.entitlements.|(){}[0] + final val firstSeenMillis // com.revenuecat.purchases.kmp.models/CustomerInfo.firstSeenMillis|{}firstSeenMillis[0] + final fun (): kotlin/Long // com.revenuecat.purchases.kmp.models/CustomerInfo.firstSeenMillis.|(){}[0] + final val latestExpirationDateMillis // com.revenuecat.purchases.kmp.models/CustomerInfo.latestExpirationDateMillis|{}latestExpirationDateMillis[0] + final fun (): kotlin/Long? // com.revenuecat.purchases.kmp.models/CustomerInfo.latestExpirationDateMillis.|(){}[0] + final val managementUrlString // com.revenuecat.purchases.kmp.models/CustomerInfo.managementUrlString|{}managementUrlString[0] + final fun (): kotlin/String? // com.revenuecat.purchases.kmp.models/CustomerInfo.managementUrlString.|(){}[0] + final val nonSubscriptionTransactions // com.revenuecat.purchases.kmp.models/CustomerInfo.nonSubscriptionTransactions|{}nonSubscriptionTransactions[0] + final fun (): kotlin.collections/List // com.revenuecat.purchases.kmp.models/CustomerInfo.nonSubscriptionTransactions.|(){}[0] + final val originalAppUserId // com.revenuecat.purchases.kmp.models/CustomerInfo.originalAppUserId|{}originalAppUserId[0] + final fun (): kotlin/String // com.revenuecat.purchases.kmp.models/CustomerInfo.originalAppUserId.|(){}[0] + final val originalApplicationVersion // com.revenuecat.purchases.kmp.models/CustomerInfo.originalApplicationVersion|{}originalApplicationVersion[0] + final fun (): kotlin/String? // com.revenuecat.purchases.kmp.models/CustomerInfo.originalApplicationVersion.|(){}[0] + final val originalPurchaseDateMillis // com.revenuecat.purchases.kmp.models/CustomerInfo.originalPurchaseDateMillis|{}originalPurchaseDateMillis[0] + final fun (): kotlin/Long? // com.revenuecat.purchases.kmp.models/CustomerInfo.originalPurchaseDateMillis.|(){}[0] + final val requestDateMillis // com.revenuecat.purchases.kmp.models/CustomerInfo.requestDateMillis|{}requestDateMillis[0] + final fun (): kotlin/Long // com.revenuecat.purchases.kmp.models/CustomerInfo.requestDateMillis.|(){}[0] +} +final class com.revenuecat.purchases.kmp.models/EntitlementInfo { // com.revenuecat.purchases.kmp.models/EntitlementInfo|null[0] + constructor (kotlin/String, kotlin/Boolean, kotlin/Boolean, com.revenuecat.purchases.kmp.models/PeriodType, kotlin/Long?, kotlin/Long?, kotlin/Long?, com.revenuecat.purchases.kmp.models/Store, kotlin/String, kotlin/String?, kotlin/Boolean, kotlin/Long?, kotlin/Long?, com.revenuecat.purchases.kmp.models/OwnershipType, com.revenuecat.purchases.kmp.models/VerificationResult) // com.revenuecat.purchases.kmp.models/EntitlementInfo.|(kotlin.String;kotlin.Boolean;kotlin.Boolean;com.revenuecat.purchases.kmp.models.PeriodType;kotlin.Long?;kotlin.Long?;kotlin.Long?;com.revenuecat.purchases.kmp.models.Store;kotlin.String;kotlin.String?;kotlin.Boolean;kotlin.Long?;kotlin.Long?;com.revenuecat.purchases.kmp.models.OwnershipType;com.revenuecat.purchases.kmp.models.VerificationResult){}[0] + final val billingIssueDetectedAtMillis // com.revenuecat.purchases.kmp.models/EntitlementInfo.billingIssueDetectedAtMillis|{}billingIssueDetectedAtMillis[0] + final fun (): kotlin/Long? // com.revenuecat.purchases.kmp.models/EntitlementInfo.billingIssueDetectedAtMillis.|(){}[0] + final val expirationDateMillis // com.revenuecat.purchases.kmp.models/EntitlementInfo.expirationDateMillis|{}expirationDateMillis[0] + final fun (): kotlin/Long? // com.revenuecat.purchases.kmp.models/EntitlementInfo.expirationDateMillis.|(){}[0] + final val identifier // com.revenuecat.purchases.kmp.models/EntitlementInfo.identifier|{}identifier[0] + final fun (): kotlin/String // com.revenuecat.purchases.kmp.models/EntitlementInfo.identifier.|(){}[0] + final val isActive // com.revenuecat.purchases.kmp.models/EntitlementInfo.isActive|{}isActive[0] + final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp.models/EntitlementInfo.isActive.|(){}[0] + final val isSandbox // com.revenuecat.purchases.kmp.models/EntitlementInfo.isSandbox|{}isSandbox[0] + final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp.models/EntitlementInfo.isSandbox.|(){}[0] + final val latestPurchaseDateMillis // com.revenuecat.purchases.kmp.models/EntitlementInfo.latestPurchaseDateMillis|{}latestPurchaseDateMillis[0] + final fun (): kotlin/Long? // com.revenuecat.purchases.kmp.models/EntitlementInfo.latestPurchaseDateMillis.|(){}[0] + final val originalPurchaseDateMillis // com.revenuecat.purchases.kmp.models/EntitlementInfo.originalPurchaseDateMillis|{}originalPurchaseDateMillis[0] + final fun (): kotlin/Long? // com.revenuecat.purchases.kmp.models/EntitlementInfo.originalPurchaseDateMillis.|(){}[0] + final val ownershipType // com.revenuecat.purchases.kmp.models/EntitlementInfo.ownershipType|{}ownershipType[0] + final fun (): com.revenuecat.purchases.kmp.models/OwnershipType // com.revenuecat.purchases.kmp.models/EntitlementInfo.ownershipType.|(){}[0] + final val periodType // com.revenuecat.purchases.kmp.models/EntitlementInfo.periodType|{}periodType[0] + final fun (): com.revenuecat.purchases.kmp.models/PeriodType // com.revenuecat.purchases.kmp.models/EntitlementInfo.periodType.|(){}[0] + final val productIdentifier // com.revenuecat.purchases.kmp.models/EntitlementInfo.productIdentifier|{}productIdentifier[0] + final fun (): kotlin/String // com.revenuecat.purchases.kmp.models/EntitlementInfo.productIdentifier.|(){}[0] + final val productPlanIdentifier // com.revenuecat.purchases.kmp.models/EntitlementInfo.productPlanIdentifier|{}productPlanIdentifier[0] + final fun (): kotlin/String? // com.revenuecat.purchases.kmp.models/EntitlementInfo.productPlanIdentifier.|(){}[0] + final val store // com.revenuecat.purchases.kmp.models/EntitlementInfo.store|{}store[0] + final fun (): com.revenuecat.purchases.kmp.models/Store // com.revenuecat.purchases.kmp.models/EntitlementInfo.store.|(){}[0] + final val unsubscribeDetectedAtMillis // com.revenuecat.purchases.kmp.models/EntitlementInfo.unsubscribeDetectedAtMillis|{}unsubscribeDetectedAtMillis[0] + final fun (): kotlin/Long? // com.revenuecat.purchases.kmp.models/EntitlementInfo.unsubscribeDetectedAtMillis.|(){}[0] + final val verification // com.revenuecat.purchases.kmp.models/EntitlementInfo.verification|{}verification[0] + final fun (): com.revenuecat.purchases.kmp.models/VerificationResult // com.revenuecat.purchases.kmp.models/EntitlementInfo.verification.|(){}[0] + final val willRenew // com.revenuecat.purchases.kmp.models/EntitlementInfo.willRenew|{}willRenew[0] + final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp.models/EntitlementInfo.willRenew.|(){}[0] +} +final class com.revenuecat.purchases.kmp.models/EntitlementInfos { // com.revenuecat.purchases.kmp.models/EntitlementInfos|null[0] + constructor (kotlin.collections/Map, com.revenuecat.purchases.kmp.models/VerificationResult) // com.revenuecat.purchases.kmp.models/EntitlementInfos.|(kotlin.collections.Map;com.revenuecat.purchases.kmp.models.VerificationResult){}[0] + final fun get(kotlin/String): com.revenuecat.purchases.kmp.models/EntitlementInfo? // com.revenuecat.purchases.kmp.models/EntitlementInfos.get|get(kotlin.String){}[0] + final val active // com.revenuecat.purchases.kmp.models/EntitlementInfos.active|{}active[0] + final fun (): kotlin.collections/Map // com.revenuecat.purchases.kmp.models/EntitlementInfos.active.|(){}[0] + final val all // com.revenuecat.purchases.kmp.models/EntitlementInfos.all|{}all[0] + final fun (): kotlin.collections/Map // com.revenuecat.purchases.kmp.models/EntitlementInfos.all.|(){}[0] + final val verification // com.revenuecat.purchases.kmp.models/EntitlementInfos.verification|{}verification[0] + final fun (): com.revenuecat.purchases.kmp.models/VerificationResult // com.revenuecat.purchases.kmp.models/EntitlementInfos.verification.|(){}[0] +} final class com.revenuecat.purchases.kmp.models/InstallmentsInfo { // com.revenuecat.purchases.kmp.models/InstallmentsInfo|null[0] constructor (kotlin/Int, kotlin/Int) // com.revenuecat.purchases.kmp.models/InstallmentsInfo.|(kotlin.Int;kotlin.Int){}[0] final val commitmentPaymentsCount // com.revenuecat.purchases.kmp.models/InstallmentsInfo.commitmentPaymentsCount|{}commitmentPaymentsCount[0] @@ -193,83 +265,11 @@ final class com.revenuecat.purchases.kmp.models/Transaction { // com.revenuecat. final val transactionIdentifier // com.revenuecat.purchases.kmp.models/Transaction.transactionIdentifier|{}transactionIdentifier[0] final fun (): kotlin/String // com.revenuecat.purchases.kmp.models/Transaction.transactionIdentifier.|(){}[0] } -final class com.revenuecat.purchases.kmp/CustomerInfo { // com.revenuecat.purchases.kmp/CustomerInfo|null[0] - constructor (kotlin.collections/Set, kotlin.collections/Map, kotlin.collections/Map, kotlin.collections/Set, com.revenuecat.purchases.kmp/EntitlementInfos, kotlin/Long, kotlin/Long?, kotlin/String?, kotlin.collections/List, kotlin/String, kotlin/String?, kotlin/Long?, kotlin/Long) // com.revenuecat.purchases.kmp/CustomerInfo.|(kotlin.collections.Set;kotlin.collections.Map;kotlin.collections.Map;kotlin.collections.Set;com.revenuecat.purchases.kmp.EntitlementInfos;kotlin.Long;kotlin.Long?;kotlin.String?;kotlin.collections.List;kotlin.String;kotlin.String?;kotlin.Long?;kotlin.Long){}[0] - final val activeSubscriptions // com.revenuecat.purchases.kmp/CustomerInfo.activeSubscriptions|{}activeSubscriptions[0] - final fun (): kotlin.collections/Set // com.revenuecat.purchases.kmp/CustomerInfo.activeSubscriptions.|(){}[0] - final val allExpirationDateMillis // com.revenuecat.purchases.kmp/CustomerInfo.allExpirationDateMillis|{}allExpirationDateMillis[0] - final fun (): kotlin.collections/Map // com.revenuecat.purchases.kmp/CustomerInfo.allExpirationDateMillis.|(){}[0] - final val allPurchaseDateMillis // com.revenuecat.purchases.kmp/CustomerInfo.allPurchaseDateMillis|{}allPurchaseDateMillis[0] - final fun (): kotlin.collections/Map // com.revenuecat.purchases.kmp/CustomerInfo.allPurchaseDateMillis.|(){}[0] - final val allPurchasedProductIdentifiers // com.revenuecat.purchases.kmp/CustomerInfo.allPurchasedProductIdentifiers|{}allPurchasedProductIdentifiers[0] - final fun (): kotlin.collections/Set // com.revenuecat.purchases.kmp/CustomerInfo.allPurchasedProductIdentifiers.|(){}[0] - final val entitlements // com.revenuecat.purchases.kmp/CustomerInfo.entitlements|{}entitlements[0] - final fun (): com.revenuecat.purchases.kmp/EntitlementInfos // com.revenuecat.purchases.kmp/CustomerInfo.entitlements.|(){}[0] - final val firstSeenMillis // com.revenuecat.purchases.kmp/CustomerInfo.firstSeenMillis|{}firstSeenMillis[0] - final fun (): kotlin/Long // com.revenuecat.purchases.kmp/CustomerInfo.firstSeenMillis.|(){}[0] - final val latestExpirationDateMillis // com.revenuecat.purchases.kmp/CustomerInfo.latestExpirationDateMillis|{}latestExpirationDateMillis[0] - final fun (): kotlin/Long? // com.revenuecat.purchases.kmp/CustomerInfo.latestExpirationDateMillis.|(){}[0] - final val managementUrlString // com.revenuecat.purchases.kmp/CustomerInfo.managementUrlString|{}managementUrlString[0] - final fun (): kotlin/String? // com.revenuecat.purchases.kmp/CustomerInfo.managementUrlString.|(){}[0] - final val nonSubscriptionTransactions // com.revenuecat.purchases.kmp/CustomerInfo.nonSubscriptionTransactions|{}nonSubscriptionTransactions[0] - final fun (): kotlin.collections/List // com.revenuecat.purchases.kmp/CustomerInfo.nonSubscriptionTransactions.|(){}[0] - final val originalAppUserId // com.revenuecat.purchases.kmp/CustomerInfo.originalAppUserId|{}originalAppUserId[0] - final fun (): kotlin/String // com.revenuecat.purchases.kmp/CustomerInfo.originalAppUserId.|(){}[0] - final val originalApplicationVersion // com.revenuecat.purchases.kmp/CustomerInfo.originalApplicationVersion|{}originalApplicationVersion[0] - final fun (): kotlin/String? // com.revenuecat.purchases.kmp/CustomerInfo.originalApplicationVersion.|(){}[0] - final val originalPurchaseDateMillis // com.revenuecat.purchases.kmp/CustomerInfo.originalPurchaseDateMillis|{}originalPurchaseDateMillis[0] - final fun (): kotlin/Long? // com.revenuecat.purchases.kmp/CustomerInfo.originalPurchaseDateMillis.|(){}[0] - final val requestDateMillis // com.revenuecat.purchases.kmp/CustomerInfo.requestDateMillis|{}requestDateMillis[0] - final fun (): kotlin/Long // com.revenuecat.purchases.kmp/CustomerInfo.requestDateMillis.|(){}[0] -} final class com.revenuecat.purchases.kmp/DangerousSettings { // com.revenuecat.purchases.kmp/DangerousSettings|null[0] constructor (kotlin/Boolean =...) // com.revenuecat.purchases.kmp/DangerousSettings.|(kotlin.Boolean){}[0] final val autoSyncPurchases // com.revenuecat.purchases.kmp/DangerousSettings.autoSyncPurchases|{}autoSyncPurchases[0] final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp/DangerousSettings.autoSyncPurchases.|(){}[0] } -final class com.revenuecat.purchases.kmp/EntitlementInfo { // com.revenuecat.purchases.kmp/EntitlementInfo|null[0] - constructor (kotlin/String, kotlin/Boolean, kotlin/Boolean, com.revenuecat.purchases.kmp/PeriodType, kotlin/Long?, kotlin/Long?, kotlin/Long?, com.revenuecat.purchases.kmp/Store, kotlin/String, kotlin/String?, kotlin/Boolean, kotlin/Long?, kotlin/Long?, com.revenuecat.purchases.kmp/OwnershipType, com.revenuecat.purchases.kmp.models/VerificationResult) // com.revenuecat.purchases.kmp/EntitlementInfo.|(kotlin.String;kotlin.Boolean;kotlin.Boolean;com.revenuecat.purchases.kmp.PeriodType;kotlin.Long?;kotlin.Long?;kotlin.Long?;com.revenuecat.purchases.kmp.Store;kotlin.String;kotlin.String?;kotlin.Boolean;kotlin.Long?;kotlin.Long?;com.revenuecat.purchases.kmp.OwnershipType;com.revenuecat.purchases.kmp.models.VerificationResult){}[0] - final val billingIssueDetectedAtMillis // com.revenuecat.purchases.kmp/EntitlementInfo.billingIssueDetectedAtMillis|{}billingIssueDetectedAtMillis[0] - final fun (): kotlin/Long? // com.revenuecat.purchases.kmp/EntitlementInfo.billingIssueDetectedAtMillis.|(){}[0] - final val expirationDateMillis // com.revenuecat.purchases.kmp/EntitlementInfo.expirationDateMillis|{}expirationDateMillis[0] - final fun (): kotlin/Long? // com.revenuecat.purchases.kmp/EntitlementInfo.expirationDateMillis.|(){}[0] - final val identifier // com.revenuecat.purchases.kmp/EntitlementInfo.identifier|{}identifier[0] - final fun (): kotlin/String // com.revenuecat.purchases.kmp/EntitlementInfo.identifier.|(){}[0] - final val isActive // com.revenuecat.purchases.kmp/EntitlementInfo.isActive|{}isActive[0] - final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp/EntitlementInfo.isActive.|(){}[0] - final val isSandbox // com.revenuecat.purchases.kmp/EntitlementInfo.isSandbox|{}isSandbox[0] - final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp/EntitlementInfo.isSandbox.|(){}[0] - final val latestPurchaseDateMillis // com.revenuecat.purchases.kmp/EntitlementInfo.latestPurchaseDateMillis|{}latestPurchaseDateMillis[0] - final fun (): kotlin/Long? // com.revenuecat.purchases.kmp/EntitlementInfo.latestPurchaseDateMillis.|(){}[0] - final val originalPurchaseDateMillis // com.revenuecat.purchases.kmp/EntitlementInfo.originalPurchaseDateMillis|{}originalPurchaseDateMillis[0] - final fun (): kotlin/Long? // com.revenuecat.purchases.kmp/EntitlementInfo.originalPurchaseDateMillis.|(){}[0] - final val ownershipType // com.revenuecat.purchases.kmp/EntitlementInfo.ownershipType|{}ownershipType[0] - final fun (): com.revenuecat.purchases.kmp/OwnershipType // com.revenuecat.purchases.kmp/EntitlementInfo.ownershipType.|(){}[0] - final val periodType // com.revenuecat.purchases.kmp/EntitlementInfo.periodType|{}periodType[0] - final fun (): com.revenuecat.purchases.kmp/PeriodType // com.revenuecat.purchases.kmp/EntitlementInfo.periodType.|(){}[0] - final val productIdentifier // com.revenuecat.purchases.kmp/EntitlementInfo.productIdentifier|{}productIdentifier[0] - final fun (): kotlin/String // com.revenuecat.purchases.kmp/EntitlementInfo.productIdentifier.|(){}[0] - final val productPlanIdentifier // com.revenuecat.purchases.kmp/EntitlementInfo.productPlanIdentifier|{}productPlanIdentifier[0] - final fun (): kotlin/String? // com.revenuecat.purchases.kmp/EntitlementInfo.productPlanIdentifier.|(){}[0] - final val store // com.revenuecat.purchases.kmp/EntitlementInfo.store|{}store[0] - final fun (): com.revenuecat.purchases.kmp/Store // com.revenuecat.purchases.kmp/EntitlementInfo.store.|(){}[0] - final val unsubscribeDetectedAtMillis // com.revenuecat.purchases.kmp/EntitlementInfo.unsubscribeDetectedAtMillis|{}unsubscribeDetectedAtMillis[0] - final fun (): kotlin/Long? // com.revenuecat.purchases.kmp/EntitlementInfo.unsubscribeDetectedAtMillis.|(){}[0] - final val verification // com.revenuecat.purchases.kmp/EntitlementInfo.verification|{}verification[0] - final fun (): com.revenuecat.purchases.kmp.models/VerificationResult // com.revenuecat.purchases.kmp/EntitlementInfo.verification.|(){}[0] - final val willRenew // com.revenuecat.purchases.kmp/EntitlementInfo.willRenew|{}willRenew[0] - final fun (): kotlin/Boolean // com.revenuecat.purchases.kmp/EntitlementInfo.willRenew.|(){}[0] -} -final class com.revenuecat.purchases.kmp/EntitlementInfos { // com.revenuecat.purchases.kmp/EntitlementInfos|null[0] - constructor (kotlin.collections/Map, com.revenuecat.purchases.kmp.models/VerificationResult) // com.revenuecat.purchases.kmp/EntitlementInfos.|(kotlin.collections.Map;com.revenuecat.purchases.kmp.models.VerificationResult){}[0] - final fun get(kotlin/String): com.revenuecat.purchases.kmp/EntitlementInfo? // com.revenuecat.purchases.kmp/EntitlementInfos.get|get(kotlin.String){}[0] - final val active // com.revenuecat.purchases.kmp/EntitlementInfos.active|{}active[0] - final fun (): kotlin.collections/Map // com.revenuecat.purchases.kmp/EntitlementInfos.active.|(){}[0] - final val all // com.revenuecat.purchases.kmp/EntitlementInfos.all|{}all[0] - final fun (): kotlin.collections/Map // com.revenuecat.purchases.kmp/EntitlementInfos.all.|(){}[0] - final val verification // com.revenuecat.purchases.kmp/EntitlementInfos.verification|{}verification[0] - final fun (): com.revenuecat.purchases.kmp.models/VerificationResult // com.revenuecat.purchases.kmp/EntitlementInfos.verification.|(){}[0] -} final class com.revenuecat.purchases.kmp/Offerings { // com.revenuecat.purchases.kmp/Offerings|null[0] constructor (kotlin.collections/Map, com.revenuecat.purchases.kmp/Offering?) // com.revenuecat.purchases.kmp/Offerings.|(kotlin.collections.Map;com.revenuecat.purchases.kmp.Offering?){}[0] final fun get(kotlin/String): com.revenuecat.purchases.kmp/Offering? // com.revenuecat.purchases.kmp/Offerings.get|get(kotlin.String){}[0] @@ -377,6 +377,24 @@ final enum class com.revenuecat.purchases.kmp.models/OfferPaymentMode : kotlin/E final val entries // com.revenuecat.purchases.kmp.models/OfferPaymentMode.entries|#static{}entries[0] final fun (): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp.models/OfferPaymentMode.entries.|#static(){}[0] } +final enum class com.revenuecat.purchases.kmp.models/OwnershipType : kotlin/Enum { // com.revenuecat.purchases.kmp.models/OwnershipType|null[0] + enum entry FAMILY_SHARED // com.revenuecat.purchases.kmp.models/OwnershipType.FAMILY_SHARED|null[0] + enum entry PURCHASED // com.revenuecat.purchases.kmp.models/OwnershipType.PURCHASED|null[0] + enum entry UNKNOWN // com.revenuecat.purchases.kmp.models/OwnershipType.UNKNOWN|null[0] + final fun valueOf(kotlin/String): com.revenuecat.purchases.kmp.models/OwnershipType // com.revenuecat.purchases.kmp.models/OwnershipType.valueOf|valueOf#static(kotlin.String){}[0] + final fun values(): kotlin/Array // com.revenuecat.purchases.kmp.models/OwnershipType.values|values#static(){}[0] + final val entries // com.revenuecat.purchases.kmp.models/OwnershipType.entries|#static{}entries[0] + final fun (): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp.models/OwnershipType.entries.|#static(){}[0] +} +final enum class com.revenuecat.purchases.kmp.models/PeriodType : kotlin/Enum { // com.revenuecat.purchases.kmp.models/PeriodType|null[0] + enum entry INTRO // com.revenuecat.purchases.kmp.models/PeriodType.INTRO|null[0] + enum entry NORMAL // com.revenuecat.purchases.kmp.models/PeriodType.NORMAL|null[0] + enum entry TRIAL // com.revenuecat.purchases.kmp.models/PeriodType.TRIAL|null[0] + final fun valueOf(kotlin/String): com.revenuecat.purchases.kmp.models/PeriodType // com.revenuecat.purchases.kmp.models/PeriodType.valueOf|valueOf#static(kotlin.String){}[0] + final fun values(): kotlin/Array // com.revenuecat.purchases.kmp.models/PeriodType.values|values#static(){}[0] + final val entries // com.revenuecat.purchases.kmp.models/PeriodType.entries|#static{}entries[0] + final fun (): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp.models/PeriodType.entries.|#static(){}[0] +} final enum class com.revenuecat.purchases.kmp.models/PeriodUnit : kotlin/Enum { // com.revenuecat.purchases.kmp.models/PeriodUnit|null[0] enum entry DAY // com.revenuecat.purchases.kmp.models/PeriodUnit.DAY|null[0] enum entry MONTH // com.revenuecat.purchases.kmp.models/PeriodUnit.MONTH|null[0] @@ -415,6 +433,21 @@ final enum class com.revenuecat.purchases.kmp.models/RecurrenceMode : kotlin/Enu final val entries // com.revenuecat.purchases.kmp.models/RecurrenceMode.entries|#static{}entries[0] final fun (): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp.models/RecurrenceMode.entries.|#static(){}[0] } +final enum class com.revenuecat.purchases.kmp.models/Store : kotlin/Enum { // com.revenuecat.purchases.kmp.models/Store|null[0] + enum entry AMAZON // com.revenuecat.purchases.kmp.models/Store.AMAZON|null[0] + enum entry APP_STORE // com.revenuecat.purchases.kmp.models/Store.APP_STORE|null[0] + enum entry EXTERNAL // com.revenuecat.purchases.kmp.models/Store.EXTERNAL|null[0] + enum entry MAC_APP_STORE // com.revenuecat.purchases.kmp.models/Store.MAC_APP_STORE|null[0] + enum entry PLAY_STORE // com.revenuecat.purchases.kmp.models/Store.PLAY_STORE|null[0] + enum entry PROMOTIONAL // com.revenuecat.purchases.kmp.models/Store.PROMOTIONAL|null[0] + enum entry RC_BILLING // com.revenuecat.purchases.kmp.models/Store.RC_BILLING|null[0] + enum entry STRIPE // com.revenuecat.purchases.kmp.models/Store.STRIPE|null[0] + enum entry UNKNOWN_STORE // com.revenuecat.purchases.kmp.models/Store.UNKNOWN_STORE|null[0] + final fun valueOf(kotlin/String): com.revenuecat.purchases.kmp.models/Store // com.revenuecat.purchases.kmp.models/Store.valueOf|valueOf#static(kotlin.String){}[0] + final fun values(): kotlin/Array // com.revenuecat.purchases.kmp.models/Store.values|values#static(){}[0] + final val entries // com.revenuecat.purchases.kmp.models/Store.entries|#static{}entries[0] + final fun (): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp.models/Store.entries.|#static(){}[0] +} final enum class com.revenuecat.purchases.kmp.models/StoreKitVersion : kotlin/Enum { // com.revenuecat.purchases.kmp.models/StoreKitVersion|null[0] enum entry DEFAULT // com.revenuecat.purchases.kmp.models/StoreKitVersion.DEFAULT|null[0] enum entry STOREKIT_1 // com.revenuecat.purchases.kmp.models/StoreKitVersion.STOREKIT_1|null[0] @@ -456,15 +489,6 @@ final enum class com.revenuecat.purchases.kmp/LogLevel : kotlin/Enum(): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp/LogLevel.entries.|#static(){}[0] } -final enum class com.revenuecat.purchases.kmp/OwnershipType : kotlin/Enum { // com.revenuecat.purchases.kmp/OwnershipType|null[0] - enum entry FAMILY_SHARED // com.revenuecat.purchases.kmp/OwnershipType.FAMILY_SHARED|null[0] - enum entry PURCHASED // com.revenuecat.purchases.kmp/OwnershipType.PURCHASED|null[0] - enum entry UNKNOWN // com.revenuecat.purchases.kmp/OwnershipType.UNKNOWN|null[0] - final fun valueOf(kotlin/String): com.revenuecat.purchases.kmp/OwnershipType // com.revenuecat.purchases.kmp/OwnershipType.valueOf|valueOf#static(kotlin.String){}[0] - final fun values(): kotlin/Array // com.revenuecat.purchases.kmp/OwnershipType.values|values#static(){}[0] - final val entries // com.revenuecat.purchases.kmp/OwnershipType.entries|#static{}entries[0] - final fun (): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp/OwnershipType.entries.|#static(){}[0] -} final enum class com.revenuecat.purchases.kmp/PackageType : kotlin/Enum { // com.revenuecat.purchases.kmp/PackageType|null[0] enum entry ANNUAL // com.revenuecat.purchases.kmp/PackageType.ANNUAL|null[0] enum entry CUSTOM // com.revenuecat.purchases.kmp/PackageType.CUSTOM|null[0] @@ -480,15 +504,6 @@ final enum class com.revenuecat.purchases.kmp/PackageType : kotlin/Enum(): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp/PackageType.entries.|#static(){}[0] } -final enum class com.revenuecat.purchases.kmp/PeriodType : kotlin/Enum { // com.revenuecat.purchases.kmp/PeriodType|null[0] - enum entry INTRO // com.revenuecat.purchases.kmp/PeriodType.INTRO|null[0] - enum entry NORMAL // com.revenuecat.purchases.kmp/PeriodType.NORMAL|null[0] - enum entry TRIAL // com.revenuecat.purchases.kmp/PeriodType.TRIAL|null[0] - final fun valueOf(kotlin/String): com.revenuecat.purchases.kmp/PeriodType // com.revenuecat.purchases.kmp/PeriodType.valueOf|valueOf#static(kotlin.String){}[0] - final fun values(): kotlin/Array // com.revenuecat.purchases.kmp/PeriodType.values|values#static(){}[0] - final val entries // com.revenuecat.purchases.kmp/PeriodType.entries|#static{}entries[0] - final fun (): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp/PeriodType.entries.|#static(){}[0] -} final enum class com.revenuecat.purchases.kmp/PurchasesErrorCode : kotlin/Enum { // com.revenuecat.purchases.kmp/PurchasesErrorCode|null[0] enum entry ApiEndpointBlocked // com.revenuecat.purchases.kmp/PurchasesErrorCode.ApiEndpointBlocked|null[0] enum entry BeginRefundRequestError // com.revenuecat.purchases.kmp/PurchasesErrorCode.BeginRefundRequestError|null[0] @@ -536,21 +551,6 @@ final enum class com.revenuecat.purchases.kmp/PurchasesErrorCode : kotlin/Enum(): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp/PurchasesErrorCode.entries.|#static(){}[0] } -final enum class com.revenuecat.purchases.kmp/Store : kotlin/Enum { // com.revenuecat.purchases.kmp/Store|null[0] - enum entry AMAZON // com.revenuecat.purchases.kmp/Store.AMAZON|null[0] - enum entry APP_STORE // com.revenuecat.purchases.kmp/Store.APP_STORE|null[0] - enum entry EXTERNAL // com.revenuecat.purchases.kmp/Store.EXTERNAL|null[0] - enum entry MAC_APP_STORE // com.revenuecat.purchases.kmp/Store.MAC_APP_STORE|null[0] - enum entry PLAY_STORE // com.revenuecat.purchases.kmp/Store.PLAY_STORE|null[0] - enum entry PROMOTIONAL // com.revenuecat.purchases.kmp/Store.PROMOTIONAL|null[0] - enum entry RC_BILLING // com.revenuecat.purchases.kmp/Store.RC_BILLING|null[0] - enum entry STRIPE // com.revenuecat.purchases.kmp/Store.STRIPE|null[0] - enum entry UNKNOWN_STORE // com.revenuecat.purchases.kmp/Store.UNKNOWN_STORE|null[0] - final fun valueOf(kotlin/String): com.revenuecat.purchases.kmp/Store // com.revenuecat.purchases.kmp/Store.valueOf|valueOf#static(kotlin.String){}[0] - final fun values(): kotlin/Array // com.revenuecat.purchases.kmp/Store.values|values#static(){}[0] - final val entries // com.revenuecat.purchases.kmp/Store.entries|#static{}entries[0] - final fun (): kotlin.enums/EnumEntries // com.revenuecat.purchases.kmp/Store.entries.|#static(){}[0] -} final val com.revenuecat.purchases.kmp.models/billingPeriod // com.revenuecat.purchases.kmp.models/billingPeriod|@com.revenuecat.purchases.kmp.models.SubscriptionOption{}billingPeriod[0] final fun (com.revenuecat.purchases.kmp.models/SubscriptionOption).(): com.revenuecat.purchases.kmp.models/Period? // com.revenuecat.purchases.kmp.models/billingPeriod.|@com.revenuecat.purchases.kmp.models.SubscriptionOption(){}[0] final val com.revenuecat.purchases.kmp.models/freePhase // com.revenuecat.purchases.kmp.models/freePhase|@com.revenuecat.purchases.kmp.models.SubscriptionOption{}freePhase[0] diff --git a/models/src/androidMain/kotlin/com/revenuecat/purchases/kmp/PurchasesDelegate.android.kt b/models/src/androidMain/kotlin/com/revenuecat/purchases/kmp/PurchasesDelegate.android.kt index cdc8f4eb..df6339ca 100644 --- a/models/src/androidMain/kotlin/com/revenuecat/purchases/kmp/PurchasesDelegate.android.kt +++ b/models/src/androidMain/kotlin/com/revenuecat/purchases/kmp/PurchasesDelegate.android.kt @@ -1,5 +1,6 @@ package com.revenuecat.purchases.kmp +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.StoreProduct import com.revenuecat.purchases.kmp.models.StoreTransaction diff --git a/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/PurchasesDelegate.kt b/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/PurchasesDelegate.kt index e123ce28..8d54a4c8 100644 --- a/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/PurchasesDelegate.kt +++ b/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/PurchasesDelegate.kt @@ -1,5 +1,6 @@ package com.revenuecat.purchases.kmp +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.StoreProduct import com.revenuecat.purchases.kmp.models.StoreTransaction diff --git a/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/CustomerInfo.kt b/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/models/CustomerInfo.kt similarity index 97% rename from models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/CustomerInfo.kt rename to models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/models/CustomerInfo.kt index 86bba0f3..b269fa49 100644 --- a/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/CustomerInfo.kt +++ b/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/models/CustomerInfo.kt @@ -1,6 +1,4 @@ -package com.revenuecat.purchases.kmp - -import com.revenuecat.purchases.kmp.models.Transaction +package com.revenuecat.purchases.kmp.models /** * Class containing all information regarding the customer. diff --git a/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/EntitlementInfo.kt b/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/models/EntitlementInfo.kt similarity index 99% rename from models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/EntitlementInfo.kt rename to models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/models/EntitlementInfo.kt index 30de8208..586d07bb 100644 --- a/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/EntitlementInfo.kt +++ b/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/models/EntitlementInfo.kt @@ -1,4 +1,4 @@ -package com.revenuecat.purchases.kmp +package com.revenuecat.purchases.kmp.models import com.revenuecat.purchases.kmp.models.VerificationResult diff --git a/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/EntitlementInfos.kt b/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/models/EntitlementInfos.kt similarity index 95% rename from models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/EntitlementInfos.kt rename to models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/models/EntitlementInfos.kt index 873186fd..f58c3a73 100644 --- a/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/EntitlementInfos.kt +++ b/models/src/commonMain/kotlin/com/revenuecat/purchases/kmp/models/EntitlementInfos.kt @@ -1,4 +1,4 @@ -package com.revenuecat.purchases.kmp +package com.revenuecat.purchases.kmp.models import com.revenuecat.purchases.kmp.models.VerificationResult diff --git a/result/api/result.klib.api b/result/api/result.klib.api index 9226507b..8c947f4a 100644 --- a/result/api/result.klib.api +++ b/result/api/result.klib.api @@ -6,10 +6,10 @@ // - Show declarations: true // Library unique name: -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitCustomerInfoResult(com.revenuecat.purchases.kmp.models/CacheFetchPolicy =...): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitCustomerInfoResult|awaitCustomerInfoResult@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.CacheFetchPolicy){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitCustomerInfoResult(com.revenuecat.purchases.kmp.models/CacheFetchPolicy =...): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitCustomerInfoResult|awaitCustomerInfoResult@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.CacheFetchPolicy){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitGetProductsResult(kotlin.collections/List): kotlin/Result> // com.revenuecat.purchases.kmp.result/awaitGetProductsResult|awaitGetProductsResult@com.revenuecat.purchases.kmp.Purchases(kotlin.collections.List){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitLogInResult(kotlin/String): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitLogInResult|awaitLogInResult@com.revenuecat.purchases.kmp.Purchases(kotlin.String){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitLogOutResult(): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitLogOutResult|awaitLogOutResult@com.revenuecat.purchases.kmp.Purchases(){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitLogOutResult(): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitLogOutResult|awaitLogOutResult@com.revenuecat.purchases.kmp.Purchases(){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitOfferingsResult(): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitOfferingsResult|awaitOfferingsResult@com.revenuecat.purchases.kmp.Purchases(){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitPromotionalOfferResult(com.revenuecat.purchases.kmp.models/StoreProductDiscount, com.revenuecat.purchases.kmp.models/StoreProduct): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitPromotionalOfferResult|awaitPromotionalOfferResult@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.StoreProductDiscount;com.revenuecat.purchases.kmp.models.StoreProduct){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitPurchaseResult(com.revenuecat.purchases.kmp.models/StoreProduct, com.revenuecat.purchases.kmp.models/PromotionalOffer): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitPurchaseResult|awaitPurchaseResult@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.StoreProduct;com.revenuecat.purchases.kmp.models.PromotionalOffer){}[0] @@ -17,6 +17,6 @@ final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purcha final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitPurchaseResult(com.revenuecat.purchases.kmp.models/SubscriptionOption, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp.models/GoogleReplacementMode =...): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitPurchaseResult|awaitPurchaseResult@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.models.SubscriptionOption;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.models.GoogleReplacementMode){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitPurchaseResult(com.revenuecat.purchases.kmp/Package, com.revenuecat.purchases.kmp.models/PromotionalOffer): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitPurchaseResult|awaitPurchaseResult@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.Package;com.revenuecat.purchases.kmp.models.PromotionalOffer){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitPurchaseResult(com.revenuecat.purchases.kmp/Package, kotlin/Boolean? =..., kotlin/String? =..., com.revenuecat.purchases.kmp.models/GoogleReplacementMode =...): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitPurchaseResult|awaitPurchaseResult@com.revenuecat.purchases.kmp.Purchases(com.revenuecat.purchases.kmp.Package;kotlin.Boolean?;kotlin.String?;com.revenuecat.purchases.kmp.models.GoogleReplacementMode){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitRestoreResult(): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitRestoreResult|awaitRestoreResult@com.revenuecat.purchases.kmp.Purchases(){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitRestoreResult(): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitRestoreResult|awaitRestoreResult@com.revenuecat.purchases.kmp.Purchases(){}[0] final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitSyncAttributesAndOfferingsIfNeededResult(): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitSyncAttributesAndOfferingsIfNeededResult|awaitSyncAttributesAndOfferingsIfNeededResult@com.revenuecat.purchases.kmp.Purchases(){}[0] -final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitSyncPurchasesResult(): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitSyncPurchasesResult|awaitSyncPurchasesResult@com.revenuecat.purchases.kmp.Purchases(){}[0] +final suspend fun (com.revenuecat.purchases.kmp/Purchases).com.revenuecat.purchases.kmp.result/awaitSyncPurchasesResult(): kotlin/Result // com.revenuecat.purchases.kmp.result/awaitSyncPurchasesResult|awaitSyncPurchasesResult@com.revenuecat.purchases.kmp.Purchases(){}[0] diff --git a/result/src/commonMain/kotlin/com/revenuecat/purchases/kmp/result/Result.kt b/result/src/commonMain/kotlin/com/revenuecat/purchases/kmp/result/Result.kt index 72069298..c29dff43 100644 --- a/result/src/commonMain/kotlin/com/revenuecat/purchases/kmp/result/Result.kt +++ b/result/src/commonMain/kotlin/com/revenuecat/purchases/kmp/result/Result.kt @@ -1,6 +1,5 @@ package com.revenuecat.purchases.kmp.result -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.Offerings import com.revenuecat.purchases.kmp.Package import com.revenuecat.purchases.kmp.Purchases @@ -11,6 +10,7 @@ import com.revenuecat.purchases.kmp.ktx.SuccessfulPurchase import com.revenuecat.purchases.kmp.ktx.awaitPromotionalOffer import com.revenuecat.purchases.kmp.ktx.awaitPurchase import com.revenuecat.purchases.kmp.models.CacheFetchPolicy +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.GoogleReplacementMode import com.revenuecat.purchases.kmp.models.PromotionalOffer import com.revenuecat.purchases.kmp.models.StoreProduct diff --git a/revenuecatui/api/revenuecatui.api b/revenuecatui/api/revenuecatui.api index 9a2cac16..89dc152e 100644 --- a/revenuecatui/api/revenuecatui.api +++ b/revenuecatui/api/revenuecatui.api @@ -8,20 +8,20 @@ public final class com/revenuecat/purchases/kmp/ui/revenuecatui/PaywallKt { public abstract interface class com/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener { public abstract fun onPurchaseCancelled ()V - public abstract fun onPurchaseCompleted (Lcom/revenuecat/purchases/kmp/CustomerInfo;Lcom/revenuecat/purchases/kmp/models/StoreTransaction;)V + public abstract fun onPurchaseCompleted (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;Lcom/revenuecat/purchases/kmp/models/StoreTransaction;)V public abstract fun onPurchaseError (Lcom/revenuecat/purchases/kmp/PurchasesError;)V public abstract fun onPurchaseStarted (Lcom/revenuecat/purchases/kmp/Package;)V - public abstract fun onRestoreCompleted (Lcom/revenuecat/purchases/kmp/CustomerInfo;)V + public abstract fun onRestoreCompleted (Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)V public abstract fun onRestoreError (Lcom/revenuecat/purchases/kmp/PurchasesError;)V public abstract fun onRestoreStarted ()V } public final class com/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener$DefaultImpls { public static fun onPurchaseCancelled (Lcom/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener;)V - public static fun onPurchaseCompleted (Lcom/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener;Lcom/revenuecat/purchases/kmp/CustomerInfo;Lcom/revenuecat/purchases/kmp/models/StoreTransaction;)V + public static fun onPurchaseCompleted (Lcom/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener;Lcom/revenuecat/purchases/kmp/models/CustomerInfo;Lcom/revenuecat/purchases/kmp/models/StoreTransaction;)V public static fun onPurchaseError (Lcom/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener;Lcom/revenuecat/purchases/kmp/PurchasesError;)V public static fun onPurchaseStarted (Lcom/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener;Lcom/revenuecat/purchases/kmp/Package;)V - public static fun onRestoreCompleted (Lcom/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener;Lcom/revenuecat/purchases/kmp/CustomerInfo;)V + public static fun onRestoreCompleted (Lcom/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener;Lcom/revenuecat/purchases/kmp/models/CustomerInfo;)V public static fun onRestoreError (Lcom/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener;Lcom/revenuecat/purchases/kmp/PurchasesError;)V public static fun onRestoreStarted (Lcom/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener;)V } diff --git a/revenuecatui/api/revenuecatui.klib.api b/revenuecatui/api/revenuecatui.klib.api index 5f3d153c..2bc93d17 100644 --- a/revenuecatui/api/revenuecatui.klib.api +++ b/revenuecatui/api/revenuecatui.klib.api @@ -8,10 +8,10 @@ // Library unique name: abstract interface com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener { // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener|null[0] open fun onPurchaseCancelled() // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener.onPurchaseCancelled|onPurchaseCancelled(){}[0] - open fun onPurchaseCompleted(com.revenuecat.purchases.kmp/CustomerInfo, com.revenuecat.purchases.kmp.models/StoreTransaction) // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener.onPurchaseCompleted|onPurchaseCompleted(com.revenuecat.purchases.kmp.CustomerInfo;com.revenuecat.purchases.kmp.models.StoreTransaction){}[0] + open fun onPurchaseCompleted(com.revenuecat.purchases.kmp.models/CustomerInfo, com.revenuecat.purchases.kmp.models/StoreTransaction) // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener.onPurchaseCompleted|onPurchaseCompleted(com.revenuecat.purchases.kmp.models.CustomerInfo;com.revenuecat.purchases.kmp.models.StoreTransaction){}[0] open fun onPurchaseError(com.revenuecat.purchases.kmp/PurchasesError) // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener.onPurchaseError|onPurchaseError(com.revenuecat.purchases.kmp.PurchasesError){}[0] open fun onPurchaseStarted(com.revenuecat.purchases.kmp/Package) // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener.onPurchaseStarted|onPurchaseStarted(com.revenuecat.purchases.kmp.Package){}[0] - open fun onRestoreCompleted(com.revenuecat.purchases.kmp/CustomerInfo) // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener.onRestoreCompleted|onRestoreCompleted(com.revenuecat.purchases.kmp.CustomerInfo){}[0] + open fun onRestoreCompleted(com.revenuecat.purchases.kmp.models/CustomerInfo) // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener.onRestoreCompleted|onRestoreCompleted(com.revenuecat.purchases.kmp.models.CustomerInfo){}[0] open fun onRestoreError(com.revenuecat.purchases.kmp/PurchasesError) // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener.onRestoreError|onRestoreError(com.revenuecat.purchases.kmp.PurchasesError){}[0] open fun onRestoreStarted() // com.revenuecat.purchases.kmp.ui.revenuecatui/PaywallListener.onRestoreStarted|onRestoreStarted(){}[0] } diff --git a/revenuecatui/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener.kt b/revenuecatui/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener.kt index 077e9f36..8cbdbf66 100644 --- a/revenuecatui/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener.kt +++ b/revenuecatui/src/commonMain/kotlin/com/revenuecat/purchases/kmp/ui/revenuecatui/PaywallListener.kt @@ -1,8 +1,8 @@ package com.revenuecat.purchases.kmp.ui.revenuecatui -import com.revenuecat.purchases.kmp.CustomerInfo import com.revenuecat.purchases.kmp.Package import com.revenuecat.purchases.kmp.PurchasesError +import com.revenuecat.purchases.kmp.models.CustomerInfo import com.revenuecat.purchases.kmp.models.StoreTransaction /**