One line of a cart: a menu item and how many of it.
A finalised cart. Its ID is what the customer's QR code encodes, and a vendor user completes or cancels it.
Body for finalising a cart. The server prices it and fails if any selected discount can't be used.
Query parameters for listing transactions.
A page of transactions.
One line of a cart: a menu item and how many of it.
A finalised cart. Its ID is what the customer's QR code encodes, and a vendor user completes or cancels it.
Body for finalising a cart. The server prices it and fails if any selected discount can't be used.
Query parameters for listing transactions.
A page of transactions.
Finalised carts. A transaction's ID is what the customer's QR code encodes.