weixin.popular.bean.paymch.MicropayPromotionDetailXmlAdapter 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.
The newest version!
package weixin.popular.bean.paymch;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import com.alibaba.fastjson.JSON;
public class MicropayPromotionDetailXmlAdapter extends XmlAdapter {
@Override
public MicropayPromotionDetail unmarshal(String v) throws Exception {
return JSON.parseObject(v, MicropayPromotionDetail.class);
}
@Override
public String marshal(MicropayPromotionDetail v) throws Exception {
return "";
}
}