Interface OnlineAccountProxy


  • public interface OnlineAccountProxy
    This interface serves as an abstraction for the information associated with a local account.
    • Method Detail

      • 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.
      • 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.