public interface WxChannelCouponService
| 限定符和类型 | 方法和说明 |
|---|---|
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)
更新优惠券状态
|
CouponIdResponse createCoupon(CouponParam coupon) throws WxErrorException
coupon - 优惠券WxErrorException - 异常CouponIdResponse updateCoupon(CouponParam coupon) throws WxErrorException
coupon - 优惠券WxErrorException - 异常WxChannelBaseResponse updateCouponStatus(String couponId, Integer status) throws WxErrorException
couponId - 优惠券IDstatus - 状态 2生效 4已作废 5删除 WxCouponStatusWxErrorException - 异常CouponInfoResponse getCoupon(String couponId) throws WxErrorException
couponId - 优惠券IDWxErrorException - 异常CouponListResponse getCouponList(CouponListParam param) throws WxErrorException
param - 条件参数WxErrorException - 异常UserCouponResponse getUserCoupon(String openId, String userCouponId) throws WxErrorException
openId - 用户openiduserCouponId - 用户优惠券IDWxErrorException - 异常UserCouponListResponse getUserCouponList(UserCouponListParam param) throws WxErrorException
param - 条件参数WxErrorException - 异常Copyright © 2025. All rights reserved.