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

            return
                ((
                     Customer == other.Customer ||
                     Customer != null &&
                     Customer.Equals(other.Customer)
                     ) &&
                 (
                     Mandate == other.Mandate ||
                     Mandate != null &&
                     Mandate.Equals(other.Mandate)
                 ) &&
                 (
                     Alias == other.Alias ||
                     Alias != null &&
                     Alias.Equals(other.Alias)
                 ));
        }