public override int GetHashCode()
        {
            int hash = 1;

            if (OwnerCardId.Length != 0)
            {
                hash ^= OwnerCardId.GetHashCode();
            }
            if (RecipientCardId.Length != 0)
            {
                hash ^= RecipientCardId.GetHashCode();
            }
            if (TransactionSumm != 0)
            {
                hash ^= TransactionSumm.GetHashCode();
            }
            if (Ccy.Length != 0)
            {
                hash ^= Ccy.GetHashCode();
            }
            if (AditionalComment.Length != 0)
            {
                hash ^= AditionalComment.GetHashCode();
            }
            if (TransactionType != global::TransactionAgent.TypeTransaction.Payment)
            {
                hash ^= TransactionType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
 public override int GetHashCode() => Ccy.GetHashCode();