docs: protected final <I extends IHasIdLongVersionName> ItemInList createItemInList(final Map<String, Object> pReqVars, final I pItem) throws Exception {
      ItemInList itemInList = new ItemInList();
      itemInList.setIsNew(true);
      EShopItemType itemType;
      if (pItem.getClass() == InvItem.class) {
        itemType = EShopItemType.GOODS;
      } else if (pItem.getClass() == ServiceToSale.class) {
        itemType = EShopItemType.SERVICE;
      } else if (pItem.getClass() == SeGoods.class) {
        itemType = EShopItemType.SEGOODS;
      } else if (pItem.getClass() == SeService.class) {
        itemType = EShopItemType.SESERVICE;
      } else {
        throw new Exception("NYI for " + pItem.getClass());
      }
      itemInList.setItsType(itemType);
      itemInList.setItemId(pItem.getItsId());
      itemInList.setItsName(pItem.getItsName());
      itemInList.setAvailableQuantity(BigDecimal.ZERO);
      return itemInList;
    }