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
|
type NotificationType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Processed OrderStatus = "Processed"
|
InProgress OrderStatus = "InProgress" // Open cart, not finalized
|
||||||
Disputed OrderStatus = "Disputed"
|
Pending OrderStatus = "Pending" // Waiting for payment/processing
|
||||||
Shipped OrderStatus = "Shipped"
|
Processed OrderStatus = "Processed" // Order completed
|
||||||
Delivered OrderStatus = "Delivered"
|
Disputed OrderStatus = "Disputed" // Order has dispute
|
||||||
Pending OrderStatus = "Pending"
|
Shipped OrderStatus = "Shipped" // Order shipped
|
||||||
Cancelled OrderStatus = "Cancelled"
|
Delivered OrderStatus = "Delivered" // Order delivered
|
||||||
Dispatched OrderStatus = "Dispatched"
|
Dispatched OrderStatus = "Dispatched" // Order dispatched
|
||||||
|
Cancelled OrderStatus = "Cancelled" // Order cancelled
|
||||||
|
|
||||||
Comment NotificationType = "Comment"
|
Comment NotificationType = "Comment"
|
||||||
OrderStatusChanged NotificationType = "OrderStatusChanged"
|
OrderStatusChanged NotificationType = "OrderStatusChanged"
|
||||||
|
|||||||
Reference in New Issue
Block a user