OrderStatus
Enum sealedpublic
Defines the lifecycle states an Order progresses through from initial placement to final fulfilment or cancellation.
Definition
Section titled Definitionpublic sealed enum OrderStatusRemarks
Section titled RemarksThe legal transitions form a linear pipeline with an escape hatch:
Pending → Confirmed → Shipped → Delivered. An order may be moved to Cancelled at any point before Shipped.Enum Members
Section titled Enum Members| Name | Value | Description |
|---|---|---|
Pending | 0 | The order has been created but has not yet been reviewed or confirmed. |
Confirmed | 1 | Payment has been verified and the order is approved for fulfilment. |
Shipped | 2 | The order has left the warehouse and is in transit to the customer. |
Delivered | 3 | The order has been received by the customer, completing the fulfilment cycle. |
Cancelled | 4 | The order was cancelled before shipment. Cancelled orders cannot be reinstated. |