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:
Carlos R. L. Rodrigues
2024-02-15 13:26:00 +00:00
committed by GitHub
parent 811a004c03
commit 339a946f38
77 changed files with 3998 additions and 93 deletions
+1
View File
@@ -0,0 +1 @@
export * from "./status"
+31
View File
@@ -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",
}