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.String
getAccountKey()
Return a unique (within the context of the OnlineService) identifier for this account.int
getAccountMsgType()
Return the message type that should be used for messages about this account.CurrencyType
getCurrency()
Return the list of downloaded transactions that is associated with this account.OnlineTxnList
getDownloadedTxns()
Return the list of downloaded transactions that is associated with this account.java.lang.String
getOFXAccountKey()
java.lang.String
getOFXAccountNumber()
java.lang.String
getOFXAccountType()
java.lang.String
getOFXBranchID()
java.lang.String
getOFXBrokerID()
long
getOFXLastTxnUpdate()
Get the date of the last transaction download.java.lang.String
getOFXRoutingNumber()
Return the routing number for the accountOnlinePayeeList
getPayees()
OnlinePaymentList
getPayments()
boolean
isCreditCard()
Return true if this account is a credit card accountboolean
isInvestment()
Return true if this account is an investment accountvoid
setOFXLastTxnUpdate(long updateDate)
Store the date of the last transaction download.void
setOnlineAvailBalance(long amount, long date)
Sets the available online balance of the account to the amount reported by the online service.void
setOnlineLedgerBalance(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.
-