PurchaseItem
Represents an item that can be purchased, including its ID, trial ID, type, and purchase category.
Constructors
Constructs a new PurchaseItem with the specified item ID and type. Default: non-consumable, LIFETIME_PREMIUM category.
Constructs a new PurchaseItem with the specified item ID, trial ID, and type. Default: non-consumable, LIFETIME_PREMIUM category.
Constructs a new PurchaseItem for INAPP with consumable configuration.
Constructs a new PurchaseItem with full configuration including category.
Constructs a new PurchaseItem for INAPP with category.
Properties
The category of this purchase for more specific classification. Use this to distinguish between different non-consumable types.
Whether this item is consumable and can be purchased multiple times. Consumable items: coins, gems, credits. Non-consumable items: remove ads, premium upgrade, lifetime access.