public enum MoipAccountType extends java.lang.Enum<MoipAccountType>
| Enum Constant and Description |
|---|
CONSUMER |
ENTERPRISE |
MERCHANT |
PROFESSIONAL |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static MoipAccountType |
fromCode(java.lang.Integer code) |
int |
getCode() |
java.lang.String |
getDescription() |
java.lang.String |
toString() |
static MoipAccountType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MoipAccountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MoipAccountType UNKNOWN
public static final MoipAccountType CONSUMER
public static final MoipAccountType MERCHANT
public static final MoipAccountType ENTERPRISE
public static final MoipAccountType PROFESSIONAL
public static MoipAccountType[] values()
for (MoipAccountType c : MoipAccountType.values()) System.out.println(c);
public static MoipAccountType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MoipAccountType fromCode(java.lang.Integer code)
public int getCode()
public java.lang.String getDescription()
public java.lang.String toString()
toString in class java.lang.Enum<MoipAccountType>