Question: i need code in java programing language Customer and Invoice classes (Composition) Invoice Customer 1 -ID: int -customer: Customer -amount: double Discount rate in percent
i need code in java programing language 
Customer and Invoice classes (Composition) Invoice Customer 1 -ID: int -customer: Customer -amount: double Discount rate in percent +Invoice (ID: int, customer: Customer, amount:double) +getID(): int +getCustomer():Customer +setCustomer(customer:Customer):void +getAmount():String +setAmount (amount:double):void +getCustomerName():String +getAmountAfterDiscount():double -ID:int -name: String -discount:int +Customer(ID:int, name: String, discount:int) +getID(): int +getName():String +getDiscount(): int +setDiscount(discount:int):void +toString():String "name (ID)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
