Model/Action/Handler/OrderReauthorizeActionHandler.php
public function getPayPalRequest()
    {
        if (is_null($this->payPalRequest)) {
            $requestBuilder = $this->getPayPalRequestBuilder();

            $data = $this->getData();

            $requestBuilder->setAuthorizationId($data->getAuthorizationId());
            $requestBuilder->setAmount($data->getAmount(), $data->getCurrency());

            $this->payPalRequest = $requestBuilder->getRequest();
        }

        return $this->payPalRequest;
    }
public function getPayPalRequest()
    {
        if (is_null($this->payPalRequest)) {
            $requestBuilder = $this->getPayPalRequestBuilder();

            $data = $this->getData();

            $requestBuilder->setAuthorizationId($data->getAuthorizationId());
            $requestBuilder->setAmount($data->getAmount(), $data->getCurrency());

            $this->payPalRequest = $requestBuilder->getRequest();
        }

        return $this->payPalRequest;
    }
public function getPayPalRequest ( ) { if ( is_null ( $ this -> payPalRequest ) ) { $ requestBuilder = $ this -> getPayPalRequestBuilder ( ) ; $ data = $ this -> getData ( ) ; $ requestBuilder -> setAuthorizationId ( $ data -> getAuthorizationId ( ) ) ; $ requestBuilder -> setAmount ( $ data -> getAmount ( ) , $ data -> getCurrency ( ) ) ; $ this -> payPalRequest = $ requestBuilder -> getRequest ( ) ; } return $ this -> payPalRequest ; }
Returns PayPal request; initiates if not set.

@return \OxidEsales\PayPalModule\Model\PayPalRequest\PayPalRequest
Returns PayPal request ; initiates if not set .