Source of LineItem.java


  1: /**
  2:    A line item in an invoice.
  3: */
  4: public interface LineItem
  5: {
  6:    /**
  7:       Gets the price of this line item.
  8:       @return the price
  9:    */
 10:    double getPrice();
 11:    /**
 12:       Gets the description of this line item.
 13:       @return the description
 14:    */   
 15:    String toString();
 16: }