src/Entities/Cart.php
public function getItemByPuid($puid)
    {
        foreach ($this->getItems() as $item) {
            if ($item->getPuid() == $puid) {
                return $item;
            }
        }

        throw new CartItemNotFoundException($puid, $this);
    }
public function getItemByPuid($puid)
    {
        foreach ($this->getItems() as $item) {
            if ($item->getPuid() == $puid) {
                return $item;
            }
        }

        throw new CartItemNotFoundException($puid, $this);
    }
@param string $puid

@return CartItem

@throws CartItemNotFoundException