public function allowDelete($order)
    {
        // TODO: check if order once was confirmed (lookup in activity log)

        // check if order is confirmed
        if ($order->getStatus()->getId() >= OrderStatus::STATUS_CONFIRMED) {
            return false;
        }
        /** @var SalesDependencyClassInterface $dependency */
        foreach ($this->dependencyClasses as $dependency) {
            if (!$dependency->allowDelete($order)) {
                return false;
            }
        }

        return true;
    }