shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
package com.ishop.model.vo;
 
import java.io.Serializable;
 
/**
 * 微信统一下单对象
 */
public class WechatOrderVo implements Serializable {
 
    public String getAppid() {
        return appid;
    }
 
    public void setAppid(String appid) {
        this.appid = appid;
    }
 
    public String getMch_id() {
        return mch_id;
    }
 
    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }
 
    public String getDevice_info() {
        return device_info;
    }
 
    public void setDevice_info(String device_info) {
        this.device_info = device_info;
    }
 
    public String getNonce_str() {
        return nonce_str;
    }
 
    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }
 
    public String getSign() {
        return sign;
    }
 
    public void setSign(String sign) {
        this.sign = sign;
    }
 
    public String getSign_type() {
        return sign_type;
    }
 
    public void setSign_type(String sign_type) {
        this.sign_type = sign_type;
    }
 
    public String getBody() {
        return body;
    }
 
    public void setBody(String body) {
        this.body = body;
    }
 
    public String getDetail() {
        return detail;
    }
 
    public void setDetail(String detail) {
        this.detail = detail;
    }
 
    public String getAttach() {
        return attach;
    }
 
    public void setAttach(String attach) {
        this.attach = attach;
    }
 
    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 getFee_type() {
        return fee_type;
    }
 
    public void setFee_type(String fee_type) {
        this.fee_type = fee_type;
    }
 
    public long getTotal_fee() {
        return total_fee;
    }
 
    public void setTotal_fee(long total_fee) {
        this.total_fee = total_fee;
    }
 
    public String getSpbill_create_ip() {
        return spbill_create_ip;
    }
 
    public void setSpbill_create_ip(String spbill_create_ip) {
        this.spbill_create_ip = spbill_create_ip;
    }
 
    public String getTime_start() {
        return time_start;
    }
 
    public void setTime_start(String time_start) {
        this.time_start = time_start;
    }
 
    public String getTime_expire() {
        return time_expire;
    }
 
    public void setTime_expire(String time_expire) {
        this.time_expire = time_expire;
    }
 
    public String getGoods_tag() {
        return goods_tag;
    }
 
    public void setGoods_tag(String goods_tag) {
        this.goods_tag = goods_tag;
    }
 
    public String getNotify_url() {
        return notify_url;
    }
 
    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }
 
    public String getTrade_type() {
        return trade_type;
    }
 
    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }
 
    public String getProduct_id() {
        return product_id;
    }
 
    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }
 
    public String getLimit_pay() {
        return limit_pay;
    }
 
    public void setLimit_pay(String limit_pay) {
        this.limit_pay = limit_pay;
    }
 
    public String getOpenid() {
        return openid;
    }
 
    public void setOpenid(String openid) {
        this.openid = openid;
    }
 
    public String getReceipt() {
        return receipt;
    }
 
    public void setReceipt(String receipt) {
        this.receipt = receipt;
    }
 
    public String getScene_info() {
        return scene_info;
    }
 
    public void setScene_info(String scene_info) {
        this.scene_info = scene_info;
    }
 
    //    @ApiModelProperty(value = "appId,公众号名称,由商户传入", required = true)
    private String appid;
 
//    @ApiModelProperty(value = "直连商户的商户号,由微信支付生成并下发", required = true)
    private String mch_id;
 
//    @ApiModelProperty(value = "终端设备号(门店号或收银设备ID),注意:PC网页或公众号内支付请传 WEB")
    private String device_info = "WEB";
 
//    @ApiModelProperty(value = "随机字符串,不长于32位", required = true)
    private String nonce_str;
 
//    @ApiModelProperty(value = "签名", required = true)
    private String sign;
 
//    @ApiModelProperty(value = "签名类型,默认为MD5,支持HMAC-SHA256和MD5。")
    private String sign_type;
 
//    @ApiModelProperty(value = "商品简单描述,该字段须严格按照规范传递", required = true)
    private String body;
 
//    @ApiModelProperty(value = "商品简单描述")
    private String detail;
 
//    @ApiModelProperty(value = "附加数据,在查询API和支付通知中原样返回,该字段主要用于商户携带订单的自定义数据, String(127)")
    private String attach;
 
//    @ApiModelProperty(value = "商户系统内部的订单号,32个字符内、可包含字母, 其他说明见商户订单号", required = true)
    private String out_trade_no;
 
//    @ApiModelProperty(value = "符合ISO 4217标准的三位字母代码,默认人民币:CNY,其他值列表详见货币类型")
    private String fee_type = "CNY";
 
//    @ApiModelProperty(value = "订单总金额,单位为分", required = true)
    private long total_fee;
 
//    @ApiModelProperty(value = "必须传正确的用户端IP,支持ipv4、ipv6格式,获取方式详见获取用户ip指引", required = true)
    private String spbill_create_ip;
 
//    @ApiModelProperty(value = "订单生成时间,格式为yyyyMMddHHmmss,如2009年12月25日9点10分10秒表示为20091225091010。其他详见时间规则")
    private String time_start;
 
//    @ApiModelProperty(value = "订单失效时间,格式为yyyyMMddHHmmss,如2009年12月25日9点10分10秒表示为20091225091010。其他详见时间规则")
    private String time_expire;
 
//    @ApiModelProperty(value = "商品标记,代金券或立减优惠功能的参数,说明详见代金券或立减优惠")
    private String goods_tag;
 
//    @ApiModelProperty(value = "接收微信支付异步通知回调地址,通知url必须为直接可访问的url,不能携带参数。")
    private String notify_url;
 
//    @ApiModelProperty(value = "JSAPI -JSAPI支付(或小程序支付), NATIVE -Native支付, APP -APP支付,MWEB--H5支付", required = true)
    private String trade_type;
 
//    @ApiModelProperty(value = "trade_type=NATIVE,此参数必传。此id为二维码中包含的商品ID,商户自行定义。")
    private String product_id;
 
//    @ApiModelProperty(value = "no_credit--指定不能使用信用卡支付")
    private String limit_pay;
 
//    @ApiModelProperty(value = "trade_type=JSAPI,此参数必传,用户在商户appid下的唯一标识。openid如何获取,可参考【获取openid】。企业号请使用【企业号OAuth2.0接口】获取企业号内成员userid,再调用【企业号userid转openid接口】进行转换")
    private String openid;
 
//    @ApiModelProperty(value = "Y,传入Y时,支付成功消息和支付详情页将出现开票入口。需要在微信支付商户平台或微信公众平台开通电子发票功能,传此字段才可生效")
    private String receipt = "N";
 
//    @ApiModelProperty(value = "该字段用于上报支付的场景信息,针对H5支付有以下三种场景,请根据对应场景上报,H5支付不建议在APP端使用,针对场景1,2请接入APP支付,不然可能会出现兼容性问题")
    private String scene_info;
}