mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-22 21:00:51 +08:00
🎨 #1472 补充微信支付模块部分Result类在XML快速模式转换下缺失的字段
This commit is contained in:
parent
0397e44002
commit
60c37d83da
@ -1,17 +1,13 @@
|
||||
package com.github.binarywang.wxpay.bean.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.*;
|
||||
import org.w3c.dom.Document;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 查询订单 返回结果对象
|
||||
@ -360,6 +356,11 @@ public class WxPayOrderQueryResult extends BaseWxPayResult {
|
||||
cashFeeType = readXMLString(d, "cash_fee_type");
|
||||
couponFee = readXMLInteger(d, "coupon_fee");
|
||||
couponCount = readXMLInteger(d, "coupon_count");
|
||||
this.transactionId = readXMLString(d, "transaction_id");
|
||||
this.outTradeNo = readXMLString(d, "out_trade_no");
|
||||
this.attach = readXMLString(d, "attach");
|
||||
this.timeEnd = readXMLString(d, "time_end");
|
||||
this.tradeStateDesc = readXMLString(d, "trade_state_desc");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,9 +1,5 @@
|
||||
package com.github.binarywang.wxpay.bean.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@ -12,6 +8,10 @@ import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.NodeList;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Created by Binary Wang on 2016-11-28.
|
||||
@ -241,6 +241,7 @@ public class WxPayRedpackQueryResult extends BaseWxPayResult {
|
||||
hbType = readXMLString(d, "hb_type");
|
||||
totalNum = readXMLInteger(d, "total_num");
|
||||
totalAmount = readXMLInteger(d, "total_amount");
|
||||
reason = readXMLString(d, "reason");
|
||||
sendTime = readXMLString(d, "send_time");
|
||||
refundTime = readXMLString(d, "refund_time");
|
||||
refundAmount = readXMLInteger(d, "refund_amount");
|
||||
|
Loading…
Reference in New Issue
Block a user