There are different types of transaction at a store: Returns, cash purchases, credit card purchases, and gift card purch
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
There are different types of transaction at a store: Returns, cash purchases, credit card purchases, and gift card purch
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!