cn.jsbintask.wxpay.request.WxPayCloseOrderRequest 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.WxPayConstants;
import cn.jsbintask.wxpay.response.WxPayResponse;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
* @author [email protected]
* @date 2019/9/9 9:19
*/
@EqualsAndHashCode(callSuper = true)
@Data
@JacksonXmlRootElement(localName = "xml")
@ToString(callSuper = true)
public class WxPayCloseOrderRequest extends AbstractWxPayRequest {
/**
* 系统内部内部订单号
*/
private String outTradeNo;
@Override
public Class extends WxPayResponse> responseType() {
return WxPayResponse.class;
}
@Override
public boolean ssl() {
return false;
}
@Override
public String apiSuffix() {
return WxPayConstants.CLOSEORDER_URL_SUFFIX;
}
}