Class VatNumberValidator
Class VatNumberValidator
This class provides methods for validating VAT numbers
- VatNumberValidator implements VatNumberValidatorInterface
Package: Customer\Validation
Category: System
Implements: VatNumberValidatorInterface
Located at Services/Core/Customer/VatNumberValidator.inc.php
Category: System
Implements: VatNumberValidatorInterface
Located at Services/Core/Customer/VatNumberValidator.inc.php
Methods summary
public
|
|
public
integer
|
#
getVatNumberStatusCodeId( string $p_vatNumber, integer $p_countryId, boolean $p_isGuest )
Returns the VAT number status code ID. |
public
integer
|
#
getCustomerStatusId( string $p_vatNumber, integer $p_countryId, boolean $p_isGuest )
Returns the customer status ID. |
public
boolean
|
#
getErrorStatus( string $p_vatNumber, integer $p_countryId, boolean $p_isGuest )
Returns the error status |
protected
|
#
_putValidationCache( string $p_vatNumber, integer $p_countryId, boolean $p_isGuest )
Writes the validation results to cache. |
Properties summary
protected
vat_validation_ORIGIN
|
$vatValidation
VAT validation. |