package com.tzy.framework.pay.dto;

/**
 * 支付参数
 */
public class PayConstants {

    public static final String SUCCESS = "SUCCESS";
    public static final String TRADE_SUCCESS = "TRADE_SUCCESS";

    public static final String PAY_TYPE_WX = "wxpay";//微信支付
    public static final String PAY_TYPE_ALIPAY = "alipay";//支付宝支付
    public static final String HMPAY_TYPE_WX = "wxpay-hm";//杉德-微信
    public static final String HMPAY_TYPE_ALIPAY = "alipay-hm";//杉德-支付宝
    public static final String QMPAY_TYPE_WX = "wxpay-qm";//全民付-微信
    public static final String QMPAY_TYPE_ALIPAY = "alipay-qm";//全民付-支付宝
    public static final String QMPAY_TYPE_ALIPAY2APPLET = "alipay-applet-qm";//全民付-支付宝跳转小程序
    public static final String QMPAY_TYPE_ALIPAY2H5 = "alipay-qm-h5";//全民付-支付宝h5
    public static final String QMPAY_TYPE_WX2H5 = "wxpay-qm-h5";//全民付-微信h5
    public static final String QMPAY_TYPE_UAC2H5 = "uac-qm-h5";//全民付-云闪付H5
    public static final String QMPAY_TYPE_UAC = "uac-qm";//全民付-云闪付
    public static final String BFPAY_TYPE_MAIN_WX = "wxpay-main-bf";//宝付-微信-主扫
    public static final String BFPAY_TYPE_MAIN_ALIPAY = "alipay-main-bf";//宝付-支付宝-主扫
    public static final String BFPAY_TYPE_MAIN_UAC = "uac-main-bf";//宝付-云闪付-主扫
    public static final String BFPAY_TYPE_APP_WX = "wxpay-app-bf";//宝付-微信-app
    public static final String BFPAY_TYPE_APP_ALIPAY = "alipay-app-bf";//宝付-微信-app

    public static final String QMPAY_METHOD_TRADE_CREATE = "TRADE_CREATE";//统一下单
    public static final String QMPAY_METHOD_QUERY_ORDER = "QUERY_ORDER";//查询订单
    public static final String QMPAY_METHOD_REFUND = "REFUND";//退款
    public static final String QMPAY_METHOD_REFUND_QUERY = "REFUND_QUERY";//退款查询
    public static final String QMPAY_METHOD_CLOSE = "CLOSE";//关闭订单
    //全民付-统一下单
    public static final String QMPAY_HOST_SANDBOX = "https://test-api-open.chinaums.com/v1/netpay/";
    public static final String QMPAY_HOST = "https://api-mop.chinaums.com/v1/netpay/";
    public static final String QMPAY_HOST_MINI = "https://api-mop.dtums.com/v1/netpay/";

    public static final String QMPAY_TRADE_URL_WX_SANDBOX = QMPAY_HOST_SANDBOX+"wx/app-pre-order";//全民付-统一下单-微信
    public static final String QMPAY_TRADE_URL_WX = QMPAY_HOST+"wx/app-pre-order";//全民付-统一下单-微信
//    public static final String QMPAY_TRADE_URL_WX_MINI = QMPAY_HOST_MINI+"wx/unified-order";//全民付-统一下单-微信小程序-mini
    public static final String QMPAY_TRADE_URL_WX_MINI = QMPAY_HOST+"wx/unified-order";//全民付-统一下单-微信小程序-mini
    public static final String QMPAY_TRADE_URL_WX2H5_MINI = QMPAY_HOST_MINI+"wxpay/h5-pay";//全民付-统一下单-微信小程序-H5

    public static final String QMPAY_TRADE_URL_ALIPAY_SANDBOX =  QMPAY_HOST_SANDBOX+"trade/precreate";//全民付-统一下单-支付宝
    public static final String QMPAY_TRADE_URL_ALIPAY = QMPAY_HOST+"trade/precreate";//全民付-统一下单-支付宝
    public static final String QMPAY_TRADE_URL_QM_SANDBOX =  QMPAY_HOST_SANDBOX+"qmf/order";//全民付-统一下单-全民付
    public static final String QMPAY_TRADE_URL_QM = QMPAY_HOST+"qmf/order";//全民付-统一下单-全民付

    public static final String QMPAY_TRADE_URL_UAC_SANDBOX =  QMPAY_HOST_SANDBOX+"uac/app-order";//全民付-统一下单-银联云闪付
    public static final String QMPAY_TRADE_URL_UAC = QMPAY_HOST+"uac/app-order";//全民付-统一下单-银联云闪付
    public static final String QMPAY_TRADE_URL_UAC_MINI = QMPAY_HOST_MINI+"uac/mini-order";//全民付-统一下单-银联云闪付-mini

    public static final String QMPAY_TRADE_URL_ALIPAY2APPLET_SANDBOX =  QMPAY_HOST_SANDBOX+"trade/app-pre-order";//全民付-统一下单-支付宝跳转小程序
    public static final String QMPAY_TRADE_URL_ALIPAY2APPLET = QMPAY_HOST+"trade/app-pre-order";//全民付-统一下单-支付宝跳转小程序
    public static final String QMPAY_TRADE_URL_ALIPAY2APPLET_MINI = QMPAY_HOST_MINI+"trade/create";//全民付-统一下单-支付宝跳转小程序-mini

    public static final String QMPAY_TRADE_URL_ALIPAY2H5_SANDBOX =  QMPAY_HOST_SANDBOX+"trade/h5-pay";//全民付-统一下单-支付宝h5
    public static final String QMPAY_TRADE_URL_ALIPAY2H5 = QMPAY_HOST+"trade/h5-pay";//全民付-统一下单-支付宝h5
    public static final String QMPAY_TRADE_URL_ALIPAY2H5_MINI = QMPAY_HOST_MINI+"trade/h5-pay";//全民付-统一下单-支付宝h5

