mirror of
https://github.com/vercel/commerce.git
synced 2025-06-28 17:31:22 +00:00
20 lines
368 B
TypeScript
20 lines
368 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;
|
|
};
|