package cn.freemud.service;

import cn.freemud.base.entity.BaseResponse;
import cn.freemud.entities.dto.BuriedPointPaymentRequestDto;
import cn.freemud.entities.dto.BuriedPointShoppingCartRequestDto;
import cn.freemud.entities.dto.QueryOrderByIdResponseDto;
import cn.freemud.entities.vo.ShoppingCartSkuAddRequestVo;

import java.util.List;

/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @version V1.0
 * @Title: BuriedPointService
 * @Package cn.freemud.service
 * @Description: 简单描述下这个类是做什么用的
 * @author: zhenghuan.yang
 * @date: 2018/9/27 20:24
 * @Copyright: 2018 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
public interface BuriedPointService {
    /**
     * 埋点购物车
     */
    BaseResponse buriedPointAddShoppingCart(List<ShoppingCartSkuAddRequestVo.ShoppingCartSkuProductVo> productVos, BuriedPointShoppingCartRequestDto shoppingCartRequestDto);

    /**
     * 埋点支付
     */
    BaseResponse buriedPointPayment(BuriedPointPaymentRequestDto requestDto, QueryOrderByIdResponseDto queryOrderByIdResponseDto);

    /**
     * 曝光埋点（通用埋点）
     * @param requestDto
     * @param type
     * @return
     */
    BaseResponse buriedPoint(BuriedPointPaymentRequestDto requestDto,String type);
}
