mirror of
https://github.com/vercel/commerce.git
synced 2025-06-28 01:11:24 +00:00
19 lines
397 B
TypeScript
19 lines
397 B
TypeScript
import { Meta_Data } from "./base";
|
|
import { Tax } from "./taxes";
|
|
|
|
export type Line_Item = {
|
|
id: number;
|
|
name: string;
|
|
product_id: number;
|
|
variation_id: number;
|
|
quantity: number;
|
|
tax_class: string;
|
|
subtotal: string;
|
|
subtotal_tax: string;
|
|
total: string;
|
|
total_tax: string;
|
|
taxes: Tax[];
|
|
meta_data: Meta_Data;
|
|
sku: string;
|
|
price: number;
|
|
}; |