You are here

public function TaxNumberTypeInterface::canonicalize in Commerce Core 8.2

Canonicalizes the given tax number.

Parameters

string $tax_number: The tax number.

Return value

string The canonicalized tax number.

1 method overrides TaxNumberTypeInterface::canonicalize()
TaxNumberTypeBase::canonicalize in modules/tax/src/Plugin/Commerce/TaxNumberType/TaxNumberTypeBase.php
Canonicalizes the given tax number.

File

modules/tax/src/Plugin/Commerce/TaxNumberType/TaxNumberTypeInterface.php, line 54

Class

TaxNumberTypeInterface
Defines the base interface for tax number types.

Namespace

Drupal\commerce_tax\Plugin\Commerce\TaxNumberType

Code

public function canonicalize($tax_number);