public class Account extends MoneydanceSyncableItem
Modifier and Type | Class and Description |
---|---|
static class |
Account.AccountType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_INCLUDE_IN_NET_WORTH |
static java.lang.String |
PARAM_QIF_TXNID |
static java.lang.String |
PARAM_TAX_RELATED |
static java.lang.String |
PARAM_VAT_ACCT |
static java.lang.String |
PARAM_VAT_ACCTID |
static java.lang.String |
PARAM_VAT_APPLIES |
static java.lang.String |
PARAM_VAT_PCT |
static int |
SPLIT_ACCOUNT_ID |
static java.lang.String |
SYNCABLE_TYPE_VALUE |
book, info
Constructor and Description |
---|
Account(AccountBook book) |
Modifier and Type | Method and Description |
---|---|
protected Account |
_getAccountByName(java.lang.String name) |
protected Account |
_getAccountByName(java.lang.String name,
Account.AccountType acctType) |
void |
adjustStartBalance(long adjustAmount)
Adjust the starting balance by the given amount.
|
boolean |
balanceIsNegated()
indicates whether or not amounts in this account should be
negated when displaying to user (will be true for Income accounts)
|
boolean |
canDownloadTxns()
Returns true if transactions can be downloaded for this account
|
boolean |
checkedInitialTransfer() |
int |
compareFullPathToAccount(Account account)
Compare the full path of this account to the full path of the given account
|
int |
compareToAccount(Account acct)
Return an integer indicating whether this account is less than, equal to,
or greater than the given account when sorting by type, name, and ID.
|
void |
downloadedTxnsUpdated() |
void |
dumpAccounts() |
void |
ensureAccountStructure()
make sure the account structure is correct and that the account's parent knows about it.
|
Account |
getAccountByName(java.lang.String name) |
Account |
getAccountByName(java.lang.String name,
Account.AccountType acctType) |
java.lang.String |
getAccountDescription() |
boolean |
getAccountIsInactive()
Returns true if the account is no longer in use and should be hidden from
account and category selectors as well as the home page.
|
java.lang.String |
getAccountName() |
int |
getAccountNum()
Return the old account number.
|
boolean |
getAccountOrParentIsInactive()
Returns true if the account or one of its ancestors is no longer in
use and should be hidden from account and category selectors as well
as the home page.
|
Account.AccountType |
getAccountType() |
java.lang.String[] |
getAllAccountNames()
Get an array of the account names between the root account and this account.
|
long |
getAnnualFee() |
double |
getAPR()
Holds coupon/interest rate for bonds, cd's
|
double |
getAPRPercent() |
long |
getBalance() |
java.lang.String |
getBankAccountNumber() |
OnlineService |
getBankingFI()
Get the OFX connection information use for online banking in this
account, if any.
|
java.lang.String |
getBankName() |
OnlineService |
getBillPayFI()
Get the OFX connection information use for online bill-payment in this account, if any.
|
int |
getBondType()
Holds a bond's type as an integer
0 - gov; 1 - municipal; 2 - corp; 3 - zero-coupon
|
java.lang.String |
getBroker() |
java.lang.String |
getBrokerPhone() |
boolean |
getCalcPmt() |
int |
getCardExpirationMonth() |
int |
getCardExpirationYear() |
java.lang.String |
getCardNumber() |
java.lang.String[] |
getCheckNumTags(java.lang.String deflt) |
long |
getClearedBalance()
Return the balance excluding any uncleared or reconciling transactions
|
java.lang.String |
getComment() |
CompoundingType |
getCompounding()
Returns the compounding period for a CD.
|
long |
getConfirmedBalance()
Return the balance excluding any unconfirmed transactions.
|
long |
getCreationDate()
Gets the date that this account was opened/created
(this method only available as of build 253)
|
int |
getCreationDateInt()
Gets the date that this account was opened/created encoded as an int.
|
long |
getCreditLimit() |
java.lang.String |
getCurrencyChoice()
Holds the currency in which this security is to be viewed.
|
CurrencyType |
getCurrencyType() |
long |
getCurrentBalance() |
Account |
getDefaultAccount(AcctFilter filter,
java.lang.String accountIDKey)
Get the default account that was stored with the given account ID key, presuming the given
filter applies to it.
|
Account |
getDefaultCategory() |
int |
getDepth()
Get this accounts depth in the account tree.
|
long |
getDividend()
Holds the dividend for a particular stock.
|
OnlineTxnList |
getDownloadedTxns()
Get the current list of downloaded transactions for this
|
boolean |
getEscrow() |
Account |
getEscrowAccount() |
long |
getEscrowPayment() |
java.lang.String |
getExchange()
Holds a string representing the exchange the stock is traded on.
|
long |
getFaceValue()
Gets the face value of a bond
|
long |
getFixedMonthlyPaymentAmount() |
java.lang.String |
getFullAccountName() |
boolean |
getHideOnHomePage() |
java.lang.String |
getIndentedName() |
long |
getInitialPrincipal()
Get the principal, excluding any transactions within Moneydance, for this loan
|
AbstractTxn |
getInitialTransfer()
Finds and returns the transaction that represents the initial
transfer of funds from this loan account.
|
java.lang.String |
getInstitutionName() |
Account |
getInterestAccount() |
double |
getInterestRate() |
java.lang.String |
getInvestAccountNumber() |
Account |
getInvstCommissionAcct() |
long |
getMaturity()
Holds the maturity date for a bond as a String
|
int |
getMonth()
Holds the exercise month for the option as an int (0-11)
options expire on the 3rd Friday of this month
|
int |
getNextCheckNumber()
Use a fancy algorithm to calculate the next check number in the most
recent series of checks.
|
int |
getNumPayments() |
int |
getNumYears()
Holds # of years a CD is held for: zero is 6 months, all other
integers represent the number of years.
|
java.lang.String |
getOFXAccountKey() |
int |
getOFXAccountMsgType() |
java.lang.String |
getOFXAccountNumber() |
java.lang.String |
getOFXAccountType() |
java.lang.String |
getOFXBankID()
Bank ID: used or not according to country:
BEL Bank code
CAN Routing and transit number
CHE Clearing number
DEU Bankleitzah
ESP Entidad
FRA Banque
GBR Sort code
ITA ABI
NLD Not used (field contents ignored)
USA Routing and transit number
|
java.lang.String |
getOFXBillPayAccountNumber()
Get the account number used for online bill payment.
|
java.lang.String |
getOFXBillPayAccountType()
Get the account type used for online bill payment.
|
java.lang.String |
getOFXBillPayBankID()
Get the icon_bank ID (aka routing number) used for online bill payment.
|
java.lang.String |
getOFXBranchID() |
java.lang.String |
getOFXBrokerID() |
OnlinePayeeList |
getOnlinePayees() |
OnlinePaymentList |
getOnlinePayments() |
double |
getOptionPrice()
Holds the price of an option.
|
Account |
getParentAccount() |
java.util.List<Account> |
getPath()
Get an array of the accounts leading up to this account,
starting at the RootAccount in position 0.
|
PaymentSchedule |
getPaymentSchedule() |
int |
getPaymentsPerYear() |
double |
getPoints()
Return the percentage of the loan that was added as a fee to the principal
|
boolean |
getPreferredSortAscending(boolean defaultVal) |
int |
getPreferredSortOrder(int defaultOrder) |
boolean |
getPreferredTwoLines(boolean defaultVal) |
boolean |
getPut()
Holds whether an option is a put or a call
true - put; false - call
|
long |
getReconcilingBalance() |
long |
getRecursiveBalance()
Gets the balance for this account and all sub-accounts, converting the
currencies of the sub-accounts at the current exchange rate.
|
long |
getRecursiveClearedBalance()
Gets the cleared balance for this account and all sub-accounts,
converting the currencies of the sub-accounts at the current
exchange rate.
|
long |
getRecursiveCurrentBalance()
Gets the current balance for this account and all sub-accounts,
converting the currencies of the sub-accounts at the current
exchange rate.
|
long |
getRecursiveReconcilingBalance()
Gets the reconciling balance for this account and all sub-accounts,
converting the currencies of the sub-accounts at the current
exchange rate.
|
long |
getRecursiveStartBalance()
Gets the starting balance for this account and all sub-accounts,
converting the currencies of the sub-accounts at the appropriate
exchange rate.
|
long |
getRecursiveUserBalance()
Gets the balance for this account and all sub-accounts, converting the
currencies of the sub-accounts at the appropriate exchange rate.
|
long |
getRecursiveUserClearedBalance()
Gets the cleared balance for this account and all sub-accounts,
converting the currencies of the sub-accounts at the appropriate
exchange rate.
|
long |
getRecursiveUserCurrentBalance()
Gets the current balance for this account and all sub-accounts,
converting the currencies of the sub-accounts at the appropriate
exchange rate.
|
long |
getRecursiveUserReconcilingBalance()
Gets the reconciling balance for this account and all sub-accounts,
converting the currencies of the sub-accounts at the appropriate exchange
rate.
|
long |
getRecursiveUserStartBalance()
Gets the starting balance for this account and all sub-accounts,
converting the currencies of the sub-accounts at the appropriate
exchange rate.
|
boolean |
getReminder() |
Account |
getRootAccount() |
java.lang.String |
getSecuritySubType() |
SecurityType |
getSecurityType() |
long |
getStartBalance() |
long |
getStrikePrice()
Holds the strike price of an option
|
Account |
getSubAccount(int i) |
int |
getSubAccountCount()
Get the number of sub-accounts in this account.
|
java.util.List<Account> |
getSubAccounts() |
java.util.List<Account> |
getSubAccounts(AcctFilter search)
Return a list of all accounts under this account matching the given filter.
|
java.lang.String |
getSyncItemType()
Subclasses should override this to return a static string identifying their type of object
|
java.lang.String |
getTaxCategory()
Get the identifier that indicates which (if any) tax
category this account is associated with.
|
int |
getUnconfirmedTxnCount()
Get the number of unconfirmed transactions in this account.
|
long |
getUserBalance() |
long |
getUserClearedBalance() |
long |
getUserConfirmedBalance() |
long |
getUserCurrentBalance() |
long |
getUserReconcilingBalance() |
long |
getUserStartBalance() |
boolean |
getUsesAverageCost()
Holds method of figuring cost basis: true is avg.
|
int |
indexOf(Account acct) |
boolean |
isAncestorOf(Account acct)
Returns true if the given account is equal to this account or
if it is a direct or indirect sub-account of this account.
|
boolean |
isDeductible() |
boolean |
isDescendantOf(Account acct) |
boolean |
isDirty()
Returns true if there has been changes to this account or any
child accounts that hasn't been saved.
|
boolean |
isLeafNode() |
boolean |
isOnlineBankingCandidate()
Returns true if it is possible to online-enable this account.
|
boolean |
isOnlineBillpayCandidate()
Returns true if it is possible to online-enable this account.
|
boolean |
isOnlineEnabled()
Returns true if this account is configured for online access.
|
boolean |
isRegisterAccount() |
boolean |
isTaxable() |
boolean |
isTaxRelated() |
void |
itemWasUpdated()
This is called after an item is updated by calling itemWasUpdated(SyncRecord).
|
void |
itemWillSync()
This is called just before an item will be stored and/or synced when itemWillSync(SyncRecord)
is called.
|
static Account |
makeAccount(AccountBook accountBook,
Account.AccountType accountType,
Account parent) |
void |
notifyAccountModified()
Notify all listeners that the account has been modified.
|
protected void |
resetDirtyFlags()
set the dirty flag for this account and all sub-accounts to
a non-dirty state.
|
void |
setAccountDescription(java.lang.String description) |
void |
setAccountIsInactive(boolean isInactive)
Sets whether the account is no longer in use and should be hidden from
account and category selectors as well as the home page.
|
void |
setAccountName(java.lang.String newAccountName) |
void |
setAnnualFee(long annualFee) |
void |
setAPR(double rate) |
void |
setAPRPercent(double apr) |
void |
setBankAccountNumber(java.lang.String str) |
void |
setBankingFI(OnlineService service)
Set the online banking connection information used for online banking (transaction download, etc) in this account.
|
void |
setBankName(java.lang.String str) |
void |
setBillPayFI(OnlineService service)
Set the online banking connection information used for online banking
(transaction download, etc) in this account.
|
void |
setBondType(int type) |
void |
setBroker(java.lang.String str) |
void |
setBrokerPhone(java.lang.String brokerPhone) |
void |
setCalcPmt(boolean calc) |
void |
setCardExpirationMonth(int expMonth) |
void |
setCardExpirationYear(int expYear) |
void |
setCardNumber(java.lang.String str) |
void |
setCheckedInitialTransfer() |
void |
setCheckNumTags(java.lang.String[] checkTags) |
void |
setComment(java.lang.String comment) |
void |
setCompounding(CompoundingType cmp)
Returns the compounding period for a CD.
|
void |
setCreationDate(long date)
Sets the date that this account was opened.
|
void |
setCreditLimit(long limit) |
void |
setCurrencyChoice(java.lang.String curr) |
void |
setCurrencyType(CurrencyType newCurrencyType)
set the currency type.
|
void |
setDeductible(boolean deductible) |
void |
setDefaultAccount(java.lang.String accountIDKey,
Account acct)
Store the given account as the default associated with the given account ID key
|
void |
setDefaultCategory(Account acct) |
void |
setDirtyFlag()
set the dirty flag for this account.
|
void |
setDividend(long dividend) |
void |
setEscrow(boolean check) |
void |
setEscrowAccount(Account acct) |
void |
setEscrowPayment(long escrowPmt) |
void |
setExchange(java.lang.String exchange) |
void |
setFaceValue(long value)
Sets the face value of a bond
|
void |
setFixedMonthlyPaymentAmount(long mthPmt) |
void |
setHideOnHomePage(boolean hide) |
void |
setIncludeInNetWorth(boolean includeInNetWorth)
Set whether or not this account should be included in net worth calculations.
|
void |
setInitialPrincipal(long principalAmt)
Set the principal, excluding any transactions within Moneydance, for this loan
|
void |
setInitialTransfer(AbstractTxn txn)
Sets the given transaction as the initial transfer for this account.
|
void |
setInstitutionName(java.lang.String str) |
void |
setInterestAccount(Account acct) |
void |
setInterestRate(double rate) |
void |
setInvestAccountNumber(java.lang.String str) |
void |
setMaturity(long date) |
void |
setMonth(int month) |
void |
setNumPayments(int numPayments) |
void |
setNumYears(int yrs) |
void |
setOFXAccountKey(java.lang.String str) |
void |
setOFXAccountMsgType(int msgType) |
void |
setOFXAccountNumber(java.lang.String str) |
void |
setOFXAccountType(java.lang.String str) |
void |
setOFXBankID(java.lang.String bankId) |
void |
setOFXBillPayAccountNumber(java.lang.String str)
Set the account number used for online bill payment, if different from
the regular account number
|
void |
setOFXBillPayAccountType(java.lang.String str)
Set the account type used for online bill payment, if different from
the regular account type
|
void |
setOFXBillPayBankID(java.lang.String str)
Set the icon_bank ID (aka routing number) used for online bill payment
|
void |
setOFXBranchID(java.lang.String branchId) |
void |
setOFXBrokerID(java.lang.String brokerId) |
void |
setOnlinePayees(OnlinePayeeList payees)
Set the list of payees to associate with this account.
|
void |
setOnlinePayments(OnlinePaymentList payments)
Set the list of payments to associate with this account.
|
void |
setOptionPrice(double price) |
void |
setParentAccount(Account newParentAccount) |
void |
setPaymentsPerYear(int pmtsPerYear) |
void |
setPoints(double points)
Set the percentage of the loan that was added as a fee to the principal
|
void |
setPreferredSortAscending(boolean ascending) |
void |
setPreferredSortOrder(int newSortOrder) |
void |
setPreferredTwoLines(boolean twoLines) |
void |
setPut(boolean put) |
void |
setReminder(boolean reminder) |
void |
setSecuritySubType(java.lang.String subType) |
void |
setSecurityType(SecurityType newSecType) |
void |
setStartBalance(long newStartBalance)
Set the initial balance of this account.
|
void |
setStrikePrice(long strike) |
void |
setTaxable(boolean taxable) |
void |
setTaxCategory(java.lang.String taxCategory)
Set an identifier that indicates which (if any) tax
category this account is associated with.
|
void |
setTaxRelated(boolean taxRelated) |
void |
setUsesAverageCost(boolean method)
Sets whether or not this security uses the average cost method
of determining cost basis.
|
boolean |
shouldBeIncludedInNetWorth()
Return whether or not this account should be included in net worth calculations.
|
void |
sortAccounts() |
java.lang.String |
toString() |
addParameters, addTags, autoSyncsChanges, decodeKeywordList, deleteItem, doesParameterExist, duplicate, encodeKeywordList, equals, getAccountParameter, getAddress, getAddressParameter, getBook, getBooleanParameter, getCurrencyParameter, getDoubleParameter, getIntParameter, getKeywords, getLongParameter, getParameter, getParameter, getParameterCount, getParameterKeys, getPreference, getPreferenceBoolean, getPreferenceDouble, getPreferenceInt, getPreferenceIntArray, getPreferenceLong, getPreferenceStringList, getPreferenceSublist, getPreferenceSubset, getSyncInfo, getSyncTimestamp, getUUID, hashCode, hasKeywordSubstring, initialize, isInEditingMode, isSyncable, itemWasUpdated, itemWillSync, makeSyncableItem, removeParameter, setAccountParameter, setAddress, setAddressParameter, setCurrencyParameter, setDirty, setEditingMode, setKeywords, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameterNoNotify, setPreference, setPreference, setPreference, syncItem
public static final java.lang.String SYNCABLE_TYPE_VALUE
public static final int SPLIT_ACCOUNT_ID
public static final java.lang.String PARAM_VAT_PCT
public static final java.lang.String PARAM_VAT_ACCT
public static final java.lang.String PARAM_VAT_ACCTID
public static final java.lang.String PARAM_VAT_APPLIES
public static final java.lang.String PARAM_TAX_RELATED
public static final java.lang.String PARAM_QIF_TXNID
public static final java.lang.String PARAM_INCLUDE_IN_NET_WORTH
public Account(AccountBook book)
public Account getRootAccount()
public void itemWasUpdated()
MoneydanceSyncableItem
itemWasUpdated
in class MoneydanceSyncableItem
public void itemWillSync()
MoneydanceSyncableItem
itemWillSync
in class MoneydanceSyncableItem
public final java.lang.String getSyncItemType()
MoneydanceSyncableItem
getSyncItemType
in interface com.infinitekind.tiksync.SyncableItem
getSyncItemType
in class MoneydanceSyncableItem
public final boolean isLeafNode()
public boolean shouldBeIncludedInNetWorth()
public void setIncludeInNetWorth(boolean includeInNetWorth)
public java.lang.String[] getCheckNumTags(java.lang.String deflt)
public void setCheckNumTags(java.lang.String[] checkTags)
public void setCreationDate(long date)
public long getCreationDate()
public int getCreationDateInt()
public java.lang.String getOFXAccountNumber()
public void setOFXAccountNumber(java.lang.String str)
public java.lang.String getOFXAccountKey()
public void setOFXAccountKey(java.lang.String str)
public void setOFXAccountType(java.lang.String str)
public java.lang.String getOFXAccountType()
public void setOFXAccountMsgType(int msgType)
public int getOFXAccountMsgType()
public void setOFXBillPayBankID(java.lang.String str)
public java.lang.String getOFXBillPayBankID()
public void setOFXBillPayAccountNumber(java.lang.String str)
public java.lang.String getOFXBillPayAccountNumber()
public void setOFXBillPayAccountType(java.lang.String str)
public java.lang.String getOFXBillPayAccountType()
public java.lang.String getOFXBankID()
public void setOFXBankID(java.lang.String bankId)
public java.lang.String getOFXBranchID()
public void setOFXBranchID(java.lang.String branchId)
public java.lang.String getOFXBrokerID()
public void setOFXBrokerID(java.lang.String brokerId)
public boolean isOnlineBankingCandidate()
public boolean isOnlineBillpayCandidate()
public boolean isOnlineEnabled()
public boolean canDownloadTxns()
public OnlineService getBankingFI()
public void setBankingFI(OnlineService service)
public OnlineService getBillPayFI()
public final void setBillPayFI(OnlineService service)
public final boolean getHideOnHomePage()
public final void setHideOnHomePage(boolean hide)
public final boolean getAccountIsInactive()
public final boolean getAccountOrParentIsInactive()
public final void setAccountIsInactive(boolean isInactive)
public final OnlineTxnList getDownloadedTxns()
public void downloadedTxnsUpdated()
public void notifyAccountModified()
public OnlinePayeeList getOnlinePayees()
public void setOnlinePayees(OnlinePayeeList payees)
public OnlinePaymentList getOnlinePayments()
public void setOnlinePayments(OnlinePaymentList payments)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.lang.String[] getAllAccountNames()
public java.lang.String getFullAccountName()
public void adjustStartBalance(long adjustAmount)
public final boolean balanceIsNegated()
public final long getUserStartBalance()
public final long getUserCurrentBalance()
public final long getUserClearedBalance()
public final long getUserReconcilingBalance()
public final long getUserBalance()
public final long getUserConfirmedBalance()
public final long getStartBalance()
public long getRecursiveStartBalance()
public long getRecursiveUserStartBalance()
public final long getCurrentBalance()
public final long getRecursiveCurrentBalance()
public long getRecursiveUserCurrentBalance()
public final long getClearedBalance()
public final long getConfirmedBalance()
public final long getRecursiveClearedBalance()
public long getRecursiveUserClearedBalance()
public final long getReconcilingBalance()
public final long getRecursiveReconcilingBalance()
public long getRecursiveUserReconcilingBalance()
public final long getBalance()
public final long getRecursiveBalance()
public long getRecursiveUserBalance()
public int getUnconfirmedTxnCount()
public void setStartBalance(long newStartBalance)
public final CurrencyType getCurrencyType()
public final void setCurrencyType(CurrencyType newCurrencyType)
public java.lang.String getAccountName()
public void setAccountName(java.lang.String newAccountName)
public final Account.AccountType getAccountType()
public boolean getPreferredTwoLines(boolean defaultVal)
public int getPreferredSortOrder(int defaultOrder)
public boolean getPreferredSortAscending(boolean defaultVal)
public void setPreferredSortOrder(int newSortOrder)
public void setPreferredSortAscending(boolean ascending)
public void setPreferredTwoLines(boolean twoLines)
public final int getDepth()
public final java.util.List<Account> getPath()
public final int getSubAccountCount()
public java.util.List<Account> getSubAccounts(AcctFilter search)
public final Account getSubAccount(int i)
public final int indexOf(Account acct)
public final java.util.List<Account> getSubAccounts()
public final int getAccountNum()
public final Account getAccountByName(java.lang.String name)
protected final Account _getAccountByName(java.lang.String name)
public final Account getAccountByName(java.lang.String name, Account.AccountType acctType)
protected final Account _getAccountByName(java.lang.String name, Account.AccountType acctType)
public final Account getParentAccount()
public final void setParentAccount(Account newParentAccount)
public Account getDefaultCategory()
public void setDefaultCategory(Account acct)
public final int getNextCheckNumber()
public java.lang.String getTaxCategory()
public void setTaxCategory(java.lang.String taxCategory)
public final java.lang.String getIndentedName()
public java.lang.String toString()
toString
in class java.lang.Object
public final boolean isRegisterAccount()
protected void resetDirtyFlags()
public void setDirtyFlag()
public final boolean isDirty()
public void ensureAccountStructure()
public final void sortAccounts()
public boolean isAncestorOf(Account acct)
public boolean isDescendantOf(Account acct)
public void dumpAccounts()
public final Account getDefaultAccount(AcctFilter filter, java.lang.String accountIDKey)
filter
- a filter that the saved account must matchaccountIDKey
- a string identifying the setting for a stored accountpublic final void setDefaultAccount(java.lang.String accountIDKey, Account acct)
accountIDKey
- a string identifying the setting for a stored accountpublic java.lang.String getBankName()
public void setBankName(java.lang.String str)
public java.lang.String getBankAccountNumber()
public void setBankAccountNumber(java.lang.String str)
public void setDeductible(boolean deductible)
public boolean isDeductible()
public void setTaxable(boolean taxable)
public boolean isTaxable()
public void setTaxRelated(boolean taxRelated)
public boolean isTaxRelated()
public java.lang.String getInstitutionName()
public void setInstitutionName(java.lang.String str)
public java.lang.String getInvestAccountNumber()
public void setInvestAccountNumber(java.lang.String str)
public java.lang.String getAccountDescription()
public void setAccountDescription(java.lang.String description)
public java.lang.String getCardNumber()
public void setCardNumber(java.lang.String str)
public int getCardExpirationMonth()
public void setCardExpirationMonth(int expMonth)
public int getCardExpirationYear()
public void setCardExpirationYear(int expYear)
public double getAPRPercent()
public void setAPRPercent(double apr)
public long getAnnualFee()
public void setAnnualFee(long annualFee)
public long getCreditLimit()
public void setCreditLimit(long limit)
public double getPoints()
public void setPoints(double points)
public long getInitialPrincipal()
public void setInitialPrincipal(long principalAmt)
public void setInterestRate(double rate)
public double getInterestRate()
public void setPaymentsPerYear(int pmtsPerYear)
public int getPaymentsPerYear()
public void setNumPayments(int numPayments)
public int getNumPayments()
public boolean getReminder()
public void setReminder(boolean reminder)
public boolean checkedInitialTransfer()
public void setCheckedInitialTransfer()
public AbstractTxn getInitialTransfer()
public void setInitialTransfer(AbstractTxn txn)
public boolean getEscrow()
public void setEscrow(boolean check)
public void setEscrowPayment(long escrowPmt)
public long getEscrowPayment()
public void setCalcPmt(boolean calc)
public boolean getCalcPmt()
public void setFixedMonthlyPaymentAmount(long mthPmt)
public PaymentSchedule getPaymentSchedule()
public Account getInterestAccount()
public void setInterestAccount(Account acct)
public Account getEscrowAccount()
public void setEscrowAccount(Account acct)
public long getFixedMonthlyPaymentAmount()
public Account getInvstCommissionAcct()
public SecurityType getSecurityType()
public void setSecurityType(SecurityType newSecType)
public java.lang.String getSecuritySubType()
public void setSecuritySubType(java.lang.String subType)
public java.lang.String getCurrencyChoice()
public void setCurrencyChoice(java.lang.String curr)
public long getDividend()
public void setDividend(long dividend)
public java.lang.String getExchange()
public void setExchange(java.lang.String exchange)
public boolean getUsesAverageCost()
public void setUsesAverageCost(boolean method)
public java.lang.String getBroker()
public void setBroker(java.lang.String str)
public java.lang.String getBrokerPhone()
public void setBrokerPhone(java.lang.String brokerPhone)
public double getAPR()
public void setAPR(double rate)
public int getNumYears()
public void setNumYears(int yrs)
public CompoundingType getCompounding()
public void setCompounding(CompoundingType cmp)
public long getFaceValue()
public void setFaceValue(long value)
public long getMaturity()
public void setMaturity(long date)
public int getBondType()
public void setBondType(int type)
public boolean getPut()
public void setPut(boolean put)
public double getOptionPrice()
public void setOptionPrice(double price)
public long getStrikePrice()
public void setStrikePrice(long strike)
public int getMonth()
public void setMonth(int month)
public int compareFullPathToAccount(Account account)
public int compareToAccount(Account acct)
public static Account makeAccount(AccountBook accountBook, Account.AccountType accountType, Account parent)