There is inventory dataset(object) that maintains the items and its stock information. Customer buy the items and go to billing counter. At Billing counter, bill is generated having item information, total amount , customer id and transaction id; customer rewarded with some points; in parallel stock and customer points are updated.
This project is for learning purpose only. Projects provides above metioned backend functionalities for supermarket scenario. I have implemented data structures: link list and hash table myself.