<?php

namespace App\Crm\Config;

use App\Facades\Settings;

class WebLeadsConfig
{
    public function enabled(): bool
    {
        return (bool) Settings::get('crm-webleads-enabled');
    }

    public function apiKey(): ?string
    {
        return Settings::get('crm-webleads-api-key');
    }

    public function apiDomain(): ?string
    {
        return Settings::get('crm-webleads-api-domain');
    }

    public function fallbackDealerId(): ?string
    {
        return Settings::get('crm-webleads-fallback-dealer-id');
    }
}
