com.github.binarywang.wxpay.bean.request.WxPayOrderCloseRequest Maven / Gradle / Ivy
The newest version!
package com.github.binarywang.wxpay.bean.request;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.*;
import java.util.Map;
/**
*
* 关闭订单请求对象类
* Created by Binary Wang on 2016-10-27.
*
*
* @author Binary Wang
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Builder(builderMethodName = "newBuilder")
@NoArgsConstructor
@AllArgsConstructor
@XStreamAlias("xml")
public class WxPayOrderCloseRequest extends BaseWxPayRequest {
/**
*
* 商户订单号
* out_trade_no
* 二选一
* String(32)
* 20150806125346
* 商户系统内部的订单号,当没提供transaction_id时需要传这个。
*
*/
@XStreamAlias("out_trade_no")
private String outTradeNo;
@Override
protected void checkConstraints() {
}
@Override
protected void storeMap(Map map) {
map.put("out_trade_no", outTradeNo);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy