OXID eShop CE
6.1.5
|
Public Member Functions | |
setCountry (\OxidEsales\Eshop\Application\Model\Country $country) | |
getCountry () | |
validate (\OxidEsales\Eshop\Application\Model\CompanyVatIn $vatIn) | |
Public Attributes | |
const | ERROR_ID_NOT_VALID = 'ID_NOT_VALID' |
Private Attributes | |
$_oCountry = null | |
Company VAT identification number checker. Check if number belongs to the country.
OxidEsales\EshopCommunity\Core\CompanyVatInCountryChecker::getCountry | ( | ) |
Country getter
OxidEsales\EshopCommunity\Core\CompanyVatInCountryChecker::setCountry | ( | \OxidEsales\Eshop\Application\Model\Country | $country | ) |
Country setter
\OxidEsales\Eshop\Application\Model\Country | $country |
OxidEsales\EshopCommunity\Core\CompanyVatInCountryChecker::validate | ( | \OxidEsales\Eshop\Application\Model\CompanyVatIn | $vatIn | ) |
Validates.
\OxidEsales\Eshop\Application\Model\CompanyVatIn | $vatIn |
|
private |
const OxidEsales\EshopCommunity\Core\CompanyVatInCountryChecker::ERROR_ID_NOT_VALID = 'ID_NOT_VALID' |
Error string if country mismatch