VatNumberValidatorInterface
in
Interface VatNumberValidatorInterface
Tags
Table of Contents
- getCustomerStatusId() : int
- Returns the customer status ID.
- getErrorStatus() : bool
- Returns the error status
- getVatNumberStatusCodeId() : int
- Returns the VAT number status code ID.
Methods
getCustomerStatusId()
Returns the customer status ID.
public
getCustomerStatusId(string $p_vatNumber, int $p_countryId, bool $p_isGuest) : int
Parameters
- $p_vatNumber : string
-
VAT number.
- $p_countryId : int
-
Country ID.
- $p_isGuest : bool
-
Is customer a guest?
Return values
int —Customer status ID.
getErrorStatus()
Returns the error status
public
getErrorStatus(string $p_vatNumber, int $p_countryId, bool $p_isGuest) : bool
Parameters
- $p_vatNumber : string
-
VAT number.
- $p_countryId : int
-
Country ID.
- $p_isGuest : bool
-
Is customer a guest?
Return values
bool —Error status.
getVatNumberStatusCodeId()
Returns the VAT number status code ID.
public
getVatNumberStatusCodeId(string $p_vatNumber, int $p_countryId, bool $p_isGuest) : int
Parameters
- $p_vatNumber : string
-
VAT number.
- $p_countryId : int
-
Country ID.
- $p_isGuest : bool
-
Is customer a guest?
Return values
int —VAT number status code ID.