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

    One neutral priced line of a charged selection.

    VAT is carried in basis points, matching the product catalog and finalized item snapshots, so the neutral contract has a single VAT unit. A provider adapter converts it to the provider's own representation; the conversion never leaves the adapter.

    interface CheckoutLine {
        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 captured at pricing time.

    quantity: number

    Positive whole-unit quantity.

    vatBasisPoints: number

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