public enum TransactionOutcome extends Enum<TransactionOutcome>
Modifier and Type | Method and Description |
---|---|
String |
getSymbol() |
static TransactionOutcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionOutcome PASS
public static final TransactionOutcome FAIL
public static TransactionOutcome[] values()
for (TransactionOutcome c : TransactionOutcome.values()) System.out.println(c);
public static TransactionOutcome 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 getSymbol()
Copyright © 2010–2019 GZoltar. All rights reserved.