TxTypeDescription Property
A description of the transaction type.
Syntax
loanstatement.getTxTypeDescription(index, [callback])
Default Value
"Credit"
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getTxTypeDescription([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setTxTypeDescription([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
A description of the transaction type. This is a string representation of the value returned by the TxType property.
The values translate as follows:
The types and their meanings are as follows:
ttCredit (0) | Credit |
ttDebit (1) | Debit |
ttInterest (2) | Interest |
ttDivident (3) | Dividend |
ttFIFee (4) | FI Fee |
ttServiceCharge (5) | Service Charge |
ttDeposit (6) | Deposit |
ttATM (7) | ATM |
ttPointOfSale (8) | Point of Sale |
ttTransfer (9) | Transfer |
ttCheck (10) | Check |
ttPayment (11) | Payment |
ttCash (12) | Cash Withdrawal |
ttDirectDeposit (13) | Direct Deposit |
ttDirectDebit (14) | Direct Debit |
ttRepeatPayment (15) | Repeat Payment |
ttLateFee (16) | Late Fee (note: applicable to loan accounts only) |
ttAdvance (17) | Cash Advance which adds to Principal Balance (note: applicable to loan accounts only) |
ttBalloon (18) | Payment of Balloon Amount (note: applicable to loan accounts only) |
ttOther (255) | Other |
The size of the array is controlled by the TxCount property.
This property is read-only and not available at design time.
Data Type
String