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
package com.ishop.model.response;
 
import com.fasterxml.jackson.annotation.JsonProperty;
 
/**
 * 统一下单返回对象
 * @date 2023-08-10
 */
public class CreateOrderResponseVo {
 
    public String getAppId() {
        return appId;
    }
 
    public void setAppId(String appId) {
        this.appId = appId;
    }
 
    public String getMchId() {
        return mchId;
    }
 
    public void setMchId(String mchId) {
        this.mchId = mchId;
    }
 
    public String getDeviceInfo() {
        return deviceInfo;
    }
 
    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo;
    }
 
    public String getNonceStr() {
        return nonceStr;
    }
 
    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }
 
    public String getSign() {
        return sign;
    }
 
    public void setSign(String sign) {
        this.sign = sign;
    }
 
    public String getReturnCode() {
        return returnCode;
    }
 
    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }
 
    public String getReturnMsg() {
        return returnMsg;
    }
 
    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }
 
    public String getResultCode() {
        return resultCode;
    }
 
    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }
 
    public String getErrCode() {
        return errCode;
    }
 
    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }
 
    public String getErrCodeDes() {
        return errCodeDes;
    }
 
    public void setErrCodeDes(String errCodeDes) {
        this.errCodeDes = errCodeDes;
    }
 
    public String getTradeType() {
        return tradeType;
    }
 
    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }
 
    public String getPrepayId() {
        return prepayId;
    }
 
    public void setPrepayId(String prepayId) {
        this.prepayId = prepayId;
    }
 
    public String getmWebUrl() {
        return mWebUrl;
    }
 
    public void setmWebUrl(String mWebUrl) {
        this.mWebUrl = mWebUrl;
    }
 
    public String getExtra() {
        return extra;
    }
 
    public void setExtra(String extra) {
        this.extra = extra;
    }
 
    public Object getTransJsConfig() {
        return transJsConfig;
    }
 
    public void setTransJsConfig(Object transJsConfig) {
        this.transJsConfig = transJsConfig;
    }
 
    //    @ApiModelProperty(value = "调用接口提交的公众账号ID")
    @JsonProperty(value = "appid")
    private String appId;
 
//    @ApiModelProperty(value = "调用接口提交的商户号")
    @JsonProperty(value = "mch_id")
    private String mchId;
 
//    @ApiModelProperty(value = "调用接口提交的终端设备号")
    @JsonProperty(value = "device_info")
    private String deviceInfo;
 
//    @ApiModelProperty(value = "微信返回的随机字符串")
    @JsonProperty(value = "nonce_str")
    private String nonceStr;
 
//    @ApiModelProperty(value = "微信返回的签名")
    private String sign;
 
//    @ApiModelProperty(value = "SUCCESS/FAIL此字段是通信标识,非交易标识,交易是否成功需要查看trade_state来判断")
    @JsonProperty(value = "return_code")
    private String returnCode;
 
//    @ApiModelProperty(value = "当return_code为FAIL时返回信息为错误原因 ,例如 签名失败 参数格式校验错误")
    @JsonProperty(value = "return_msg")
    private String returnMsg;
 
//    @ApiModelProperty(value = "SUCCESS/FAIL 业务结果")
    @JsonProperty(value = "result_code")
    private String resultCode;
 
//    @ApiModelProperty(value = "详细参见错误列表")
    @JsonProperty(value = "err_code")
    private String errCode;
 
//    @ApiModelProperty(value = "错误返回的信息描述")
    @JsonProperty(value = "err_code_des")
    private String errCodeDes;
 
//    @ApiModelProperty(value = "调用接口提交的交易类型,取值如下:JSAPI,NATIVE,APP,,H5支付固定传MWEB")
    @JsonProperty(value = "trade_type")
    private String tradeType;
 
//    @ApiModelProperty(value = "微信生成的预支付回话标识,用于后续接口调用中使用,该值有效期为2小时,针对H5支付此参数无特殊用途")
    @JsonProperty(value = "prepay_id")
    private String prepayId;
 
//    @ApiModelProperty(value = "mweb_url为拉起微信支付收银台的中间页面,可通过访问该url来拉起微信客户端,完成支付,mweb_url的有效期为5分钟")
    @JsonProperty(value = "mweb_url")
    private String mWebUrl;
 
//    @ApiModelProperty(value = "该字段用于上报支付的场景信息,针对H5支付有以下三种场景,请根据对应场景上报,H5支付不建议在APP端使用,针对场景1,2请接入APP支付,不然可能会出现兼容性问题")
    @JsonProperty(value = "scene_info")
    private String extra;
 
    private Object transJsConfig;
}