private function resolveShipmentsState(OrderInterface $order)
    {
        if (!$order->isEmpty()) {
            if (! $order->requiresShipment()) {
                return ShipmentStates::STATE_SHIPPED;
            }

            // TODO Shipments states
        }

        return ShipmentStates::STATE_PENDING;
    }