OXID eShop CE  4.9.5
 All Classes Files Functions Variables Pages
oxCompanyVatIn Class Reference

Public Member Functions

 __construct ($sCompanyVatNumber)
 getCountryCode ()
 getNumbers ()
 __toString ()

Protected Member Functions

 _cleanUp ($sValue)

Private Attributes

 $_sCompanyVatNumber

Detailed Description

Company VAT identification number (VATIN)

Definition at line 7 of file oxcompanyvatin.php.

Constructor & Destructor Documentation

oxCompanyVatIn::__construct (   $sCompanyVatNumber)

Constructor

Parameters
string$sCompanyVatNumber- company vat identification number.

Definition at line 22 of file oxcompanyvatin.php.

Member Function Documentation

oxCompanyVatIn::__toString ( )

Cast to string

Returns
string

Definition at line 65 of file oxcompanyvatin.php.

oxCompanyVatIn::_cleanUp (   $sValue)
protected

Removes spaces and symbols: '-',',','.' from string

Parameters
string$sValueValue.
Returns
string

Definition at line 54 of file oxcompanyvatin.php.

oxCompanyVatIn::getCountryCode ( )

Returns country code from number.

Returns
string

Definition at line 32 of file oxcompanyvatin.php.

oxCompanyVatIn::getNumbers ( )

Returns country code from number.

Returns
string

Definition at line 42 of file oxcompanyvatin.php.

Member Data Documentation

oxCompanyVatIn::$_sCompanyVatNumber
private

Definition at line 15 of file oxcompanyvatin.php.


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