public function addSchedule($scheduleId)
    {
        $schedule = new Schedule($this->customerKey, $this->key);
        $schedule->id = $scheduleId;
        return $schedule;
    }
public function addSchedule($scheduleId)
    {
        $schedule = new Schedule($this->customerKey, $this->key);
        $schedule->id = $scheduleId;
        return $schedule;
    }
public function addSchedule ( $ scheduleId ) { $ schedule = new Schedule ( $ this -> customerKey , $ this -> key ) ; $ schedule -> id = $ scheduleId ; return $ schedule ; }
Creates a recurring schedule using the payment method.

@param string $scheduleId The schedule's identifier

@return Schedule
Creates a recurring schedule using the payment method .