enum value represents the possible types of a Product, which is an item purchased in the application. An In-app purchase (IAP) add-on can be durable, consuable, or a subscription.
enum ProductType : Enum<ProductType>
| Member | Description |
|---|---|
Unknown |
Represents that the ProductType is unknown.
|
Durable |
This product is a durable IAP item that can be consumed multiple times. It can be purchased only once.
|
Consumable |
This product is an IAP item that can be consumed only once. It can only be purchased again after it is consumed.
|
Subscription |
This product represents a subscription. Subscriptions provide a way for users to purchase your app or its premium content by way of a recurring payment model.
|
value
: Int
[Get] |
Signature
val value: Int |