001package horstmann.ch05_invoice; 002/** 003 A line item in an invoice. 004 */ 005public interface LineItem 006{ 007 /** 008 Gets the price of this line item. 009 @return the price 010 */ 011 double getPrice(); 012 /** 013 Gets the description of this line item. 014 @return the description 015 */ 016 String toString(); 017}