mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
重构不规范的类名
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package com.github.binarywang.wxpay.bean.coupon;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.request.WxPayBaseRequest;
|
||||
import com.github.binarywang.wxpay.bean.request.BaseWxPayRequest;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.*;
|
||||
import me.chanjar.weixin.common.annotation.Required;
|
||||
@@ -19,7 +19,7 @@ import me.chanjar.weixin.common.annotation.Required;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayCouponInfoQueryRequest extends WxPayBaseRequest {
|
||||
public class WxPayCouponInfoQueryRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:代金券id
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.github.binarywang.wxpay.bean.coupon;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.result.WxPayBaseResult;
|
||||
import com.github.binarywang.wxpay.bean.result.BaseWxPayResult;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@@ -18,7 +18,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayCouponInfoQueryResult extends WxPayBaseResult {
|
||||
public class WxPayCouponInfoQueryResult extends BaseWxPayResult {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:设备号.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.github.binarywang.wxpay.bean.coupon;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.request.WxPayBaseRequest;
|
||||
import com.github.binarywang.wxpay.bean.request.BaseWxPayRequest;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.*;
|
||||
import me.chanjar.weixin.common.annotation.Required;
|
||||
@@ -20,7 +20,7 @@ import me.chanjar.weixin.common.annotation.Required;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayCouponSendRequest extends WxPayBaseRequest {
|
||||
public class WxPayCouponSendRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:代金券批次id
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.github.binarywang.wxpay.bean.coupon;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.result.WxPayBaseResult;
|
||||
import com.github.binarywang.wxpay.bean.result.BaseWxPayResult;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@@ -18,7 +18,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayCouponSendResult extends WxPayBaseResult {
|
||||
public class WxPayCouponSendResult extends BaseWxPayResult {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:设备号
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.github.binarywang.wxpay.bean.coupon;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.request.WxPayBaseRequest;
|
||||
import com.github.binarywang.wxpay.bean.request.BaseWxPayRequest;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.*;
|
||||
import me.chanjar.weixin.common.annotation.Required;
|
||||
@@ -20,7 +20,7 @@ import me.chanjar.weixin.common.annotation.Required;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayCouponStockQueryRequest extends WxPayBaseRequest {
|
||||
public class WxPayCouponStockQueryRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:代金券批次id
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.github.binarywang.wxpay.bean.coupon;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.result.WxPayBaseResult;
|
||||
import com.github.binarywang.wxpay.bean.result.BaseWxPayResult;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
@@ -20,7 +20,7 @@ import lombok.NoArgsConstructor;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayCouponStockQueryResult extends WxPayBaseResult {
|
||||
public class WxPayCouponStockQueryResult extends BaseWxPayResult {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:设备号
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.github.binarywang.wxpay.bean.notify;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.result.WxPayBaseResult;
|
||||
import com.github.binarywang.wxpay.bean.result.BaseWxPayResult;
|
||||
import com.github.binarywang.wxpay.converter.WxPayOrderNotifyResultConverter;
|
||||
import com.thoughtworks.xstream.XStream;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
@@ -25,7 +25,7 @@ import java.util.Map;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayOrderNotifyResult extends WxPayBaseResult implements Serializable {
|
||||
public class WxPayOrderNotifyResult extends BaseWxPayResult implements Serializable {
|
||||
private static final long serialVersionUID = 5389718115223345496L;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.github.binarywang.wxpay.bean.notify;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.result.WxPayBaseResult;
|
||||
import com.github.binarywang.wxpay.bean.result.BaseWxPayResult;
|
||||
import com.github.binarywang.wxpay.exception.WxPayException;
|
||||
import com.thoughtworks.xstream.XStream;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
@@ -31,7 +31,7 @@ import java.security.MessageDigest;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayRefundNotifyResult extends WxPayBaseResult implements Serializable {
|
||||
public class WxPayRefundNotifyResult extends BaseWxPayResult implements Serializable {
|
||||
private static final long serialVersionUID = 4651725860079259186L;
|
||||
|
||||
/**
|
||||
@@ -41,7 +41,7 @@ public class WxPayRefundNotifyResult extends WxPayBaseResult implements Serializ
|
||||
* @param mchKey 商户密钥
|
||||
*/
|
||||
public static WxPayRefundNotifyResult fromXML(String xmlString, String mchKey) throws WxPayException {
|
||||
WxPayRefundNotifyResult result = WxPayBaseResult.fromXML(xmlString, WxPayRefundNotifyResult.class);
|
||||
WxPayRefundNotifyResult result = BaseWxPayResult.fromXML(xmlString, WxPayRefundNotifyResult.class);
|
||||
String reqInfoString = result.getReqInfoString();
|
||||
try {
|
||||
Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.github.binarywang.wxpay.bean.notify;
|
||||
|
||||
import com.github.binarywang.wxpay.bean.result.WxPayBaseResult;
|
||||
import com.github.binarywang.wxpay.bean.result.BaseWxPayResult;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@@ -11,7 +11,7 @@ import java.io.Serializable;
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
public class WxScanPayNotifyResult extends WxPayBaseResult implements Serializable {
|
||||
public class WxScanPayNotifyResult extends BaseWxPayResult implements Serializable {
|
||||
private static final long serialVersionUID = 3381324564266118986L;
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,7 +25,7 @@ import static com.github.binarywang.wxpay.constant.WxPayConstants.SignType.ALL_S
|
||||
* @author <a href="https://github.com/binarywang">Binary Wang</a>
|
||||
*/
|
||||
@Data
|
||||
public abstract class WxPayBaseRequest {
|
||||
public abstract class BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:公众账号ID
|
||||
@@ -26,7 +26,7 @@ import me.chanjar.weixin.common.util.ToStringUtils;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxEntPayQueryRequest extends WxPayBaseRequest {
|
||||
public class WxEntPayQueryRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 商户订单号
|
||||
|
||||
@@ -20,7 +20,7 @@ import me.chanjar.weixin.common.util.ToStringUtils;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxEntPayRequest extends WxPayBaseRequest {
|
||||
public class WxEntPayRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:公众账号appid
|
||||
|
||||
@@ -17,7 +17,7 @@ import lombok.*;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayAuthcode2OpenidRequest extends WxPayBaseRequest {
|
||||
public class WxPayAuthcode2OpenidRequest extends BaseWxPayRequest {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
|
||||
@@ -11,7 +11,7 @@ import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
* @author <a href="https://github.com/binarywang">Binary Wang</a>
|
||||
*/
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayDefaultRequest extends WxPayBaseRequest {
|
||||
public class WxPayDefaultRequest extends BaseWxPayRequest {
|
||||
@Override
|
||||
protected void checkConstraints() {
|
||||
//do nothing
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.util.Arrays;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayDownloadBillRequest extends WxPayBaseRequest {
|
||||
public class WxPayDownloadBillRequest extends BaseWxPayRequest {
|
||||
private static final String[] BILL_TYPES = new String[]{BillType.ALL, BillType.SUCCESS, BillType.REFUND, BillType.RECHARGE_REFUND};
|
||||
private static final String TAR_TYPE_GZIP = "GZIP";
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import me.chanjar.weixin.common.annotation.Required;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayMicropayRequest extends WxPayBaseRequest {
|
||||
public class WxPayMicropayRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 商品描述
|
||||
|
||||
@@ -17,7 +17,7 @@ import lombok.*;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayOrderCloseRequest extends WxPayBaseRequest {
|
||||
public class WxPayOrderCloseRequest extends BaseWxPayRequest {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayOrderQueryRequest extends WxPayBaseRequest {
|
||||
public class WxPayOrderQueryRequest extends BaseWxPayRequest {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
|
||||
@@ -19,7 +19,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayOrderReverseRequest extends WxPayBaseRequest {
|
||||
public class WxPayOrderReverseRequest extends BaseWxPayRequest {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
|
||||
@@ -19,7 +19,7 @@ import me.chanjar.weixin.common.annotation.Required;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayQueryCommentRequest extends WxPayBaseRequest {
|
||||
public class WxPayQueryCommentRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:开始时间
|
||||
|
||||
@@ -23,7 +23,7 @@ import lombok.*;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayRedpackQueryRequest extends WxPayBaseRequest {
|
||||
public class WxPayRedpackQueryRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* 商户订单号
|
||||
* mch_billno
|
||||
|
||||
@@ -18,7 +18,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayRefundQueryRequest extends WxPayBaseRequest {
|
||||
public class WxPayRefundQueryRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 设备号
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.util.Arrays;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayRefundRequest extends WxPayBaseRequest {
|
||||
public class WxPayRefundRequest extends BaseWxPayRequest {
|
||||
private static final String[] REFUND_ACCOUNT = new String[]{
|
||||
RefundAccountSource.RECHARGE_FUNDS, RefundAccountSource.UNSETTLED_FUNDS};
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ import me.chanjar.weixin.common.annotation.Required;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayReportRequest extends WxPayBaseRequest {
|
||||
public class WxPayReportRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 设备号
|
||||
|
||||
@@ -15,7 +15,7 @@ import lombok.*;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPaySendRedpackRequest extends WxPayBaseRequest {
|
||||
public class WxPaySendRedpackRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* mch_billno
|
||||
* 商户订单号(每个订单号必须唯一) 组成:mch_id+yyyymmdd+10位一天内不能重复的数字。 接口根据商户订单号支持重入,如出现超时可再调用。
|
||||
|
||||
@@ -17,7 +17,7 @@ import lombok.*;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayShorturlRequest extends WxPayBaseRequest {
|
||||
public class WxPayShorturlRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* URL链接
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayUnifiedOrderRequest extends WxPayBaseRequest {
|
||||
public class WxPayUnifiedOrderRequest extends BaseWxPayRequest {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:设备号
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.github.binarywang.wxpay.bean.result;
|
||||
|
||||
import com.github.binarywang.wxpay.exception.WxPayException;
|
||||
import com.github.binarywang.wxpay.service.impl.WxPayServiceAbstractImpl;
|
||||
import com.github.binarywang.wxpay.service.impl.BaseWxPayServiceImpl;
|
||||
import com.github.binarywang.wxpay.util.SignUtils;
|
||||
import com.google.common.base.Joiner;
|
||||
import com.google.common.collect.Lists;
|
||||
@@ -38,7 +38,7 @@ import java.util.Map;
|
||||
* @author <a href="https://github.com/binarywang">Binary Wang</a>
|
||||
*/
|
||||
@Data
|
||||
public abstract class WxPayBaseResult {
|
||||
public abstract class BaseWxPayResult {
|
||||
/**
|
||||
* 返回状态码
|
||||
*/
|
||||
@@ -121,7 +121,7 @@ public abstract class WxPayBaseResult {
|
||||
/**
|
||||
* 从xml字符串创建bean对象
|
||||
*/
|
||||
public static <T extends WxPayBaseResult> T fromXML(String xmlString, Class<T> clz) {
|
||||
public static <T extends BaseWxPayResult> T fromXML(String xmlString, Class<T> clz) {
|
||||
XStream xstream = XStreamInitializer.getInstance();
|
||||
xstream.processAnnotations(clz);
|
||||
T result = (T) xstream.fromXML(xmlString);
|
||||
@@ -219,7 +219,7 @@ public abstract class WxPayBaseResult {
|
||||
* @param signType 签名类型
|
||||
* @param checkSuccess 是否同时检查结果是否成功
|
||||
*/
|
||||
public void checkResult(WxPayServiceAbstractImpl wxPayService, String signType, boolean checkSuccess) throws WxPayException {
|
||||
public void checkResult(BaseWxPayServiceImpl wxPayService, String signType, boolean checkSuccess) throws WxPayException {
|
||||
//校验返回结果签名
|
||||
Map<String, String> map = toMap();
|
||||
if (getSign() != null && !SignUtils.checkSign(map, signType, wxPayService.getConfig().getMchKey())) {
|
||||
@@ -15,7 +15,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxEntPayQueryResult extends WxPayBaseResult {
|
||||
public class WxEntPayQueryResult extends BaseWxPayResult {
|
||||
|
||||
/**
|
||||
* 商户订单号
|
||||
|
||||
@@ -15,7 +15,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxEntPayResult extends WxPayBaseResult {
|
||||
public class WxEntPayResult extends BaseWxPayResult {
|
||||
|
||||
/**
|
||||
* 商户appid
|
||||
|
||||
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayAuthcode2OpenidResult extends WxPayBaseResult {
|
||||
public class WxPayAuthcode2OpenidResult extends BaseWxPayResult {
|
||||
/**
|
||||
* <pre>
|
||||
* 用户标识
|
||||
|
||||
@@ -12,5 +12,5 @@ import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
*/
|
||||
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayCommonResult extends WxPayBaseResult {
|
||||
public class WxPayCommonResult extends BaseWxPayResult {
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayMicropayResult extends WxPayBaseResult {
|
||||
public class WxPayMicropayResult extends BaseWxPayResult {
|
||||
/**
|
||||
* <pre>
|
||||
* 用户标识
|
||||
|
||||
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayOrderCloseResult extends WxPayBaseResult {
|
||||
public class WxPayOrderCloseResult extends BaseWxPayResult {
|
||||
|
||||
/**
|
||||
* 业务结果描述
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.util.List;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayOrderQueryResult extends WxPayBaseResult {
|
||||
public class WxPayOrderQueryResult extends BaseWxPayResult {
|
||||
|
||||
/**
|
||||
* <pre>设备号
|
||||
|
||||
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayOrderReverseResult extends WxPayBaseResult {
|
||||
public class WxPayOrderReverseResult extends BaseWxPayResult {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
|
||||
@@ -23,7 +23,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayRedpackQueryResult extends WxPayBaseResult {
|
||||
public class WxPayRedpackQueryResult extends BaseWxPayResult {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
|
||||
@@ -18,7 +18,7 @@ import java.util.List;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayRefundQueryResult extends WxPayBaseResult {
|
||||
public class WxPayRefundQueryResult extends BaseWxPayResult {
|
||||
/**
|
||||
* <pre>
|
||||
* 字段名:设备号.
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.io.Serializable;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayRefundResult extends WxPayBaseResult implements Serializable {
|
||||
public class WxPayRefundResult extends BaseWxPayResult implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@XStreamAlias("device_info")
|
||||
|
||||
@@ -16,7 +16,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPaySandboxSignKeyResult extends WxPayBaseResult {
|
||||
public class WxPaySandboxSignKeyResult extends BaseWxPayResult {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.io.Serializable;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPaySendRedpackResult extends WxPayBaseResult implements Serializable {
|
||||
public class WxPaySendRedpackResult extends BaseWxPayResult implements Serializable {
|
||||
private static final long serialVersionUID = -4837415036337132073L;
|
||||
|
||||
@XStreamAlias("mch_billno")
|
||||
|
||||
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayShorturlResult extends WxPayBaseResult {
|
||||
public class WxPayShorturlResult extends BaseWxPayResult {
|
||||
/**
|
||||
* <pre>
|
||||
* URL链接
|
||||
|
||||
@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@XStreamAlias("xml")
|
||||
public class WxPayUnifiedOrderResult extends WxPayBaseResult {
|
||||
public class WxPayUnifiedOrderResult extends BaseWxPayResult {
|
||||
|
||||
/**
|
||||
* 微信生成的预支付回话标识,用于后续接口调用中使用,该值有效期为2小时
|
||||
|
||||
Reference in New Issue
Block a user