public function setContactHandles($contacthandles)
{
#
# Domain check structure
#
foreach ($contacthandles as $contacthandle) {
if ($contacthandle instanceof eppContactHandle) {
$this->contactobject->appendChild($this->createElement('contact:id', $contacthandle->getContactHandle()));
} else {
$this->contactobject->appendChild($this->createElement('contact:id', $contacthandle));
}
}
}