Package com.revenuecat.purchases.models

Types

ProductDetails
Link copied to clipboard
class ProductDetails(sku: String, type: ProductType, price: String, priceAmountMicros: Long, priceCurrencyCode: String, originalPrice: String?, originalPriceAmountMicros: Long, title: String, description: String, subscriptionPeriod: String?, freeTrialPeriod: String?, introductoryPrice: String?, introductoryPriceAmountMicros: Long, introductoryPricePeriod: String?, introductoryPriceCycles: Int, iconUrl: String, originalJson: JSONObject) : Parcelable
Represents an in-app product's or subscription's listing details.
PurchaseDetails
Link copied to clipboard
data class PurchaseDetails(orderId: String?, skus: List<String>, type: ProductType, purchaseTime: Long, purchaseToken: String, purchaseState: RevenueCatPurchaseState, isAutoRenewing: Boolean?, signature: String?, originalJson: JSONObject, presentedOfferingIdentifier: String?, storeUserID: String?, purchaseType: PurchaseType) : Parcelable
Represents an in-app billing purchase.
PurchaseType
Link copied to clipboard
enum PurchaseType : Enum<PurchaseType>
RevenueCatPurchaseState
Link copied to clipboard
enum RevenueCatPurchaseState : Enum<RevenueCatPurchaseState>
Transaction
Link copied to clipboard
data class Transaction(revenuecatId: String, productId: String, purchaseDate: Date) : Parcelable

Properties

skuDetails
Link copied to clipboard
val ProductDetails.skuDetails: SkuDetails
Returns the original SkuDetails that was used to build the ProductDetails object.