package com.jeequan.jeepay.core.model;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class QRCodeParams {

    // 二维码扫码类型： 1 - 统一下单的聚合二维码,  2 - 码牌二维码 3 - 设备二维码 4 - 路由二维码
    public static final byte TYPE_PAY_ORDER = 1;
    public static final byte TYPE_QRC = 2;
    public static final byte TYPE_QRC_DEVICE = 3;
    public static final byte TYPE_ROUTE = 4;

    /** 应用类型： 微信/ 支付宝  **/
    public static final String PAGE_TYPE_WECHAT_H5 = "wechatH5";
    public static final String PAGE_TYPE_ALIPAY_H5 = "alipayH5";
    public static final String PAGE_TYPE_WECHAT_LITE = "wechatLite";
    public static final String PAGE_TYPE_ALIPAY_LITE = "alipayLite";
    public static final String PAGE_TYPE_YSFPAY_H5 = "ysfpayH5";


    /** 入口 **/
    public static final String ENTRY_PAGE_DEFAULT = "default";
    public static final String ENTRY_PAGE_H5 = "h5";
    public static final String ENTRY_PAGE_LITE = "lite";

    /** 进入小程序支付入口 **/
    public static final String ENTRY_LITE_WXAPP = "wxapp";
    public static final String ENTRY_LITE_ALIAPP = "aliapp";
    public static final String ENTRY_LITE_WXH5 = "wxh5";
    public static final String ENTRY_LITE_ALIH5 = "alih5";
    public static final String ENTRY_LITE_ALIJSAPIH5 = "aliJsapih5"; /** 服务窗方式 **/
    /**  **/
    public static final String ENTRY_LITE_WX_TG_H5 = "wxTgH5";

    public static final String CONFIG_MARKETING_TYPE = "marketingConfig";

    private String id;

    private Byte type;

    private String pageType;

    private Long amt;

    private String tk;

    public QRCodeParams(String sourceId,Byte type, Long amt) {
        this.id = sourceId;
        this.type = type;
        this.amt = amt;
    }


}
