FileDocCategorySizeDatePackage
Purchase.javaAPI DocExample486Sun Nov 03 21:10:58 GMT 2002com.mediamania.store

Purchase

public class Purchase extends Transaction

Fields Summary
private MediaItem
mediaItem
Constructors Summary
private Purchase()

 
public Purchase(Customer cust, Date date, BigDecimal price, MediaItem item)

        super(cust, date);
        setPrice(price);
        mediaItem = item;
        price = item.getPurchasePrice();
    
Methods Summary
public MediaItemgetMediaItem()

        return mediaItem;