Page 1 of 1

There are different types of transaction at a store: Returns, cash purchases, credit card purchases, and gift card purch

Posted: Sat May 14, 2022 3:55 pm
by answerhappygod
There Are Different Types Of Transaction At A Store Returns Cash Purchases Credit Card Purchases And Gift Card Purch 1
There Are Different Types Of Transaction At A Store Returns Cash Purchases Credit Card Purchases And Gift Card Purch 1 (56.78 KiB) Viewed 65 times
There are different types of transaction at a store: Returns, cash purchases, credit card purchases, and gift card purchases all constitute transactions but only the purchases constitute sales. For all sales, one should be able to calculate the respective tax; for credit card purchases one should be able to calculate the credit card processing fees. Draw a UML class diagram showing an inheritance hierarchy of the classes that represent the different types of transactions. Show appropriate attributes and method names for at least two of the classes.