edu.uci.ics.inf111.dvdvendor.app
Interface Product

All Known Implementing Classes:
DVD

public interface Product

The Product interface is implemented by any class which represents a rentable product in our point of sale. This interface has been created to simplify the creation of future products to be rented or sold. In our example, DVD implements this interface. The interface provides common accessor methods for the fields.


Method Summary
 BarCode getBarCode()
          Accessor method for identifying the bar code
 double getPrice()
          Accessor method for unit price
 

Method Detail

getBarCode

BarCode getBarCode()
Accessor method for identifying the bar code


getPrice

double getPrice()
Accessor method for unit price