weixin.popular.bean.paymch.MchShorturl 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.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import weixin.popular.bean.AdaptorCDATA;
@XmlRootElement(name="xml")
@XmlAccessorType(XmlAccessType.FIELD)
public class MchShorturl {
@XmlElement
private String appid;
@XmlElement
private String mch_id;
@XmlElement
private String long_url;
@XmlElement
private String nonce_str;
@XmlElement
@XmlJavaTypeAdapter(value = AdaptorCDATA.class)
private String sign;
@XmlElement
private String sign_type;
/**
* @since 2.8.5
*/
protected String sub_appid;
/**
* @since 2.8.5
*/
protected String sub_mch_id;
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 getLong_url() {
return long_url;
}
public void setLong_url(String long_url) {
this.long_url = long_url;
}
public String getNonce_str() {
return nonce_str;
}
public void setNonce_str(String nonce_str) {
this.nonce_str = nonce_str;
}
public String getSign() {
return sign;
}
public void setSign(String sign) {
this.sign = sign;
}
public String getSub_appid() {
return sub_appid;
}
public void setSub_appid(String sub_appid) {
this.sub_appid = sub_appid;
}
public String getSub_mch_id() {
return sub_mch_id;
}
public void setSub_mch_id(String sub_mch_id) {
this.sub_mch_id = sub_mch_id;
}
public String getSign_type() {
return sign_type;
}
/**
* 签名类型
* @since 2.8.5
* @param sign_type HMAC-SHA256和MD5
*/
public void setSign_type(String sign_type) {
this.sign_type = sign_type;
}
}