Model/Action/OrderActionFactory.php
public function getRefundAction()
    {
        $order = $this->getOrder();
        $data = oxNew(\OxidEsales\PayPalModule\Model\Action\Data\OrderRefundActionData::class, $this->getRequest(), $order);
        $handler = oxNew(\OxidEsales\PayPalModule\Model\Action\Handler\OrderRefundActionHandler::class, $data);

        $action = oxNew(\OxidEsales\PayPalModule\Model\Action\OrderRefundAction::class, $handler, $order->getPayPalOrder());

        return $action;
    }
public function getRefundAction()
    {
        $order = $this->getOrder();
        $data = oxNew(\OxidEsales\PayPalModule\Model\Action\Data\OrderRefundActionData::class, $this->getRequest(), $order);
        $handler = oxNew(\OxidEsales\PayPalModule\Model\Action\Handler\OrderRefundActionHandler::class, $data);

        $action = oxNew(\OxidEsales\PayPalModule\Model\Action\OrderRefundAction::class, $handler, $order->getPayPalOrder());

        return $action;
    }
public function getRefundAction ( ) { $ order = $ this -> getOrder ( ) ; $ data = oxNew ( \ OxidEsales \ PayPalModule \ Model \ Action \ Data \ OrderRefundActionData :: class , $ this -> getRequest ( ) , $ order ) ; $ handler = oxNew ( \ OxidEsales \ PayPalModule \ Model \ Action \ Handler \ OrderRefundActionHandler :: class , $ data ) ; $ action = oxNew ( \ OxidEsales \ PayPalModule \ Model \ Action \ OrderRefundAction :: class , $ handler , $ order -> getPayPalOrder ( ) ) ; return $ action ; }
Returns refund action object

@return \OxidEsales\PayPalModule\Model\Action\OrderRefundAction
Returns refund action object