PHP Class Metaregistrar\EPP\ficoraEppInfoContactResponse

Inheritance: extends eppInfoContactResponse
Show file Open project: metaregistrar/php-epp-client

Public Methods

Method Description
getContactLegalEmail ( ) : string | null
getContactPostalInfo ( ) : ficoraEppContactPostalInfo[]
getContactRole ( ) : integer | null
getContactType ( ) : integer | null

Protected Methods

Method Description
getXpathQueryResult ( $query, $cast = null ) : mixed A helper function for retriving xpath query results.

Private Methods

Method Description
getElementValueByTagNameOrDefault ( DOMElement $element, string $tagName, mixed $defaultValue = null ) : mixed Returns value of first matching element or default value if no matches

Method Details

getContactLegalEmail() public method

public getContactLegalEmail ( ) : string | null
return string | null legalemail

getContactPostalInfo() public method

public getContactPostalInfo ( ) : ficoraEppContactPostalInfo[]
return ficoraEppContactPostalInfo[] postal info elements

getContactRole() public method

public getContactRole ( ) : integer | null
return integer | null role

getContactType() public method

public getContactType ( ) : integer | null
return integer | null type

getXpathQueryResult() protected method

A helper function for retriving xpath query results.
protected getXpathQueryResult ( $query, $cast = null ) : mixed
return mixed query result or null if missing