chore: add InProgress status and document all order statuses
Added missing InProgress status constant and added comments to document the meaning of each order status. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,13 +4,14 @@ type OrderStatus string
|
||||
type NotificationType string
|
||||
|
||||
const (
|
||||
Processed OrderStatus = "Processed"
|
||||
Disputed OrderStatus = "Disputed"
|
||||
Shipped OrderStatus = "Shipped"
|
||||
Delivered OrderStatus = "Delivered"
|
||||
Pending OrderStatus = "Pending"
|
||||
Cancelled OrderStatus = "Cancelled"
|
||||
Dispatched OrderStatus = "Dispatched"
|
||||
InProgress OrderStatus = "InProgress" // Open cart, not finalized
|
||||
Pending OrderStatus = "Pending" // Waiting for payment/processing
|
||||
Processed OrderStatus = "Processed" // Order completed
|
||||
Disputed OrderStatus = "Disputed" // Order has dispute
|
||||
Shipped OrderStatus = "Shipped" // Order shipped
|
||||
Delivered OrderStatus = "Delivered" // Order delivered
|
||||
Dispatched OrderStatus = "Dispatched" // Order dispatched
|
||||
Cancelled OrderStatus = "Cancelled" // Order cancelled
|
||||
|
||||
Comment NotificationType = "Comment"
|
||||
OrderStatusChanged NotificationType = "OrderStatusChanged"
|
||||
|
||||
Reference in New Issue
Block a user