Package

class Package @JvmOverloads constructor(val identifier: String, val packageType: PackageType, val product: StoreProduct, val presentedOfferingContext: PresentedOfferingContext, val webCheckoutURL: URL? = null)

Contains information about the product available for the user to purchase. For more info see https://docs.revenuecat.com/docs/entitlements

Constructors

Link copied to clipboard
constructor(identifier: String, packageType: PackageType, product: StoreProduct, presentedOfferingContext: PresentedOfferingContext, webCheckoutURL: URL? = null)

Properties

Link copied to clipboard

Unique identifier for this package. Can be one a predefined package type or a custom one.

Link copied to clipboard

Package type for the product. Will be one of PackageType.

Link copied to clipboard
Link copied to clipboard

StoreProduct assigned to this package.

Link copied to clipboard
val webCheckoutURL: URL? = null

If the Offering has an associated Web Purchase Link with a product in this package, this will be the URL for it linking directly to purchase this package.