private function findTransformedItem(OrderInterface $order, OrderItemInterface $transformed)
    {
        foreach ($order->getItems() as $item) {
            if ($item->equals($transformed)) {
                return $item;
            }
        }

        return null;
    }