init
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import type { Address } from "./address";
|
||||
import type { CustomerSummary } from "./customer";
|
||||
import type { Money } from "./money";
|
||||
import type { OrderStatus } from "./order-status";
|
||||
|
||||
export interface OrderItemDetail {
|
||||
id: string;
|
||||
productId: string;
|
||||
sku: string;
|
||||
productName: string;
|
||||
quantity: number;
|
||||
unitPrice: Money;
|
||||
availableQuantity: number;
|
||||
}
|
||||
|
||||
export interface OrderDetail {
|
||||
id: string;
|
||||
orderNumber: string;
|
||||
status: OrderStatus;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
customer: CustomerSummary;
|
||||
shippingAddress: Address;
|
||||
items: OrderItemDetail[];
|
||||
}
|
||||
Reference in New Issue
Block a user