Class OnlineService
java.lang.Object
com.infinitekind.moneydance.model.MoneydanceSyncableItem
com.infinitekind.moneydance.model.OnlineService
- All Implemented Interfaces:
com.infinitekind.tiksync.SyncableItem
public class OnlineService extends MoneydanceSyncableItem
This class describes one online service to which Moneydance can connect.
This is generally mean to mean a direct OFX service.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACCT_TYPE_CHECKING
static java.lang.String
ACCT_TYPE_CREDIT_CARD
static java.lang.String
ACCT_TYPE_INVESTMENT
static java.lang.String
ACCT_TYPE_LINE_OF_CREDIT
static java.lang.String
ACCT_TYPE_MONEY_MKT
static java.lang.String
ACCT_TYPE_SAVINGS
static java.lang.String
DEFAULT_OFX_VERSION
static java.lang.String
DEFAULT_REQ_REALM
static java.lang.String
ITEM_KEY_FI_TIK_ID
static int
MESSAGE_TYPE_BANKING
static int
MESSAGE_TYPE_BILLDIR
static int
MESSAGE_TYPE_BILLPAY
static int
MESSAGE_TYPE_CREDITCARD
static int
MESSAGE_TYPE_EMAIL
static int
MESSAGE_TYPE_INTERBANKXFR
static int
MESSAGE_TYPE_INVESTMENT
static int
MESSAGE_TYPE_PROF
static int
MESSAGE_TYPE_SECLIST
static int
MESSAGE_TYPE_SIGNON
static int
MESSAGE_TYPE_SIGNUP
static int
MESSAGE_TYPE_WIREXFR
static java.lang.String
PASSWD_TYPE_FIXED
static java.lang.String
PASSWD_TYPE_HWTOKEN
static java.lang.String
PASSWD_TYPE_ONETIME
static java.lang.String
SYNCABLE_TYPE_VALUE
Fields inherited from class com.infinitekind.moneydance.model.MoneydanceSyncableItem
book, info, SECURITY_SUBTYPES_ITEM_TYPE
-
Constructor Summary
Constructors Constructor Description OnlineService(AccountBook book)
OnlineService(AccountBook book, StreamTable legacyInfo)
-
Method Summary
Modifier and Type Method Description void
cacheAuthentication(java.lang.String authKey, java.lang.String authObj)
Store an authentication object to be used later.void
clearAuthenticationCache()
Clear the cache of all authentication objects.void
dumpInfo()
boolean
getAlwaysSendDateRange()
java.lang.String
getAppID(java.lang.String defaultVal)
Return the application ID to use when connecting to this bank.java.lang.String
getAppVersion(java.lang.String defaultVal)
Return the application version to use when connecting to this bank.java.util.List<OnlineAccountInfo>
getAvailableAccounts()
boolean
getBankCanEmail()
boolean
getBankCanNotify()
boolean
getBankClosingAvail()
boolean
getBankXfrCanModifyModels()
boolean
getBankXfrCanModifyTransfers()
boolean
getBankXfrCanScheduleRecurring()
boolean
getBankXfrCanScheduleTransfers()
int
getBankXfrDaysWithdrawn()
int
getBankXfrDefaultDaysToPay()
int
getBankXfrModelWindow()
boolean
getBankXfrNeedsTAN()
java.util.List<java.lang.String>
getBankXfrProcessingDaysOff()
java.lang.String
getBankXfrProcessingEndTime()
boolean
getBankXfrSupportsDTAvail()
boolean
getBillPayCanAddPayee()
boolean
getBillPayCanModPayments()
int
getBillPayDaysWithdrawn()
int
getBillPayDefaultDaysToPay()
boolean
getBillPayHasExtendedPmt()
boolean
getBillPayNeedsTANPayee()
boolean
getBillPayNeedsTANPayment()
int
getBillPayPostProcessingWindow()
java.util.List<java.lang.String>
getBillPayProcessingDaysOff()
java.lang.String
getBillPayProcessingEndTime()
boolean
getBillPaySupportsDifftFirstPmt()
boolean
getBillPaySupportsDifftLastPmt()
boolean
getBillPaySupportsDtAvail()
boolean
getBillPaySupportsPmtByAddr()
boolean
getBillPaySupportsPmtByPayeeId()
boolean
getBillPaySupportsPmtByXfr()
boolean
getBillPaySupportsStatusModRs()
int
getBillPayXfrDaysWith()
int
getBillPayXfrDefaultDaysToPay()
java.net.URL
getBootstrapURL()
java.lang.String
getBootstrapURLString()
java.lang.String
getCachedAuthentication(java.lang.String authKey)
Retrieve the authentication object stored by the given keyboolean
getClientIDRequired(java.lang.String realm)
boolean
getCreditCardClosingAvail()
java.lang.String
getCustServicePhone()
java.lang.String
getDateAvailAcctsUpdated()
long
getDateUpdated()
boolean
getEmailSupportsGeneric()
boolean
getEmailSupportsGetMime()
java.lang.String
getFIAddress1()
java.lang.String
getFIAddress2()
java.lang.String
getFIAddress3()
java.lang.String
getFICity()
java.lang.String
getFICountry()
java.lang.String
getFIEmail()
java.lang.String
getFIId()
java.lang.String
getFIName()
java.lang.String
getFIOrg()
java.lang.String
getFIState()
java.lang.String
getFIUrl()
boolean
getFIUrlIsRedirect()
java.lang.String
getFIZip()
boolean
getIgnoreTxnsBeforeLastUpdate()
java.util.List<java.lang.String>
getInvalidAcctTypes()
java.lang.String
getInvstBrokerID()
Gets the default Broker ID to use with this info, or an empty string if none is known.boolean
getInvstCanDownloadBalances()
Get whether or not the server can provide balances for accountsboolean
getInvstCanDownloadOOs()
Get whether or not the server can provide open ordersboolean
getInvstCanDownloadPositions()
Get whether or not the server can provide positions on securitiesboolean
getInvstCanDownloadTxns()
Get whether or not the investment server can provide transactionsboolean
getInvstCanEmail()
Get whether or not the server can exchange investment email messagesjava.lang.String
getLastTransactionID()
Returns a string indicating the last value stored in a call to setCurrentTransactionID(), or null if setLastTransactionID was never called.OnlineMailList
getMail()
java.lang.String
getMailListSyncToken(OnlineAccountProxy account)
Gets the synchronization token for the info-wide mail listint
getMaxFITIDLength()
int
getMaxPasswdLength(java.lang.String realm)
int
getMinPasswdLength(java.lang.String realm)
java.lang.String
getMsgSetLanguage(int messageType)
boolean
getMsgSetRspnsFileErrors(int messageType)
java.lang.String
getMsgSetSecurity(int messageType)
java.lang.String
getMsgSetSignonRealm(int messageType)
java.lang.String
getMsgSetSyncMode(int messageType)
boolean
getMsgSetTransportSecure(int messageType)
java.net.URL
getMsgSetURL(int messageType)
int
getMsgSetVersion(int messageType)
boolean
getMustChngPINFirst(java.lang.String realm)
java.lang.String
getOFXVersion()
boolean
getPasswdCanHaveSpaces(java.lang.String realm)
boolean
getPasswdCanHaveSpecialChars(java.lang.String realm)
boolean
getPasswdCaseSensitive(java.lang.String realm)
java.lang.String
getPasswdCharType(java.lang.String realm)
java.lang.String
getPasswdType(java.lang.String realm)
OnlinePayee
getPayeeForPayment(OnlineAccountProxy account, OnlinePayment payment)
Get the payee object that is associated with the given payment.java.lang.String
getPayeeListSyncToken(OnlineAccountProxy account)
OnlinePayeeList
getPayees(OnlineAccountProxy account)
java.lang.String
getPaymentListSyncToken(OnlineAccountProxy account)
OnlinePaymentList
getPayments(OnlineAccountProxy account)
java.util.List<java.lang.String>
getRealms()
boolean
getSecListCanDownloadSecurities()
Get whether or not the server can provide securitiesjava.lang.String
getServiceId()
java.lang.String
getServiceType()
java.lang.String
getSessionCookie(java.lang.String authKey)
Get the session cookie associated with the given authentication key, if any.boolean
getSignupAcctsAvail()
boolean
getSignupCanActivateAcct()
boolean
getSignupCanChgUserInfo()
boolean
getSignupCanPreauth()
boolean
getSignupClientAcctNumReq()
set whether or not an account number is required for client enrollment.boolean
getSignupViaClient()
boolean
getSignupViaOther()
java.lang.String
getSignupViaOtherMsg()
boolean
getSignupViaWeb()
java.lang.String
getSignupViaWebUrl()
get the url to be used for web-based enrollment.boolean
getStopChkCanUseDescription()
boolean
getStopChkCanUseRange()
java.lang.String
getStopChkFee()
java.util.List<java.lang.String>
getStopChkProcessingDaysOff()
java.lang.String
getStopChkProcessingEndTime()
java.lang.String
getSyncItemType()
Subclasses should override this to return a static string identifying their type of objectjava.lang.String
getTechServicePhone()
java.lang.String
getTIKServiceID()
int
getTxnDownloadOverlap()
When downloading transactions, request transactions from this many days prior to the date of the most recent transaction from the last download.java.lang.String
getUpdatedFIId()
java.lang.String
getUpdatedFIOrg()
boolean
getUseBPFileUIDs()
Return true iff the OFX client should use the FILEUID mechanism for bill payment messages.boolean
getUseClientSpecificUIDS()
boolean
getUseFileUIDs()
Return true if the OFX client should use the FILEUID mechanism for messages.boolean
getUseProfileRequest()
boolean
getUserCanChangePIN(java.lang.String realm)
java.lang.String
getUserId(java.lang.String realm, OnlineAccountProxy account)
Get the best user ID to use with the given realm and account.boolean
getUseShortDates()
Return true is info should use YYYYMMDD dates instead of YYYYMMDDHHSSboolean
isSameAs(OnlineService otherSvc)
boolean
isSameAs(StreamTable otherSvc)
void
mergeDataTables(java.util.Map<java.lang.String,java.lang.String> table)
This replaces any keys in the built-in info information with the keys and values from the given table.boolean
needsFIProfileCheck()
Returns true if the FI information needs to be refreshed.void
notifyModified()
void
resetRealmInfo()
Removes references to all of the current realms.void
setAvailableAccounts(java.util.List<OnlineAccountInfo> newAccts)
void
setBankCanEmail(boolean val)
void
setBankCanNotify(boolean val)
void
setBankClosingAvail(boolean val)
void
setBankXfrCanModifyModels(boolean val)
void
setBankXfrCanModifyTransfers(boolean val)
void
setBankXfrCanScheduleRecurring(boolean val)
void
setBankXfrCanScheduleTransfers(boolean val)
void
setBankXfrDaysWithdrawn(int days)
void
setBankXfrDefaultDaysToPay(int days)
void
setBankXfrModelWindow(int days)
void
setBankXfrNeedsTAN(boolean val)
void
setBankXfrProcessingDaysOff(java.lang.String[] vals)
void
setBankXfrProcessingEndTime(java.lang.String val)
void
setBankXfrSupportsDTAvail(boolean val)
void
setBillPayCanAddPayee(boolean val)
boolean
setBillPayCanModModels()
void
setBillPayCanModModels(boolean val)
void
setBillPayCanModPayments(boolean val)
void
setBillPayDaysWithdrawn(int val)
void
setBillPayDefaultDaysToPay(int val)
void
setBillPayHasExtendedPmt(boolean val)
int
setBillPayModelWindow()
void
setBillPayModelWindow(int val)
void
setBillPayNeedsTANPayee(boolean val)
void
setBillPayNeedsTANPayment(boolean val)
void
setBillPayPostProcessingWindow(int val)
void
setBillPayProcessingDaysOff(java.lang.String[] vals)
void
setBillPayProcessingEndTime(java.lang.String val)
void
setBillPaySupportsDifftFirstPmt(boolean val)
void
setBillPaySupportsDifftLastPmt(boolean val)
void
setBillPaySupportsDtAvail(boolean val)
void
setBillPaySupportsPmtByAddr(boolean val)
void
setBillPaySupportsPmtByPayeeId(boolean val)
void
setBillPaySupportsPmtByXfr(boolean val)
void
setBillPaySupportsStatusModRs(boolean val)
void
setBillPayXfrDaysWith(int val)
void
setBillPayXfrDefaultDaysToPay(int val)
void
setBootstrapURL(java.net.URL bootstrapURL)
void
setClientIDRequired(java.lang.String realm, boolean val)
void
setCreditCardClosingAvail(boolean val)
void
setCustServicePhone(java.lang.String val)
void
setDateAvailAcctsUpdated(java.lang.String newVal)
void
setDateUpdated(long dateUpdated)
void
setEmailSupportsGeneric(boolean val)
void
setEmailSupportsGetMime(boolean val)
void
setFIAddress1(java.lang.String addr1)
void
setFIAddress2(java.lang.String addr2)
void
setFIAddress3(java.lang.String addr3)
void
setFICity(java.lang.String city)
void
setFICountry(java.lang.String country)
void
setFIEmail(java.lang.String val)
void
setFIId(java.lang.String newFIID)
void
setFIName(java.lang.String name)
void
setFIOrg(java.lang.String newFIOrg)
void
setFIState(java.lang.String state)
void
setFIUrl(java.lang.String url)
void
setFIUrlIsRedirect(boolean val)
void
setFIZip(java.lang.String zip)
void
setInvalidAcctTypes(java.lang.String[] vals)
void
setInvstBrokerID(java.lang.String brokerID)
Sets a default Broker ID to use with this info.void
setInvstCanDownloadBalances(boolean val)
Set whether or not the server can provide balances for accountsvoid
setInvstCanDownloadOOs(boolean val)
Set whether or not the server can provide open ordersvoid
setInvstCanDownloadPositions(boolean val)
Set whether or not the server can provide positions on securitiesvoid
setInvstCanDownloadTxns(boolean val)
Set whether or not the investment server can provide transactionsvoid
setInvstCanEmail(boolean val)
Set whether or not the server can exchange investment email messagesvoid
setLastTransactionID(java.lang.String txnID)
Sets the last transaction ID used.void
setMailListSyncToken(OnlineAccountProxy account, java.lang.String syncToken)
Sets the synchronization token for the info-wide mail listvoid
setMaxPasswdLength(java.lang.String realm, int val)
void
setMinPasswdLength(java.lang.String realm, int val)
void
setMsgSetLanguage(int messageType, java.lang.String newVal)
void
setMsgSetRspnsFileErrors(int messageType, boolean newVal)
void
setMsgSetSecurity(int messageType, java.lang.String newVal)
void
setMsgSetSignonRealm(int messageType, java.lang.String newVal)
void
setMsgSetSyncMode(int messageType, java.lang.String newVal)
void
setMsgSetTransportSecure(int messageType, boolean newVal)
void
setMsgSetURL(int messageType, java.net.URL newVal)
void
setMsgSetVersion(int messageType, int newVal)
void
setMustChngPINFirst(java.lang.String realm, boolean val)
void
setPasswdCanHaveSpaces(java.lang.String realm, boolean val)
void
setPasswdCanHaveSpecialChars(java.lang.String realm, boolean val)
void
setPasswdCaseSensitive(java.lang.String realm, boolean val)
void
setPasswdCharType(java.lang.String realm, java.lang.String val)
void
setPasswdType(java.lang.String realm, java.lang.String val)
void
setPayeeListSyncToken(OnlineAccountProxy account, java.lang.String token)
void
setPaymentListSyncToken(OnlineAccountProxy account, java.lang.String token)
void
setProfileUpdateNeeded()
Sets a flag indicating that the info profile should be re-fetchedvoid
setSecListCanDownloadSecurities(boolean val)
Set whether or not the server can provide securitiesvoid
setSessionCookie(java.lang.String authKey, java.lang.String sessionCookie)
Set the session cookie associated with the given authentication keyvoid
setSignupAcctsAvail(boolean val)
void
setSignupCanActivateAcct(boolean val)
void
setSignupCanChgUserInfo(boolean val)
void
setSignupCanPreauth(boolean val)
void
setSignupClientAcctNumReq(boolean val)
returns true if an account number is required for client enrollment.void
setSignupViaClient(boolean val)
void
setSignupViaOther(boolean val)
void
setSignupViaOtherMsg(java.lang.String msg)
void
setSignupViaWeb(boolean val)
void
setSignupViaWebUrl(java.lang.String url)
set the url to be used for web-based enrollment.void
setStopChkCanUseDescription(boolean val)
void
setStopChkCanUseRange(boolean val)
void
setStopChkFee(java.lang.String feeStr)
void
setStopChkProcessingDaysOff(java.lang.String[] vals)
void
setStopChkProcessingEndTime(java.lang.String val)
void
setTechServicePhone(java.lang.String val)
void
setUpdatedProfile()
Sets the flag indicating the time that the info information was checkedvoid
setUserCanChangePIN(java.lang.String realm, boolean val)
void
setUserId(java.lang.String realm, OnlineAccountProxy account, java.lang.String userId)
void
setUsesFITag(boolean usesFITag)
Sets whether or not this info is identified by an FI tag (ORG and ID)boolean
shouldDecrementLastTxnDate()
Return whether or not the last date in a transaction download is decremented before storing it to use as the first date in the next transaction download.boolean
supportsMsgSet(int messageType)
java.lang.String
toString()
boolean
usesBillPayExtendedAcctTo()
boolean
usesFITag()
Returns true if this info is identified by an FI tag (ORG and ID) or notboolean
usesPTTAcctIDField()
boolean
useTerribleTLSV1Hack()
Methods inherited from class com.infinitekind.moneydance.model.MoneydanceSyncableItem
addParameters, addTags, autoSyncsChanges, decodeKeywordList, deleteItem, doesParameterExist, duplicate, encodeKeywordList, equals, getAccountParameter, getAddress, getAddressParameter, getBook, getBooleanParameter, getCurrencyParameter, getCurrencyParameter, getCurrencyParameter, getDoubleParameter, getIntParameter, getKeywords, getLongParameter, getOriginalItem, getParameter, getParameter, getParameterCount, getParameterKeys, getPreference, getPreferenceBoolean, getPreferenceDouble, getPreferenceInt, getPreferenceIntArray, getPreferenceLong, getPreferenceStringList, getPreferenceSublist, getPreferenceSubset, getStringListParameter, getSyncInfo, getSyncTimestamp, getUUID, hasBeenSynced, hashCode, hasKeywordSubstring, initialize, isInEditingMode, isSyncable, itemWasUpdated, itemWasUpdated, itemWillSync, itemWillSync, makeSyncableItem, removeParameter, setAccountParameter, setAddress, setAddressParameter, setCurrencyParameter, setCurrencyParameter, setCurrencyParameter, setDirty, setEditingMode, setKeywords, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameterNoNotify, setPreference, setPreference, setPreference, syncItem
-
Field Details
-
SYNCABLE_TYPE_VALUE
public static final java.lang.String SYNCABLE_TYPE_VALUE- See Also:
- Constant Field Values
-
ITEM_KEY_FI_TIK_ID
public static final java.lang.String ITEM_KEY_FI_TIK_ID- See Also:
- Constant Field Values
-
DEFAULT_OFX_VERSION
public static final java.lang.String DEFAULT_OFX_VERSION- See Also:
- Constant Field Values
-
DEFAULT_REQ_REALM
public static final java.lang.String DEFAULT_REQ_REALM- See Also:
- Constant Field Values
-
MESSAGE_TYPE_PROF
public static final int MESSAGE_TYPE_PROF- See Also:
- Constant Field Values
-
MESSAGE_TYPE_SIGNON
public static final int MESSAGE_TYPE_SIGNON- See Also:
- Constant Field Values
-
MESSAGE_TYPE_SIGNUP
public static final int MESSAGE_TYPE_SIGNUP- See Also:
- Constant Field Values
-
MESSAGE_TYPE_BANKING
public static final int MESSAGE_TYPE_BANKING- See Also:
- Constant Field Values
-
MESSAGE_TYPE_CREDITCARD
public static final int MESSAGE_TYPE_CREDITCARD- See Also:
- Constant Field Values
-
MESSAGE_TYPE_INVESTMENT
public static final int MESSAGE_TYPE_INVESTMENT- See Also:
- Constant Field Values
-
MESSAGE_TYPE_INTERBANKXFR
public static final int MESSAGE_TYPE_INTERBANKXFR- See Also:
- Constant Field Values
-
MESSAGE_TYPE_WIREXFR
public static final int MESSAGE_TYPE_WIREXFR- See Also:
- Constant Field Values
-
MESSAGE_TYPE_BILLPAY
public static final int MESSAGE_TYPE_BILLPAY- See Also:
- Constant Field Values
-
MESSAGE_TYPE_EMAIL
public static final int MESSAGE_TYPE_EMAIL- See Also:
- Constant Field Values
-
MESSAGE_TYPE_SECLIST
public static final int MESSAGE_TYPE_SECLIST- See Also:
- Constant Field Values
-
MESSAGE_TYPE_BILLDIR
public static final int MESSAGE_TYPE_BILLDIR- See Also:
- Constant Field Values
-
PASSWD_TYPE_ONETIME
public static final java.lang.String PASSWD_TYPE_ONETIME- See Also:
- Constant Field Values
-
PASSWD_TYPE_HWTOKEN
public static final java.lang.String PASSWD_TYPE_HWTOKEN- See Also:
- Constant Field Values
-
PASSWD_TYPE_FIXED
public static final java.lang.String PASSWD_TYPE_FIXED- See Also:
- Constant Field Values
-
ACCT_TYPE_CHECKING
public static final java.lang.String ACCT_TYPE_CHECKING- See Also:
- Constant Field Values
-
ACCT_TYPE_SAVINGS
public static final java.lang.String ACCT_TYPE_SAVINGS- See Also:
- Constant Field Values
-
ACCT_TYPE_MONEY_MKT
public static final java.lang.String ACCT_TYPE_MONEY_MKT- See Also:
- Constant Field Values
-
ACCT_TYPE_LINE_OF_CREDIT
public static final java.lang.String ACCT_TYPE_LINE_OF_CREDIT- See Also:
- Constant Field Values
-
ACCT_TYPE_CREDIT_CARD
public static final java.lang.String ACCT_TYPE_CREDIT_CARD- See Also:
- Constant Field Values
-
ACCT_TYPE_INVESTMENT
public static final java.lang.String ACCT_TYPE_INVESTMENT- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getSyncItemType
public final java.lang.String getSyncItemType()Description copied from class:MoneydanceSyncableItem
Subclasses should override this to return a static string identifying their type of object- Specified by:
getSyncItemType
in interfacecom.infinitekind.tiksync.SyncableItem
- Overrides:
getSyncItemType
in classMoneydanceSyncableItem
-
cacheAuthentication
public void cacheAuthentication(java.lang.String authKey, java.lang.String authObj)Store an authentication object to be used later. If the given authObj is null, then it unsets the authentication. -
getCachedAuthentication
public java.lang.String getCachedAuthentication(java.lang.String authKey)Retrieve the authentication object stored by the given key -
clearAuthenticationCache
public void clearAuthenticationCache()Clear the cache of all authentication objects. -
getSessionCookie
public java.lang.String getSessionCookie(java.lang.String authKey)Get the session cookie associated with the given authentication key, if any. -
setSessionCookie
public void setSessionCookie(java.lang.String authKey, java.lang.String sessionCookie)Set the session cookie associated with the given authentication key -
shouldDecrementLastTxnDate
public boolean shouldDecrementLastTxnDate()Return whether or not the last date in a transaction download is decremented before storing it to use as the first date in the next transaction download. If this returns false (aka decrement_last_txn_date = n) then it is possible to avoid problems such as the one with Discover where they send the same transactions with different transaction IDs. Setting decrement_last_txn_date to false allows us to avoid overlapping date windows when downloading transactions. -
getTxnDownloadOverlap
public int getTxnDownloadOverlap()When downloading transactions, request transactions from this many days prior to the date of the most recent transaction from the last download. -
getOFXVersion
public java.lang.String getOFXVersion() -
getUseBPFileUIDs
public boolean getUseBPFileUIDs()Return true iff the OFX client should use the FILEUID mechanism for bill payment messages. -
getUseFileUIDs
public boolean getUseFileUIDs()Return true if the OFX client should use the FILEUID mechanism for messages. -
getPayeeForPayment
Get the payee object that is associated with the given payment. The payment object must have a payee list ID for this to work. -
getUseProfileRequest
public boolean getUseProfileRequest() -
getUseShortDates
public boolean getUseShortDates()Return true is info should use YYYYMMDD dates instead of YYYYMMDDHHSS -
needsFIProfileCheck
public boolean needsFIProfileCheck()Returns true if the FI information needs to be refreshed. This returns true if the force_fi_refresh flag is set in the service information or if the FI information hasn't been refreshed in at least a day and the no_fi_refresh flag isn't set in the info.. -
getAppID
public java.lang.String getAppID(java.lang.String defaultVal)Return the application ID to use when connecting to this bank. -
getAppVersion
public java.lang.String getAppVersion(java.lang.String defaultVal)Return the application version to use when connecting to this bank. -
usesFITag
public boolean usesFITag()Returns true if this info is identified by an FI tag (ORG and ID) or not -
setUsesFITag
public void setUsesFITag(boolean usesFITag)Sets whether or not this info is identified by an FI tag (ORG and ID) -
setUpdatedProfile
public void setUpdatedProfile()Sets the flag indicating the time that the info information was checked -
setProfileUpdateNeeded
public void setProfileUpdateNeeded()Sets a flag indicating that the info profile should be re-fetched -
isSameAs
-
isSameAs
-
getServiceId
public java.lang.String getServiceId() -
getTIKServiceID
public java.lang.String getTIKServiceID() -
getLastTransactionID
public java.lang.String getLastTransactionID()Returns a string indicating the last value stored in a call to setCurrentTransactionID(), or null if setLastTransactionID was never called. -
setLastTransactionID
public void setLastTransactionID(java.lang.String txnID)Sets the last transaction ID used. This can be used to calculate the next transaction ID. -
getMaxFITIDLength
public int getMaxFITIDLength() -
getPayees
-
getMail
-
getPayments
-
mergeDataTables
public void mergeDataTables(java.util.Map<java.lang.String,java.lang.String> table)This replaces any keys in the built-in info information with the keys and values from the given table. -
getAvailableAccounts
-
setAvailableAccounts
-
getDateAvailAcctsUpdated
public java.lang.String getDateAvailAcctsUpdated() -
setDateAvailAcctsUpdated
public void setDateAvailAcctsUpdated(java.lang.String newVal) -
usesBillPayExtendedAcctTo
public boolean usesBillPayExtendedAcctTo() -
usesPTTAcctIDField
public boolean usesPTTAcctIDField() -
getBootstrapURL
public java.net.URL getBootstrapURL() -
getBootstrapURLString
public java.lang.String getBootstrapURLString() -
setBootstrapURL
public void setBootstrapURL(java.net.URL bootstrapURL) -
getServiceType
public java.lang.String getServiceType() -
getFIName
public java.lang.String getFIName() -
setFIName
public void setFIName(java.lang.String name) -
getMailListSyncToken
Gets the synchronization token for the info-wide mail list -
setMailListSyncToken
Sets the synchronization token for the info-wide mail list -
getPayeeListSyncToken
-
setPayeeListSyncToken
-
getPaymentListSyncToken
-
setPaymentListSyncToken
-
getUpdatedFIId
public java.lang.String getUpdatedFIId() -
getFIId
public java.lang.String getFIId() -
setFIId
public void setFIId(java.lang.String newFIID) -
getUpdatedFIOrg
public java.lang.String getUpdatedFIOrg() -
getFIOrg
public java.lang.String getFIOrg() -
setFIOrg
public void setFIOrg(java.lang.String newFIOrg) -
getUserId
Get the best user ID to use with the given realm and account. If an account-specific user ID is not found, the realm-specific ID is used. -
setUserId
-
getMinPasswdLength
public int getMinPasswdLength(java.lang.String realm) -
setMinPasswdLength
public void setMinPasswdLength(java.lang.String realm, int val) -
getMaxPasswdLength
public int getMaxPasswdLength(java.lang.String realm) -
setMaxPasswdLength
public void setMaxPasswdLength(java.lang.String realm, int val) -
getPasswdCharType
public java.lang.String getPasswdCharType(java.lang.String realm) -
setPasswdCharType
public void setPasswdCharType(java.lang.String realm, java.lang.String val) -
getPasswdCaseSensitive
public boolean getPasswdCaseSensitive(java.lang.String realm) -
setPasswdCaseSensitive
public void setPasswdCaseSensitive(java.lang.String realm, boolean val) -
getPasswdCanHaveSpecialChars
public boolean getPasswdCanHaveSpecialChars(java.lang.String realm) -
setPasswdCanHaveSpecialChars
public void setPasswdCanHaveSpecialChars(java.lang.String realm, boolean val) -
getPasswdCanHaveSpaces
public boolean getPasswdCanHaveSpaces(java.lang.String realm) -
setPasswdCanHaveSpaces
public void setPasswdCanHaveSpaces(java.lang.String realm, boolean val) -
getUserCanChangePIN
public boolean getUserCanChangePIN(java.lang.String realm) -
setUserCanChangePIN
public void setUserCanChangePIN(java.lang.String realm, boolean val) -
getMustChngPINFirst
public boolean getMustChngPINFirst(java.lang.String realm) -
setMustChngPINFirst
public void setMustChngPINFirst(java.lang.String realm, boolean val) -
getPasswdType
public java.lang.String getPasswdType(java.lang.String realm) -
setPasswdType
public void setPasswdType(java.lang.String realm, java.lang.String val) -
getClientIDRequired
public boolean getClientIDRequired(java.lang.String realm) -
setClientIDRequired
public void setClientIDRequired(java.lang.String realm, boolean val) -
setFIAddress1
public void setFIAddress1(java.lang.String addr1) -
getFIAddress1
public java.lang.String getFIAddress1() -
setFIAddress2
public void setFIAddress2(java.lang.String addr2) -
getFIAddress2
public java.lang.String getFIAddress2() -
setFIAddress3
public void setFIAddress3(java.lang.String addr3) -
getFIAddress3
public java.lang.String getFIAddress3() -
setFICity
public void setFICity(java.lang.String city) -
getFICity
public java.lang.String getFICity() -
setFIState
public void setFIState(java.lang.String state) -
getFIState
public java.lang.String getFIState() -
setFIZip
public void setFIZip(java.lang.String zip) -
getFIZip
public java.lang.String getFIZip() -
setFICountry
public void setFICountry(java.lang.String country) -
getFICountry
public java.lang.String getFICountry() -
setFIUrl
public void setFIUrl(java.lang.String url) -
getFIUrl
public java.lang.String getFIUrl() -
setFIUrlIsRedirect
public void setFIUrlIsRedirect(boolean val) -
getFIUrlIsRedirect
public boolean getFIUrlIsRedirect() -
setCustServicePhone
public void setCustServicePhone(java.lang.String val) -
getCustServicePhone
public java.lang.String getCustServicePhone() -
setTechServicePhone
public void setTechServicePhone(java.lang.String val) -
getTechServicePhone
public java.lang.String getTechServicePhone() -
setFIEmail
public void setFIEmail(java.lang.String val) -
getFIEmail
public java.lang.String getFIEmail() -
notifyModified
public void notifyModified() -
getRealms
public java.util.List<java.lang.String> getRealms() -
setDateUpdated
public void setDateUpdated(long dateUpdated) -
getDateUpdated
public long getDateUpdated() -
getAlwaysSendDateRange
public boolean getAlwaysSendDateRange() -
supportsMsgSet
public boolean supportsMsgSet(int messageType) -
getMsgSetVersion
public int getMsgSetVersion(int messageType) -
getMsgSetURL
public java.net.URL getMsgSetURL(int messageType) -
getMsgSetSecurity
public java.lang.String getMsgSetSecurity(int messageType) -
getMsgSetTransportSecure
public boolean getMsgSetTransportSecure(int messageType) -
getMsgSetSignonRealm
public java.lang.String getMsgSetSignonRealm(int messageType) -
getMsgSetLanguage
public java.lang.String getMsgSetLanguage(int messageType) -
getMsgSetSyncMode
public java.lang.String getMsgSetSyncMode(int messageType) -
getMsgSetRspnsFileErrors
public boolean getMsgSetRspnsFileErrors(int messageType) -
resetRealmInfo
public void resetRealmInfo()Removes references to all of the current realms. DANGER!! -
setMsgSetVersion
public void setMsgSetVersion(int messageType, int newVal) -
setMsgSetURL
public void setMsgSetURL(int messageType, java.net.URL newVal) -
setMsgSetSecurity
public void setMsgSetSecurity(int messageType, java.lang.String newVal) -
setMsgSetTransportSecure
public void setMsgSetTransportSecure(int messageType, boolean newVal) -
setMsgSetSignonRealm
public void setMsgSetSignonRealm(int messageType, java.lang.String newVal) -
setMsgSetLanguage
public void setMsgSetLanguage(int messageType, java.lang.String newVal) -
setMsgSetSyncMode
public void setMsgSetSyncMode(int messageType, java.lang.String newVal) -
setMsgSetRspnsFileErrors
public void setMsgSetRspnsFileErrors(int messageType, boolean newVal) -
setSignupViaClient
public void setSignupViaClient(boolean val) -
getSignupViaClient
public boolean getSignupViaClient() -
setSignupViaWeb
public void setSignupViaWeb(boolean val) -
getSignupViaWeb
public boolean getSignupViaWeb() -
setSignupViaOther
public void setSignupViaOther(boolean val) -
getSignupViaOther
public boolean getSignupViaOther() -
setSignupViaOtherMsg
public void setSignupViaOtherMsg(java.lang.String msg) -
getSignupViaOtherMsg
public java.lang.String getSignupViaOtherMsg() -
setSignupCanPreauth
public void setSignupCanPreauth(boolean val) -
getSignupCanPreauth
public boolean getSignupCanPreauth() -
setSignupClientAcctNumReq
public void setSignupClientAcctNumReq(boolean val)returns true if an account number is required for client enrollment. -
getSignupClientAcctNumReq
public boolean getSignupClientAcctNumReq()set whether or not an account number is required for client enrollment. -
setSignupViaWebUrl
public void setSignupViaWebUrl(java.lang.String url)set the url to be used for web-based enrollment. -
getSignupViaWebUrl
public java.lang.String getSignupViaWebUrl()get the url to be used for web-based enrollment. -
setSignupCanChgUserInfo
public void setSignupCanChgUserInfo(boolean val) -
getSignupCanChgUserInfo
public boolean getSignupCanChgUserInfo() -
setSignupAcctsAvail
public void setSignupAcctsAvail(boolean val) -
getSignupAcctsAvail
public boolean getSignupAcctsAvail() -
setSignupCanActivateAcct
public void setSignupCanActivateAcct(boolean val) -
getSignupCanActivateAcct
public boolean getSignupCanActivateAcct() -
setInvalidAcctTypes
public void setInvalidAcctTypes(java.lang.String[] vals) -
getInvalidAcctTypes
public java.util.List<java.lang.String> getInvalidAcctTypes() -
setBankClosingAvail
public void setBankClosingAvail(boolean val) -
getBankClosingAvail
public boolean getBankClosingAvail() -
setBankXfrProcessingDaysOff
public void setBankXfrProcessingDaysOff(java.lang.String[] vals) -
getBankXfrProcessingDaysOff
public java.util.List<java.lang.String> getBankXfrProcessingDaysOff() -
setBankXfrProcessingEndTime
public void setBankXfrProcessingEndTime(java.lang.String val) -
getBankXfrProcessingEndTime
public java.lang.String getBankXfrProcessingEndTime() -
setBankXfrCanScheduleTransfers
public void setBankXfrCanScheduleTransfers(boolean val) -
getBankXfrCanScheduleTransfers
public boolean getBankXfrCanScheduleTransfers() -
setBankXfrCanScheduleRecurring
public void setBankXfrCanScheduleRecurring(boolean val) -
getBankXfrCanScheduleRecurring
public boolean getBankXfrCanScheduleRecurring() -
setBankXfrCanModifyTransfers
public void setBankXfrCanModifyTransfers(boolean val) -
getBankXfrCanModifyTransfers
public boolean getBankXfrCanModifyTransfers() -
setBankXfrCanModifyModels
public void setBankXfrCanModifyModels(boolean val) -
getBankXfrCanModifyModels
public boolean getBankXfrCanModifyModels() -
setBankXfrModelWindow
public void setBankXfrModelWindow(int days) -
getBankXfrModelWindow
public int getBankXfrModelWindow() -
setBankXfrDaysWithdrawn
public void setBankXfrDaysWithdrawn(int days) -
getBankXfrDaysWithdrawn
public int getBankXfrDaysWithdrawn() -
setBankXfrDefaultDaysToPay
public void setBankXfrDefaultDaysToPay(int days) -
getBankXfrDefaultDaysToPay
public int getBankXfrDefaultDaysToPay() -
setBankXfrNeedsTAN
public void setBankXfrNeedsTAN(boolean val) -
getBankXfrNeedsTAN
public boolean getBankXfrNeedsTAN() -
setBankXfrSupportsDTAvail
public void setBankXfrSupportsDTAvail(boolean val) -
getBankXfrSupportsDTAvail
public boolean getBankXfrSupportsDTAvail() -
setStopChkProcessingDaysOff
public void setStopChkProcessingDaysOff(java.lang.String[] vals) -
getStopChkProcessingDaysOff
public java.util.List<java.lang.String> getStopChkProcessingDaysOff() -
setStopChkProcessingEndTime
public void setStopChkProcessingEndTime(java.lang.String val) -
getStopChkProcessingEndTime
public java.lang.String getStopChkProcessingEndTime() -
setStopChkCanUseRange
public void setStopChkCanUseRange(boolean val) -
getStopChkCanUseRange
public boolean getStopChkCanUseRange() -
setStopChkCanUseDescription
public void setStopChkCanUseDescription(boolean val) -
getStopChkCanUseDescription
public boolean getStopChkCanUseDescription() -
setStopChkFee
public void setStopChkFee(java.lang.String feeStr) -
getStopChkFee
public java.lang.String getStopChkFee() -
setBankCanEmail
public void setBankCanEmail(boolean val) -
getBankCanEmail
public boolean getBankCanEmail() -
setBankCanNotify
public void setBankCanNotify(boolean val) -
getBankCanNotify
public boolean getBankCanNotify() -
setInvstBrokerID
public void setInvstBrokerID(java.lang.String brokerID)Sets a default Broker ID to use with this info. -
getInvstBrokerID
public java.lang.String getInvstBrokerID()Gets the default Broker ID to use with this info, or an empty string if none is known. -
setInvstCanDownloadTxns
public void setInvstCanDownloadTxns(boolean val)Set whether or not the investment server can provide transactions -
getInvstCanDownloadTxns
public boolean getInvstCanDownloadTxns()Get whether or not the investment server can provide transactions -
setInvstCanEmail
public void setInvstCanEmail(boolean val)Set whether or not the server can exchange investment email messages -
getInvstCanEmail
public boolean getInvstCanEmail()Get whether or not the server can exchange investment email messages -
setInvstCanDownloadOOs
public void setInvstCanDownloadOOs(boolean val)Set whether or not the server can provide open orders -
getInvstCanDownloadOOs
public boolean getInvstCanDownloadOOs()Get whether or not the server can provide open orders -
setInvstCanDownloadPositions
public void setInvstCanDownloadPositions(boolean val)Set whether or not the server can provide positions on securities -
getInvstCanDownloadPositions
public boolean getInvstCanDownloadPositions()Get whether or not the server can provide positions on securities -
setInvstCanDownloadBalances
public void setInvstCanDownloadBalances(boolean val)Set whether or not the server can provide balances for accounts -
getInvstCanDownloadBalances
public boolean getInvstCanDownloadBalances()Get whether or not the server can provide balances for accounts -
setSecListCanDownloadSecurities
public void setSecListCanDownloadSecurities(boolean val)Set whether or not the server can provide securities -
getSecListCanDownloadSecurities
public boolean getSecListCanDownloadSecurities()Get whether or not the server can provide securities -
setBillPayDaysWithdrawn
public void setBillPayDaysWithdrawn(int val) -
getBillPayDaysWithdrawn
public int getBillPayDaysWithdrawn() -
setBillPayDefaultDaysToPay
public void setBillPayDefaultDaysToPay(int val) -
getBillPayDefaultDaysToPay
public int getBillPayDefaultDaysToPay() -
setBillPayXfrDaysWith
public void setBillPayXfrDaysWith(int val) -
getBillPayXfrDaysWith
public int getBillPayXfrDaysWith() -
setBillPayXfrDefaultDaysToPay
public void setBillPayXfrDefaultDaysToPay(int val) -
getBillPayXfrDefaultDaysToPay
public int getBillPayXfrDefaultDaysToPay() -
setBillPayProcessingDaysOff
public void setBillPayProcessingDaysOff(java.lang.String[] vals) -
getBillPayProcessingDaysOff
public java.util.List<java.lang.String> getBillPayProcessingDaysOff() -
setBillPayProcessingEndTime
public void setBillPayProcessingEndTime(java.lang.String val) -
getBillPayProcessingEndTime
public java.lang.String getBillPayProcessingEndTime() -
setBillPayModelWindow
public void setBillPayModelWindow(int val) -
setBillPayModelWindow
public int setBillPayModelWindow() -
setBillPayPostProcessingWindow
public void setBillPayPostProcessingWindow(int val) -
getBillPayPostProcessingWindow
public int getBillPayPostProcessingWindow() -
setBillPaySupportsStatusModRs
public void setBillPaySupportsStatusModRs(boolean val) -
getBillPaySupportsStatusModRs
public boolean getBillPaySupportsStatusModRs() -
setBillPaySupportsPmtByAddr
public void setBillPaySupportsPmtByAddr(boolean val) -
getBillPaySupportsPmtByAddr
public boolean getBillPaySupportsPmtByAddr() -
setBillPaySupportsPmtByXfr
public void setBillPaySupportsPmtByXfr(boolean val) -
getBillPaySupportsPmtByXfr
public boolean getBillPaySupportsPmtByXfr() -
setBillPaySupportsPmtByPayeeId
public void setBillPaySupportsPmtByPayeeId(boolean val) -
getBillPaySupportsPmtByPayeeId
public boolean getBillPaySupportsPmtByPayeeId() -
setBillPayCanAddPayee
public void setBillPayCanAddPayee(boolean val) -
getBillPayCanAddPayee
public boolean getBillPayCanAddPayee() -
setBillPayHasExtendedPmt
public void setBillPayHasExtendedPmt(boolean val) -
getBillPayHasExtendedPmt
public boolean getBillPayHasExtendedPmt() -
setBillPayCanModPayments
public void setBillPayCanModPayments(boolean val) -
getBillPayCanModPayments
public boolean getBillPayCanModPayments() -
setBillPayCanModModels
public void setBillPayCanModModels(boolean val) -
setBillPayCanModModels
public boolean setBillPayCanModModels() -
setBillPaySupportsDifftFirstPmt
public void setBillPaySupportsDifftFirstPmt(boolean val) -
getBillPaySupportsDifftFirstPmt
public boolean getBillPaySupportsDifftFirstPmt() -
setBillPaySupportsDifftLastPmt
public void setBillPaySupportsDifftLastPmt(boolean val) -
getBillPaySupportsDifftLastPmt
public boolean getBillPaySupportsDifftLastPmt() -
setBillPayNeedsTANPayment
public void setBillPayNeedsTANPayment(boolean val) -
getBillPayNeedsTANPayment
public boolean getBillPayNeedsTANPayment() -
setBillPayNeedsTANPayee
public void setBillPayNeedsTANPayee(boolean val) -
getBillPayNeedsTANPayee
public boolean getBillPayNeedsTANPayee() -
setBillPaySupportsDtAvail
public void setBillPaySupportsDtAvail(boolean val) -
getBillPaySupportsDtAvail
public boolean getBillPaySupportsDtAvail() -
setCreditCardClosingAvail
public void setCreditCardClosingAvail(boolean val) -
getCreditCardClosingAvail
public boolean getCreditCardClosingAvail() -
setEmailSupportsGeneric
public void setEmailSupportsGeneric(boolean val) -
getEmailSupportsGeneric
public boolean getEmailSupportsGeneric() -
setEmailSupportsGetMime
public void setEmailSupportsGetMime(boolean val) -
getEmailSupportsGetMime
public boolean getEmailSupportsGetMime() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
dumpInfo
public void dumpInfo() -
getUseClientSpecificUIDS
public boolean getUseClientSpecificUIDS() -
useTerribleTLSV1Hack
public boolean useTerribleTLSV1Hack() -
getIgnoreTxnsBeforeLastUpdate
public boolean getIgnoreTxnsBeforeLastUpdate()
-