public function setInterval($unit = self::INTERVAL_MONTH, $length = 1)
    {
        $this->data->interval = new stdClass;
        $this->data->interval->unit = $unit;
        $this->data->interval->length = $length;

        return $this;
    }