struct

Finfry::RedoSnapshot

Inherits JSON::Serializable < Struct < Value < Object

Enough to re-apply a change that undo removed. budgets maps each touched account to the value to restore (nil = the change had set no budget / removed it). Single-slot: only the most recently popped change can be redone.

Constructors

new(changeset : Finfry::Changeset, transactions : Array(Finfry::Transaction), budgets : Hash(String, Int64 | Nil))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

budgets
Source
budgets=(budgets : Hash(String, Int64 | Nil))
Source
changeset
Source
changeset=(changeset : Changeset)
Source
transactions
Source
transactions=(transactions : Array(Transaction))
Source