package com.younike.hlpay.constant;

import java.math.BigDecimal;

/**
 * 合利宝常量
 *
 * @author chenpengfei
 */
public class HeliPayContants {
    /**
     * 商户编号
     * （可在 【商户自助服务平台】【基本信息】 中获得）
     */
    public static final String FIRST_CLASS_MERCHANT_NO = "C1806913434";

    /**
     * 主商户编号（苏州优鲜生）
     */
    public static final String MAIN_CUSTOMER_NUMBER = "E1806980785";

    /**
     * 主商户邮箱（苏州优鲜生）
     */
    public static final String MAIN_CUSTOMER_MAIL = "youxiansheng@uxx.com";

    /**
     * 营销商户编号（优鲜生(营销号)）
     */
    public static final String MARKETING_CUSTOMER_NUMBER = "E1806950670";

    public static final String HLB_PAY_PREFIX_WX = "WX-";

    public static final String HLB_PAY_PREFIX_ALI = "ALI-";

    /**
     * 接口签名秘钥
     * （可在【商户自助服务平台】【产品管理】 【公共产品】【接口配置】中获得）
     */
    public static final String SIGNKEY_COMMON = "3csZRcPEBYAz0tjLQvhl48zBvTe8EW9z";

    /**
     * 加密秘钥
     * （可在【商户自助服务平台】【产品管理】 【公共产品】【接口配置】中获得）
     */
    public static final String ENCRYPT_KEY_COMMON = "VKD4nclRFhidKMwUFzp1uR6Q";



    /**
     * 测试请求地址
     */
    public static final String TEST_MERCHANT_ENTRY_URL ="http://test.trx.helipay.com/trx/merchantEntry/interface.action";

    /**
     * 请求地址
     *
     * 传输方式	采用HTTP传输
     * 提交方式	采用POST方法提交
     * 字符编码	统一采用UTF-8字符编码
     * 签名算法	MD5
     * 签名要求	请求和接收数据均需要校验签名
     */
    public static final String MERCHANT_ENTRY_URL ="http://entry.trx.helipay.com/trx/merchantEntry/interface.action";


    /**
     * 子商户资质上传接口
     *
     * 采用HTTP传输
     * 采用POST方法提交
     * 统一采用UTF-8字符编码
     * MD5
     * 请求和接收数据均需要校验签名
     */
    public static final String TEST_CREDENTIAL_UPLOAD_URL = "http://test.trx.helipay.com/trx/merchantEntry/upload.action";

    /**
     * 子商户资质上传接口
     *
     * 采用HTTP传输
     * 采用POST方法提交
     * 统一采用UTF-8字符编码
     * MD5
     * 请求和接收数据均需要校验签名
     */
    public static final String CREDENTIAL_UPLOAD_URL = "http://entry.trx.helipay.com/trx/merchantEntry/upload.action";


    /**
     * 签章合同接口
     */
    public static final String MERCHANT_SIGNCONTRACT_URL ="http://test.trx.helipay.com/trx/merchantAgreement/signContract.action";


    public static final String MERCHANT_AGREEMENT_URL ="http://test.trx.helipay.com/trx/merchantAgreement/interface.action";


    /**
     * 测试地址
     * 扫码接口地址
     */
    public static final String DOMAIN_NAME = "http://test.trx.helipay.com/trx/app/interface.action";


    public static final String SPLIT = ",";

    public static final String SIGN_SPLIT = "&";

    public static final String SIGNKEY_MD5 = "ogVdNaDtRGNqHCQhiibu4yXvrCZYO6xR";
    /**
     * 解密字段
     */
    public static final String DES_APPPAY = "35v6qHCNDlCYWuE8TBVEKWcg";
    /**
     * 预支付地址
     * 扫码接口地址
     */
    public static final String PAY_REQUEST_URL = "http://pay.trx.helipay.com/trx/app/interface.action";

    public static final String SETTLE_REQUEST_URL = "http://transfer.trx.helipay.com/trx/transfer/interface.action";

    /**
     * 最小结算金额
     */
    public static final BigDecimal MIN_SETTLE_AMOUNT = new BigDecimal(5);

    /**
     * 结算私钥
     */
    public static final String SETTLE_PRIVATE_KEY = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAOQjrjvrr5BHws1Oz+4g+1Clc8ZxnPD3Fy1GgXFUpY+2MhqUy4EpZzGNdBrycfvkwzlKvwYHGASDlnQYmJSWefXFr87s7w64pC9NrhEkk7WSCYxy8AUKN5GqFb8KQ+CGTpaEvHo2MirTkBXFlkBNsXEY0eDX1AybmZiHXqRCcFIbAgMBAAECgYBMNvdQIU6HftG/UOL6BJ6wtHVXCEGL5qAhifpYaBTfS9i1NJw/zBsjXMQ69F/L7QKjMytZ0ijd6S/sHQNsMFERfqWPNExH5cqVfJoRjDXzW6D9I6Kuoe0kbQCcVNj4G/T/u1S2GzLMmoRXq3U83sfgZtZufCRbWeIDgS5QhSgPcQJBAPo/Lyq+WNDqMN++rdgeo1/dxF4oFIpbAL6CbvGEID1hyFGKbyelrxd7ZDssFdPRNyKzTCjX/iIWUPlWuoBUW1cCQQDpYmJTp0uwFkf2cN8BEZI8aObrUh7jlF8JlxXxijXzCnY4YcGIwBLn6trXdYEGdc8a6xgUU7v91bhgGqX4W0jdAkBSIkbS2qK//v2HkkfwtS2eG2WGGdWUC4ZVAO506o7CVsOur6cH9kNfi6o8GZ4YZYSZKQwII8xPV8+/5o1T7VwFAkAv+al8yMcmS24/mrQ84//Lq0TM2vS+k6F1tzkrjd3JOD1VGcNO+Szpv718zQrY6R7JycoJY60hYO2l09SKWTmBAkEA0jtLvWFoeCMGf5qJI809+Qwr2SrgkHy8On7nDr47/MTjIqmmhhQBh0g3Jawh3KlObqd6LW7KxCfnoFpuai+iwA==";
}
