<?php

declare(strict_types=1);

namespace App\Crm\Config;

use App\Facades\Settings;

class MotordatCrmConfig
{
    public function enabled(): bool
    {
        return Settings::get('crm-motordat-enabled') === true;
    }

    public function username(): ?string
    {
        return Settings::get('crm-motordat-username');
    }

    public function password(): ?string
    {
        return Settings::get('crm-motordat-password');
    }

    public function vendorName(): ?string
    {
        return Settings::get('crm-motordat-vendor-name');
    }
}
