You are here

abstract protected function TaxNumberTypeWithVerificationBase::doVerify in Commerce Core 8.2

Performs the tax number verification.

Parameters

string $tax_number: The tax number.

Return value

\Drupal\commerce_tax\Plugin\Commerce\TaxNumberType\VerificationResult The verification result.

1 call to TaxNumberTypeWithVerificationBase::doVerify()
TaxNumberTypeWithVerificationBase::verify in modules/tax/src/Plugin/Commerce/TaxNumberType/TaxNumberTypeWithVerificationBase.php
Verifies the given tax number.
2 methods override TaxNumberTypeWithVerificationBase::doVerify()
EuropeanUnionVat::doVerify in modules/tax/src/Plugin/Commerce/TaxNumberType/EuropeanUnionVat.php
Performs the tax number verification.
SerbianVat::doVerify in modules/tax/tests/modules/commerce_tax_test/src/Plugin/Commerce/TaxNumberType/SerbianVat.php
Performs the tax number verification.

File

modules/tax/src/Plugin/Commerce/TaxNumberType/TaxNumberTypeWithVerificationBase.php, line 92

Class

TaxNumberTypeWithVerificationBase
Provides the base class for tax number types which support verification.

Namespace

Drupal\commerce_tax\Plugin\Commerce\TaxNumberType

Code

protected abstract function doVerify($tax_number);