package com.ruoyi.web.modules.pay.constant;

/**
 * 支付常量
 */
public final class PayConstants
{
    private PayConstants()
    {
    }

    public static final String CHANNEL_WECHAT = "1";

    public static final String PAY_STATUS_PENDING = "0";

    public static final String PAY_STATUS_SUCCESS = "1";

    public static final String PAY_STATUS_FAILED = "2";

    public static final String PAY_STATUS_CLOSED = "3";

    /** 平台代收 */
    public static final String PAY_MODE_PLATFORM = "1";

    /** 店铺自有商户号 */
    public static final String PAY_MODE_SHOP = "2";

    /** 服务商子商户 */
    public static final String PAY_MODE_SUB = "3";

    public static final String APPLY_NOT_SUBMITTED = "0";

    public static final String APPLY_PENDING = "1";

    public static final String APPLY_APPROVED = "2";

    public static final String APPLY_REJECTED = "3";

    public static final String MSG_OPENID_REQUIRED = "请先绑定微信后再支付";

    public static final String MSG_PAY_CONFIG_MISSING = "微信支付未配置";

    public static final String MSG_PAY_CREATE_FAILED = "微信下单失败，请稍后重试";

    public static final String MSG_PAY_NOTIFY_INVALID = "支付回调验签失败";

    public static final String MSG_PAY_NOTIFY_VERIFY_KEY_MISSING = "微信支付平台公钥未配置";

    public static final String MSG_SHOP_PAY_NOT_ENABLED = "店铺微信支付未开通";

    public static final String MSG_APPLY_REQUIRED = "请完善微信支付入驻信息";

    public static final String MSG_APPLY_NOT_PENDING = "当前申请不在审核中";

    public static final String MSG_APPLY_REJECT_REMARK_REQUIRED = "请填写驳回原因";

    public static final String REFUND_STATUS_PENDING = "0";

    public static final String REFUND_STATUS_SUCCESS = "1";

    public static final String REFUND_STATUS_FAILED = "2";

    public static final String REFUND_STATUS_PROCESSING = "3";

    public static final String REFUND_NO_PREFIX = "RF";

    public static final String MSG_REFUND_PAY_NOT_FOUND = "未找到可退款的支付记录";

    public static final String MSG_REFUND_AMOUNT_INVALID = "退款金额无效";

    public static final String MSG_REFUND_EXCEED = "退款金额超出可退余额";

    public static final String MSG_REFUND_FAILED = "微信退款失败，请稍后重试";
}
