/// <summary> /// Returns true if CashLockedUpResponse instances are equal /// </summary> /// <param name="other">Instance of CashLockedUpResponse to be compared</param> /// <returns>Boolean</returns> public bool Equals(CashLockedUpResponse other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( TrustAccountId == other.TrustAccountId || TrustAccountId != null && TrustAccountId.Equals(other.TrustAccountId) ) && ( Currency == other.Currency || Currency != null && Currency.Equals(other.Currency) ) && ( RateOfExchange == other.RateOfExchange || RateOfExchange != null && RateOfExchange.Equals(other.RateOfExchange) ) && ( Amount == other.Amount || Amount != null && Amount.Equals(other.Amount) ) && ( AmountAtRateOfExchange == other.AmountAtRateOfExchange || AmountAtRateOfExchange != null && AmountAtRateOfExchange.Equals(other.AmountAtRateOfExchange) ) && ( LockUpDate == other.LockUpDate || LockUpDate != null && LockUpDate.Equals(other.LockUpDate) )); }
/// <summary> /// Returns true if CashLockedUpRequest instances are equal /// </summary> /// <param name="other">Instance of CashLockedUpRequest to be compared</param> /// <returns>Boolean</returns> public bool Equals(CashLockedUpRequest other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( EntityId == other.EntityId || EntityId != null && EntityId.Equals(other.EntityId) ) && ( TrustAccountId == other.TrustAccountId || TrustAccountId != null && TrustAccountId.Equals(other.TrustAccountId) ) && ( Currency == other.Currency || Currency != null && Currency.Equals(other.Currency) ) && ( Amount == other.Amount || Amount != null && Amount.Equals(other.Amount) ) && ( LockedUpUntil == other.LockedUpUntil || LockedUpUntil != null && LockedUpUntil.Equals(other.LockedUpUntil) ) && ( Reference == other.Reference || Reference != null && Reference.Equals(other.Reference) )); }