Class ConsignmentStatus
- java.lang.Object
-
- de.hybris.platform.basecommerce.enums.ConsignmentStatus
-
- All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue,java.io.Serializable
public class ConsignmentStatus extends java.lang.Object implements de.hybris.platform.core.HybrisEnumValueGenerated enum ConsignmentStatus declared at extension basecommerce.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static ConsignmentStatusCANCELLEDGenerated enum value for ConsignmentStatus.CANCELLED declared at extension basecommerce.static ConsignmentStatusPAYMENT_NOT_CAPTUREDGenerated enum value for ConsignmentStatus.PAYMENT_NOT_CAPTURED declared at extension commerceservices.static ConsignmentStatusPICKPACKGenerated enum value for ConsignmentStatus.PICKPACK declared at extension basecommerce.static ConsignmentStatusPICKUP_COMPLETEGenerated enum value for ConsignmentStatus.PICKUP_COMPLETE declared at extension commerceservices.static ConsignmentStatusREADYGenerated enum value for ConsignmentStatus.READY declared at extension basecommerce.static ConsignmentStatusREADY_FOR_PICKUPGenerated enum value for ConsignmentStatus.READY_FOR_PICKUP declared at extension commerceservices.static ConsignmentStatusSHIPPEDGenerated enum value for ConsignmentStatus.SHIPPED declared at extension basecommerce.static java.lang.StringSIMPLE_CLASSNAMEGenerated simple class name constant.static ConsignmentStatusTAX_NOT_COMMITTEDGenerated enum value for ConsignmentStatus.TAX_NOT_COMMITTED declared at extension commerceservices.static ConsignmentStatusWAITINGGenerated enum value for ConsignmentStatus.WAITING declared at extension basecommerce.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Compares this object to the specified object.java.lang.StringgetCode()Gets the code of this enum value.java.lang.StringgetType()Gets the type this enum value belongs to.inthashCode()Returns a hash code for thisConsignmentStatus.java.lang.StringtoString()Returns the code representing this enum value.static ConsignmentStatusvalueOf(java.lang.String code)Returns a ConsignmentStatus instance representing the specified enum value.
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
SIMPLE_CLASSNAME
public static final java.lang.String SIMPLE_CLASSNAME
Generated simple class name constant.- See Also:
- Constant Field Values
-
READY_FOR_PICKUP
public static final ConsignmentStatus READY_FOR_PICKUP
Generated enum value for ConsignmentStatus.READY_FOR_PICKUP declared at extension commerceservices.
-
WAITING
public static final ConsignmentStatus WAITING
Generated enum value for ConsignmentStatus.WAITING declared at extension basecommerce.
-
PICKPACK
public static final ConsignmentStatus PICKPACK
Generated enum value for ConsignmentStatus.PICKPACK declared at extension basecommerce.
-
PICKUP_COMPLETE
public static final ConsignmentStatus PICKUP_COMPLETE
Generated enum value for ConsignmentStatus.PICKUP_COMPLETE declared at extension commerceservices.
-
PAYMENT_NOT_CAPTURED
public static final ConsignmentStatus PAYMENT_NOT_CAPTURED
Generated enum value for ConsignmentStatus.PAYMENT_NOT_CAPTURED declared at extension commerceservices.
-
READY
public static final ConsignmentStatus READY
Generated enum value for ConsignmentStatus.READY declared at extension basecommerce.
-
SHIPPED
public static final ConsignmentStatus SHIPPED
Generated enum value for ConsignmentStatus.SHIPPED declared at extension basecommerce.
-
TAX_NOT_COMMITTED
public static final ConsignmentStatus TAX_NOT_COMMITTED
Generated enum value for ConsignmentStatus.TAX_NOT_COMMITTED declared at extension commerceservices.
-
CANCELLED
public static final ConsignmentStatus CANCELLED
Generated enum value for ConsignmentStatus.CANCELLED declared at extension basecommerce.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anConsignmentStatusobject that contains the enum valuecodeas this object.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object to compare with.- Returns:
trueif the objects are the same;falseotherwise.
-
getCode
public java.lang.String getCode()
Gets the code of this enum value.- Specified by:
getCodein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of value
-
getType
public java.lang.String 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 thisConsignmentStatus.- Overrides:
hashCodein classjava.lang.Object- Returns:
- a hash code value for this object, equal to the enum value
coderepresented by thisConsignmentStatusobject.
-
toString
public java.lang.String toString()
Returns the code representing this enum value.- Overrides:
toStringin classjava.lang.Object- Returns:
- a string representation of the value of this object.
-
valueOf
public static ConsignmentStatus valueOf(java.lang.String code)
Returns a ConsignmentStatus instance representing the specified enum value.- Parameters:
code- an enum value- Returns:
- a ConsignmentStatus instance representing value.
-
-