private function updateOrder(OrderInterface $order, PaymentEvent $event, $force = false)
    {
        $orderEvent = new OrderEvent($order);
        $orderEvent->setForce($force);

        $this->operator->update($orderEvent);

        if ($orderEvent->hasMessages()) {
            $event->addMessages($orderEvent->getMessages());
        }
    }
private function updateOrder(OrderInterface $order, PaymentEvent $event, $force = false)
    {
        $orderEvent = new OrderEvent($order);
        $orderEvent->setForce($force);

        $this->operator->update($orderEvent);

        if ($orderEvent->hasMessages()) {
            $event->addMessages($orderEvent->getMessages());
        }
    }
private function updateOrder ( OrderInterface $ order , PaymentEvent $ event , $ force = false ) { $ orderEvent = new OrderEvent ( $ order ) ; $ orderEvent -> setForce ( $ force ) ; $ this -> operator -> update ( $ orderEvent ) ; if ( $ orderEvent -> hasMessages ( ) ) { $ event -> addMessages ( $ orderEvent -> getMessages ( ) ) ; } }
Updates the order.

@param OrderInterface $order
@param PaymentEvent   $event
@param bool           $force
Updates the order .