<?php

namespace App\Modules\Valuation\Config;

use App\Facades\Settings;

class CapConfig extends \Mtc\VehicleValuation\Config\CapConfig
{
    #[\Override]
    public function enabled(): bool
    {
        return Settings::get('valuation-cap-enabled') ?? false;
    }

    #[\Override]
    public function subscriberId(): string
    {
        return Settings::get('valuation-cap-subscriber_id');
    }

    #[\Override]
    public function password(): string
    {
        return Settings::get('valuation-cap-password');
    }
}
