weixin.popular.bean.paymch.Receiver Maven / Gradle / Ivy
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>() {
});
}
}
}