/// <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 (CompanyName != null)
         {
             hashCode = hashCode * 59 + CompanyName.GetHashCode();
         }
         if (ContactDetails != null)
         {
             hashCode = hashCode * 59 + ContactDetails.GetHashCode();
         }
         if (MandateAddress != null)
         {
             hashCode = hashCode * 59 + MandateAddress.GetHashCode();
         }
         if (PersonalInformation != null)
         {
             hashCode = hashCode * 59 + PersonalInformation.GetHashCode();
         }
         return(hashCode);
     }
 }
 /// <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);
     }
 }
예제 #3
0
 /// <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 (InstallmentId != null)
         {
             hashCode = hashCode * 59 + InstallmentId.GetHashCode();
         }
         return(hashCode);
     }
 }
 /// <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 (Creditor != null)
         {
             hashCode = hashCode * 59 + Creditor.GetHashCode();
         }
         if (MandateId != null)
         {
             hashCode = hashCode * 59 + MandateId.GetHashCode();
         }
         if (BankAccountIban != null)
         {
             hashCode = hashCode * 59 + BankAccountIban.GetHashCode();
         }
         if (CustomerContractIdentifier != null)
         {
             hashCode = hashCode * 59 + CustomerContractIdentifier.GetHashCode();
         }
         if (Debtor != null)
         {
             hashCode = hashCode * 59 + Debtor.GetHashCode();
         }
         if (IsRecurring != null)
         {
             hashCode = hashCode * 59 + IsRecurring.GetHashCode();
         }
         if (MandateApproval != null)
         {
             hashCode = hashCode * 59 + MandateApproval.GetHashCode();
         }
         if (PreNotification != null)
         {
             hashCode = hashCode * 59 + PreNotification.GetHashCode();
         }
         return(hashCode);
     }
 }