public static enum RechargePromptEntry.TypeEnum extends Enum<RechargePromptEntry.TypeEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
RechargePromptEntry.TypeEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static RechargePromptEntry.TypeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static RechargePromptEntry.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RechargePromptEntry.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RechargePromptEntry.TypeEnum ADULT
public static final RechargePromptEntry.TypeEnum CHILD
public static final RechargePromptEntry.TypeEnum SENIOR
public static RechargePromptEntry.TypeEnum[] values()
for (RechargePromptEntry.TypeEnum c : RechargePromptEntry.TypeEnum.values()) System.out.println(c);
public static RechargePromptEntry.TypeEnum 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 getValue()
public String toString()
toString in class Enum<RechargePromptEntry.TypeEnum>public static RechargePromptEntry.TypeEnum fromValue(String text)
Copyright © 2018. All rights reserved.