public enum TransactionResultType extends java.lang.Enum<TransactionResultType>
Enum Constant and Description |
---|
APPROVED |
DECLINED |
PARTIALLY_APPROVED |
Modifier and Type | Method and Description |
---|---|
static TransactionResultType |
fromName(java.lang.String name)
Get a
TransactionResultType from a given name |
java.lang.String |
getName()
Gets the string name of the
TransactionResultType |
static TransactionResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionResultType APPROVED
public static final TransactionResultType DECLINED
public static final TransactionResultType PARTIALLY_APPROVED
public static TransactionResultType[] values()
for (TransactionResultType c : TransactionResultType.values()) System.out.println(c);
public static TransactionResultType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
TransactionResultType
TransactionResultType
public static TransactionResultType fromName(java.lang.String name)
TransactionResultType
from a given namename
- of a TransactionResultType
TransactionResultType
if name is valid otherwise nullCopyright © 2019 Yello. All rights reserved.