Finfry::RecurringRule
Inherits JSON::Serializable < Reference < Object
A recurring commitment: a template transaction (postings + description) that
recurs on a cadence. next_date is the cursor — the next occurrence not yet
generated into the due queue; it advances as occurrences are generated, so
nothing is ever produced twice. A class (not struct) because it's mutated in
place (cursor advances, turned off).
Constructors
new(id : Int32, description : String, cadence : String, next_date : String, postings : Array(Finfry::Posting), kind : String = "fixed", active : Bool = true)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
active
Sourcecadence
Sourcedescription
Sourceid
Sourcekind
Sourcenext_date
Sourcepostings
Source