1 package com.foxinmy.weixin4j.mp.oldpayment;
2
3 import java.util.List;
4
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlRootElement;
9
10 import com.alibaba.fastjson.annotation.JSONField;
11 import com.foxinmy.weixin4j.xml.ListsuffixResult;
12
13
14
15
16
17
18
19
20
21
22 @XmlRootElement
23 @XmlAccessorType(XmlAccessType.FIELD)
24 public class RefundRecordV2 extends ApiResultV2 {
25
26 private static final long serialVersionUID = -2971132874939642721L;
27
28
29
30
31 @XmlElement(name = "transaction_id")
32 @JSONField(name = "transaction_id")
33 private String transactionId;
34
35
36
37 @XmlElement(name = "out_trade_no")
38 @JSONField(name = "out_trade_no")
39 private String outTradeNo;
40
41
42
43 @XmlElement(name = "refund_count")
44 @JSONField(name = "refund_count")
45 private int refundCount;
46
47
48
49 @ListsuffixResult
50 private List<RefundDetailV2> refundList;
51
52 protected RefundRecordV2() {
53
54 }
55
56 public String getTransactionId() {
57 return transactionId;
58 }
59
60 public String getOutTradeNo() {
61 return outTradeNo;
62 }
63
64 public int getRefundCount() {
65 return refundCount;
66 }
67
68 public List<RefundDetailV2> getRefundList() {
69 return refundList;
70 }
71
72 public void setRefundList(List<RefundDetailV2> refundList) {
73 this.refundList = refundList;
74 }
75
76 @Override
77 public String toString() {
78 return "RefundRecord [transactionId=" + transactionId + ", outTradeNo="
79 + outTradeNo + ", refundCount=" + refundCount + ", refundList="
80 + refundList + ", " + super.toString() + "]";
81 }
82 }