@usethrottle/cart
    Preparing search index...

    Interface LineResolution

    An owned line's state on a resolved cart.

    • resolved: the app priced the line on its last answer.
    • refused: the app refused the line on its last answer; code says why (OUT_OF_STOCK, QUANTITY_UNAVAILABLE, BELOW_MIN, ABOVE_MAX, NOT_FOUND, NOT_PURCHASABLE, NO_PRICE_IN_CURRENCY, PRICE_SOURCE_MISMATCH).
    • stale: the last re-resolve failed; the line keeps its earlier price and code keeps any earlier refusal. Checkout re-resolves it.

    maxQuantity / minQuantity are the limits from the app's last answer (a refusal's own maxQuantity wins), or null.

    interface LineResolution {
        code: string | null;
        maxQuantity: number | null;
        minQuantity: number | null;
        status: "resolved" | "refused" | "stale";
    }
    Index
    code: string | null
    maxQuantity: number | null
    minQuantity: number | null
    status: "resolved" | "refused" | "stale"