weixin.popular.bean.paymch.ReceiverOperation Maven / Gradle / Ivy
package weixin.popular.bean.paymch;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import com.alibaba.fastjson.JSON;
public class ReceiverOperation {
private String type;
private String account;
private String name;
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 String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
static class JsonXmlAdapter extends XmlAdapter {
@Override
public String marshal(ReceiverOperation v) throws Exception {
return "";
}
@Override
public ReceiverOperation unmarshal(String v) throws Exception {
return JSON.parseObject(v, ReceiverOperation.class);
}
}
}