public function void($apiContext = null, $soapCall = null)
    {
        $methodName = 'doTransaction';
        ArgumentValidator::validate($this->getReturn()->getPayUReference(), "payUReference");
        ArgumentValidator::validate($this->getReturn()->getMerchantReference(), "merchantReference");
        $payLoad = $this->request->parseReserveResource($this);
        $json = self::executeCall(
            $methodName,
            $payLoad,
            null,
            $apiContext,
            $soapCall
        );
        $this->fromJson($json);
        return $this;
    }
public function void($apiContext = null, $soapCall = null)
    {
        $methodName = 'doTransaction';
        ArgumentValidator::validate($this->getReturn()->getPayUReference(), "payUReference");
        ArgumentValidator::validate($this->getReturn()->getMerchantReference(), "merchantReference");
        $payLoad = $this->request->parseReserveResource($this);
        $json = self::executeCall(
            $methodName,
            $payLoad,
            null,
            $apiContext,
            $soapCall
        );
        $this->fromJson($json);
        return $this;
    }
public function void ( $ apiContext = null , $ soapCall = null ) { $ methodName = 'doTransaction' ; ArgumentValidator :: validate ( $ this -> getReturn ( ) -> getPayUReference ( ) , "payUReference" ) ; ArgumentValidator :: validate ( $ this -> getReturn ( ) -> getMerchantReference ( ) , "merchantReference" ) ; $ payLoad = $ this -> request -> parseReserveResource ( $ this ) ; $ json = self :: executeCall ( $ methodName , $ payLoad , null , $ apiContext , $ soapCall ) ; $ this -> fromJson ( $ json ) ; return $ this ; }
Voids, or cancels, an authorization, by ID. You cannot void a fully captured authorization.

@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  calls

@return ResourceModel
Voids or cancels an authorization by ID . You cannot void a fully captured authorization .