public static enum Account.Type extends Enum<Account.Type>
Modifier and Type | Method and Description |
---|---|
static Account.Type |
forValue(String value)
Generate a Type from a string.
|
String |
toString() |
static Account.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Account.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Account.Type TRIAL
public static final Account.Type FULL
public static Account.Type[] values()
for (Account.Type c : Account.Type.values()) System.out.println(c);
public static Account.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Account.Type>
public static Account.Type forValue(String value)
value
- string valueCopyright © 2011 Twilio, Inc. All Rights Reserved.