FileDocCategorySizeDatePackage
RentalCode.javaAPI DocExample761Sun Nov 03 21:10:58 GMT 2002com.mediamania.store

RentalCode

public class RentalCode extends Object

Fields Summary
private String
code
private int
numberOfDays
private BigDecimal
cost
private BigDecimal
lateFeePerDay
Constructors Summary
private RentalCode()

 
public RentalCode(String code, int days, BigDecimal cost, BigDecimal lateFee)

        this.code = code;
        numberOfDays = days;
        this.cost = cost;
        lateFeePerDay = lateFee;
    
Methods Summary
public java.lang.StringgetCode()

        return code;
    
public java.math.BigDecimalgetCost()

        return cost;
    
public java.math.BigDecimalgetLateFeePerDay()

        return lateFeePerDay;
    
public intgetNumberOfDays()

        return numberOfDays;