
function PlusStaffordPayment() {

  this.paymentDate = "date";//new Date();  //A Date
  this.beginningBalance;
  this.endingBalance;
  this.interestPayment;
  this.interestRate;
  this.paymentNumber;
  this.principlePayment;
  this.fullPayment;
  this.getBeginningBalance = Payment_getBeginningBalance;
  this.setBeginningBalance  = Payment_setBeginningBalance;
  this.setInterestPayment = Payment_setInterestPayment;
  this.getInterestPayment = Payment_getInterestPayment;
  this.setPrinciplePayment = Payment_setPrinciplePayment;
  this.getPrinciplePayment = Payment_getPrinciplePayment;
  this.setInterestRate = Payment_setInterestRate;
  this.getInterestRate = Payment_getInterestRate;
  this.setPaymentNumber = Payment_setPaymentNumber;
  this.getPaymentNumber = Payment_getPaymentNumber;
  this.setEndingBalance = Payment_setEndingBalance;
  this.getEndingBalance = Payment_getEndingBalance;
  this.setPaymentDate = Payment_setPaymentDate;
  this.getPaymentDate = Payment_getPaymentDate;
  this.setFullPayment = Payment_setFullPayment;
  this.getFullPayment = Payment_getFullPayment;
  this.toString = Payment_toString;
}

function Payment_toString() {
  return new String(  paymentDate + "," +   beginningBalance + "," +  endingBalance + "," +  interestPayment + "," +  interestRate + "," +  paymentNumber + "," +  principlePayment + "," +	    fullPayment ) ;
}

function Payment_getBeginningBalance()
{
  return this.beginningBalance;
}

function Payment_setBeginningBalance( beginningBalance)
{
  this.beginningBalance = beginningBalance;
}

function Payment_setInterestPayment( interestPayment)
{
  this.interestPayment = interestPayment;
}

function Payment_getInterestPayment()
{
  return this.interestPayment;
}

function Payment_setPrinciplePayment( principlePayment)
{
  this.principlePayment = principlePayment;
}

function Payment_getPrinciplePayment()
{
  return this.principlePayment;
}

function Payment_setInterestRate( interestRate)
{
  this.interestRate = interestRate;
}

function Payment_getInterestRate()
{
  return this.interestRate;
}

function Payment_setPaymentNumber( paymentNumber)
{
  this.paymentNumber = paymentNumber;
}

function Payment_getPaymentNumber()
{
  return this.paymentNumber;
}

function Payment_setEndingBalance( endingBalance)
{
  this.endingBalance = endingBalance;
}

function Payment_getEndingBalance()
{
  return this.endingBalance;
}

function Payment_setPaymentDate( paymentDate)
{
  this.paymentDate = paymentDate;
}

function Payment_getPaymentDate()
{
  return this.paymentDate;
}

function Payment_setFullPayment( fullPayment) {
  this.fullPayment = fullPayment;
}


function Payment_getFullPayment() {
  return this.fullPayment;
}


