src/Didww/API2/DIDNumber.php
public function renew()
    {
        $properties = $this->call('orderautorenew', array(
            "customer_id" => $this->_order->getCustomerId(),
            "did_number" => $this->getDIDNumber(),
            "period" => $this->_order->getPeriod(),
            "uniq_hash" => $this->generateUniqueHash()
        ));

        $this->getOrder()->setCityId($properties['city_id']);
        unset($properties['result'], $properties['autorenew_enable'], $properties['city_prefix'], $properties['country_iso'], $properties['city_id']);

        unset($properties['result'], $properties['autorenew_enable']);
        $this->fromArray($properties);
        return $this;
    }
public function renew()
    {
        $properties = $this->call('orderautorenew', array(
            "customer_id" => $this->_order->getCustomerId(),
            "did_number" => $this->getDIDNumber(),
            "period" => $this->_order->getPeriod(),
            "uniq_hash" => $this->generateUniqueHash()
        ));

        $this->getOrder()->setCityId($properties['city_id']);
        unset($properties['result'], $properties['autorenew_enable'], $properties['city_prefix'], $properties['country_iso'], $properties['city_id']);

        unset($properties['result'], $properties['autorenew_enable']);
        $this->fromArray($properties);
        return $this;
    }
renew order for current period
@link http://open.didww.com/index.php/7._Order_Autorenew
@return DIDNumber