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