@usethrottle/discounts
    Preparing search index...

    Interface Cart

    interface Cart {
        appliedDiscount?:
            | {
                amount: number;
                code: string;
                currency: string;
                discountId?: string
                | null;
                freeShipping: boolean;
                snapshotHash: string;
                type: DiscountType;
                validUntil: string | null;
            }
            | null;
        currency: string;
        discountCode?: string
        | null;
        discountTotal: number;
        id: string;
        shippingTotal: number;
        subtotal: number;
        taxTotal: number;
        total: number;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    appliedDiscount?:
        | {
            amount: number;
            code: string;
            currency: string;
            discountId?: string
            | null;
            freeShipping: boolean;
            snapshotHash: string;
            type: DiscountType;
            validUntil: string | null;
        }
        | null
    currency: string
    discountCode?: string | null
    discountTotal: number
    id: string
    shippingTotal: number
    subtotal: number
    taxTotal: number
    total: number