API reference

PurchaseItem Interface

The details for an IAP Product that was purchased

Signature

interface PurchaseItem

Properties

sku : String
[Get]
The SKU of the IAP Product that was purchased. This value is case-sensitive. To retrieve the product information, you can use this value when calling Iap.getProductsBySku.
Signature
abstract val sku: String
type : ProductType?
[Get]
The Type of the IAP Product that was purchased. The values can be ProductType.Durable, ProductType.Consumable, or a ProductType.Subscription.
Signature
abstract val type: ProductType?