package com.jeequan.jeepay.core.model.openapi.biz.jsapi;

import com.jeequan.jeepay.core.constants.CS;
import com.jeequan.jeepay.core.entity.PayOrder;
import com.jeequan.jeepay.core.model.openapi.biz.PayResultResp;
import com.jeequan.jeepay.core.model.rqrs.msg.ChannelAppletPayMsg;
import com.jeequan.jeepay.core.model.rqrs.msg.ChannelJsapiMsg;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;

/**
 * TODO
 * jsapi 返回参数封装
 * @author crystal
 * @date 2024/4/8 10:51
 */
@Setter
@Getter
public class JsapiBizResp extends PayResultResp {

    private ChannelJsapiMsg payInfo;

    private ChannelAppletPayMsg liteInfo;

    public JsapiBizResp(PayOrder order,ChannelJsapiMsg jsapiMsg) {
        super(order);
        this.payInfo = jsapiMsg;
    }

    public JsapiBizResp(PayOrder order,ChannelAppletPayMsg liteInfo) {
        super(order);
        this.liteInfo = liteInfo;
    }
}
