Skip to content

Commit

Permalink
CIRCSTORE-540: using location and SP constants
Browse files Browse the repository at this point in the history
  • Loading branch information
kapil-epam committed Dec 16, 2024
1 parent c70e263 commit b25ccac
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ private static Future<List<Change<Request>>> addLocationAndServicePointChanges(M
if (request.getItem() == null) {
request.setItem(new Item());
}
request.getItem().setItemEffectiveLocationId(locationAndSpData.get("itemEffectiveLocationId"));
request.getItem().setItemEffectiveLocationName(locationAndSpData.get("itemEffectiveLocationName"));
request.getItem().setRetrievalServicePointId(locationAndSpData.get("retrievalServicePointId"));
request.getItem().setRetrievalServicePointName(locationAndSpData.get("retrievalServicePointName"));
request.getItem().setItemEffectiveLocationId(locationAndSpData.get(ITEM_EFFECTIVE_LOCATION_ID));
request.getItem().setItemEffectiveLocationName(locationAndSpData.get(ITEM_EFFECTIVE_LOCATION_NAME));
request.getItem().setRetrievalServicePointId(locationAndSpData.get(RETRIEVAL_SERVICE_POINT_ID));
request.getItem().setRetrievalServicePointName(locationAndSpData.get(RETRIEVAL_SERVICE_POINT_NAME));
}));
return Future.succeededFuture(changes);
}
Expand Down

0 comments on commit b25ccac

Please sign in to comment.