VatNumberValidatorInterface

Extends

Interface VatNumberValidatorInterface

category

System

package

Customer

subpackage

Interfaces

Methods

Returns the customer status ID.

getCustomerStatusId(string $p_vatNumber, integer $p_countryId, boolean $p_isGuest) : integer

Arguments

$p_vatNumber

string

VAT number.

$p_countryId

integer

Country ID.

$p_isGuest

boolean

Is customer a guest?

Response

integer

Customer status ID.

Returns the error status

getErrorStatus(string $p_vatNumber, integer $p_countryId, boolean $p_isGuest) : boolean

Arguments

$p_vatNumber

string

VAT number.

$p_countryId

integer

Country ID.

$p_isGuest

boolean

Is customer a guest?

Response

boolean

Error status.

Returns the VAT number status code ID.

getVatNumberStatusCodeId(string $p_vatNumber, integer $p_countryId, boolean $p_isGuest) : integer

Arguments

$p_vatNumber

string

VAT number.

$p_countryId

integer

Country ID.

$p_isGuest

boolean

Is customer a guest?

Response

integer

VAT number status code ID.