/// <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 (BankAccountIban != null)
         {
             hashCode = hashCode * 59 + BankAccountIban.GetHashCode();
         }
         if (FraudResults != null)
         {
             hashCode = hashCode * 59 + FraudResults.GetHashCode();
         }
         if (PaymentProduct840SpecificOutput != null)
         {
             hashCode = hashCode * 59 + PaymentProduct840SpecificOutput.GetHashCode();
         }
         if (Token != null)
         {
             hashCode = hashCode * 59 + Token.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if RedirectPaymentMethodSpecificOutput instances are equal
        /// </summary>
        /// <param name="other">Instance of RedirectPaymentMethodSpecificOutput to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(RedirectPaymentMethodSpecificOutput other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     BankAccountIban == other.BankAccountIban ||
                     BankAccountIban != null &&
                     BankAccountIban.Equals(other.BankAccountIban)
                     ) &&
                 (
                     FraudResults == other.FraudResults ||
                     FraudResults != null &&
                     FraudResults.Equals(other.FraudResults)
                 ) &&
                 (
                     PaymentProduct840SpecificOutput == other.PaymentProduct840SpecificOutput ||
                     PaymentProduct840SpecificOutput != null &&
                     PaymentProduct840SpecificOutput.Equals(other.PaymentProduct840SpecificOutput)
                 ) &&
                 (
                     Token == other.Token ||
                     Token != null &&
                     Token.Equals(other.Token)
                 ));
        }