struct

Finfry::Reconciliation

Inherits JSON::Serializable < Struct < Value < Object

A finalized reconciliation: the statement an account was balanced against on a given date, and the transactions that were locked in by it. statement is stored in display orientation (the positive figure the user typed, matching how the statement reads). Two dates, two facts: statement_date is what the reconciliation is about — "as of this date the bank said the balance was statement" — and date is when it was finalized (an audit stamp). Older records only have the latter.

Constructors

new(account : String, date : String, statement : Int64, transaction_ids : Array(Int32), statement_date : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

account
Source
account=(account : String)
Source
as_of

The date the balance assertion is for: the statement date when known.

Source
date
Source
date=(date : String)
Source
statement
Source
statement=(statement : Int64)
Source
statement_date
Source
statement_date=(statement_date : String | Nil)
Source
transaction_ids
Source
transaction_ids=(transaction_ids : Array(Int32))
Source