| 12345678910111213141516171819202122232425262728293031 |
- package com.example.hotel.bl.coupon;
- import com.example.hotel.po.Coupon;
- import com.example.hotel.vo.CouponVO;
- import com.example.hotel.vo.HotelTargetMoneyCouponVO;
- import com.example.hotel.vo.OrderVO;
- import java.util.List;
- public interface CouponService {
- /**
- * 返回某一订单可用的优惠策略列表
- * @param orderVO
- * @return
- */
- List<Coupon> matchOrderCoupon(OrderVO orderVO);
- /**
- * 查看某个酒店提供的所有优惠策略(包括失效的)
- * @param hotelId
- * @return
- */
- List<Coupon> getHotelAllCoupon(Integer hotelId);
- /**
- * 添加酒店满减优惠策略
- * @param couponVO
- * @return
- */
- CouponVO addHotelTargetMoneyCoupon(HotelTargetMoneyCouponVO couponVO);
- }
|