GLRow class
Properties
account
↔ String ?
Account is the chart-of-accounts number this leg posts to.
getter/setter pair
against
↔ String ?
Against names the OTHER accounts in the same voucher — the contra side of this leg — so a single row reads as an entry rather than as half of one.
getter/setter pair
credit
↔ int ?
Credit is the amount credited to that account, in whole cents.
getter/setter pair
debit
↔ int ?
Debit is the amount debited to that account, in whole cents. Exactly one of debit and credit is non-zero on a leg; a negative amount is never used to mean the other side.
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter override
id
↔ int ?
ID is the entry's position in the ledger. The ledger is append-only, so ids ascend with posting order and a higher id is a later entry.
getter/setter pair
postingAt
↔ String ?
PostingAt is the accounting date this entry belongs to — what the reports window on, which need not be when the row was written.
getter/setter pair
Remarks is the memo carried onto the entry, for a human reading the ledger.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
sourceId
↔ String ?
SourceID identifies that originating record within its kind.
getter/setter pair
sourceKind
↔ String ?
SourceKind is what caused the posting: a bank line, a scanned document, a commerce sale. With sourceId it traces the entry back to the thing that produced it.
getter/setter pair