Fourth iteration - Making money

The machine is becoming popular in the office. The management is eager to have daily reports of what is sold and when.

Use cases

Implementation details

For the reporting, you can have a repository of data with a simple data structure in memory. A simple reporting can be done by printing to the console. Of course all of that should be tested before it is written, but you know that already, don't you ? ;)