Methods
| Method | Returns | Description |
|---|---|---|
| activateOnline() | void | Activate license online . |
| applyActivationKey() | void | Apply an activation key . |
| generateTrialRequestURL() | String | Generate a trial request URL . |
| getActivationRequestURL() | String | Get activation request URL . |
| getDeactivationRequestURL() | String | Get deactivation request URL . |
| getInfo() | Config2_LicenseInfo | Get license information . |
| getReleaseConfirmationURL() | String | Get release confirmation URL . |
| releaseOnline() | void | Release license online . |
Method Details
activateOnline(purchaseRef, userName, password, type)
- Description:
Activate license online
Parameters:
| Name | Type | Description |
|---|---|---|
purchaseRef |
String | Purchase reference |
userName |
String | Username |
password |
String | Password |
type |
String | License type |
applyActivationKey(activationKey)
- Description:
Apply an activation key
Parameters:
| Name | Type | Description |
|---|---|---|
activationKey |
String | Activation key to apply |
generateTrialRequestURL() → {String}
- Description:
Generate a trial request URL
Returns:
Trial request URL
- Type
- String
getActivationRequestURL(purchaseRef, type) → {String}
- Description:
Get activation request URL
Parameters:
| Name | Type | Description |
|---|---|---|
purchaseRef |
String | Purchase reference |
type |
String | License type |
Returns:
Activation request URL
- Type
- String
getDeactivationRequestURL() → {String}
- Description:
Get deactivation request URL
Returns:
Deactivation request URL
- Type
- String
getInfo() → {Config2_LicenseInfo}
- Description:
Get license information
Returns:
License information object
- Type
- Config2_LicenseInfo
getReleaseConfirmationURL(deactivationKey) → {String}
- Description:
Get release confirmation URL
Parameters:
| Name | Type | Description |
|---|---|---|
deactivationKey |
String | Deactivation key |
Returns:
Release confirmation URL
- Type
- String
releaseOnline(userName, password)
- Description:
Release license online
Parameters:
| Name | Type | Description |
|---|---|---|
userName |
String | Username |
password |
String | Password |