GroupLicense class

Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps.

For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time. Use the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product. Only one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.

Constructors

GroupLicense({String? acquisitionKind, String? approval, int? numProvisioned, int? numPurchased, String? permissions, String? productId})
GroupLicense.fromJson(Map json_)

Properties

acquisitionKind String?
How this group license was acquired.
getter/setter pair
approval String?
Whether the product to which this group license relates is currently approved by the enterprise.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
numProvisioned int?
The total number of provisioned licenses for this product.
getter/setter pair
numPurchased int?
The number of purchased licenses (possibly in multiple purchases).
getter/setter pair
permissions String?
The permission approval status of the product.
getter/setter pair
productId String?
The ID of the product that the license is for.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited