\Bitrix\Sale\BasketItemCollection::getItemByBasketCode($code);
Method returns item from collection by item code. Non-static method.