All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.jsbintask.wxpay.request.WxPayCloseOrderRequest Maven / Gradle / Ivy

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 responseType() {
        return WxPayResponse.class;
    }

    @Override
    public boolean ssl() {
        return false;
    }

    @Override
    public String apiSuffix() {
        return WxPayConstants.CLOSEORDER_URL_SUFFIX;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy