feat: Add exchange return shipping (#8108)
* wip * finalize tests * feat: Add exchange return shipping * add shipping to preview * test input * move utils and ignore already inserted shipping method * use custom price --------- Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
export * from "./events"
|
||||
export * from "./order-change"
|
||||
export * from "./order-change-action"
|
||||
export * from "./status"
|
||||
|
||||
29
packages/core/utils/src/order/order-change.ts
Normal file
29
packages/core/utils/src/order/order-change.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
export enum OrderChangeStatus {
|
||||
/**
|
||||
* The order change is confirmed.
|
||||
*/
|
||||
CONFIRMED = "confirmed",
|
||||
/**
|
||||
* The order change is declined.
|
||||
*/
|
||||
DECLINED = "declined",
|
||||
/**
|
||||
* The order change is requested.
|
||||
*/
|
||||
REQUESTED = "requested",
|
||||
/**
|
||||
* The order change is pending.
|
||||
*/
|
||||
PENDING = "pending",
|
||||
/**
|
||||
* The order change is canceled.
|
||||
*/
|
||||
CANCELED = "canceled",
|
||||
}
|
||||
|
||||
export enum OrderChangeType {
|
||||
RETURN = "return",
|
||||
EXCHANGE = "exchange",
|
||||
CLAIM = "claim",
|
||||
EDIT = "edit",
|
||||
}
|
||||
Reference in New Issue
Block a user