<?php

/*
 * This file is part of the Active Collab Payments project.
 *
 * (c) A51 doo <info@activecollab.com>. All rights reserved.
 */

declare(strict_types=1);

namespace ActiveCollab\Payments\TaxRates;

interface TaxIdValidatorInterface
{
    public function isValid(string $tax_id): bool;
}

<?php

/*
 * This file is part of the Active Collab Payments project.
 *
 * (c) A51 doo <info@activecollab.com>. All rights reserved.
 */

declare(strict_types=1);

namespace ActiveCollab\Payments\TaxRates;

interface TaxIdValidatorInterface
{
    public function canValidate(string $country_code): bool;

    public function isValid(string $country_code, string $tax_id): ? bool;
}

Handle cases where we can’t validate a tax ID
Handle cases where we can’t validate a tax ID
