admin
2021-06-29 0a03971cf8b1ca89f171946ecce8e8e6435b9ec5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
package org.yeshi.utils.entity.wx;
 
import java.util.List;
 
public class WXPayOrderInfoV3 {
 
 
    /**
     * transaction_id : 1217752501201407033233368018
     * amount : {"payer_total":100,"total":100,"currency":"CNY","payer_currency":"CNY"}
     * mchid : 1230000109
     * trade_state : SUCCESS
     * bank_type : CMC
     * promotion_detail : [{"amount":100,"wechatpay_contribute":0,"coupon_id":"109519","scope":"GLOBAL","merchant_contribute":0,"name":"单品惠-6","other_contribute":0,"currency":"CNY","stock_id":"931386","goods_detail":[{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100},{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100}]},{"amount":100,"wechatpay_contribute":0,"coupon_id":"109519","scope":"GLOBAL","merchant_contribute":0,"name":"单品惠-6","other_contribute":0,"currency":"CNY","stock_id":"931386","goods_detail":[{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100},{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100}]}]
     * success_time : 2018-06-08T10:34:56+08:00
     * payer : {"openid":"oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"}
     * out_trade_no : 1217752501201407033233368018
     * appid : wxd678efh567hg6787
     * trade_state_desc : 支付失败,请重新下单支付
     * trade_type : MICROPAY
     * attach : 自定义数据
     * scene_info : {"device_id":"013467007045764"}
     */
 
    private String transaction_id;
    private AmountBean amount;
    private String mchid;
    private String trade_state;
    private String bank_type;
    private String success_time;
    private PayerBean payer;
    private String out_trade_no;
    private String appid;
    private String trade_state_desc;
    private String trade_type;
    private String attach;
    private SceneInfoBean scene_info;
    private List<PromotionDetailBean> promotion_detail;
 
