weixin.popular.bean.paymch.Receiver 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.paymch;
import java.util.List;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
public class Receiver {
private String type;
private String account;
private Integer amount;
private String description;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public Integer getAmount() {
return amount;
}
public void setAmount(Integer amount) {
this.amount = amount;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
static class JsonXmlAdapter extends XmlAdapter> {
@Override
public String marshal(List v) throws Exception {
return "";
}
@Override
public List unmarshal(String v) throws Exception {
return JSON.parseObject(v, new TypeReference>() {
});
}
}
}