public function setContacts($domainName, $contacts)
    {
        foreach ($contacts as $contact) {
            if (!$contact instanceof \Transip\Model\WhoisContact) {
                throw new \RuntimeException(sprintf('Contact is not an instance of %s', '\\Transip\\Model\\WhoisContact'));
            }
        }

        return $this->getSoapClient(array_merge(array($domainName, $contacts), array('__method' => 'setContacts')))->setContacts($domainName, $contacts);
    }
public function setContacts($domainName, $contacts)
    {
        foreach ($contacts as $contact) {
            if (!$contact instanceof \Transip\Model\WhoisContact) {
                throw new \RuntimeException(sprintf('Contact is not an instance of %s', '\\Transip\\Model\\WhoisContact'));
            }
        }

        return $this->getSoapClient(array_merge(array($domainName, $contacts), array('__method' => 'setContacts')))->setContacts($domainName, $contacts);
    }
public function setContacts ( $ domainName , $ contacts ) { foreach ( $ contacts as $ contact ) { if ( ! $ contact instanceof \ Transip \ Model \ WhoisContact ) { throw new \ RuntimeException ( sprintf ( 'Contact is not an instance of %s' , '\\Transip\\Model\\WhoisContact' ) ) ; } } return $ this -> getSoapClient ( array_merge ( array ( $ domainName , $ contacts ) , array ( '__method' => 'setContacts' ) ) ) -> setContacts ( $ domainName , $ contacts ) ; }
Starts a contact change of a domain, this will replace all existing contacts

@param string                        $domainName the domainName to change the contacts for
@param \Transip\Model\WhoisContact[] $contacts   the list of new contacts for this domain
@throws \RuntimeException
Starts a contact change of a domain this will replace all existing contacts