/// <summary>
        /// Returns true if BankAccountBbanRefund instances are equal
        /// </summary>
        /// <param name="other">Instance of BankAccountBbanRefund to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankAccountBbanRefund other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     BankCity == other.BankCity ||
                     BankCity != null &&
                     BankCity.Equals(other.BankCity)
                     ) &&
                 (
                     PatronymicName == other.PatronymicName ||
                     PatronymicName != null &&
                     PatronymicName.Equals(other.PatronymicName)
                 ) &&
                 (
                     SwiftCode == other.SwiftCode ||
                     SwiftCode != null &&
                     SwiftCode.Equals(other.SwiftCode)
                 ));
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (BankCity != null)
         {
             hashCode = hashCode * 59 + BankCity.GetHashCode();
         }
         if (PatronymicName != null)
         {
             hashCode = hashCode * 59 + PatronymicName.GetHashCode();
         }
         if (SwiftCode != null)
         {
             hashCode = hashCode * 59 + SwiftCode.GetHashCode();
         }
         return(hashCode);
     }
 }