package com.jeequan.jeepay.core.model.params.kqpay;

import com.alibaba.fastjson.JSON;
import com.jeequan.jeepay.core.model.params.IsvParams;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class KqpayIsvParams extends IsvParams {

    /** 加密方式 RSA/SM */
    private String signType;

    /** 商户支付模式 1-支付 2-分账 */
    private Byte payType;

    /** 支付宝渠道拓展二维码URL */
    private String aliChannelExtUrl;

    /** 微信渠道拓展二维码URL */
    private String wxOpenUrl;

    /** 快钱平台账号 */
    private String vendorMemberCode;


    /** 私钥证书（.pfx/.sm2） */
    private String merchantDefaultPrivatePath;

    private String merchantDefaultPrivatePassword;

    private String bill99DefaultPublicPath;

    /**
     * 备选选参数，暂不考虑
     */
    private String merchantAlternatePrivatePath;

    private String merchantAlternatePrivatePassword;

    private String bill99AlternatePublicPath;

    /**
     * ssl证书文件地址
     */
    private String sslPublicPath;

    private String sslProtocol;

    private String storeType;

    private String storePwd;

    private String alias;

    private String priority;

    private String personalInfomationAttorney;

    /**
     * 是否需要签约，
     */
    private String needSignFlag;

    @Override
    public String deSenData() {
        return JSON.toJSONString(this);
    }
}
