CurrencySnapshot class final

A balance snapshot for one currency.

It separates available and pending funds from amounts reserved or associated with refunds. includesTransactionsBefore identifies the transaction cutoff represented by the snapshot.

Constructors

CurrencySnapshot({required Value available, required DateTime includesTransactionsBefore, required Value pending, required CurrencySnapshotRefund refund, required CurrencySnapshotReserved reserved})
const
CurrencySnapshot.fromJson(Map<String, Object?> json)
factory

Properties

available → Value
final
hashCode → int
The hash code for this object.
no setterinherited
includesTransactionsBefore → DateTime
final
pending → Value
final
refund → CurrencySnapshotRefund
final
reserved → CurrencySnapshotReserved
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited