Core/PayPalService.php
public function doCapture($request)
    {
        $caller = $this->getCaller();
        $caller->setRequest($request);

        $response = oxNew(\OxidEsales\PayPalModule\Model\Response\ResponseDoCapture::class);
        $response->setData($caller->call('DoCapture'));

        return $response;
    }
public function doCapture($request)
    {
        $caller = $this->getCaller();
        $caller->setRequest($request);

        $response = oxNew(\OxidEsales\PayPalModule\Model\Response\ResponseDoCapture::class);
        $response->setData($caller->call('DoCapture'));

        return $response;
    }
public function doCapture ( $ request ) { $ caller = $ this -> getCaller ( ) ; $ caller -> setRequest ( $ request ) ; $ response = oxNew ( \ OxidEsales \ PayPalModule \ Model \ Response \ ResponseDoCapture :: class ) ; $ response -> setData ( $ caller -> call ( 'DoCapture' ) ) ; return $ response ; }
Executes "DoCapture". Returns response array from PayPal

@param \OxidEsales\PayPalModule\Model\PayPalRequest\PayPalRequest $request request

@return \OxidEsales\PayPalModule\Model\Response\Response
Executes DoCapture . Returns response array from PayPal