|
1 | 1 | package me.chanjar.weixin.mp.bean.pay;
|
2 | 2 |
|
3 |
| -import java.io.Serializable; |
4 |
| - |
5 | 3 | import com.thoughtworks.xstream.annotations.XStreamAlias;
|
| 4 | +import org.apache.commons.lang3.builder.ToStringBuilder; |
| 5 | +import org.apache.commons.lang3.builder.ToStringStyle; |
| 6 | + |
| 7 | +import java.io.Serializable; |
6 | 8 |
|
7 | 9 | /**
|
| 10 | + * <pre> |
8 | 11 | * 微信支付-申请退款返回结果
|
9 | 12 | * https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_4
|
| 13 | + * </pre> |
10 | 14 | * @author liukaitj
|
11 | 15 | *
|
12 | 16 | */
|
13 | 17 | @XStreamAlias("xml")
|
14 | 18 | public class WxMpPayRefundResult implements Serializable {
|
15 |
| - |
16 | 19 | private static final long serialVersionUID = 1L;
|
17 | 20 |
|
18 | 21 | @XStreamAlias("return_code")
|
19 | 22 | private String returnCode;
|
20 |
| - |
| 23 | + |
21 | 24 | @XStreamAlias("return_msg")
|
22 | 25 | private String returnMsg;
|
23 |
| - |
| 26 | + |
24 | 27 | @XStreamAlias("result_code")
|
25 | 28 | private String resultCode;
|
26 |
| - |
| 29 | + |
27 | 30 | @XStreamAlias("err_code")
|
28 | 31 | private String errCode;
|
29 |
| - |
| 32 | + |
30 | 33 | @XStreamAlias("err_code_des")
|
31 | 34 | private String errCodeDes;
|
32 |
| - |
| 35 | + |
33 | 36 | @XStreamAlias("appid")
|
34 | 37 | private String appid;
|
35 |
| - |
| 38 | + |
36 | 39 | @XStreamAlias("mch_id")
|
37 | 40 | private String mchId;
|
38 |
| - |
| 41 | + |
39 | 42 | @XStreamAlias("device_info")
|
40 | 43 | private String deviceInfo;
|
41 |
| - |
| 44 | + |
42 | 45 | @XStreamAlias("nonce_str")
|
43 | 46 | private String nonceStr;
|
44 |
| - |
| 47 | + |
45 | 48 | @XStreamAlias("sign")
|
46 | 49 | private String sign;
|
47 |
| - |
| 50 | + |
48 | 51 | @XStreamAlias("transaction_id")
|
49 | 52 | private String transactionId;
|
50 |
| - |
| 53 | + |
51 | 54 | @XStreamAlias("out_trade_no")
|
52 | 55 | private String outTradeNo;
|
53 |
| - |
| 56 | + |
54 | 57 | @XStreamAlias("out_refund_no")
|
55 | 58 | private String outRefundNo;
|
56 |
| - |
| 59 | + |
57 | 60 | @XStreamAlias("refund_id")
|
58 | 61 | private String refundId;
|
59 |
| - |
| 62 | + |
60 | 63 | @XStreamAlias("refund_channel")
|
61 | 64 | private String refundChannel;
|
62 |
| - |
| 65 | + |
63 | 66 | @XStreamAlias("refund_fee")
|
64 | 67 | private String refundFee;
|
65 |
| - |
| 68 | + |
66 | 69 | @XStreamAlias("total_fee")
|
67 | 70 | private String totalFee;
|
68 |
| - |
| 71 | + |
69 | 72 | @XStreamAlias("fee_type")
|
70 | 73 | private String feeType;
|
71 |
| - |
| 74 | + |
72 | 75 | @XStreamAlias("cash_fee")
|
73 | 76 | private String cashFee;
|
74 |
| - |
| 77 | + |
75 | 78 | @XStreamAlias("cash_refund_fee")
|
76 |
| - private String cashRefundfee; |
77 |
| - |
| 79 | + private String cashRefundFee; |
| 80 | + |
78 | 81 | @XStreamAlias("coupon_refund_fee")
|
79 | 82 | private String couponRefundFee;
|
80 |
| - |
| 83 | + |
81 | 84 | @XStreamAlias("coupon_refund_count")
|
82 | 85 | private String couponRefundCount;
|
83 |
| - |
| 86 | + |
84 | 87 | @XStreamAlias("coupon_refund_id")
|
85 | 88 | private String couponRefundId;
|
86 | 89 |
|
87 | 90 | public String getReturnCode() {
|
88 | 91 | return this.returnCode;
|
89 | 92 | }
|
90 |
| - |
| 93 | + |
91 | 94 | public void setReturnCode(String returnCode) {
|
92 | 95 | this.returnCode = returnCode;
|
93 | 96 | }
|
94 |
| - |
| 97 | + |
95 | 98 | public String getReturnMsg() {
|
96 | 99 | return this.returnMsg;
|
97 | 100 | }
|
98 |
| - |
| 101 | + |
99 | 102 | public void setReturnMsg(String returnMsg) {
|
100 | 103 | this.returnMsg = returnMsg;
|
101 | 104 | }
|
102 |
| - |
| 105 | + |
103 | 106 | public String getResultCode() {
|
104 | 107 | return this.resultCode;
|
105 | 108 | }
|
106 |
| - |
| 109 | + |
107 | 110 | public void setResultCode(String resultCode) {
|
108 | 111 | this.resultCode = resultCode;
|
109 | 112 | }
|
110 |
| - |
| 113 | + |
111 | 114 | public String getErrCode() {
|
112 | 115 | return this.errCode;
|
113 | 116 | }
|
114 |
| - |
| 117 | + |
115 | 118 | public void setErrCode(String errCode) {
|
116 | 119 | this.errCode = errCode;
|
117 | 120 | }
|
118 |
| - |
| 121 | + |
119 | 122 | public String getErrCodeDes() {
|
120 | 123 | return this.errCodeDes;
|
121 | 124 | }
|
122 |
| - |
| 125 | + |
123 | 126 | public void setErrCodeDes(String errCodeDes) {
|
124 | 127 | this.errCodeDes = errCodeDes;
|
125 | 128 | }
|
126 |
| - |
| 129 | + |
127 | 130 | public String getAppid() {
|
128 | 131 | return this.appid;
|
129 | 132 | }
|
130 |
| - |
| 133 | + |
131 | 134 | public void setAppid(String appid) {
|
132 | 135 | this.appid = appid;
|
133 | 136 | }
|
134 |
| - |
| 137 | + |
135 | 138 | public String getMchId() {
|
136 | 139 | return this.mchId;
|
137 | 140 | }
|
138 |
| - |
| 141 | + |
139 | 142 | public void setMchId(String mchId) {
|
140 | 143 | this.mchId = mchId;
|
141 | 144 | }
|
142 |
| - |
| 145 | + |
143 | 146 | public String getDeviceInfo() {
|
144 | 147 | return this.deviceInfo;
|
145 | 148 | }
|
146 |
| - |
| 149 | + |
147 | 150 | public void setDeviceInfo(String deviceInfo) {
|
148 | 151 | this.deviceInfo = deviceInfo;
|
149 | 152 | }
|
150 |
| - |
| 153 | + |
151 | 154 | public String getNonceStr() {
|
152 | 155 | return this.nonceStr;
|
153 | 156 | }
|
154 |
| - |
| 157 | + |
155 | 158 | public void setNonceStr(String nonceStr) {
|
156 | 159 | this.nonceStr = nonceStr;
|
157 | 160 | }
|
158 |
| - |
| 161 | + |
159 | 162 | public String getSign() {
|
160 | 163 | return this.sign;
|
161 | 164 | }
|
162 |
| - |
| 165 | + |
163 | 166 | public void setSign(String sign) {
|
164 | 167 | this.sign = sign;
|
165 | 168 | }
|
166 |
| - |
| 169 | + |
167 | 170 | public String getTransactionId() {
|
168 | 171 | return this.transactionId;
|
169 | 172 | }
|
170 |
| - |
| 173 | + |
171 | 174 | public void setTransactionId(String transactionId) {
|
172 | 175 | this.transactionId = transactionId;
|
173 | 176 | }
|
174 |
| - |
| 177 | + |
175 | 178 | public String getOutTradeNo() {
|
176 | 179 | return this.outTradeNo;
|
177 | 180 | }
|
178 |
| - |
| 181 | + |
179 | 182 | public void setOutTradeNo(String outTradeNo) {
|
180 | 183 | this.outTradeNo = outTradeNo;
|
181 | 184 | }
|
182 |
| - |
| 185 | + |
183 | 186 | public String getOutRefundNo() {
|
184 | 187 | return this.outRefundNo;
|
185 | 188 | }
|
186 |
| - |
| 189 | + |
187 | 190 | public void setOutRefundNo(String outRefundNo) {
|
188 | 191 | this.outRefundNo = outRefundNo;
|
189 | 192 | }
|
190 |
| - |
| 193 | + |
191 | 194 | public String getRefundId() {
|
192 | 195 | return this.refundId;
|
193 | 196 | }
|
194 |
| - |
| 197 | + |
195 | 198 | public void setRefundId(String refundId) {
|
196 | 199 | this.refundId = refundId;
|
197 | 200 | }
|
198 |
| - |
| 201 | + |
199 | 202 | public String getRefundChannel() {
|
200 | 203 | return this.refundChannel;
|
201 | 204 | }
|
202 |
| - |
| 205 | + |
203 | 206 | public void setRefundChannel(String refundChannel) {
|
204 | 207 | this.refundChannel = refundChannel;
|
205 | 208 | }
|
206 |
| - |
| 209 | + |
207 | 210 | public String getRefundFee() {
|
208 | 211 | return this.refundFee;
|
209 | 212 | }
|
210 |
| - |
| 213 | + |
211 | 214 | public void setRefundFee(String refundFee) {
|
212 | 215 | this.refundFee = refundFee;
|
213 | 216 | }
|
214 |
| - |
| 217 | + |
215 | 218 | public String getTotalFee() {
|
216 | 219 | return this.totalFee;
|
217 | 220 | }
|
218 |
| - |
| 221 | + |
219 | 222 | public void setTotalFee(String totalFee) {
|
220 | 223 | this.totalFee = totalFee;
|
221 | 224 | }
|
222 |
| - |
| 225 | + |
223 | 226 | public String getFeeType() {
|
224 | 227 | return this.feeType;
|
225 | 228 | }
|
226 |
| - |
| 229 | + |
227 | 230 | public void setFeeType(String feeType) {
|
228 | 231 | this.feeType = feeType;
|
229 | 232 | }
|
230 |
| - |
| 233 | + |
231 | 234 | public String getCashFee() {
|
232 | 235 | return this.cashFee;
|
233 | 236 | }
|
234 |
| - |
| 237 | + |
235 | 238 | public void setCashFee(String cashFee) {
|
236 | 239 | this.cashFee = cashFee;
|
237 | 240 | }
|
238 |
| - |
239 |
| - public String getCashRefundfee() { |
240 |
| - return this.cashRefundfee; |
| 241 | + |
| 242 | + public String getCashRefundFee() { |
| 243 | + return this.cashRefundFee; |
241 | 244 | }
|
242 |
| - |
243 |
| - public void setCashRefundfee(String cashRefundfee) { |
244 |
| - this.cashRefundfee = cashRefundfee; |
| 245 | + |
| 246 | + public void setCashRefundFee(String cashRefundFee) { |
| 247 | + this.cashRefundFee = cashRefundFee; |
245 | 248 | }
|
246 |
| - |
| 249 | + |
247 | 250 | public String getCouponRefundFee() {
|
248 | 251 | return this.couponRefundFee;
|
249 | 252 | }
|
250 |
| - |
| 253 | + |
251 | 254 | public void setCouponRefundFee(String couponRefundFee) {
|
252 | 255 | this.couponRefundFee = couponRefundFee;
|
253 | 256 | }
|
254 |
| - |
| 257 | + |
255 | 258 | public String getCouponRefundCount() {
|
256 | 259 | return this.couponRefundCount;
|
257 | 260 | }
|
258 |
| - |
| 261 | + |
259 | 262 | public void setCouponRefundCount(String couponRefundCount) {
|
260 | 263 | this.couponRefundCount = couponRefundCount;
|
261 | 264 | }
|
262 |
| - |
| 265 | + |
263 | 266 | public String getCouponRefundId() {
|
264 | 267 | return this.couponRefundId;
|
265 | 268 | }
|
266 |
| - |
| 269 | + |
267 | 270 | public void setCouponRefundId(String couponRefundId) {
|
268 | 271 | this.couponRefundId = couponRefundId;
|
269 | 272 | }
|
270 |
| - |
| 273 | + |
271 | 274 | @Override
|
272 | 275 | public String toString() {
|
273 |
| - return "[" + |
274 |
| - "return_code:" + this.returnCode + ";" + |
275 |
| - "return_msg" + this.returnMsg + ";"; |
| 276 | + return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE); |
276 | 277 | }
|
277 | 278 |
|
278 | 279 | }
|
0 commit comments