Package edu.uci.ics.inf111.dvdvendor.app

Interface Summary
Product The Product interface is implemented by any class which represents a rentable product in our point of sale.
 

Class Summary
BarCode The BarCode class represents the bar code of the Products
CheckOutCart The CheckOutCart class stores a Vector of Products which the customer has added so far in the transaction.
DVD A DVD represents a single bar-code-bearing product in the point of sale.
DVDTest This class contains JUnit test cases for DVD.java.
DVDVendor The DVDVendor class contains the business logic of the point of sale, and keeps track of the state of the current customer's rental and return checkout.
ProductDB The ProductDB class encapsulates the list of all products sold in the store.
RentTransaction This class represents a Rent Transaction in the point of sale.
ReturnTransaction This class represents a Return Transaction in the point of sale.
Transaction The Transaction abstract class is extended by any class which represents a transaction in our point of sale.
TransactionDB The TransactionDB class encapsulates the list of all products sold in the store.
Utils This class contains constants, enums, and static methods that are commonly used in the DVD Vendor System.
 

Enum Summary
DVDVendor.checkOutState This enumeration represents the states of the DVDVendor system:
READY means the system is awaiting a new customer
States for Rental:
ADDING means the system is prepared for another item to be added
PAYING means the system is awaiting for payment
DISPENSING means the system is awaiting notification that the items have been dispensed in the DVD Dispenser
States for Returning:
RECEIVING means the system is awaiting for the customer to return the product using the DVD Dispenser
CALCULATING means the system is calculating the charges.
Attempts to add items while PAYING or DISPENSING will result in errors.
Utils.genre Enumeration that represents the different genres the DVD can belong to.