protected static function executeCall(
        $method,
        $payLoad,
        $headers = array(),
        $apiContext = null,
        $soapCall = null,
        $handlers = array('PayU\Handler\BasicAuthHandler'),
        $path = ''
    )
    {
        //Initialize the context and rest call object if not provided explicitly
        $apiContext = $apiContext ? $apiContext : new ApiContext(self::$credential);
        self::$apiContext = $apiContext;
        $soapCall = $soapCall ? $soapCall : new SoapCall($apiContext);

        //Make the execution call
        $json = $soapCall->execute($method, $payLoad, $handlers, $headers, $path);
        return $json;
    }
protected static function executeCall(
        $method,
        $payLoad,
        $headers = array(),
        $apiContext = null,
        $soapCall = null,
        $handlers = array('PayU\Handler\BasicAuthHandler'),
        $path = ''
    )
    {
        //Initialize the context and rest call object if not provided explicitly
        $apiContext = $apiContext ? $apiContext : new ApiContext(self::$credential);
        self::$apiContext = $apiContext;
        $soapCall = $soapCall ? $soapCall : new SoapCall($apiContext);

        //Make the execution call
        $json = $soapCall->execute($method, $payLoad, $handlers, $headers, $path);
        return $json;
    }
protected static function executeCall ( $ method , $ payLoad , $ headers = array ( ) , $ apiContext = null , $ soapCall = null , $ handlers = array ( 'PayU\Handler\BasicAuthHandler' ) , $ path = '' ) { //Initialize the context and rest call object if not provided explicitly $ apiContext = $ apiContext ? $ apiContext : new ApiContext ( self :: $ credential ) ; self :: $ apiContext = $ apiContext ; $ soapCall = $ soapCall ? $ soapCall : new SoapCall ( $ apiContext ) ; //Make the execution call $ json = $ soapCall -> execute ( $ method , $ payLoad , $ handlers , $ headers , $ path ) ; return $ json ; }
Execute SDK Call to PayU services

@param string $method
@param string $payLoad
@param array $headers
@param ApiContext $apiContext
@param SoapCall $restCall
@param array $handlers
@return string json response of the object
Execute SDK Call to PayU services