package cn.freemud.demo.service;

import cn.freemud.demo.entities.bo.goods.CheckCartRequest;
import cn.freemud.demo.entities.bo.goods.ShoppingCartContext;
import cn.freemud.entities.vo.CartGoods;

import java.util.List;

public interface ShoppingCartService {

    List<CartGoods> updateAndGetShoppingCart(List<CartGoods> cartGoodsList, CartGoods cartGoods, ShoppingCartContext cartContext);

    CheckCartRequest checkShoppingCart(List<CartGoods> cartGoodsList, CartGoods cartGoods,  ShoppingCartContext cartContext);


}
