txType (property)
This is the type of transaction that was made on the account.
Syntax
- (int)txType:(int)txIndex;
/* Possible Values */
TT_CREDIT(0),
TT_DEBIT(1),
TT_INTEREST(2),
TT_DIVIDEND(3),
TT_FIFEE(4),
TT_SERVICE_CHARGE(5),
TT_DEPOSIT(6),
TT_ATM(7),
TT_POINT_OF_SALE(8),
TT_TRANSFER(9),
TT_CHECK(10),
TT_PAYMENT(11),
TT_CASH(12),
TT_DIRECT_DEPOSIT(13),
TT_DIRECT_DEBIT(14),
TT_REPEAT_PAYMENT(15),
TT_LATE_FEE(16),
TT_ADVANCE(17),
TT_BALLOON(18),
TT_OTHER(255)
public func txType(txIndex: Int32) throws -> BankstatementTxTypes
public enum BankstatementTxTypes : Int32 { case ttCredit = 0 case ttDebit = 1 case ttInterest = 2 case ttDividend = 3 case ttFIFee = 4 case ttServiceCharge = 5 case ttDeposit = 6 case ttATM = 7 case ttPointOfSale = 8 case ttTransfer = 9 case ttCheck = 10 case ttPayment = 11 case ttCash = 12 case ttDirectDeposit = 13 case ttDirectDebit = 14 case ttRepeatPayment = 15 case ttLateFee = 16 case ttAdvance = 17 case ttBalloon = 18 case ttOther = 255 }
Default Value
0
Remarks
This is the type of transaction that was made on the account. The effect on the account balance depends upon the sign of the amount, not upon the value of this transaction.
For example, if the amount is negative and the type is a credit, a negative credit is applied to the account. If the amount is negative and the type is debit, the amount is still debited from the account. A positive amount indicates the addition of money to the account, regardless of the type.
The types and their meanings are as follows:
ttCredit (0) | Generic credit |
ttDebit (1) | Generic debit |
ttInterest (2) | Interest earned or paid (note: depends on signage of amount) |
ttDividend (3) | Dividend |
ttFIFee (4) | FI fee |
ttServiceCharge (5) | Service charge |
ttDeposit (6) | Deposit |
ttATM (7) | ATM debit or credit (note: depends on signage of amount) |
ttPointOfSale (8) | Point of sale debit or credit (note: depends on signage of amount) |
ttTransfer (9) | Transfer |
ttCheck (10) | Check |
ttPayment (11) | Payment |
ttCash (12) | Cash withdrawal |
ttDirectDeposit (13) | Direct deposit |
ttDirectDebit (14) | Merchant initiated debit |
ttRepeatPayment (15) | Repeating payment/standing order |
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 (note: see TxMemo for a possible transaction description) |
The TxIndex parameter specifies the index of the item in the array. The size of the array is controlled by the TxCount property.
This property is read-only.