    public String getTransaction_id() {
        return transaction_id;
    }
 
    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }
 
    public AmountBean getAmount() {
        return amount;
    }
 
    public void setAmount(AmountBean amount) {
        this.amount = amount;
    }
 
    public String getMchid() {
        return mchid;
    }
 
    public void setMchid(String mchid) {
        this.mchid = mchid;
    }
 
    public String getTrade_state() {
        return trade_state;
    }
 
    public void setTrade_state(String trade_state) {
        this.trade_state = trade_state;
    }
 
    public String getBank_type() {
        return bank_type;
    }
 
    public void setBank_type(String bank_type) {
        this.bank_type = bank_type;
    }
 
    public String getSuccess_time() {
        return success_time;
    }
 
    public void setSuccess_time(String success_time) {
        this.success_time = success_time;
    }
 
    public PayerBean getPayer() {
        return payer;
    }
 
    public void setPayer(PayerBean payer) {
        this.payer = payer;
    }
 
    public String getOut_trade_no() {
        return out_trade_no;
    }
 
    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }
 
    public String getAppid() {
        return appid;
    }
 
    public void setAppid(String appid) {
        this.appid = appid;
    }
 
    public String getTrade_state_desc() {
        return trade_state_desc;
    }
 
    public void setTrade_state_desc(String trade_state_desc) {
        this.trade_state_desc = trade_state_desc;
    }
 
    public String getTrade_type() {
        return trade_type;
    }
 
    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }
 
    public String getAttach() {
        return attach;
    }
 
    public void setAttach(String attach) {
        this.attach = attach;
    }
 
    public SceneInfoBean getScene_info() {
        return scene_info;
    }
 
    public void setScene_info(SceneInfoBean scene_info) {
        this.scene_info = scene_info;
    }
 
    public List<PromotionDetailBean> getPromotion_detail() {
        return promotion_detail;
    }
 
    public void setPromotion_detail(List<PromotionDetailBean> promotion_detail) {
        this.promotion_detail = promotion_detail;
    }
 
    public static class AmountBean {
        /**
         * payer_total : 100
         * total : 100
         * currency : CNY
         * payer_currency : CNY
         */
 
        private int payer_total;
        private int total;
        private String currency;
        private String payer_currency;
 
        public int getPayer_total() {
            return payer_total;
        }
 
        public void setPayer_total(int payer_total) {
            this.payer_total = payer_total;
        }
 
        public int getTotal() {
            return total;
        }
 
        public void setTotal(int total) {
            this.total = total;
        }
 
        public String getCurrency() {
            return currency;
        }
 
        public void setCurrency(String currency) {
            this.currency = currency;
        }
 
        public String getPayer_currency() {
            return payer_currency;
        }
 
        public void setPayer_currency(String payer_currency) {
            this.payer_currency = payer_currency;
        }
    }
 
    public static class PayerBean {
        /**
         * openid : oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
         */
 
        private String openid;
 
        public String getOpenid() {
            return openid;
        }
 
        public void setOpenid(String openid) {
            this.openid = openid;
        }
    }
 
    public static class SceneInfoBean {
        /**
         * device_id : 013467007045764
         */
 
        private String device_id;
 
        public String getDevice_id() {
            return device_id;
        }
 
        public void setDevice_id(String device_id) {
            this.device_id = device_id;
        }
    }
 
    public static class PromotionDetailBean {
        /**
         * amount : 100
         * wechatpay_contribute : 0
         * coupon_id : 109519
         * scope : GLOBAL
         * merchant_contribute : 0
         * name : 单品惠-6
         * other_contribute : 0
         * currency : CNY
         * stock_id : 931386
         * goods_detail : [{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100},{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100}]
         */
 
        private int amount;
        private int wechatpay_contribute;
        private String coupon_id;
        private String scope;
        private int merchant_contribute;
        private String name;
        private int other_contribute;
        private String currency;
        private String stock_id;
        private List<GoodsDetailBean> goods_detail;
 
        public int getAmount() {
            return amount;
        }
 
        public void setAmount(int amount) {
            this.amount = amount;
        }
 
        public int getWechatpay_contribute() {
            return wechatpay_contribute;
        }
 
        public void setWechatpay_contribute(int wechatpay_contribute) {
            this.wechatpay_contribute = wechatpay_contribute;
        }
 
        public String getCoupon_id() {
            return coupon_id;
        }
 
        public void setCoupon_id(String coupon_id) {
            this.coupon_id = coupon_id;
        }
 
        public String getScope() {
            return scope;
        }
 
        public void setScope(String scope) {
            this.scope = scope;
        }
 
        public int getMerchant_contribute() {
            return merchant_contribute;
        }
 
        public void setMerchant_contribute(int merchant_contribute) {
            this.merchant_contribute = merchant_contribute;
        }
 
        public String getName() {
            return name;
        }
 
        public void setName(String name) {
            this.name = name;
        }
 
        public int getOther_contribute() {
            return other_contribute;
        }
 
        public void setOther_contribute(int other_contribute) {
            this.other_contribute = other_contribute;
        }
 
        public String getCurrency() {
            return currency;
        }
 
        public void setCurrency(String currency) {
            this.currency = currency;
        }
 
        public String getStock_id() {
            return stock_id;
        }
 
        public void setStock_id(String stock_id) {
            this.stock_id = stock_id;
        }
 
        public List<GoodsDetailBean> getGoods_detail() {
            return goods_detail;
        }
 
        public void setGoods_detail(List<GoodsDetailBean> goods_detail) {
            this.goods_detail = goods_detail;
        }
 
        public static class GoodsDetailBean {
            /**
             * goods_remark : 商品备注信息
             * quantity : 1
             * discount_amount : 1
             * goods_id : M1006
             * unit_price : 100
             */
 
            private String goods_remark;
            private int quantity;
            private int discount_amount;
            private String goods_id;
            private int unit_price;
 
            public String getGoods_remark() {
                return goods_remark;
            }
 
            public void setGoods_remark(String goods_remark) {
                this.goods_remark = goods_remark;
            }
 
            public int getQuantity() {
                return quantity;
            }
 
            public void setQuantity(int quantity) {
                this.quantity = quantity;
            }
 
            public int getDiscount_amount() {
                return discount_amount;
            }
 
            public void setDiscount_amount(int discount_amount) {
                this.discount_amount = discount_amount;
            }
 
            public String getGoods_id() {
                return goods_id;
            }
 
            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }
 
            public int getUnit_price() {
                return unit_price;
            }
 
            public void setUnit_price(int unit_price) {
                this.unit_price = unit_price;
            }
        }
    }
}