use of com.stardata.starshop2.ordercontext.command.domain.shoppingcart.ShoppingCart in project starshop by beautautumn.
the class ShoppingCartManagingService method queryShoppingCart.
public ShoppingCart queryShoppingCart(LongIdentity userId, LongIdentity shopId) {
ShoppingCart shoppingCart = shoppingCartRepository.findForUserInShop(userId, shopId);
settlementClient.settleProducts(shoppingCart);
return shoppingCart;
}
Aggregations