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

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

            return
                ((
                     AuthorisationId == other.AuthorisationId ||
                     AuthorisationId != null &&
                     AuthorisationId.Equals(other.AuthorisationId)
                     ) &&
                 (
                     BankAccountBban == other.BankAccountBban ||
                     BankAccountBban != null &&
                     BankAccountBban.Equals(other.BankAccountBban)
                 ));
        }