public function capture($apiContext = null, $soapCall = null)
    {
        $methodName = 'doTransaction';
        ArgumentValidator::validate($this->payu_reference, "payUReference");
        ArgumentValidator::validate($this->merchant_reference, "merchantReference");
        $payLoad = $this->request->parseReserveResource($this);

        $json = self::executeCall(
            $methodName,
            $payLoad,
            null,
            $apiContext,
            $soapCall
        );
        $ret = new Capture();
        $ret->fromJson($json);
        return $ret;
    }
public function capture($apiContext = null, $soapCall = null)
    {
        $methodName = 'doTransaction';
        ArgumentValidator::validate($this->payu_reference, "payUReference");
        ArgumentValidator::validate($this->merchant_reference, "merchantReference");
        $payLoad = $this->request->parseReserveResource($this);

        $json = self::executeCall(
            $methodName,
            $payLoad,
            null,
            $apiContext,
            $soapCall
        );
        $ret = new Capture();
        $ret->fromJson($json);
        return $ret;
    }
public function capture ( $ apiContext = null , $ soapCall = null ) { $ methodName = 'doTransaction' ; ArgumentValidator :: validate ( $ this -> payu_reference , "payUReference" ) ; ArgumentValidator :: validate ( $ this -> merchant_reference , "merchantReference" ) ; $ payLoad = $ this -> request -> parseReserveResource ( $ this ) ; $ json = self :: executeCall ( $ methodName , $ payLoad , null , $ apiContext , $ soapCall ) ; $ ret = new Capture ( ) ; $ ret -> fromJson ( $ json ) ; return $ ret ; }
Captures and processes an authorization, by ID. To use this call, the original payment call must specify an
intent of `reserve`.

@param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
@param SoapCall $soapCall is the SOAP Call Service that is used to make rest calls

@return Capture
Captures and processes an authorization by ID . To use this call the original payment call must specify an intent of reserve .