package com.sqx.modules.pay.wuyou;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @author GYJ
 */
@Data
public class OrderResp {
    @JSONField(name = "mch_id")
    private String mchId;

    @JSONField(name = "out_trade_no")
    private String outTradeNo;

    private Double total;

    private String type;

    // 如果支付订单则返回订单创建时间，如果是查询订单则返回订单支付时间
    private long timestamp;

    @JSONField(name = "qr_url")
    private String qrUrl;

    @JSONField(name = "h5_url")
    private String h5Url;

    // CODE_SUCCESS 为成功
    private String callbacks;

    private String msg;

    private String order_sn;

    @JSONField(name = "error_msg")
    private String errorMsg;
}
