All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.revenuecat.purchases.kmp.models.PurchasesAreCompletedBy.kt Maven / Gradle / Ivy

There is a newer version: 1.3.7+13.15.0
Show newest version
package com.revenuecat.purchases.kmp.models

/**
 * Modes for completing the purchase process.
 */
public sealed interface PurchasesAreCompletedBy {

    /**
     * RevenueCat will automatically acknowledge verified purchases.
     * No action is required by you.
     */
    public data object RevenueCat : PurchasesAreCompletedBy

    /**
     * RevenueCat will **not** automatically acknowledge any purchases.
     * You will have to do so manually.
     * Note that failing to acknowledge a purchase within 3 days will lead
     * to Google Play automatically issuing a refund to the user.
     *
     * For more info, see [revenuecat.com](https://www.revenuecat.com/docs/migrating-to-revenuecat/sdk-or-not/finishing-transactions)
     * and [developer.android.com](https://developer.android.com/google/play/billing/integrate#process).
     *
     * @property storeKitVersion The version of StoreKit to use for purchases on Apple devices.
     * If your app is Android-only, you may provide any value since it is ignored in the native
     * Android SDK.
     */
    public class MyApp(public val storeKitVersion: StoreKitVersion) : PurchasesAreCompletedBy
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy