Controller/OrderController.php
protected function getOrder()
    {
        $order = oxNew(\OxidEsales\Eshop\Application\Model\Order::class);
        $order->load($this->getSession()->getVariable('sess_challenge'));

        return $order;
    }
protected function getOrder()
    {
        $order = oxNew(\OxidEsales\Eshop\Application\Model\Order::class);
        $order->load($this->getSession()->getVariable('sess_challenge'));

        return $order;
    }
protected function getOrder ( ) { $ order = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Order :: class ) ; $ order -> load ( $ this -> getSession ( ) -> getVariable ( 'sess_challenge' ) ) ; return $ order ; }
Returns current order object

@return \OxidEsales\Eshop\Application\Model\Order
Returns current order object