The PizzeRIA order data is transferred as a sequence of 4-digit numbers, each number calculated as follows:
pizzaCode = quantity of the pizza configuration * 100 + topping numbers,
where the topping numbers are:
extra tomatoes: 32,
extra cheese: 16,
onions: 8,
mushrooms: 4,
pepperoni: 2,
broccoli: 1.
Example:
pizzaCode 1236 is 12 pizzas with extra tomatoes and mushrooms (= 12 * 100 + 32 + 4)
The following table shows the actual order data currently stored in the backend1 database: