package com.jeequan.jeepay.core.model.rqrs.msg;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * TODO
 * jsapi 付款参数
 * @author crystal
 * @date 2024/2/27 16:10
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class ChannelJsapiMsg {

    private String appId;

    private String timeStamp;

    private String nonceStr;

    @JSONField(name = "package")
    private String payPackage;

    private String tradeNo;

    private String redirectUrl;

    private String paySign;

    private String signType;

//    private String partnerId;

    private String qrCodeUrl;

    public ChannelJsapiMsg(String tradeNo) {
        this.tradeNo = tradeNo;
    }
}
