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