package cn.freemud.service;

import cn.freemud.base.entity.BaseResponse;
import cn.freemud.entities.dto.CouponCodeVerificationProductDto;
import cn.freemud.entities.dto.QueryOrdersResponseDto;
import cn.freemud.entities.vo.ActivityClassifyCouponBean;
import cn.freemud.enums.ActivityChannelEnum;

import java.util.List;

public interface CouponActivityService {

    /**
     * 优惠券核销
     * @param couponCode 券码
     * @param oid 订单ID
     * @param partnerId 商户ID
     * @param storeId 门店ID
     * @param userId 用户ID
     * @return
     */
    BaseResponse verificationCoupon(ActivityChannelEnum activityChannelEnum, String couponCode, String oid, String partnerId,
                                    String storeId, String userId, List<CouponCodeVerificationProductDto> products, Integer discountPrice);

    /**
     * 核销优惠券
     * @param orderBean
     */
    BaseResponse verificationCoupon(QueryOrdersResponseDto.DataBean.OrderBean orderBean);
}
