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

com.taotao.boot.pay.common.constants.PayConstants Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2020-2030, Shuigedeng ([email protected] & https://blog.taotaocloud.top/).
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.taotao.boot.pay.common.constants;

/** 支付模块常量 */
public interface PayConstants {

    String PROPERTY_PREFIX_HERODOTUS = "taotao.boot.pay";
    String CACHE_TOKEN_BASE_PREFIX = "cache";
    String PROPERTY_ENABLED = ".enabled";

    String PROPERTY_PREFIX_PAY = PROPERTY_PREFIX_HERODOTUS + ".pay";

    String PROPERTY_PAY_ALIPAY = PROPERTY_PREFIX_PAY + ".alipay";
    String PROPERTY_PAY_WXPAY = PROPERTY_PREFIX_PAY + ".wxpay";

    String CACHE_NAME_TOKEN_PAY = CACHE_TOKEN_BASE_PREFIX + "pay:";

    String ITEM_ALIPAY_ENABLED = PROPERTY_PAY_ALIPAY + PROPERTY_ENABLED;
    String ITEM_WXPAY_ENABLED = PROPERTY_PAY_WXPAY + PROPERTY_ENABLED;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy