<?php

declare(strict_types=1);

namespace App\Console\Commands;

use App\Jobs\Paynl\FetchMerchantsAndPaymentMethods;
use Illuminate\Console\Command;

final class FetchPaymentMethodsForMerchants extends Command
{
    protected $signature = 'tbs:fetch-payment-methods-for-merchants';
    protected $description = 'Fetch all merchants and their enabled payments methods';

    public function handle(): void
    {
        FetchMerchantsAndPaymentMethods::dispatch();
    }
}
