Package com.revenuecat.purchases.models
Types
Link copied to clipboard
Enum mapping billing feature types Allows for a common interface when calling feature eligibility methods from hybrid SDKs
Link copied to clipboard
Enum of possible proration modes to be passed to a Google Play purchase. Ignored for Amazon purchases.
Link copied to clipboard
Link copied to clipboard
data class GoogleStoreProduct( val productId: String, val basePlanId: String?, val type: ProductType, val price: Price, val title: String, val description: String, val period: Period?, val subscriptionOptions: SubscriptionOptions?, val defaultOption: SubscriptionOption?, val productDetails: ProductDetails) : StoreProduct, Parcelable
Content copied to clipboard
Link copied to clipboard
data class GoogleSubscriptionOption( val id: String, val pricingPhases: List<PricingPhase>, val tags: List<String>, val purchasingData: PurchasingData) : SubscriptionOption, Parcelable
Content copied to clipboard
Defines an option for purchasing a Google subscription
Link copied to clipboard
data class Period( val value: Int, val unit: Period.Unit, val iso8601: String) : Parcelable
Content copied to clipboard
Represents subscription or PricingPhase billing period
Link copied to clipboard
data class PricingPhase( val billingPeriod: Period, val recurrenceMode: RecurrenceMode, val billingCycleCount: Int?, val price: Price) : Parcelable
Content copied to clipboard
Encapsulates how a user pays for a subscription at a given point in time.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A type which exposes its underlying raw data, for debugging purposes or for getting access to future data while using an older version of the SDK.
Link copied to clipboard
Recurrence mode for a pricing phase
Link copied to clipboard
Represents an in-app product's or subscription's listing details.
Link copied to clipboard
data class StoreTransaction( val orderId: String?, val productIds: List<String>, val type: ProductType, val purchaseTime: Long, val purchaseToken: String, val purchaseState: PurchaseState, val isAutoRenewing: Boolean?, val signature: String?, val originalJson: JSONObject, val presentedOfferingIdentifier: String?, val storeUserID: String?, val purchaseType: PurchaseType, val marketplace: String?, val subscriptionOptionId: String?) : Parcelable
Content copied to clipboard
Represents an in-app billing purchase.
Link copied to clipboard
A purchase-able entity for a subscription product.
Link copied to clipboard
class SubscriptionOptions(subscriptionOptions: List<SubscriptionOption>) : List<SubscriptionOption> , Parcelable
Content copied to clipboard
Link copied to clipboard
data class Transaction( val transactionIdentifier: String, revenuecatId: String, val productIdentifier: String, productId: String, val purchaseDate: Date) : Parcelable
Content copied to clipboard