public enum ReasonCode extends Enum<ReasonCode> implements IMappedConstant
| Enum Constant and Description |
|---|
FalsePositive |
Fraud |
InStock |
NotGiven |
Other |
OutOfStock |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes(Target target) |
String |
getValue(Target target) |
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 byte[] getBytes(Target target)
public String getValue(Target target)
getValue in interface IMappedConstantCopyright © 2024. All rights reserved.