if (Calculators == undefined) {
	var Calculators = {};
}
if (Calculators.loan == undefined) {
	Calculators.loan = {};
}
Calculators.loan.Prepayment = function Prepayment(prepayment, schedule, startmonth){
	this.prepayment = new Calculators.type.Money(prepayment);
	this.schedule = schedule;
	this.startmonth = startmonth;
	
	this.getPrepayment = function() {
		return this.prepayment;
	}
	
	this.getSchedule = function() {
		return this.schedule;
	}
	
	this.getStartmonth = function() {
		return this.startmonth;
	}
}

//Calculators.loan.Prepayment.prototype.NONE = new Calculators.loan.Prepayment(0.0, Calculators.loan.PaymentFrequency.getPaymentFrequency(Calculators.loan.PaymentFrequency.NONE), 0);

