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.


Constructor Index

 o Invoice(Customer, Vector)
Create an Invoice for a particular customer and a sequence of items ordered

Method Index

 o display()
Display the information about what will ship, including extended prices and a total
 o key()
Return the invoice number
 o toString()
 o what()
 o when()
 o who()

Constructors

 o 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

Methods

 o who
 public orderprocessing.Customer who()
 o what
 public java.util.Enumeration what()
 o when
 public java.util.Date when()
 o key
 public long key()
Return the invoice number

 o display
 public void display()
Display the information about what will ship, including extended prices and a total

 o toString
 public java.lang.String toString()
Overrides:
toString in class java.lang.Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index