public enum TransactionTypeEnum extends Enum<TransactionTypeEnum>
Enum Constant and Description |
---|
CANCELLATION |
PAYMENT |
Modifier and Type | Method and Description |
---|---|
static TransactionTypeEnum |
fromValue(String value) |
static List<TransactionTypeEnum> |
getAll() |
String |
getValue() |
static TransactionTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionTypeEnum PAYMENT
public static final TransactionTypeEnum CANCELLATION
public static TransactionTypeEnum[] values()
for (TransactionTypeEnum c : TransactionTypeEnum.values()) System.out.println(c);
public static TransactionTypeEnum 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 static TransactionTypeEnum fromValue(String value)
public static List<TransactionTypeEnum> getAll()
Copyright © 2018. All rights reserved.