code: private function loadItem(Model\SaleItemInterface $item)
      {
          $item->getAdjustments()->toArray();
  
          $children = $item->getChildren()->toArray();
  
          foreach ($children as $child) {
              $this->loadItem($child);
          }
      }
docs: Loads the item's children and adjustments recursively.
  
  @param Model\SaleItemInterface $item