    public static final String QMPAY_TRADE_URL_UAC2H5_SANDBOX = QMPAY_HOST_SANDBOX+"uac/order";//全民付-统一下单-云闪付h5
    public static final String QMPAY_TRADE_URL_UAC2H5 = QMPAY_HOST+"uac/order";//全民付-统一下单-云闪付h5
    public static final String QMPAY_TRADE_URL_UAC2H5_MINI = QMPAY_HOST_MINI+"uac/order";//全民付-统一下单-云闪付-H5
    //--全民付订单查询
    public static final String QMPAY_QUERY_URL_SANDBOX =  QMPAY_HOST_SANDBOX+"query";//全民付-查询
    public static final String QMPAY_QUERY_URL= QMPAY_HOST+"query";//全民付-查询
    public static final String QMPAY_QUERY_URL_MINI= QMPAY_HOST_MINI+"query";//全民付-查询
    public static final String QMPAY_QUERY_URL_WX_SANDBOX =  QMPAY_HOST_SANDBOX+"wx/app-pre-query";//全民付-查询-微信
    public static final String QMPAY_QUERY_URL_WX = QMPAY_HOST+"wx/app-pre-query";//全民付-查询-微信
    public static final String QMPAY_QUERY_URL_ALIPAY2APPLET_SANDBOX =  QMPAY_HOST_SANDBOX+"trade/app-pre-query";//全民付-查询-支付宝跳转小程序
    public static final String QMPAY_QUERY_URL_ALIPAY2APPLET = QMPAY_HOST+"trade/app-pre-query";//全民付-查询-支付宝跳转小程序
    //--全民付-退款
    public static final String QMPAY_REFUND_URL_SANDBOX =  QMPAY_HOST_SANDBOX+"refund";//全民付-退款
    public static final String QMPAY_REFUND_URL= QMPAY_HOST+"refund";//全民付-退款
    public static final String QMPAY_REFUND_URL_MINI= QMPAY_HOST+"refund";//全民付-退款
//    public static final String QMPAY_REFUND_URL_MINI= QMPAY_HOST_MINI+"refund";//全民付-退款
    //--全民付-退款查询
    public static final String QMPAY_QUERY_REFUND_URL_SANDBOX =  QMPAY_HOST_SANDBOX+"refund-query";//全民付-退款
    public static final String QMPAY_QUERY_REFUND_URL= QMPAY_HOST+"refund-query";//全民付-退款
    public static final String QMPAY_QUERY_REFUND_URL_MINI= QMPAY_HOST+"refund-query";//全民付-退款
//    public static final String QMPAY_QUERY_REFUND_URL_MINI= QMPAY_HOST_MINI+"refund-query";//全民付-退款
    //--全民付-退款查询
    public static final String QMPAY_CLOSE_URL_SANDBOX =  QMPAY_HOST_SANDBOX+"close";//全民付-关闭订单
    public static final String QMPAY_CLOSE_URL= QMPAY_HOST+"close";//全民付-关闭订单
    public static final String QMPAY_CLOSE_URL_WX_SANDBOX =  QMPAY_HOST_SANDBOX+"wx/app-pre-close";//全民付-关闭订单-微信跳转小程序
    public static final String QMPAY_CLOSE_URL_WX= QMPAY_HOST+"wx/app-pre-close";//全民付-关闭订单-微信跳转小程序
    public static final String QMPAY_CLOSE_URL_ALIPAY2APPLET_SANDBOX =  QMPAY_HOST_SANDBOX+"trade/app-pre-close";//全民付-关闭订单-支付宝跳转小程序
    public static final String QMPAY_CLOSE_URL_ALIPAY2APPLET= QMPAY_HOST+"trade/app-pre-close";//全民付-关闭订单-支付宝跳转小程序

    //宝付 -主扫
    public static final String BF_TEST_HOST = "https://test-api.huishouqian.com/api/acquiring";
    public static final String BF_HOST = "https://api.huishouqian.com/api/acquiring";
    //宝付-统一下单
    public static final String BF_METHOD_TRADE_MAIN = "POLYMERIZE_MAIN_SWEPTN";
    public static final String BF_METHOD_TRADE_APP = "POLYMERIZE_PROGRAM_CASHIER";
    //宝付-查询订单
    public static final String BF_METHOD_QUERY_MAIN = "POLYMERIZE_QUERY";
    //宝付-申请退款
    public static final String BF_METHOD_REFUND_MAIN = "POLYMERIZE_REFUND";
    //宝付-退款查询
    public static final String BF_METHOD_REFUND_QUERY_MAIN = "POLYMERIZE_REFUND_QUERY";
    //宝付-下载账单
    public static final String BF_METHOD_QUERY_TRADE_FILE_MAIN = "QUERY_TRADE_FILE";

    //baofu =统一下单
    public static final String BFPAY_METHOD_UNIFIED_ORDER = "unified_order";//统一下单
    public static final String BFPAY_METHOD_ORDER_QUERY = "order_query";//查询订单
    public static final String BFPAY_METHOD_ORDER_REFUND = "order_refund";//退款申请
    /**
     * 退款查询
     */
    public static final String BFPAY_METHOD_REFUND_QUERY = "refund_query";
    //宝付 支付宝主扫
    public static final String BFPAY_ALIPAY_NATIVE= "ALIPAY_NATIVE";
    //宝付 云闪付主扫
    public static final String BFPAY_QUICK_PASS_NATIVEE= "QUICK_PASS_NATIVE";



}
