function __construct(eppDomain $deleteinfo, $namespacesinroot = true)
{
$this->setNamespacesinroot($namespacesinroot);
parent::__construct(eppRequest::TYPE_DELETE);
if ($deleteinfo instanceof eppDomain) {
$this->setDomain($deleteinfo);
} else {
throw new eppException('parameter of eppDeleteDomainRequest must be eppDomain object');
}
$this->addSessionId();
}