TokenProperty()
TokenProperty() constructs a TokenProperty object.
Syntax
TokenProperty tp = new TokenProperty(String priority, String status, String property1, String property2);
TokenProperty tp = new TokenProperty(String priority, String status, String property1, String property2, String customtokenproperty);
Request Parameters
Parameters | Data Types | Descriptions |
---|---|---|
priority | string | A string containing 3 characters representing token priority. |
status | string | A string containing 4 characters representing token status. |
property1 | string | A string containing 5 characters representing token property1. |
property2 | string | A string containing 4 characters representing token property2. |
customtokenproperty | string | A string containing up to 255 characters representing the customtokenproperty. |
Note
property1 and property2 are reserved for future use.
Example
String priority = "123";
String status = "456a";
String property1 = "abC12";
String property2 = "789D";
String customtokenproperty = "customTP";
TokenProperty tp = new TokenProperty(priority, status, property1, property2);
or
TokenProperty tp = new TokenProperty(priority, status, property1, property2, customtokenproperty);