package com.jeesharp.business.modules.pay.paypufaconfig.support;

import com.jeesharp.business.modules.pay.paypufaconfig.entity.PayPufaConfig;

/**
 * 浦发配置凭证与开关判断。
 *
 * @author jeesharp
 * @since 2026-05-25
 */
public final class PayPufaCredentialSupport {

    private PayPufaCredentialSupport() {
    }

    public static boolean isPfaEnabled(PayPufaConfig config) {
        return config != null && Integer.valueOf(1).equals(config.getPfaEnabled());
    }
}
