code: def AddStopTime(self, stop, problems=None, schedule=None, **kwargs):
      
      if problems is None:
        # TODO: delete this branch when StopTime.__init__ doesn't need a
        # ProblemReporter
        problems = problems_module.default_problem_reporter
      stoptime = self.GetGtfsFactory().StopTime(
          problems=problems, stop=stop, **kwargs)
      self.AddStopTimeObject(stoptime, schedule)
docs: Add a stop to this trip. Stops must be added in the order visited.
  
      Args:
        stop: A Stop object
        kwargs: remaining keyword args passed to StopTime.__init__
  
      Returns:
        None