/// <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 (Preferred != null)
         {
             hashCode = hashCode * 59 + Preferred.GetHashCode();
         }
         if (ContactMediumType != null)
         {
             hashCode = hashCode * 59 + ContactMediumType.GetHashCode();
         }
         if (ValidFor != null)
         {
             hashCode = hashCode * 59 + ValidFor.GetHashCode();
         }
         if (Characteristic != null)
         {
             hashCode = hashCode * 59 + Characteristic.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 (Name != null)
         {
             hashCode = hashCode * 59 + Name.GetHashCode();
         }
         if (Status != null)
         {
             hashCode = hashCode * 59 + Status.GetHashCode();
         }
         if (StatusReason != null)
         {
             hashCode = hashCode * 59 + StatusReason.GetHashCode();
         }
         if (ValidFor != null)
         {
             hashCode = hashCode * 59 + ValidFor.GetHashCode();
         }
         if (EngagedParty != null)
         {
             hashCode = hashCode * 59 + EngagedParty.GetHashCode();
         }
         if (PartyRoleType != null)
         {
             hashCode = hashCode * 59 + PartyRoleType.GetHashCode();
         }
         if (Account != null)
         {
             hashCode = hashCode * 59 + Account.GetHashCode();
         }
         if (Characteristic != null)
         {
             hashCode = hashCode * 59 + Characteristic.GetHashCode();
         }
         if (CreditProfile != null)
         {
             hashCode = hashCode * 59 + CreditProfile.GetHashCode();
         }
         if (Agreement != null)
         {
             hashCode = hashCode * 59 + Agreement.GetHashCode();
         }
         if (RelatedParty != null)
         {
             hashCode = hashCode * 59 + RelatedParty.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 (CreditProfileDate != null)
         {
             hashCode = hashCode * 59 + CreditProfileDate.GetHashCode();
         }
         if (CreditRiskRating != null)
         {
             hashCode = hashCode * 59 + CreditRiskRating.GetHashCode();
         }
         if (CreditScore != null)
         {
             hashCode = hashCode * 59 + CreditScore.GetHashCode();
         }
         if (ValidFor != null)
         {
             hashCode = hashCode * 59 + ValidFor.GetHashCode();
         }
         if (TagCreditScoring != null)
         {
             hashCode = hashCode * 59 + TagCreditScoring.GetHashCode();
         }
         if (TagCreditLimit != null)
         {
             hashCode = hashCode * 59 + TagCreditLimit.GetHashCode();
         }
         if (TagCreditThreshold != null)
         {
             hashCode = hashCode * 59 + TagCreditThreshold.GetHashCode();
         }
         if (TagCreditOnHold != null)
         {
             hashCode = hashCode * 59 + TagCreditOnHold.GetHashCode();
         }
         if (TagContractDailyCreditLimit != null)
         {
             hashCode = hashCode * 59 + TagContractDailyCreditLimit.GetHashCode();
         }
         if (TagContractPeriodicCreditLimit != null)
         {
             hashCode = hashCode * 59 + TagContractPeriodicCreditLimit.GetHashCode();
         }
         return(hashCode);
     }
 }