Interface OnlineAccountProxy
public interface OnlineAccountProxy
This interface serves as an abstraction for the information associated with
a local account.
-
Method Summary
Modifier and Type Method Description java.lang.StringgetAccountKey()Return a unique (within the context of the OnlineService) identifier for this account.intgetAccountMsgType()Return the message type that should be used for messages about this account.CurrencyTypegetCurrency()Return the list of downloaded transactions that is associated with this account.OnlineTxnListgetDownloadedTxns()Return the list of downloaded transactions that is associated with this account.java.lang.StringgetOFXAccountKey()java.lang.StringgetOFXAccountNumber()java.lang.StringgetOFXAccountType()java.lang.StringgetOFXBranchID()java.lang.StringgetOFXBrokerID()longgetOFXLastTxnUpdate()Get the date of the last transaction download.java.lang.StringgetOFXRoutingNumber()Return the routing number for the accountOnlinePayeeListgetPayees()OnlinePaymentListgetPayments()booleanisCreditCard()Return true if this account is a credit card accountbooleanisInvestment()Return true if this account is an investment accountvoidsetOFXLastTxnUpdate(long updateDate)Store the date of the last transaction download.voidsetOnlineAvailBalance(long amount, long date)Sets the available online balance of the account to the amount reported by the online service.voidsetOnlineLedgerBalance(long amount, long date)Sets the 'online' balance of the account to the amount reported by the online service.
-
Method Details
-
getOFXBrokerID
java.lang.String getOFXBrokerID() -
getOFXAccountNumber
java.lang.String getOFXAccountNumber() -
getOFXRoutingNumber
java.lang.String getOFXRoutingNumber()Return the routing number for the account -
getOFXBranchID
java.lang.String getOFXBranchID() -
getOFXAccountType
java.lang.String getOFXAccountType() -
getOFXAccountKey
java.lang.String getOFXAccountKey() -
getAccountKey
java.lang.String getAccountKey()Return a unique (within the context of the OnlineService) identifier for this account. -
getOFXLastTxnUpdate
long getOFXLastTxnUpdate()Get the date of the last transaction download. -
setOFXLastTxnUpdate
void setOFXLastTxnUpdate(long updateDate)Store the date of the last transaction download. -
getAccountMsgType
int getAccountMsgType()Return the message type that should be used for messages about this account. This should be one of OnlineService.MESSAGE_TYPE_BANK, MESSAGE_TYPE_INVESTMENT or MESSAGE_TYPE_CREDITCARD. -
isCreditCard
boolean isCreditCard()Return true if this account is a credit card account -
isInvestment
boolean isInvestment()Return true if this account is an investment account -
getDownloadedTxns
OnlineTxnList getDownloadedTxns()Return the list of downloaded transactions that is associated with this account. -
getPayees
OnlinePayeeList getPayees() -
getPayments
OnlinePaymentList getPayments() -
getCurrency
CurrencyType getCurrency()Return the list of downloaded transactions that is associated with this account. -
setOnlineLedgerBalance
void setOnlineLedgerBalance(long amount, long date)Sets the 'online' balance of the account to the amount reported by the online service. -
setOnlineAvailBalance
void setOnlineAvailBalance(long amount, long date)Sets the available online balance of the account to the amount reported by the online service.
-