package cn.freemud.demo.service;

import cn.freemud.demo.entities.CheckCartRequest;
import cn.freemud.demo.entities.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);


}
