Foodtruck Order — TypeScript Reference - v0.1.0
    Preparing search index...

    Interface PricedOrderLine

    One catalog product priced from the current catalog, in neutral facts.

    This is the priced form of a DraftOrderItem: the same selection resolved against the live catalog so a charge can carry a per-line breakdown without the application knowing any provider field. VAT is in integer basis points, matching FinalizedOrderItem, so a priced selection and the snapshot it later becomes share one VAT unit.

    interface PricedOrderLine {
        grossUnitMinor: number;
        name: string;
        quantity: number;
        vatBasisPoints: number;
    }
    Index
    grossUnitMinor: number

    Per-unit gross (VAT-inclusive) price in integer minor units.

    name: string

    Customer-facing product name from the catalog at pricing time.

    quantity: number

    Positive whole-unit quantity, copied from the selection.

    vatBasisPoints: number

    VAT rate in integer basis points (for example 2500 is 25%).