Trustly/Data/jsonrpcsignedresponse.php
public function getData($name=NULL) {
		$data = NULL;

		if(isset($this->response_result['data'])) {
			$data = $this->response_result['data'];
		}else {
			return NULL;
		}

		if(isset($name)) {
			if(isset($data[$name])) {
				return $data[$name];
			}
		} else {
			return $data;
		}
	}
public function getData($name=NULL) {
		$data = NULL;

		if(isset($this->response_result['data'])) {
			$data = $this->response_result['data'];
		}else {
			return NULL;
		}

		if(isset($name)) {
			if(isset($data[$name])) {
				return $data[$name];
			}
		} else {
			return $data;
		}
	}
public function getData ( $ name = NULL ) { $ data = NULL ; if ( isset ( $ this -> response_result [ 'data' ] ) ) { $ data = $ this -> response_result [ 'data' ] ; } else { return NULL ; } if ( isset ( $ name ) ) { if ( isset ( $ data [ $ name ] ) ) { return $ data [ $ name ] ; } } else { return $ data ; } }
Get data from the data section of the response

@param string $name Name of the data parameter to fetch. NULL value will
return entire data section.

@return mixed The value for parameter $name or the entire data block if
no name was given
Get data from the data section of the response