Controller/Dispatcher.php
protected function getPayPalOrder()
    {
        $order = oxNew(\OxidEsales\Eshop\Application\Model\Order::class);
        if ($order->loadPayPalOrder()) {
            return $order;
        }
    }
protected function getPayPalOrder()
    {
        $order = oxNew(\OxidEsales\Eshop\Application\Model\Order::class);
        if ($order->loadPayPalOrder()) {
            return $order;
        }
    }
protected function getPayPalOrder ( ) { $ order = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Order :: class ) ; if ( $ order -> loadPayPalOrder ( ) ) { return $ order ; } }
Returns PayPal order object

@return \OxidEsales\Eshop\Application\Model\Order|null
Returns PayPal order object