The InvoiceItem Class A class called Invoiceltem, which models an item of an invoice, with ID. description, quantity and
Posted: Fri May 20, 2022 9:59 am
The InvoiceItem Class A class called Invoiceltem, which models an item of an invoice, with ID. description, quantity and unit price, is designed as shown in the following class diagram. Write the Invoiceltem class InvoiceItem - id: String - desc: String -qty:int -unitPrice: double +InvoiceItem(id:String, desc:String, qty:int, unitPrice: double) +getID(): String +getDesc():String +getQty(): int +setQty(qty:int) : void +getUnitPrice(): double +setUnitPrice(unitPrice:double):void +getTotal(): double القطع *السعر