public override int GetHashCode() { int hash = 1; if (OrderID.Length != 0) { hash ^= OrderID.GetHashCode(); } if (Canceled != false) { hash ^= Canceled.GetHashCode(); } if (ConfirmationCode.Length != 0) { hash ^= ConfirmationCode.GetHashCode(); } return(hash); }