Class CancelReason
java.lang.Object
de.hybris.platform.basecommerce.enums.CancelReason
- All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue,Serializable
Generated enum CancelReason declared at extension basecommerce.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final CancelReasonGenerated enum value for CancelReason.CustomerRequest declared at extension basecommerce.static final CancelReasonGenerated enum value for CancelReason.LateDelivery declared at extension basecommerce.static final CancelReasonGenerated enum value for CancelReason.NA declared at extension basecommerce.static final CancelReasonGenerated enum value for CancelReason.Other declared at extension basecommerce.static final CancelReasonGenerated enum value for CancelReason.OutOfStock declared at extension basecommerce.static final StringGenerated simple class name constant.static final CancelReasonGenerated enum value for CancelReason.Warehouse declared at extension basecommerce. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this object to the specified object.getCode()Gets the code of this enum value.getType()Gets the type this enum value belongs to.inthashCode()Returns a hash code for thisCancelReason.toString()Returns the code representing this enum value.static CancelReasonReturns a CancelReason instance representing the specified enum value.
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
SIMPLE_CLASSNAME
Generated simple class name constant.- See Also:
-
OUTOFSTOCK
Generated enum value for CancelReason.OutOfStock declared at extension basecommerce. -
LATEDELIVERY
Generated enum value for CancelReason.LateDelivery declared at extension basecommerce. -
WAREHOUSE
Generated enum value for CancelReason.Warehouse declared at extension basecommerce. -
CUSTOMERREQUEST
Generated enum value for CancelReason.CustomerRequest declared at extension basecommerce. -
OTHER
Generated enum value for CancelReason.Other declared at extension basecommerce. -
NA
Generated enum value for CancelReason.NA declared at extension basecommerce.
-
-
Method Details
-
equals
Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anCancelReasonobject that contains the enum valuecodeas this object. -
getCode
Gets the code of this enum value.- Specified by:
getCodein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of value
-
getType
Gets the type this enum value belongs to.- Specified by:
getTypein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of type
-
hashCode
public int hashCode()Returns a hash code for thisCancelReason. -
toString
Returns the code representing this enum value. -
valueOf
Returns a CancelReason instance representing the specified enum value.- Parameters:
code- an enum value- Returns:
- a CancelReason instance representing value.
-