public class CancelReason extends Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static 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 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(Object obj)
Compares this object to the specified object.
|
String |
getCode()
Gets the code of this enum value.
|
String |
getType()
Gets the type this enum value belongs to.
|
int |
hashCode()
Returns a hash code for this
CancelReason. |
String |
toString()
Returns the code representing this enum value.
|
static CancelReason |
valueOf(String code)
Returns a CancelReason instance representing the specified enum value.
|
public static final String _TYPECODE
public static final 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(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.public String getCode()
getCode in interface HybrisEnumValuepublic String getType()
getType in interface HybrisEnumValuepublic int hashCode()
CancelReason.public String toString()
public static CancelReason valueOf(String code)
code - an enum valueCopyright © 2017 SAP SE. All Rights Reserved.