public class MarketingFavorServiceImpl extends Object implements MarketingFavorService
构造器和说明 |
---|
MarketingFavorServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
FavorCouponsCreateResult |
createFavorCouponsV3(String openid,
FavorCouponsCreateRequest request)
代金券接口-发放代金券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons
|
FavorStocksCreateResult |
createFavorStocksV3(FavorStocksCreateRequest request)
代金券接口-创建代金券批次API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/coupon-stocks
|
FavorCouponsUseResult |
decryptNotifyDataResource(UseNotifyData data) |
FavorCouponsGetResult |
getFavorCouponsV3(String couponId,
String appid,
String openid)
代金券接口-查询代金券详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_6.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons/{coupon_id}
|
FavorStocksItemsGetResult |
getFavorStocksItemsV3(String stockId,
String stockCreatorMchid,
Integer offset,
Integer limit)
代金券接口-查询代金券可用单品API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_8.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/items
|
FavorStocksMerchantsGetResult |
getFavorStocksMerchantsV3(String stockId,
String stockCreatorMchid,
Integer offset,
Integer limit)
代金券接口-查询代金券可用商户API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_7.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/merchants
|
FavorStocksFlowGetResult |
getFavorStocksRefundFlowV3(String stockId)
代金券接口-下载批次退款明细API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_11.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/refund-flow
|
FavorStocksFlowGetResult |
getFavorStocksUseFlowV3(String stockId)
代金券接口-下载批次核销明细API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_10.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/use-flow
|
FavorStocksGetResult |
getFavorStocksV3(String stockId,
String stockCreatorMchid)
代金券接口-查询批次详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_5.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}
|
UseNotifyData |
parseNotifyData(String data,
SignatureHeader header) |
FavorStocksPauseResult |
pauseFavorStocksV3(String stockId,
FavorStocksSetRequest request)
代金券接口-暂停代金券批次API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_13.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/pause
|
FavorCouponsQueryResult |
queryFavorCouponsV3(FavorCouponsQueryRequest request)
代金券接口-根据商户号查用户的券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_9.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons
|
FavorStocksQueryResult |
queryFavorStocksV3(FavorStocksQueryRequest request)
代金券接口-条件查询代金券批次列表API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_4.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks
|
FavorStocksRestartResult |
restartFavorStocksV3(String stockId,
FavorStocksSetRequest request)
代金券接口-重启代金券批次API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_14.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/restart
|
FavorCallbacksSaveResult |
saveFavorCallbacksV3(FavorCallbacksSaveRequest request)
代金券接口-设置消息通知地址API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_12.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/callbacks
|
FavorStocksStartResult |
startFavorStocksV3(String stockId,
FavorStocksSetRequest request)
代金券接口-激活代金券批次API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/start
|
public FavorStocksCreateResult createFavorStocksV3(FavorStocksCreateRequest request) throws WxPayException
MarketingFavorService
代金券接口-创建代金券批次API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/coupon-stocks
createFavorStocksV3
在接口中 MarketingFavorService
request
- 请求对象WxPayException
- the wx pay exceptionpublic FavorCouponsCreateResult createFavorCouponsV3(String openid, FavorCouponsCreateRequest request) throws WxPayException
MarketingFavorService
代金券接口-发放代金券API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_2.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons
createFavorCouponsV3
在接口中 MarketingFavorService
openid
- 用户openidrequest
- 请求对象WxPayException
- the wx pay exceptionpublic FavorStocksStartResult startFavorStocksV3(String stockId, FavorStocksSetRequest request) throws WxPayException
MarketingFavorService
代金券接口-激活代金券批次API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_3.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/start
startFavorStocksV3
在接口中 MarketingFavorService
stockId
- 批次号request
- 请求对象WxPayException
- the wx pay exceptionpublic FavorStocksQueryResult queryFavorStocksV3(FavorStocksQueryRequest request) throws WxPayException
MarketingFavorService
代金券接口-条件查询代金券批次列表API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_4.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks
queryFavorStocksV3
在接口中 MarketingFavorService
request
- 请求对象WxPayException
- the wx pay exceptionpublic FavorStocksGetResult getFavorStocksV3(String stockId, String stockCreatorMchid) throws WxPayException
MarketingFavorService
代金券接口-查询批次详情API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_5.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}
getFavorStocksV3
在接口中 MarketingFavorService
stockId
- 批次号stockCreatorMchid
- 创建批次的商户号WxPayException
- the wx pay exceptionpublic FavorCouponsGetResult getFavorCouponsV3(String couponId, String appid, String openid) throws WxPayException
MarketingFavorService
代金券接口-查询代金券详情API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_6.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons/{coupon_id}
getFavorCouponsV3
在接口中 MarketingFavorService
couponId
- 代金券idappid
- 公众账号IDopenid
- 用户openidWxPayException
- the wx pay exceptionpublic FavorStocksMerchantsGetResult getFavorStocksMerchantsV3(String stockId, String stockCreatorMchid, Integer offset, Integer limit) throws WxPayException
MarketingFavorService
代金券接口-查询代金券可用商户API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_7.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/merchants
getFavorStocksMerchantsV3
在接口中 MarketingFavorService
stockId
- 批次号stockCreatorMchid
- 创建批次的商户号offset
- 分页大小limit
- 创建批次的商户号WxPayException
- the wx pay exceptionpublic FavorStocksItemsGetResult getFavorStocksItemsV3(String stockId, String stockCreatorMchid, Integer offset, Integer limit) throws WxPayException
MarketingFavorService
代金券接口-查询代金券可用单品API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_8.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/items
getFavorStocksItemsV3
在接口中 MarketingFavorService
stockId
- 批次号stockCreatorMchid
- 创建批次的商户号offset
- 分页大小limit
- 创建批次的商户号WxPayException
- the wx pay exceptionpublic FavorCouponsQueryResult queryFavorCouponsV3(FavorCouponsQueryRequest request) throws WxPayException
MarketingFavorService
代金券接口-根据商户号查用户的券API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_9.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/users/{openid}/coupons
queryFavorCouponsV3
在接口中 MarketingFavorService
request
- 请求对象WxPayException
- the wx pay exceptionpublic FavorStocksFlowGetResult getFavorStocksUseFlowV3(String stockId) throws WxPayException
MarketingFavorService
代金券接口-下载批次核销明细API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_10.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/use-flow
getFavorStocksUseFlowV3
在接口中 MarketingFavorService
stockId
- 批次号WxPayException
- the wx pay exceptionpublic FavorStocksFlowGetResult getFavorStocksRefundFlowV3(String stockId) throws WxPayException
MarketingFavorService
代金券接口-下载批次退款明细API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_11.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/refund-flow
getFavorStocksRefundFlowV3
在接口中 MarketingFavorService
stockId
- 批次号WxPayException
- the wx pay exceptionpublic FavorCallbacksSaveResult saveFavorCallbacksV3(FavorCallbacksSaveRequest request) throws WxPayException
MarketingFavorService
代金券接口-设置消息通知地址API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_12.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/callbacks
saveFavorCallbacksV3
在接口中 MarketingFavorService
request
- 请求对象WxPayException
- the wx pay exceptionpublic FavorStocksPauseResult pauseFavorStocksV3(String stockId, FavorStocksSetRequest request) throws WxPayException
MarketingFavorService
代金券接口-暂停代金券批次API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_13.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/pause
pauseFavorStocksV3
在接口中 MarketingFavorService
request
- 请求对象WxPayException
- the wx pay exceptionpublic FavorStocksRestartResult restartFavorStocksV3(String stockId, FavorStocksSetRequest request) throws WxPayException
MarketingFavorService
代金券接口-重启代金券批次API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_14.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/stocks/{stock_id}/restart
restartFavorStocksV3
在接口中 MarketingFavorService
request
- 请求对象WxPayException
- the wx pay exceptionpublic UseNotifyData parseNotifyData(String data, SignatureHeader header) throws WxPayException
parseNotifyData
在接口中 MarketingFavorService
WxPayException
public FavorCouponsUseResult decryptNotifyDataResource(UseNotifyData data) throws WxPayException
decryptNotifyDataResource
在接口中 MarketingFavorService
WxPayException
Copyright © 2023. All rights reserved.