All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yes.tools.pay.constant.PayConstants Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package org.yes.tools.pay.constant;


import cn.hutool.core.date.format.FastDateFormat;

import java.text.Format;

/**
 * 支付常量类
 */
public class PayConstants {

    /**
     * 拉取订单评价数据接口的参数中日期格式.
     */
    public static final Format QUERY_COMMENT_DATE_FORMAT = FastDateFormat.getInstance("yyyyMMddHHmmss");

    /**
     * 缓存的key
     */
    public static class RedisKey {
        /**
         * 所有配置缓存
         */
        public static final String ALL_CONFIG = "ALL_CONFIG:";

        /**
         * 选择的配置缓存
         */
        public static final String CHOICE_CONFIG_KEY = "CHOICE_CONFIG_KEY";
    }

    public static class InstMid {
        /**
         * 小程序支付
         */
        public static final String MINIDEFAULT = "MINIDEFAULT";

        /**
         * APP支付
         */
        public static final String APPDEFAULT = "APPDEFAULT";

        /**
         * h5支付
         */
        public static final String H5DEFAULT = "H5DEFAULT";

        /**
         * ctob
         */
        public static final String QRPAYDEFAULT = "QRPAYDEFAULT";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy