package weixin.popular.bean.paymch;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

/**
 * 支付中签约参数对象
 * 
 * @author LiYi
 *
 */
@XmlRootElement(name = "xml")
@XmlAccessorType(XmlAccessType.FIELD)
public class PayContractorder {

	private String appid;
	private String mch_id;
	private String contract_mchid;
	private String contract_appid;
	private String out_trade_no;
	private String device_info;
	private String nonce_str;
	@XmlJavaTypeAdapter(value = Detail.JsonXmlAdapter.class)
	private String body;
	@XmlJavaTypeAdapter(value = Detail.JsonXmlAdapter.class)
	private String detail;
	@XmlJavaTypeAdapter(value = Detail.JsonXmlAdapter.class)
	private String attach;
	private String notify_url;
	private String total_fee;
	private String spbill_create_ip;
	private String time_start;
	private String time_expire;
	private String goods_tag;
	private String trade_type;
	private String product_id;
	private String limit_pay;
	private String openid;
	private String plan_id;
	private String contract_code;
	private String request_serial;
	@XmlJavaTypeAdapter(value = Detail.JsonXmlAdapter.class)
	private String contract_display_account;
	private String contract_notify_url;
	private String sign_type;
	private String sign;

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getMch_id() {
		return mch_id;
	}

	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}

	public String getContract_mchid() {
		return contract_mchid;
	}

	public void setContract_mchid(String contract_mchid) {
		this.contract_mchid = contract_mchid;
	}

	public String getContract_appid() {
		return contract_appid;
	}

	public void setContract_appid(String contract_appid) {
		this.contract_appid = contract_appid;
	}

	public String getOut_trade_no() {
		return out_trade_no;
	}

	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}

	public String getDevice_info() {
		return device_info;
	}

	public void setDevice_info(String device_info) {
		this.device_info = device_info;
	}

	public String getNonce_str() {
		return nonce_str;
	}

	public void setNonce_str(String nonce_str) {
		this.nonce_str = nonce_str;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public String getNotify_url() {
		return notify_url;
	}

	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}

	public String getTotal_fee() {
		return total_fee;
	}

	public void setTotal_fee(String total_fee) {
		this.total_fee = total_fee;
	}

	public String getSpbill_create_ip() {
		return spbill_create_ip;
	}

	public void setSpbill_create_ip(String spbill_create_ip) {
		this.spbill_create_ip = spbill_create_ip;
	}

	public String getTime_start() {
		return time_start;
	}

	public void setTime_start(String time_start) {
		this.time_start = time_start;
	}

	public String getTime_expire() {
		return time_expire;
	}

	public void setTime_expire(String time_expire) {
		this.time_expire = time_expire;
	}

	public String getGoods_tag() {
		return goods_tag;
	}

	public void setGoods_tag(String goods_tag) {
		this.goods_tag = goods_tag;
	}

	public String getTrade_type() {
		return trade_type;
	}

	public void setTrade_type(String trade_type) {
		this.trade_type = trade_type;
	}

	public String getProduct_id() {
		return product_id;
	}

	public void setProduct_id(String product_id) {
		this.product_id = product_id;
	}

	public String getLimit_pay() {
		return limit_pay;
	}

	public void setLimit_pay(String limit_pay) {
		this.limit_pay = limit_pay;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getPlan_id() {
		return plan_id;
	}

	public void setPlan_id(String plan_id) {
		this.plan_id = plan_id;
	}

	public String getContract_code() {
		return contract_code;
	}

	public void setContract_code(String contract_code) {
		this.contract_code = contract_code;
	}

	public String getRequest_serial() {
		return request_serial;
	}

	public void setRequest_serial(String request_serial) {
		this.request_serial = request_serial;
	}

	public String getContract_display_account() {
		return contract_display_account;
	}

	public void setContract_display_account(String contract_display_account) {
		this.contract_display_account = contract_display_account;
	}

	public String getContract_notify_url() {
		return contract_notify_url;
	}

	public void setContract_notify_url(String contract_notify_url) {
		this.contract_notify_url = contract_notify_url;
	}

	public String getSign_type() {
		return sign_type;
	}

	public void setSign_type(String sign_type) {
		this.sign_type = sign_type;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

}

@@ -247,16 +247,60 @@
 ter;%0D%0A%0D%0A
+import weixin.popular.bean.AdaptorCDATA;%0D%0A%0D%0A
 /**%0D%0A * 
@@ -679,37 +679,28 @@
 value = 
-Detail.JsonXmlAdapter
+AdaptorCDATA
 .class)%0D
@@ -752,37 +752,28 @@
 value = 
-Detail.JsonXmlAdapter
+AdaptorCDATA
 .class)%0D
@@ -827,37 +827,28 @@
 value = 
-Detail.JsonXmlAdapter
+AdaptorCDATA
 .class)%0D
@@ -1287,29 +1287,20 @@
 e = 
-Detail.JsonXmlAdapter
+AdaptorCDATA
 .cla

更新 PayContractorder