PHP Class DragonBe\Vies\Validator\ValidatorES

Inheritance: extends ValidatorAbstract
Afficher le fichier Open project: dragonbe/vies

Protected Properties

Свойство Type Description
$allowedC1Alphabetic array Allowed C1 if C9 is Alphabetic
$allowedC1Numeric array Allowed C1 if C9 is Numeric
$checkCharacter array Check Character: 1-A, 2-B, 3-C, 4-D, 5-E, 6-F, 7-G, 8-H, 9-I, 10-J

Méthodes publiques

Méthode Description
validate ( string $vatNumber ) : boolean

Private Methods

Méthode Description
validateJuridical ( $vatNumber ) : string
validateNational ( $vatNumber ) : string

Method Details

validate() public méthode

public validate ( string $vatNumber ) : boolean
$vatNumber string
Résultat boolean

Property Details

$allowedC1Alphabetic protected_oe property

Allowed C1 if C9 is Alphabetic
protected array $allowedC1Alphabetic
Résultat array

$allowedC1Numeric protected_oe property

Allowed C1 if C9 is Numeric
protected array $allowedC1Numeric
Résultat array

$checkCharacter protected_oe property

Check Character: 1-A, 2-B, 3-C, 4-D, 5-E, 6-F, 7-G, 8-H, 9-I, 10-J
protected array $checkCharacter
Résultat array