Skip to content

Commit

Permalink
Small fix in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tonidero committed Jul 20, 2023
1 parent 635bfb1 commit 58592a5
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import android.app.Activity
import com.revenuecat.purchases.interfaces.LogInCallback
import com.revenuecat.purchases.models.StoreProduct
import com.revenuecat.purchases.models.StoreTransaction
import com.revenuecat.purchases.models.SubscriptionOption

internal fun logInSuccessListener(
onSuccess: (customerInfo: CustomerInfo, created: Boolean) -> Unit?,
Expand All @@ -19,8 +20,7 @@ internal fun logInSuccessListener(
}

/**
* Purchase product. If purchasing a subscription, it will choose the default
* [com.revenuecat.purchases.models.SubscriptionOption].
* Purchase product. If purchasing a subscription, it will choose the default [SubscriptionOption].
* @param [activity] Current activity
* @param [storeProduct] The storeProduct of the product you wish to purchase
* @param [onSuccess] Will be called after the purchase has completed
Expand All @@ -41,7 +41,7 @@ fun Purchases.purchaseProductWith(

/**
* Make a purchase upgrading from a previous sku. If purchasing a subscription, it will choose the
* default [com.revenuecat.purchases.models.SubscriptionOption].
* default [SubscriptionOption].
* @param [activity] Current activity
* @param [storeProduct] The storeProduct of the product you wish to purchase
* @param [upgradeInfo] The upgradeInfo you wish to upgrade from, containing the oldSku and the optional prorationMode.
Expand All @@ -65,7 +65,7 @@ fun Purchases.purchaseProductWith(

/**
* Make a purchase upgrading from a previous sku. If purchasing a subscription, it will choose the
* default [com.revenuecat.purchases.models.SubscriptionOption].
* default [SubscriptionOption].
* @param [activity] Current activity
* @param [packageToPurchase] The Package you wish to purchase
* @param [upgradeInfo] The upgradeInfo you wish to upgrade from, containing the oldSku and the optional prorationMode.
Expand All @@ -88,8 +88,7 @@ fun Purchases.purchasePackageWith(
}

/**
* Make a purchase. If purchasing a subscription, it will choose the default
* [com.revenuecat.purchases.models.SubscriptionOption].
* Make a purchase. If purchasing a subscription, it will choose the default [SubscriptionOption].
* @param [activity] Current activity
* @param [packageToPurchase] The Package you wish to purchase
* @param [onSuccess] Will be called after the purchase has completed
Expand Down

0 comments on commit 58592a5

Please sign in to comment.