public static OperationType GetOperationType(OperationDetailsResult detailsResult) { if (detailsResult == null) { return(OperationType.Unknown); } return((detailsResult.OperationType == OperationType.IncomingTransfer && detailsResult.Status == ResponseStatus.InProgress) ? OperationType.HoldForPickupTransfer : detailsResult.OperationType); }
public static OperationType GetOperationType(OperationDetailsResult detailsResult) { if (detailsResult == null) return OperationType.Unknown; return (detailsResult.OperationType == OperationType.IncomingTransfer && detailsResult.Status == ResponseStatus.InProgress) ? OperationType.HoldForPickupTransfer : detailsResult.OperationType; }