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