@usethrottle/cart
    Preparing search index...

    Interface LineItem

    interface LineItem {
        cartId: string;
        description: string | null;
        discountAmount: number;
        id: string;
        imageUrl: string | null;
        metadata: Record<string, unknown>;
        name: string;
        position: number;
        quantity: number;
        recurring: StoredLineRecurring | LegacyLineRecurring | null;
        referenceId: string | null;
        subscriptionId: string | null;
        subtotal: number;
        taxAmount: number;
        total: number;
        type:
            | "custom"
            | "product"
            | "subscription"
            | "service"
            | "ticket"
            | "donation";
        unitPrice: number;
    }
    Index
    cartId: string
    description: string | null
    discountAmount: number
    id: string
    imageUrl: string | null
    metadata: Record<string, unknown>
    name: string
    position: number
    quantity: number

    Subscription terms. 'plan' in recurring tells a merchant-declared subscription line (StoredLineRecurring) from the plan line a checkout session adds (LegacyLineRecurring). Null on a one-time line.

    referenceId: string | null
    subscriptionId: string | null

    The subscription this line created. Null until the checkout completes.

    subtotal: number
    taxAmount: number
    total: number
    type: "custom" | "product" | "subscription" | "service" | "ticket" | "donation"
    unitPrice: number