public interface WxMpMemberCardService
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
MEMBER_CARD_ACTIVATE |
static String |
MEMBER_CARD_ACTIVATE_URL
获取会员卡开卡插件参数.
|
static String |
MEMBER_CARD_ACTIVATEUSERFORM
会员卡激活之微信开卡接口(wx_activate=true情况调用).
|
static String |
MEMBER_CARD_CREAET |
static String |
MEMBER_CARD_UPDATE
会员卡信息更新.
|
static String |
MEMBER_CARD_UPDATE_USER |
static String |
MEMBER_CARD_USER_INFO_GET |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
activateMemberCard(WxMpMemberCardActivatedMessage activatedMessage)
会员卡激活接口.
|
WxMpCardCreateResult |
createMemberCard(String createJson)
会员卡创建接口.
|
WxMpCardCreateResult |
createMemberCard(WxMpMemberCardCreateMessage createMessageMessage)
会员卡创建接口.
|
ActivatePluginParam |
getActivatePluginParam(String cardId,
String outStr)
获取会员卡开卡插件参数(跳转型开卡组件需要参数).
|
WxMpMemberCardUserInfoResult |
getUserInfo(String cardId,
String code)
拉取会员信息接口.
|
WxMpService |
getWxMpService()
得到WxMpService.
|
MemberCardActivateUserFormResult |
setActivateUserForm(MemberCardActivateUserFormRequest userFormRequest)
设置会员卡激活的字段(会员卡设置:wx_activate=true 时需要).
|
CardUpdateResult |
updateCardInfo(MemberCardUpdateRequest memberCardUpdateRequest)
更新会员卡信息.
|
WxMpMemberCardUpdateResult |
updateUserMemberCard(WxMpMemberCardUpdateMessage updateUserMessage)
当会员持卡消费后,支持开发者调用该接口更新会员信息.
|
static final String MEMBER_CARD_ACTIVATEUSERFORM
WxMpService getWxMpService()
WxMpCardCreateResult createMemberCard(String createJson) throws WxErrorException
WxErrorExceptionWxMpCardCreateResult createMemberCard(WxMpMemberCardCreateMessage createMessageMessage) throws WxErrorException
WxErrorExceptionString activateMemberCard(WxMpMemberCardActivatedMessage activatedMessage) throws WxErrorException
activatedMessage - 激活所需参数WxErrorException - 接口调用失败抛出的异常WxMpMemberCardUserInfoResult getUserInfo(String cardId, String code) throws WxErrorException
cardId - 会员卡的CardId,微信分配code - 领取会员的会员卡CodeWxErrorException - 接口调用失败抛出的异常WxMpMemberCardUpdateResult updateUserMemberCard(WxMpMemberCardUpdateMessage updateUserMessage) throws WxErrorException
updateUserMessage - 更新会员信息所需字段消息WxErrorException - 接口调用失败抛出的异常MemberCardActivateUserFormResult setActivateUserForm(MemberCardActivateUserFormRequest userFormRequest) throws WxErrorException
WxErrorExceptionActivatePluginParam getActivatePluginParam(String cardId, String outStr) throws WxErrorException
WxErrorExceptionCardUpdateResult updateCardInfo(MemberCardUpdateRequest memberCardUpdateRequest) throws WxErrorException
WxErrorExceptionCopyright © 2019. All rights reserved.