/// <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 (CardholderName != null)
         {
             hashCode = hashCode * 59 + CardholderName.GetHashCode();
         }
         if (Cryptogram != null)
         {
             hashCode = hashCode * 59 + Cryptogram.GetHashCode();
         }
         if (Dpan != null)
         {
             hashCode = hashCode * 59 + Dpan.GetHashCode();
         }
         if (Eci != null)
         {
             hashCode = hashCode * 59 + Eci.GetHashCode();
         }
         if (ExpiryDate != null)
         {
             hashCode = hashCode * 59 + ExpiryDate.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 (Downgraded != null)
         {
             hashCode = hashCode * 59 + Downgraded.GetHashCode();
         }
         if (Enrolled != null)
         {
             hashCode = hashCode * 59 + Enrolled.GetHashCode();
         }
         if (SignatureValid != null)
         {
             hashCode = hashCode * 59 + SignatureValid.GetHashCode();
         }
         if (AuthenticationResponse != null)
         {
             hashCode = hashCode * 59 + AuthenticationResponse.GetHashCode();
         }
         if (Cryptogram != null)
         {
             hashCode = hashCode * 59 + Cryptogram.GetHashCode();
         }
         if (Xid != null)
         {
             hashCode = hashCode * 59 + Xid.GetHashCode();
         }
         if (Version != null)
         {
             hashCode = hashCode * 59 + Version.GetHashCode();
         }
         return(hashCode);
     }
 }