public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ LastChargeAttemptDate.GetHashCode(); hashCode = (hashCode * 397) ^ RetryDate.GetHashCode(); hashCode = (hashCode * 397) ^ NumberTimesTried.GetHashCode(); hashCode = (hashCode * 397) ^ (ShopifyVariantIdNotFound != null ? ShopifyVariantIdNotFound.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ErrorType != null ? ErrorType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Error != null ? Error.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hash = 17; if (Schedule != default(string)) { hash = hash * 23 + Schedule.GetHashCode(); } if (ScheduleDate != default(DateTime)) { hash = hash * 23 + ScheduleDate.GetHashCode(); } if (RetryDate != default(DateTime)) { hash = hash * 23 + RetryDate.GetHashCode(); } if (ProcessedAt != default(DateTime)) { hash = hash * 23 + ProcessedAt.GetHashCode(); } if (Status != default(OccurrenceStatus)) { hash = hash * 23 + Status.GetHashCode(); } if (Message != default(String)) { hash = hash * 23 + Message.GetHashCode(); } if (Result != default(String)) { hash = hash * 23 + Result.GetHashCode(); } return(hash); } }