13 private DateTime timestamp = DateTime.MinValue;
15 private decimal balance = 0;
30 get => this.timestamp;
31 set => this.timestamp = value;
40 set => this.currency = value;
49 set => this.balance = value;
58 set => this.pending = value;
64 public override bool Equals(
object obj)
69 if (this.timestamp != O.timestamp ||
70 this.currency != O.currency ||
71 this.balance != O.balance ||
72 ((
this.pending is
null) ^ (O.pending is
null)))
77 if (!(this.pending is
null))
79 int i, c = this.pending.Length;
80 if (c != O.pending.Length)
83 for (i = 0; i < c; i++)
85 if (!this.pending[i].
Equals(O.pending[i]))
98 int Result = this.timestamp.GetHashCode();
99 Result ^= Result << 5 ^ this.currency.
GetHashCode();
100 Result ^= Result << 5 ^ this.balance.GetHashCode();
102 if (!(this.pending is
null))
Contains information about a balance.
Information about last balance statement
CaseInsensitiveString Currency
Balance Currency
PendingPayment[] Pending
Pending payments
LastBalance()
Information about last balance statement
DateTime Timestamp
Balance timestamp
override bool Equals(object obj)
Object.Equals(object)
override int GetHashCode()
Object.GetHashCode()
Contains information about a pending payment.
override int GetHashCode()
Object.GetHashCode()
Represents a case-insensitive string.
static readonly CaseInsensitiveString Empty
Empty case-insensitive string
override int GetHashCode()
Returns the hash code for this string.
TypeNameSerialization
How the type name should be serialized.