Preparing search index...

    Enumeration ProductType

    Defines the type of product that can be purchased in a Lens.

    Index

    Enumeration Members

    Consumable: number

    A consumable product that can be purchased multiple times. Once acknowledged after delivery, the product is consumed and becomes available for purchase again. Typical use cases include virtual currency, in-game items, energy, and other expendable resources.

    Lens Scripting Version 377

    NonConsumable: number

    A one-time purchase that grants permanent access or ownership to an item or feature. Once purchased, it does not expire or need to be repurchased. Examples include unlocking a character, a specific effect, or a permanent filter.

    Subscription: number

    An auto-renewing product that grants access for a recurring billing period. Subscription products expose their available plans through Product#subscriptionOfferDetails, and an active subscription renews automatically until it is canceled or expires.

    Lens Scripting Version 377

    Unknown: number

    A placeholder indicating an unknown product type, which usually suggests that the product catalog is not properly configured.