
public class Invoice
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Customer |
customer |
java.util.Date |
invoiceDate |
InvoiceItem[] |
items |
double |
total |
| Constructor and Description |
|---|
Invoice() |
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(Product p,
int quantity) |
public double total
public InvoiceItem[] items
public Customer customer
public java.util.Date invoiceDate
public void addItem(Product p, int quantity)