|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Txn
Method Summary | |
---|---|
Account |
getAccount()
Get the account associated with this transaction. |
int |
getCheckNumAsInt()
Get the check number as an integer (returns 0 if it's not an integer) |
java.lang.String |
getCheckNumber()
Get the checknumber associated with this transaction. |
long |
getDateEntered()
Get the date that this transaction was entered. |
int |
getDateInt()
Get the date of this transaction |
java.lang.String |
getDescription()
Get the description associated with this transaction. |
AbstractTxn |
getOtherTxn(int i)
Get the transaction that make up the other side of this transaction at the specified index. |
int |
getOtherTxnCount()
Get the number of transactions from the "other side" of this transaction. |
ParentTxn |
getParentTxn()
|
byte |
getStatus()
Get the status associated with this transaction. |
char |
getStatusChar()
Get a character that indicates the status of this transaction |
java.lang.String |
getTag(java.lang.String key)
Get the value associated with the given key (if any) in this transaction's set of tags. |
java.lang.String |
getTag(java.lang.String key,
java.lang.String defaultVal)
Get the value associated with the given key in this transactions set of tags. |
int |
getTaxDateInt()
Get the date of this transaction for tax purposes. |
java.lang.String |
getTransferType()
Get the type of transaction. |
long |
getTxnId()
Get the transaction ID. |
long |
getValue()
Get the value of this transaction, in the currency assigned to the account for this transaction. |
boolean |
isNew()
Returns whether or not this transaction should be considered "unread" since having been downloaded |
boolean |
isTransferTo(Account acct)
Check whether or not this transaction includes a transfer to the given account. |
void |
setStatus(byte newStatus)
Set the status associated with this transaction. |
boolean |
wasDownloaded()
Return true iff this transaction has a FI transaction ID associated with it. |
Method Detail |
---|
long getDateEntered()
int getDateInt()
int getTaxDateInt()
long getValue()
ParentTxn getParentTxn()
int getOtherTxnCount()
AbstractTxn getOtherTxn(int i)
boolean isTransferTo(Account acct)
java.lang.String getTransferType()
long getTxnId()
Account getAccount()
java.lang.String getDescription()
char getStatusChar()
byte getStatus()
void setStatus(byte newStatus)
java.lang.String getCheckNumber()
int getCheckNumAsInt()
boolean wasDownloaded()
boolean isNew()
java.lang.String getTag(java.lang.String key)
java.lang.String getTag(java.lang.String key, java.lang.String defaultVal)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |