All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.mp.bean.card.membercard.WxMpMemberCardUserInfoResult Maven / Gradle / Ivy

The newest version!
package me.chanjar.weixin.mp.bean.card.membercard;

import java.io.Serializable;

import lombok.Data;
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;

/**
 * 
 * 拉取会员信息返回的结果
 *
 * 字段格式参考https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1451025283  6.2.1小节的步骤5
 * 
* * @author YuJian * @version 2017/7/9 */ @Data public class WxMpMemberCardUserInfoResult implements Serializable { private static final long serialVersionUID = 9084777967442098311L; private String errorCode; private String errorMsg; private String openId; private String nickname; private String membershipNumber; private Integer bonus; private Double balance; private String sex; private MemberCardUserInfo userInfo; private String userCardStatus; private Boolean hasActive; @Override public String toString() { return WxMpGsonBuilder.create().toJson(this); } public static WxMpMemberCardUserInfoResult fromJson(String json) { return WxMpGsonBuilder.create().fromJson(json, WxMpMemberCardUserInfoResult.class); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy