public override int GetHashCode() { int hashCode = -747213754; if (FulfillmentTypes != null) { hashCode += FulfillmentTypes.GetHashCode(); } if (FulfillmentStates != null) { hashCode += FulfillmentStates.GetHashCode(); } return(hashCode); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is SearchOrdersFulfillmentFilter other && ((FulfillmentTypes == null && other.FulfillmentTypes == null) || (FulfillmentTypes?.Equals(other.FulfillmentTypes) == true)) && ((FulfillmentStates == null && other.FulfillmentStates == null) || (FulfillmentStates?.Equals(other.FulfillmentStates) == true))); }