/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: ShoppingCartRelationService
 * @Description:
 * @author: pengfei.liu
 * @date: 2020/11/23
 * @version V1.0
 * @Copyright: 2020 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */

package cn.freemud.service.shoppingCart;

import cn.freemud.entities.dto.calculate.CalculationSharingDiscountResponseDto;
import cn.freemud.entities.vo.ShoppingCartClearRequestVo;
import cn.freemud.entities.vo.ShoppingCartGoodsResponseVo;

public interface ShoppingCartRelationService {

    /**
     * 获取购物车查询出参构建实现
     */
    void buildShoppingCartGoodsResponse(ShoppingCartGoodsResponseVo shoppingCartGoodsResponseVo,
                                        CalculationSharingDiscountResponseDto.CalculationDiscountResult discountResult,
                                        Integer flag);

    /**
     * 购物车清空后的扩展操作
     */
    void cleanAfter(ShoppingCartGoodsResponseVo shoppingCartGoodsResponseVo, ShoppingCartClearRequestVo shoppingCartClearRequestVo);


}
