public class CancelReason extends java.lang.Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static CancelReason |
CUSTOMERREQUEST
Generated enum value for CancelReason.CustomerRequest declared at extension basecommerce.
|
static CancelReason |
LATEDELIVERY
Generated enum value for CancelReason.LateDelivery declared at extension basecommerce.
|
static CancelReason |
NA
Generated enum value for CancelReason.NA declared at extension basecommerce.
|
static CancelReason |
OTHER
Generated enum value for CancelReason.Other declared at extension basecommerce.
|
static CancelReason |
OUTOFSTOCK
Generated enum value for CancelReason.OutOfStock declared at extension basecommerce.
|
static java.lang.String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
static CancelReason |
WAREHOUSE
Generated enum value for CancelReason.Warehouse declared at extension basecommerce.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this object to the specified object.
|
java.lang.String |
getCode()
Gets the code of this enum value.
|
java.lang.String |
getType()
Gets the type this enum value belongs to.
|
int |
hashCode()
Returns a hash code for this
CancelReason. |
java.lang.String |
toString()
Returns the code representing this enum value.
|
static CancelReason |
valueOf(java.lang.String code)
Returns a CancelReason instance representing the specified enum value.
|
public static final java.lang.String _TYPECODE
public static final java.lang.String SIMPLE_CLASSNAME
public static final CancelReason OUTOFSTOCK
public static final CancelReason LATEDELIVERY
public static final CancelReason WAREHOUSE
public static final CancelReason CUSTOMERREQUEST
public static final CancelReason OTHER
public static final CancelReason NA
public boolean equals(java.lang.Object obj)
true
if and only if the argument is not null and is an CancelReason
object that contains the enum value code as this object.equals in class java.lang.Objectobj - the object to compare with.true if the objects are the same;
false otherwise.public java.lang.String getCode()
getCode in interface HybrisEnumValuepublic java.lang.String getType()
getType in interface HybrisEnumValuepublic int hashCode()
CancelReason.hashCode in class java.lang.Objectcode
represented by this CancelReason object.public java.lang.String toString()
toString in class java.lang.Objectpublic static CancelReason valueOf(java.lang.String code)
code - an enum valueCopyright © 2018 SAP SE. All Rights Reserved.