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

    Interface UnresolvedCheckoutAttempt

    Checkout facts of an attempt the application could not resolve either way.

    This is deliberately not a failed attempt. The application cannot state whether money was captured, so nothing here may be read as a payment claim: grossAmountMinor is the amount that was asked for, and providerReference proves only that the provider registered an attempt, never that it captured money.

    It carries no order, no items, and no queue entry. That absence is the mechanism, not an omission: it is what keeps an indeterminate attempt out of the kitchen queue and out of commercial sales until explicit reconciliation semantics exist (MVP-SALES-001-S07).

    interface UnresolvedCheckoutAttempt {
        currency: string;
        grossAmountMinor: number;
        operationId: string;
        outcome: "unknown";
        providerReference: string | null;
    }

    Hierarchy (View Summary)

    Index
    currency: string
    grossAmountMinor: number

    Gross amount the attempt asked for, in integer SEK minor units.

    operationId: string

    Stable application-owned identity of the checkout operation.

    Unique and application-owned, never a provider identifier, so a repeat of the same operation cannot record a second attempt.

    outcome: "unknown"

    Always unknown; this is what makes the record an unresolved one.

    providerReference: string | null

    Provider's stable reference when it supplied one, otherwise null.