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
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
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 UnifiedOrderRequestBean {
 
    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 = "sign_type")
    private String signType;
 
    //商品描述
    private String body;
 
    //商品详情
    private String detail;
 
    //附加数据
    private String attach;
 
    //商户订单号
    @XmlElement(name = "out_trade_no")
    private String outTradeNo;
 
    //标价币种
    @XmlElement(name = "fee_type")
    private String feeType;
 
    //标价金额
    @XmlElement(name = "total_fee")
    private Integer totalFee;
 
    //终端IP
    @XmlElement(name = "spbill_create_ip")
    private String spbillCreateIp;
 
    @XmlElement(name = "time_start")
    private String timeStart;
 
    @XmlElement(name = "time_expire")
    private String timeExpire;
 
    @XmlElement(name = "goods_tag")
    private String goodsTag;
 
    //通知地址
    @XmlElement(name = "notify_url")
    private String notifyUrl;
 
    //交易类型
    @XmlElement(name = "trade_type")
    private String tradeType;
 
    @XmlElement(name = "product_id")
    private String productId;
 
    @XmlElement(name = "limit_pay")
    private String limitPay;
 
    private String openid;
 
    @XmlElement(name = "scene_info")
    private String sceneInfo;
 
}