Interface PurchasesPackage

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

interface PurchasesPackage {
    identifier: string;
    offeringIdentifier: string;
    packageType: PACKAGE_TYPE;
    presentedOfferingContext: PresentedOfferingContext;
    product: PurchasesStoreProduct;
}

Properties

identifier: string

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

offeringIdentifier: string

Offering this package belongs to.

Deprecated

Use presentedOfferingContext

packageType: PACKAGE_TYPE

Package type for the product. Will be one of [PACKAGE_TYPE].

presentedOfferingContext: PresentedOfferingContext

Offering context this package belongs to. Null if not using offerings or if fetched directly from store via getProducts.

Product assigned to this package.