class

Finfry::DueEntry

Inherits JSON::Serializable < Reference < Object

A generated-but-not-yet-resolved occurrence of a recurring rule, waiting in the due queue. Status is staged (pending → ok | skip) and applied by due post; the row is removed once resolved. A class because it's edited in place (amount/date/memo, status).

Constructors

new(id : Int32, rule_id : Int32, date : String, description : String, postings : Array(Finfry::Posting), cadence : String, status : String = "pending")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cadence
Source
cadence=(cadence : String)
Source
date
Source
date=(date : String)
Source
description
Source
description=(description : String)
Source
id=(id : Int32)
Source
postings
Source
postings=(postings : Array(Posting))
Source
rule_id
Source
rule_id=(rule_id : Int32)
Source
status
Source
status=(status : String)
Source