All Packages Class Hierarchy This Package Previous Next Index
Class orderprocessing.Invoice
java.lang.Object
|
+----orderprocessing.Invoice
- public class Invoice
- extends java.lang.Object
- implements java.io.Serializable
This class represents what will ship from a customer order.
-
Invoice(Customer, Vector)
- Create an Invoice for a particular customer and a sequence of items ordered
-
display()
- Display the information about what will ship, including extended prices and a total
-
key()
- Return the invoice number
-
toString()
-
-
what()
-
-
when()
-
-
who()
-
Invoice
public Invoice(orderprocessing.Customer who,
java.util.Vector what)
- Create an Invoice for a particular customer and a sequence of items ordered
- Parameters:
- who - The customer ordering these items
- what - A vector of OrderItems representing the items ordered
who
public orderprocessing.Customer who()
what
public java.util.Enumeration what()
when
public java.util.Date when()
key
public long key()
- Return the invoice number
display
public void display()
- Display the information about what will ship, including extended prices and a total
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
All Packages Class Hierarchy This Package Previous Next Index