<?php

namespace App\Modules\Stock\Config;

use App\Facades\Settings;

class DealerKitConfig
{
    public function stockEnabled(): bool
    {
        return (bool) Settings::get('stock-dealerkit-enabled', false);
    }

    public function apiSecret(): ?string
    {
        return Settings::get('stock-dealerkit-api-secret');
    }

    public function useLiveApi(): bool
    {
        return (bool) Settings::get('stock-dealerkit-use-live-api', false);
    }
}
