@suluk/nano-stores - v0.1.3
    Preparing search index...

    Interface AppliedDiscount

    A validated, applied discount. type/value mirror @suluk/stripe's Discount so the money core can consume it.

    interface AppliedDiscount {
        code: string;
        type: "percent" | "fixed";
        value: number;
        validatedAt?: number;
    }
    Index

    Properties

    code: string
    type: "percent" | "fixed"
    value: number
    validatedAt?: number

    epoch ms when it was validated — lets the app re-validate stale discounts.