The machine must keep track of the name, price, and current quantity of each product, as well as the amount of cash in the machine.