protected function buildProfileSchedulesPayload($schedules)
    {
        if (is_array($schedules)) {
            throw new Exception('Multiple schedules update are not implemented.');
        }

        $payload = array('schedules' => array());

        $payload['schedules'][] = array(
            'days'  => $schedules->getDays(),
            'times' => $schedules->getTimes(),
        );

        return $payload;
    }