<?php

namespace App\VehicleSpec\Config;

use App\Facades\Settings;

class HPICapIdLookupConfig
{
    public function enabled(): bool
    {
        return Settings::get('cap-id-lookup-hpi-enabled');
    }

    public function customerCode(): string
    {
        return Settings::get('cap-id-lookup-hpi-customer_code') ?? '';
    }

    public function password(): string
    {
        return Settings::get('cap-id-lookup-hpi-password') ?? '';
    }

    public function initials(): string
    {
        return Settings::get('cap-id-lookup-hpi-initials') ?? '';
    }

    public function primaryProductCode(): string
    {
        return Settings::get('cap-id-lookup-hpi-primary_product_code') ?? 'HPI64';
    }

    public function supplementaryProductCode(): string
    {
        return Settings::get('cap-id-lookup-hpi-supplementary_product_code') ?? 'CAPCD';
    }
}
