public enum TransactionApprovalStatus extends Enum<TransactionApprovalStatus>
Java class for TransactionApprovalStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TransactionApprovalStatus"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="_approved"/> <enumeration value="_pendingApproval"/> <enumeration value="_rejected"/> </restriction> </simpleType>
Enum Constant and Description |
---|
APPROVED |
PENDING_APPROVAL |
REJECTED |
Modifier and Type | Method and Description |
---|---|
static TransactionApprovalStatus |
fromValue(String v) |
String |
value() |
static TransactionApprovalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionApprovalStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionApprovalStatus APPROVED
public static final TransactionApprovalStatus PENDING_APPROVAL
public static final TransactionApprovalStatus REJECTED
public static TransactionApprovalStatus[] values()
for (TransactionApprovalStatus c : TransactionApprovalStatus.values()) System.out.println(c);
public static TransactionApprovalStatus 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 value()
public static TransactionApprovalStatus fromValue(String v)
Copyright © 2010–2017. All rights reserved.