OXID eShop CE  4.9.8
 All Classes Files Functions Variables Pages
oxCompanyVatInCountryChecker Class Reference
+ Inheritance diagram for oxCompanyVatInCountryChecker:
+ Collaboration diagram for oxCompanyVatInCountryChecker:

Public Member Functions

 setCountry (oxCountry $oCountry)
 getCountry ()
 validate (oxCompanyVatIn $oVatIn)
- Public Member Functions inherited from oxCompanyVatInChecker
 setError ($sError)
 getError ()

Public Attributes

const ERROR_ID_NOT_VALID = 'ID_NOT_VALID'

Private Attributes

 $_oCountry = null

Additional Inherited Members

- Protected Attributes inherited from oxCompanyVatInChecker
 $_sError = ''

Detailed Description

Company VAT identification number checker. Check if number belongs to the country.

Definition at line 7 of file oxcompanyvatincountrychecker.php.

Member Function Documentation

oxCompanyVatInCountryChecker::getCountry ( )

Country getter

Returns
oxCountry

Implements oxICountryAware.

Definition at line 37 of file oxcompanyvatincountrychecker.php.

oxCompanyVatInCountryChecker::setCountry ( oxCountry  $oCountry)

Country setter

Parameters
oxCountry$oCountry

Implements oxICountryAware.

Definition at line 27 of file oxcompanyvatincountrychecker.php.

oxCompanyVatInCountryChecker::validate ( oxCompanyVatIn  $oVatIn)

Validates.

Parameters
oxCompanyVatIn$oVatIn
Returns
bool

Reimplemented from oxCompanyVatInChecker.

Definition at line 49 of file oxcompanyvatincountrychecker.php.

Member Data Documentation

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.


The documentation for this class was generated from the following file: