File tree 2 files changed +14
-12
lines changed
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/result 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1
1
package com .github .binarywang .wxpay .bean .result ;
2
2
3
- import java .io .Serializable ;
4
- import java .util .List ;
5
-
6
3
import com .google .common .collect .Lists ;
7
4
import com .thoughtworks .xstream .annotations .XStreamAlias ;
8
- import lombok .AllArgsConstructor ;
9
- import lombok .Builder ;
10
- import lombok .Data ;
11
- import lombok .EqualsAndHashCode ;
12
- import lombok .NoArgsConstructor ;
5
+ import lombok .*;
13
6
import org .w3c .dom .Document ;
14
7
8
+ import java .io .Serializable ;
9
+ import java .util .List ;
10
+
15
11
/**
16
12
* <pre>
17
13
* 查询订单 返回结果对象
@@ -360,6 +356,11 @@ protected void loadXML(Document d) {
360
356
cashFeeType = readXMLString (d , "cash_fee_type" );
361
357
couponFee = readXMLInteger (d , "coupon_fee" );
362
358
couponCount = readXMLInteger (d , "coupon_count" );
359
+ this .transactionId = readXMLString (d , "transaction_id" );
360
+ this .outTradeNo = readXMLString (d , "out_trade_no" );
361
+ this .attach = readXMLString (d , "attach" );
362
+ this .timeEnd = readXMLString (d , "time_end" );
363
+ this .tradeStateDesc = readXMLString (d , "trade_state_desc" );
363
364
}
364
365
365
366
/**
Original file line number Diff line number Diff line change 1
1
package com .github .binarywang .wxpay .bean .result ;
2
2
3
- import java .io .Serializable ;
4
- import java .util .ArrayList ;
5
- import java .util .List ;
6
-
7
3
import com .thoughtworks .xstream .annotations .XStreamAlias ;
8
4
import lombok .Data ;
9
5
import lombok .EqualsAndHashCode ;
12
8
import org .w3c .dom .Node ;
13
9
import org .w3c .dom .NodeList ;
14
10
11
+ import java .io .Serializable ;
12
+ import java .util .ArrayList ;
13
+ import java .util .List ;
14
+
15
15
/**
16
16
* <pre>
17
17
* Created by Binary Wang on 2016-11-28.
@@ -241,6 +241,7 @@ protected void loadXML(Document d) {
241
241
hbType = readXMLString (d , "hb_type" );
242
242
totalNum = readXMLInteger (d , "total_num" );
243
243
totalAmount = readXMLInteger (d , "total_amount" );
244
+ reason = readXMLString (d , "reason" );
244
245
sendTime = readXMLString (d , "send_time" );
245
246
refundTime = readXMLString (d , "refund_time" );
246
247
refundAmount = readXMLInteger (d , "refund_amount" );
You can’t perform that action at this time.
0 commit comments