(solution) Can anyone help me with this? " Draw and annotate a class

(solution) Can anyone help me with this? " Draw and annotate a class

Can anyone help me with this?

      “Draw and annotate a class hierarchy thatrepresents various types of sales transactions in a store (cash, credit, and soon). Show what characteristics would be represented in the various classes ofthe hierarchy. Explain how polymorphism could play a role in the paymentprocess.”

Thanks!