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;
|
}
|