public class ActivateModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
FieldsToReturn
An integer that allows you to restrict the information returned in the license key data object.
|
int |
FloatingTimeInterval
When set to something greater than zero, floating licensing will be enabled.
|
java.lang.String |
Key
The Key string, eg.
|
java.lang.String |
MachineCode
The machine code (a string that identifies a device) for activation.
|
int |
MaxOverdraft
When set to something greater than zero (and assuming FloatingTimeInterval is set too)
floating licensing will permit a license overdraft (eg.
|
boolean |
Metadata
Includes additional information about the license key, such as number of activated devices, etc.
|
int |
ProductId
The product id, which can be found on the product page.
|
Constructor and Description |
---|
ActivateModel() |
ActivateModel(int productId,
java.lang.String key,
java.lang.String machineCode) |
ActivateModel(int productId,
java.lang.String key,
java.lang.String machineCode,
int floatingTimeInterval) |
ActivateModel(int productId,
java.lang.String key,
java.lang.String machineCode,
int fieldsToReturn,
boolean metadata,
int floatingTimeInterval,
int maxOverdraft) |
ActivateModel(int productId,
java.lang.String key,
java.lang.String machineCode,
int floatingTimeInterval,
int maxOverdraft) |
public int ProductId
public java.lang.String Key
public java.lang.String MachineCode
public int FieldsToReturn
public boolean Metadata
public int FloatingTimeInterval
public int MaxOverdraft
public ActivateModel()
public ActivateModel(int productId, java.lang.String key, java.lang.String machineCode)
public ActivateModel(int productId, java.lang.String key, java.lang.String machineCode, int floatingTimeInterval)
public ActivateModel(int productId, java.lang.String key, java.lang.String machineCode, int floatingTimeInterval, int maxOverdraft)
public ActivateModel(int productId, java.lang.String key, java.lang.String machineCode, int fieldsToReturn, boolean metadata, int floatingTimeInterval, int maxOverdraft)