PurchaseProduct

data class PurchaseProduct(val productIdentifier: String, val entitlementIdentifiers: Set<String>, val kind: ProductKind = ProductKind.Subscription)

A mapping between a store product and the entitlements it grants.

Constructors

Link copied to clipboard
constructor(productIdentifier: String, entitlementIdentifiers: Set<String>, kind: ProductKind = ProductKind.Subscription)

Properties

Link copied to clipboard

The identifiers of all entitlements granted by the product.

Link copied to clipboard

Whether the product is a subscription or a non-consumable product.

Link copied to clipboard

The Google Play product identifier.