Method |
Description |
|
__construct ( null | StdClass $params = null ) |
Constructor for this response object |
|
getAddress ( ) : string |
Retrieves the registered address of a company |
|
getCountryCode ( ) : string |
Retrieves the two-character country code from a member of the European
Union. |
|
getIdentifier ( ) : mixed |
get requerst Identifier |
|
getName ( ) : string |
Retrieves the registered name of the company |
|
getRequestDate ( ) : DateTime |
Retrieves the date- and timestamp the VIES service response was created |
|
getVatNumber ( ) : string |
Retrieves the VAT number from a company within the European Union |
|
isValid ( ) : boolean |
Checks to see if a request is valid with given parameters |
|
populate ( array | stdClass $row ) |
Populates this response object with external data |
|
setAddress ( string $address ) : CheckVatResponse |
Sets the registered address of a company |
|
setCountryCode ( string $countryCode ) : CheckVatResponse |
Sets the two-character country code for a member of the European Union |
|
setIdentifier ( $identifier ) : CheckVatResponse |
Sets request Identifier |
|
setName ( string $name ) : CheckVatResponse |
Sets optionally the registered name of the company |
|
setRequestDate ( string $requestDate ) : CheckVatResponse |
Sets the date- and timestamp when the VIES service response was created |
|
setValid ( boolean $flag ) : CheckVatResponse |
Sets the flag to indicate the provided details were valid or not |
|
setVatNumber ( string $vatNumber ) : CheckVatResponse |
Sets the VAT number of a company within the European Union |
|
toArray ( ) |
|
|