01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
package horstmann.ch05_invoice;
/**
   A line item in an invoice.
 */
public interface LineItem
{
  /**
      Gets the price of this line item.
      @return the price
   */
  double getPrice();
  /**
      Gets the description of this line item.
      @return the description
   */
  String toString();
}