Package-level declarations

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, val presentedOfferingIdentifier: String? = null) : StoreProduct
Link copied to clipboard
data class GoogleSubscriptionOption(val productId: String, val basePlanId: String, val offerId: String?, val pricingPhases: List<PricingPhase>, val tags: List<String>, val productDetails: ProductDetails, val offerToken: String, val presentedOfferingIdentifier: String? = null) : SubscriptionOption

Defines an option for purchasing a Google subscription

Link copied to clipboard

Payment mode for offer pricing phases

Link copied to clipboard
data class Period(val value: Int, val unit: Period.Unit, val iso8601: String) : Parcelable

Represents subscription or PricingPhase billing period

Link copied to clipboard
data class Price(val formatted: String, val amountMicros: Long, val currencyCode: String) : Parcelable
Link copied to clipboard
data class PricingPhase(val billingPeriod: Period, val recurrenceMode: RecurrenceMode, val billingCycleCount: Int?, val price: Price) : Parcelable

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
interface PurchasingData
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
interface StoreProduct

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?, val prorationMode: ProrationMode?) : Parcelable

Represents an in-app billing purchase.

Link copied to clipboard

A purchase-able entity for a subscription product.

Link copied to clipboard
Link copied to clipboard
data class Transaction(val transactionIdentifier: String, revenuecatId: String, val productIdentifier: String, productId: String, val purchaseDate: Date) : Parcelable

Functions

Link copied to clipboard

Properties

Link copied to clipboard

StoreProduct object containing Google-specific fields: productId basePlanId productDetails