Interface License

All Superinterfaces:
BaseEntity, Serializable
All Known Implementing Classes:
LicenseImpl

public interface License extends BaseEntity
License entity used internally by NetLicensing.

Properties visible via NetLicensing API:

number - Unique number (across all products/licensees of a vendor) that identifies the license. Vendor can assign this number when creating a license or let NetLicensing generate one. Read-only after corresponding creation transaction status is set to closed.

name - Name for the licensed item. Set from license template on creation, if not specified explicitly.

active - If set to false, the license is disabled. License can be re-enabled, but as long as it is disabled, the license is excluded from the validation process.

price - price for the license. If more than 0, it must always be accompanied by the currency specification. Read-only, set from license template on creation.

currency - specifies currency for the license price. Check data types to discover which currencies are supported. Read-only, set from license template on creation.

hidden - If set to true, this license is not shown in NetLicensing Shop as purchased license. Set from license template on creation, if not specified explicitly.

Arbitrary additional user properties of string type may be associated with each license. The name of user property must not be equal to any of the fixed property names listed above and must be none of id, licenseeNumber, licenseTemplateNumber. See Property for details.