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

            return
                ((
                     MinimumBalance == other.MinimumBalance ||
                     MinimumBalance != null &&
                     MinimumBalance.Equals(other.MinimumBalance)
                     ) &&
                 (
                     ElegibilityCriteriaInfo == other.ElegibilityCriteriaInfo ||
                     ElegibilityCriteriaInfo != null &&
                     ElegibilityCriteriaInfo.Equals(other.ElegibilityCriteriaInfo)
                 ) &&
                 (
                     ClosingProcessInfo == other.ClosingProcessInfo ||
                     ClosingProcessInfo != null &&
                     ClosingProcessInfo.Equals(other.ClosingProcessInfo)
                 ));
        }
 /// <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 (MinimumBalance != null)
         {
             hashCode = hashCode * 59 + MinimumBalance.GetHashCode();
         }
         if (ElegibilityCriteriaInfo != null)
         {
             hashCode = hashCode * 59 + ElegibilityCriteriaInfo.GetHashCode();
         }
         if (ClosingProcessInfo != null)
         {
             hashCode = hashCode * 59 + ClosingProcessInfo.GetHashCode();
         }
         return(hashCode);
     }
 }