public enum DeclineReason extends java.lang.Enum<DeclineReason> implements HybrisEnumValue
| Enum Constant and Description |
|---|
ASNCANCELLATION
Generated enum value for DeclineReason.AsnCancellation declared at extension warehousing.
|
DAMAGED
Generated enum value for DeclineReason.Damaged declared at extension warehousing.
|
OTHER
Generated enum value for DeclineReason.Other declared at extension warehousing.
|
OUTOFSTOCK
Generated enum value for DeclineReason.OutOfStock declared at extension warehousing.
|
STORECLOSED
Generated enum value for DeclineReason.StoreClosed declared at extension warehousing.
|
TOOBUSY
Generated enum value for DeclineReason.TooBusy declared at extension warehousing.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Gets the code of this enum value.
|
java.lang.String |
getType()
Gets the type this enum value belongs to.
|
static DeclineReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeclineReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeclineReason DAMAGED
public static final DeclineReason OUTOFSTOCK
public static final DeclineReason STORECLOSED
public static final DeclineReason TOOBUSY
public static final DeclineReason ASNCANCELLATION
public static final DeclineReason OTHER
public static final java.lang.String _TYPECODE
public static final java.lang.String SIMPLE_CLASSNAME
public static DeclineReason[] values()
for (DeclineReason c : DeclineReason.values()) System.out.println(c);
public static DeclineReason 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 getCode()
getCode in interface HybrisEnumValuepublic java.lang.String getType()
getType in interface HybrisEnumValueCopyright © 2018 SAP SE. All Rights Reserved.