Question: write a payment class in java on eclipse thats for a car mangement system that has the following from the class diagram below it ,

write a payment class in java on eclipse thats for a car mangement system that has the following from the class diagram below it , should be able to have the payment description, type of payment and methods to add payment edit the payment method and search for the payment. The class has an id that is generated when a payment is made, the user can have different payment types to chose from and depending on answer like if its a debit or credit the user needs to put in card information but for cash the user just inputs the cash amount being paid and a receipt is made. payment descrition is like the receipt and payment date just tells the date that payment was done
PAYMENT +payment_ID : int +payment_Type:string +payment_Des string +payementDate :string custID: int +addPayment( +editPayment() + searchPayment
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
