public class WxChannelCouponServiceImpl extends Object implements WxChannelCouponService
| 构造器和说明 |
|---|
WxChannelCouponServiceImpl(BaseWxChannelServiceImpl shopService) |
| 限定符和类型 | 方法和说明 |
|---|---|
CouponIdResponse |
createCoupon(CouponParam coupon)
创建优惠券
|
CouponInfoResponse |
getCoupon(String couponId)
获取优惠券详情
|
CouponListResponse |
getCouponList(CouponListParam param)
获取优惠券ID列表
|
UserCouponResponse |
getUserCoupon(String openId,
String userCouponId)
获取用户优惠券
|
UserCouponListResponse |
getUserCouponList(UserCouponListParam param)
获取用户优惠券ID列表
|
CouponIdResponse |
updateCoupon(CouponParam coupon)
更新优惠券
|
WxChannelBaseResponse |
updateCouponStatus(String couponId,
Integer status)
更新优惠券状态
|
public WxChannelCouponServiceImpl(BaseWxChannelServiceImpl shopService)
public CouponIdResponse createCoupon(CouponParam coupon) throws WxErrorException
WxChannelCouponServicecreateCoupon 在接口中 WxChannelCouponServicecoupon - 优惠券WxErrorException - 异常public CouponIdResponse updateCoupon(CouponParam coupon) throws WxErrorException
WxChannelCouponServiceupdateCoupon 在接口中 WxChannelCouponServicecoupon - 优惠券WxErrorException - 异常public WxChannelBaseResponse updateCouponStatus(String couponId, Integer status) throws WxErrorException
WxChannelCouponServiceupdateCouponStatus 在接口中 WxChannelCouponServicecouponId - 优惠券IDstatus - 状态 2生效 4已作废 5删除 WxCouponStatusWxErrorException - 异常public CouponInfoResponse getCoupon(String couponId) throws WxErrorException
WxChannelCouponServicegetCoupon 在接口中 WxChannelCouponServicecouponId - 优惠券IDWxErrorException - 异常public CouponListResponse getCouponList(CouponListParam param) throws WxErrorException
WxChannelCouponServicegetCouponList 在接口中 WxChannelCouponServiceparam - 条件参数WxErrorException - 异常public UserCouponResponse getUserCoupon(String openId, String userCouponId) throws WxErrorException
WxChannelCouponServicegetUserCoupon 在接口中 WxChannelCouponServiceopenId - 用户openiduserCouponId - 用户优惠券IDWxErrorException - 异常public UserCouponListResponse getUserCouponList(UserCouponListParam param) throws WxErrorException
WxChannelCouponServicegetUserCouponList 在接口中 WxChannelCouponServiceparam - 条件参数WxErrorException - 异常Copyright © 2025. All rights reserved.