BankTxnRow class

Constructors

BankTxnRow({int? amountCents, String? connector, String? currency, String? description, String? direction, String? externalId, String? matchedVoucher, String? merchant, String? postedAt, String? status})
Returns a new BankTxnRow instance.

Properties

amountCents ↔ int?
AmountCents is the size of the movement in whole cents, always POSITIVE — direction carries the sign, so a caller must read both to know which way money went.
getter/setter pair
connector ↔ String?
Connector names the feed this row arrived on — which bank or processor connection it was synced from. With externalId it is the row's identity, so re-syncing the same statement never books a second copy.
getter/setter pair
currency ↔ String?
Currency is the ISO code the bank reported the line in.
getter/setter pair
description ↔ String?
Description is the statement memo as the bank wrote it.
getter/setter pair
direction ↔ String?
Direction is which way the money moved: an inflow into the account or an outflow from it, from the org's point of view.
getter/setter pair
externalId ↔ String?
ExternalID is the bank's OWN id for the line, carried verbatim. It is unique only within its connector.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
matchedVoucher ↔ String?
MatchedVoucher names the ledger voucher this line was reconciled against — the bill it paid, or the settlement it cleared. Absent when nothing matched, which for an inflow is what raises a question.
getter/setter pair
merchant ↔ String?
Merchant is the counterparty the feed identified, where it did.
getter/setter pair
postedAt ↔ String?
PostedAt is the bank's posting date for the line, not when we synced it.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
Status is where the line got to: posted (an outflow booked straight to an expense), settled (an outflow that paid down a scanned bill), reconciled (an inflow that cleared a pending settlement), transfer (a move between the org's own accounts, recorded but with no effect on the books), or unmatched (an inflow nobody could place, which is waiting on a human answer).
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → BankTxnRow?
Returns a new BankTxnRow instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BankTxnRow>
mapFromJson(dynamic json) → Map<String, BankTxnRow>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BankTxnRow>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.