/// <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 BankRefundMethodSpecificInput instances are equal
        /// </summary>
        /// <param name="other">Instance of BankRefundMethodSpecificInput to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankRefundMethodSpecificInput other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

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