Content Simple ShoppingCart Examples with printing an invoice, two implementations: Folder proc --> Procedural programming: example with setter and getter. Folder oop --> Object oriented programming: using printer pattern follwing the below articles. Articles https://www.infoworld.com/article/2073723/why-getter-and-setter-methods-are-evil.html https://www.yegor256.com/2016/04/05/printers-instead-of-getters.html