@hungr/types
    Preparing search index...

    Module Transactions

    Finalised carts. A transaction's ID is what the customer's QR code encodes.

    CartItem

    One line of a cart: a menu item and how many of it.

    Transaction

    A finalised cart. Its ID is what the customer's QR code encodes, and a vendor user completes or cancels it.

    CreateTransaction

    Body for finalising a cart. The server prices it and fails if any selected discount can't be used.

    TransactionFilter

    Query parameters for listing transactions.

    TransactionList

    A page of transactions.

    CartItemSchema

    One line of a cart: a menu item and how many of it.

    TransactionSchema

    A finalised cart. Its ID is what the customer's QR code encodes, and a vendor user completes or cancels it.

    CreateTransactionSchema

    Body for finalising a cart. The server prices it and fails if any selected discount can't be used.

    TransactionFilterSchema

    Query parameters for listing transactions.

    TransactionListSchema

    A page of transactions.