code: private function getComments($entry)
      {
          $comments = [];
  
          if ($entry['internalComment']) {
              $comment = new Comment();
              $comment->setType(Comment::TYPE_INTERNAL);
              $comment->setComment($entry['internalComment']);
              $comments[] = $comment;
          }
  
          if ($entry['customerComment']) {
              $comment = new Comment();
              $comment->setType(Comment::TYPE_CUSTOMER);
              $comment->setComment($entry['customerComment']);
              $comments[] = $comment;
          }
  
          return $comments;
      }
docs: @param array $entry
  
  @return Comment[]