Finfry::Transaction
Inherits JSON::Serializable < Struct < Value < Object
A double-entry transaction: a dated, described set of postings whose signed amounts must sum to zero.
Constructors
new(id : Int32, date : String, description : String, postings : Array(Finfry::Posting), recurrence : Nil | String = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
balanced?
Sourcedate
Sourcedescription
Sourceid
Sourcepostings
Sourcerecurrence
Cadence this transaction recurs on (e.g. "monthly"), or nil for one-offs. Used only for per-day amortization, not for auto-posting.
Cadence this transaction recurs on (e.g. "monthly"), or nil for one-offs. Used only for per-day amortization, not for auto-posting.