Inheritance diagram for oxCompanyVatInCountryChecker:
Collaboration diagram for oxCompanyVatInCountryChecker:Public Member Functions | |
| setCountry (oxCountry $oCountry) | |
| getCountry () | |
| validate (oxCompanyVatIn $oVatIn) | |
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.
Definition at line 7 of file oxcompanyvatincountrychecker.php.
| oxCompanyVatInCountryChecker.getCountry | ( | ) |
Country getter
Implements oxICountryAware.
Definition at line 37 of file oxcompanyvatincountrychecker.php.
| oxCompanyVatInCountryChecker.setCountry | ( | oxCountry $ | oCountry | ) |
Country setter
| oxCountry | $oCountry |
Implements oxICountryAware.
Definition at line 27 of file oxcompanyvatincountrychecker.php.
| oxCompanyVatInCountryChecker.validate | ( | oxCompanyVatIn $ | oVatIn | ) |
Validates.
| oxCompanyVatIn | $oVatIn |
Definition at line 49 of file oxcompanyvatincountrychecker.php.
oxCompanyVatInCountryChecker.$_oCountry = null [private] |
Definition at line 20 of file oxcompanyvatincountrychecker.php.
| const oxCompanyVatInCountryChecker.ERROR_ID_NOT_VALID = 'ID_NOT_VALID' |
Error string if country mismatch
Definition at line 13 of file oxcompanyvatincountrychecker.php.
1.7.1