com.github.binarywang.wxpay.bean.request.WxPayShorturlRequest Maven / Gradle / Ivy
package com.github.binarywang.wxpay.bean.request;
import com.thoughtworks.xstream.annotations.XStreamAlias;
/**
*
* 转换短链接请求对象类
* Created by Binary Wang on 2017-3-27.
* @author binarywang(Binary Wang)
*
*/
@XStreamAlias("xml")
public class WxPayShorturlRequest extends WxPayBaseRequest {
/**
*
* URL链接
* long_url
* 是
* String(512)
* weixin://wxpay/bizpayurl?sign=XXXXX&appid=XXXXX&mch_id=XXXXX&product_id=XXXXXX&time_stamp=XXXXXX&nonce_str=XXXXX
* 需要转换的URL,签名用原串,传输需URLencode
*
*/
@XStreamAlias("long_url")
private String longUrl;
public WxPayShorturlRequest() {
}
public WxPayShorturlRequest(String longUrl) {
this.longUrl = longUrl;
}
public String getLongUrl() {
return this.longUrl;
}
public void setLongUrl(String longUrl) {
this.longUrl = longUrl;
}
@Override
protected void checkConstraints() {
//do nothing
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy