Trustly/Data/jsonrpcnotificationresponse.php
public function setSuccess($success=NULL) {
		$status = 'OK';

		if(isset($success) && $success !== TRUE) {
			$status = 'FAILED';
		}
		$this->setData('status', $status);
		return $success;
	}
public function setSuccess($success=NULL) {
		$status = 'OK';

		if(isset($success) && $success !== TRUE) {
			$status = 'FAILED';
		}
		$this->setData('status', $status);
		return $success;
	}
public function setSuccess ( $ success = NULL ) { $ status = 'OK' ; if ( isset ( $ success ) && $ success !== TRUE ) { $ status = 'FAILED' ; } $ this -> setData ( 'status' , $ status ) ; return $ success ; }
Set the success status in the response.

@param boolean $success Set to true to indicate that the notification
was successfully processed.

@return $success
Set the success status in the response .