PurchaseItem
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.
Parameters
itemId
The unique identifier for the purchase item.
trialId
The trial ID associated with the purchase (null for non-subscriptions).
type
The type of the purchase item.
category
The purchase category for classification.
Constructs a new PurchaseItem for INAPP with category.
Parameters
itemId
The unique identifier for the purchase item.
type
The type of the purchase item.
category
The purchase category for classification.