package com.liquidnet.service.dragon.doc;

/**
 * 支付相关 Swagger 文案（与 {@link com.liquidnet.service.dragon.support.WepayAppletPaySupport} 业务逻辑分离）。
 */
public final class DragonPaySwaggerDoc {

    public static final String DEVICE_FROM_VALUE =
            "支付终端。微信小程序微信支付：applet=正在现场，appletb=摩登，appletdoudou=DouDou，appletmootoo=mootoo，appletwenque=wenque；"
                    + "须配合 payType=wepay 并传当前小程序 openId（sweet maOpenId type 分别为 4/7/8/9/10）。"
                    + "其他：app、wap、js、web、wappage；micropay=付款码/扫码枪（payType 传 wepay 或 alipay，须 authCode，非银联）。"
                    + "银联云闪付用 payType=unionpay，deviceFrom 一般为 app 或 wap，与 micropay 无关。";
    public static final String DEVICE_FROM_ALLOWABLE =
            "applet,appletb,appletdoudou,appletmootoo,appletwenque,app,wap,js,web,wappage,micropay";
    public static final String PAY_TYPE_VALUE = "支付方式：wepay、alipay、douyinpay、unionpay、applepay 等";
    public static final String PAY_TYPE_ALLOWABLE = "wepay,alipay,douyinpay,unionpay,applepay";
    public static final String OPEN_ID_VALUE =
            "微信 JSAPI/小程序支付必填，须为当前 deviceFrom 对应小程序的 openId";

    private DragonPaySwaggerDoc() {
    }
}
