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

package cn.freemud.service.active;

import cn.freemud.entities.dto.calculate.CalculationSharingDiscountRequestDto;
import cn.freemud.entities.dto.calculate.CalculationSharingDiscountResponseDto;
import cn.freemud.entities.vo.CartGoods;
import cn.freemud.entities.vo.ShoppingCartInfoRequestVo;
import com.freemud.application.sdk.api.productcenter.domain.ProductBeanDTO;

import java.util.List;
import java.util.Map;

public interface ActiveService {

    /**
     * 构建用户选择商品数量
     * @param calculationSharingDiscountRequestDto
     */
    void buildChooseGoodsService(CalculationSharingDiscountRequestDto calculationSharingDiscountRequestDto, List<ShoppingCartInfoRequestVo.ChooseGood> chooseGoods);

    /**
     * 赠品添加购物车
     * @param
     */
    void gifAddCart(List<CartGoods> oldcartGoodsLists,
                    List<CartGoods> addcartGoodsList,
                    List<ProductBeanDTO> products ,
                    ShoppingCartInfoRequestVo shoppingCartInfoRequestVo,
                    CalculationSharingDiscountResponseDto.CalculationDiscountResult discountResult,
                    String partnerId,
                    Integer flag);
}
