public enum ReasonCode extends Enum<ReasonCode> implements IStringConstant
| Enum Constant and Description |
|---|
FalsePositive |
Fraud |
InStock |
NotGiven |
Other |
OutOfStock |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
String |
getValue() |
static ReasonCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReasonCode Fraud
public static final ReasonCode FalsePositive
public static final ReasonCode OutOfStock
public static final ReasonCode InStock
public static final ReasonCode Other
public static final ReasonCode NotGiven
public static ReasonCode[] values()
for (ReasonCode c : ReasonCode.values()) System.out.println(c);
public static ReasonCode 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()
getValue in interface IStringConstantpublic byte[] getBytes()
getBytes in interface IStringConstantCopyright © 2019. All rights reserved.