ZQN
2024-06-17 b1ff19545212508d3f65741ab889f0b6df82a511
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
package com.project.common.dto;
 
import lombok.Data;
 
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
 
/**
 * 微信支付统一下单响应数据封装类
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "xml")
@Data
public class UnifiedOrderResponseBean {
 
    //返回状态码
    @XmlElement(name = "return_code")
    private String returnCode;
 
    //返回信息
    @XmlElement(name = "return_msg")
    private String returnMsg;
    
    private String appid;
    
    @XmlElement(name = "mch_id")
    private String mchId;
    
    @XmlElement(name = "device_info")
    private String deviceInfo;
 
    //随机字符串
    @XmlElement(name = "nonce_str")
    private String nonceStr;
 
    //签名
    private String sign;
 
    //业务结果
    @XmlElement(name = "result_code")
    private String resultCode;
 
    //错误代码
    @XmlElement(name = "err_code")
    private String errCode;
 
    //错误代码描述
    @XmlElement(name = "err_code_des")
    private String errCodeDes;
 
    //交易类型
    @XmlElement(name = "trade_type")
    private String tradeType;
 
    //预支付交易会话标识
    @XmlElement(name = "prepay_id")
    private String prepayId;
}