@usethrottle/discounts
    Preparing search index...

    Interface DiscountValidationResult

    interface DiscountValidationResult {
        currency?: any;
        discount?: Discount;
        error?: string;
        minimum?: any;
        shortfall?: any;
        valid: boolean;
    }
    Index
    currency?: any
    discount?: Discount
    error?: string
    minimum?: any

    The code's minimum order total, when the order is under it.

    shortfall?: any

    How much more the order needs to reach the minimum.

    valid: boolean