src/Payum/Klarna/Checkout/Action/Api/UpdateOrderAction.php
public function execute($request)
    {
        RequestNotSupportedException::assertSupports($this, $request);

        $model = ArrayObject::ensureArrayObject($request->getModel());

        $this->callWithRetry(function () use ($model, $request) {
            $order = new \Klarna_Checkout_Order($this->getConnector(), $model['location']);

            $data = $model->toUnsafeArray();
            unset($data['location']);

            $order->update($data);

            $request->setOrder($order);
        });
    }
public function execute($request)
    {
        RequestNotSupportedException::assertSupports($this, $request);

        $model = ArrayObject::ensureArrayObject($request->getModel());

        $this->callWithRetry(function () use ($model, $request) {
            $order = new \Klarna_Checkout_Order($this->getConnector(), $model['location']);

            $data = $model->toUnsafeArray();
            unset($data['location']);

            $order->update($data);

            $request->setOrder($order);
        });
    }
{@inheritDoc}

@param CreateOrder $request