TaxNumberConstraint.php in Commerce Core 8.2
File
modules/tax/src/Plugin/Validation/Constraint/TaxNumberConstraint.php
View source
<?php
namespace Drupal\commerce_tax\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
class TaxNumberConstraint extends Constraint {
public $verify = TRUE;
public $allowUnverified = FALSE;
public $invalidMessage = '%name is not in the right format.';
public $invalidMessageWithExamples = '%name is not in the right format. @examples';
public $verificationFailedMessage = '%name could not be verified.';
}