protected function setNeededAction(Response $response) {
        if ($response->hasHtml())
        {
            $response->setNeededAction(Response::NEEDED_SHOW_HTML);
        }
        elseif ($response->isProcessing())
        {
            $response->setNeededAction(Response::NEEDED_STATUS_UPDATE);
        }
    }
protected function setNeededAction(Response $response) {
        if ($response->hasHtml())
        {
            $response->setNeededAction(Response::NEEDED_SHOW_HTML);
        }
        elseif ($response->isProcessing())
        {
            $response->setNeededAction(Response::NEEDED_STATUS_UPDATE);
        }
    }
protected function setNeededAction ( Response $ response ) { if ( $ response -> hasHtml ( ) ) { $ response -> setNeededAction ( Response :: NEEDED_SHOW_HTML ) ; } elseif ( $ response -> isProcessing ( ) ) { $ response -> setNeededAction ( Response :: NEEDED_STATUS_UPDATE ) ; } }
Sets action, that library client have to execute.

@param       Response        $response       PaynetEasy response.
Sets action that library client have to execute .