feat(order): module foundation (#6399)
What: Initial Order module foundation. Basic models and methods to manage entites like in Cart Module
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export * from "./status"
|
||||
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* @enum
|
||||
*
|
||||
* The order's status.
|
||||
*/
|
||||
export enum OrderStatus {
|
||||
/**
|
||||
* The order is pending.
|
||||
*/
|
||||
PENDING = "pending",
|
||||
/**
|
||||
* The order is completed
|
||||
*/
|
||||
COMPLETED = "completed",
|
||||
/**
|
||||
* The order is a draft.
|
||||
*/
|
||||
DRAFT = "draft",
|
||||
/**
|
||||
* The order is archived.
|
||||
*/
|
||||
ARCHIVED = "archived",
|
||||
/**
|
||||
* The order is canceled.
|
||||
*/
|
||||
CANCELED = "canceled",
|
||||
/**
|
||||
* The order requires action.
|
||||
*/
|
||||
REQUIRES_ACTION = "requires_action",
|
||||
}
|
||||
Reference in New Issue
Block a user