com.moneydance.apps.md.model
Class LoanAccount
java.lang.Object
com.moneydance.apps.md.model.Account
com.moneydance.apps.md.model.LoanAccount
public class LoanAccount
- extends Account
An account representing a loan
| Fields inherited from class com.moneydance.apps.md.model.Account |
ACCOUNT_TYPE_ASSET, ACCOUNT_TYPE_BANK, ACCOUNT_TYPE_CREDIT_CARD, ACCOUNT_TYPE_EXPENSE, ACCOUNT_TYPE_INCOME, ACCOUNT_TYPE_INVESTMENT, ACCOUNT_TYPE_LIABILITY, ACCOUNT_TYPE_LOAN, ACCOUNT_TYPE_ROOT, ACCOUNT_TYPE_SECURITY, BUDGET_CLASS_DISCRETIONARY, BUDGET_CLASS_INCOME, BUDGET_CLASS_MISC, BUDGET_CLASS_REQUIRED, BUDGET_INTERVAL_MONTHLY, BUDGET_INTERVAL_QUARTERLY, BUDGET_INTERVAL_WEEKLY, BUDGET_INTERVAL_YEARLY, MAX_BUDGETS, negate, PARAM_QIF_TXNID, PARAM_VAT_ACCT, PARAM_VAT_APPLIES, PARAM_VAT_PCT, SPLIT_ACCOUNT_ID |
|
Constructor Summary |
LoanAccount(java.lang.String accountName,
int accountID,
CurrencyType currency,
java.util.Hashtable accountInfo,
java.util.Vector subAccounts,
Account parentAccount,
long startBalance)
|
| Methods inherited from class com.moneydance.apps.md.model.Account |
_getAccountByName, _getAccountByName, _removeSubAccount, addAccountListener, addSubAccount, adjustStartBalance, balanceIsNegated, billpayTxnsUpdated, cloneParameters, downloadedTxnsUpdated, dumpAccounts, ensureHasSubAccount, getAccountByName, getAccountByName, getAccountName, getAccountNum, getAccountType, getAllAccountNames, getBalance, getBankingFI, getBillPayFI, getBillpayTxns, getBooleanParameter, getBudgetAmount, getBudgetClass, getBudgetInterval, getCheckNumTags, getClearedBalance, getComment, getCreationDate, getCreationDateInt, getCurrencyType, getCurrentBalance, getDefaultCategory, getDepth, getDoubleParameter, getDownloadedTxns, getFullAccountName, getHideOnHomePage, getHighestAccountNum, getIndentedName, getIntParameter, getLongParameter, getNextCheckNumber, getOFXAccountKey, getOFXAccountNumber, getOFXAccountType, getOFXBankID, getOFXBranchID, getOFXBrokerID, getOFXLastTxnUpdate, getOnlineAvailBalance, getOnlineAvailBalanceDate, getOnlineLedgerBalance, getOnlineLedgerBalanceDate, getParameter, getParameter, getParameterCount, getParameterKeys, getParentAccount, getPath, getPreferredSortAscending, getPreferredSortOrder, getPreferredTwoLines, getReconcilingBalance, getRecursiveBalance, getRecursiveClearedBalance, getRecursiveCurrentBalance, getRecursiveReconcilingBalance, getRecursiveStartBalance, getRecursiveUserBalance, getRecursiveUserClearedBalance, getRecursiveUserCurrentBalance, getRecursiveUserReconcilingBalance, getRecursiveUserStartBalance, getRootAccount, getStartBalance, getSubAccount, getSubAccountCount, getSubAccounts, getTaxCategory, getUserBalance, getUserClearedBalance, getUserCurrentBalance, getUserReconcilingBalance, getUserStartBalance, hasOnlineAvailBalance, hasOnlineLedgerBalance, indexOf, isAncestorOf, isDescendantOf, isDirty, isLeafNode, isOnlineBankingCandidate, isOnlineBillpayCandidate, isOnlineEnabled, isRegisterAccount, makeAccount, notifyAccountAdded, notifyAccountDeleted, notifyAccountModified, notifyBalanceChanged, removeAccountListener, removeParameter, removeSubAccount, resetDirtyFlags, setAccountName, setBankingFI, setBillPayFI, setBudgetAmount, setBudgetClass, setBudgetInterval, setCheckNumTags, setComment, setCreationDate, setCurrencyType, setDefaultCategory, setDirtyFlag, setHideOnHomePage, setOFXAccountKey, setOFXAccountNumber, setOFXAccountType, setOFXBankID, setOFXBranchID, setOFXBrokerID, setOFXLastTxnUpdate, setOnlineAvailBalance, setOnlineLedgerBalance, setParameter, setParameter, setParameter, setParameter, setParameter, setParameterNoNotify, setParentAccount, setPreference, setPreference, setPreference, setPreferredSortAscending, setPreferredSortOrder, setPreferredTwoLines, setStartBalance, setTaxCategory, setUserStartBalance, sortAccounts, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LoanAccount
public LoanAccount(java.lang.String accountName,
int accountID,
CurrencyType currency,
java.util.Hashtable accountInfo,
java.util.Vector subAccounts,
Account parentAccount,
long startBalance)
setCurrentVersionCheck
public void setCurrentVersionCheck(boolean check)
getCurrentVersionCheck
public boolean getCurrentVersionCheck()
getPoints
public double getPoints()
setPoints
public void setPoints(double points)
setInterestRate
public void setInterestRate(double rate)
getInterestRate
public double getInterestRate()
setPaymentsPerYear
public void setPaymentsPerYear(int pmtsPerYear)
getPaymentsPerYear
public int getPaymentsPerYear()
setNumPayments
public void setNumPayments(int numPayments)
getNumPayments
public int getNumPayments()
getReminder
public boolean getReminder()
setReminder
public void setReminder(boolean reminder)
checkedInitialTransfer
public boolean checkedInitialTransfer()
setCheckedInitialTransfer
public void setCheckedInitialTransfer()
getInitialTransfer
public AbstractTxn getInitialTransfer()
- Finds and returns the transaction that represents the initial
transfer of funds from this loan account. If there is no
initial transfer transaction then this returns null.
setInitialTransfer
public void setInitialTransfer(AbstractTxn txn)
- Sets the given transaction as the initial transfer for this account.
This should only be called if there are not currently any other
initial transfers for the account.
getEscrow
public boolean getEscrow()
setEscrow
public void setEscrow(boolean check)
getLoanPmtRate
public double getLoanPmtRate()
getIntPmtRate
public double getIntPmtRate()
getEscrowPmtRate
public double getEscrowPmtRate()
setEscrowPayment
public void setEscrowPayment(long escrowPmt)
getEscrowPayment
public long getEscrowPayment()
setCalcPmt
public void setCalcPmt(boolean calc)
getCalcPmt
public boolean getCalcPmt()
setMonthlyPayment
public void setMonthlyPayment(long mthPmt)
getMonthlyPayment
public long getMonthlyPayment()
getNumPmtsRemaining
public int getNumPmtsRemaining()
getInterestRemaining
public long getInterestRemaining()
getNxtPrincipal
public long getNxtPrincipal()
getNxtInterest
public long getNxtInterest()
getInterestAccount
public Account getInterestAccount()
setInterestAccount
public void setInterestAccount(Account acct)
getEscrowAccount
public Account getEscrowAccount()
setEscrowAccount
public void setEscrowAccount(Account acct)