Files
ai-wave-02/packages/shared/src/order-detail.ts
T
2026-09-24 21:07:19 +09:00

27 lines
607 B
TypeScript

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;
notes: string | null;
customer: CustomerSummary;
shippingAddress: Address;
items: OrderItemDetail[];
}