weixin.popular.bean.message.preview.WxcardPreview Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weixin-popular Show documentation
Show all versions of weixin-popular Show documentation
The weixin-popular is a JAVA SDK for weixin. Weixin web url is https://mp.weixin.qq.com.
package weixin.popular.bean.message.preview;
import java.util.HashMap;
import java.util.Map;
public class WxcardPreview extends Preview{
private Map wxcard = new HashMap();
public WxcardPreview(String card_id,Map card_ext) {
super();
this.setMsgtype("wxcard");
wxcard.put("card_id", card_id);
if(card_ext != null){
wxcard.put("card_ext", card_ext);
}
}
public Map getWxcard() {
return wxcard;
}
public void setWxcard(Map wxcard) {
this.wxcard = wxcard;
}
}