<?php

namespace App\Crm\Config;

use App\Facades\Settings;

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

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

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

    public function clientId(): ?string
    {
        return Settings::get('salesforce-crm-client-id');
    }

    public function clientSecret(): ?string
    {
        return Settings::get('salesforce-crm-client-secret');
    }

    public function feedSource(): ?string
    {
        return Settings::get('salesforce-crm-feedsource');
    }
}
