Class OrderStatus
java.lang.Object
org.broadleafcommerce.core.order.service.type.OrderStatus
- All Implemented Interfaces:
Serializable,BroadleafEnumerationType
An extendible enumeration of order status types.
- Author:
- jfischer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OrderStatusstatic final OrderStatusstatic final OrderStatusUsed when a CSR has locked a cart to act on behalf of a customerstatic final OrderStatusRepresents a cart (non-submittedOrders)static final OrderStatusRepresents a wishlist.static final OrderStatusstatic final OrderStatusUsed to represent a completedOrder. -
Constructor Summary
ConstructorsConstructorDescriptionOrderStatus(String type, String friendlyType) OrderStatus(String type, String friendlyType, boolean editable) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic OrderStatusgetInstance(String type) getType()inthashCode()booleanprotected void
-
Field Details
-
NAMED
Represents a wishlist. This also usually means that theOrderhas itsOrder.getName()set although not required -
QUOTE
-
IN_PROCESS
Represents a cart (non-submittedOrders) -
SUBMITTED
Used to represent a completedOrder. Note that this also means that theOrdershould have itsOrder.getOrderNumber()set -
CANCELLED
-
ARCHIVED
-
CSR_OWNED
Used when a CSR has locked a cart to act on behalf of a customer
-
-
Constructor Details
-
OrderStatus
public OrderStatus() -
OrderStatus
-
OrderStatus
-
-
Method Details
-
getInstance
-
getType
- Specified by:
getTypein interfaceBroadleafEnumerationType
-
setType
-
getFriendlyType
- Specified by:
getFriendlyTypein interfaceBroadleafEnumerationType
-
isEditable
public boolean isEditable() -
hashCode
public int hashCode() -
equals
-