class

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

active
Source
active=(active : Bool)
Source
cadence
Source
cadence=(cadence : String)
Source
description
Source
description=(description : String)
Source
id=(id : Int32)
Source
kind
Source
kind=(kind : String)
Source
next_date
Source
next_date=(next_date : String)
Source
postings
Source
postings=(postings : Array(Posting))
Source