public enum ReversalReasonType extends Enum<ReversalReasonType>
Java class for ReversalReasonType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReversalReasonType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CustCancel"/>
<enumeration value="MerchantCancel"/>
<enumeration value="Malfunction"/>
<enumeration value="Unable2Compl"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CUST_CANCEL
Customer cancellation
|
MALFUNCTION
Suspected malfunction
|
MERCHANT_CANCEL
Cashier cancellation
|
UNABLE_2_COMPL
Card acceptor device unable to complete transaction
|
| Modifier and Type | Method and Description |
|---|---|
static ReversalReasonType |
fromValue(String v)
From value reversal reason type.
|
String |
value()
Value string.
|
static ReversalReasonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReversalReasonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReversalReasonType CUST_CANCEL
public static final ReversalReasonType MERCHANT_CANCEL
public static final ReversalReasonType MALFUNCTION
public static final ReversalReasonType UNABLE_2_COMPL
public static ReversalReasonType[] values()
for (ReversalReasonType c : ReversalReasonType.values()) System.out.println(c);
public static ReversalReasonType 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 ReversalReasonType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.