• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/exchange/integration/rest/cmd/batch/itemcollection.php
  • Класс: BitrixSaleExchangeIntegrationRestCmdBatchItemCollection
  • Вызов: ItemCollection::addItem
public function addItem(Item $item)
{
	$index = $item->getInternalIndex() == '' ? 'n'.static::$internalIndex++ : $item->getInternalIndex();

	$this->collection[$index] = $item;
}