cn.jsbintask.wxpay.request.AbstractWxPayRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wxpay-sdk Show documentation
Show all versions of wxpay-sdk Show documentation
wxpay-sdk is a tool for WX pay.
The newest version!
package cn.jsbintask.wxpay.request;
import cn.jsbintask.wxpay.response.WxPayResponse;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;
/**
* @author [email protected]
* @date 2019/9/5 17:07
*/
@Data
public abstract class AbstractWxPayRequest {
@JacksonXmlProperty(localName = "appid")
private String appId;
@JacksonXmlProperty(localName = "mch_id")
private String mchId;
private String sign;
private String signType;
/**
* 随机字符串,不长于32位。推荐随机数生成算法
*/
private String nonceStr;
@JsonIgnore
public abstract Class extends WxPayResponse> responseType();
@JsonIgnore
public abstract boolean ssl();
@JsonIgnore
public abstract String apiSuffix();
}