Trustly/Data/jsonrpcrequest.php
public function getAttribute($name) {
		if(isset($this->payload['params']['Data']['Attributes'][$name])) {
			return $this->payload['params']['Data']['Attributes'][$name];
		}
		return NULL;
	}
public function getAttribute($name) {
		if(isset($this->payload['params']['Data']['Attributes'][$name])) {
			return $this->payload['params']['Data']['Attributes'][$name];
		}
		return NULL;
	}
public function getAttribute ( $ name ) { if ( isset ( $ this -> payload [ 'params' ] [ 'Data' ] [ 'Attributes' ] [ $ name ] ) ) { return $ this -> payload [ 'params' ] [ 'Data' ] [ 'Attributes' ] [ $ name ] ; } return NULL ; }
Get the value of one parameter in the params->Data->Attributes section
of the request. Or the entire Attributes section if no name is given.

@param string $name Name of the Attributes param to obtain. Leave as NULL to
get the entire structure.

@return mixed The value or the entire Attributes depending on $name
Get the value of one parameter in the params - > Data - > Attributes section of the request . Or the entire Attributes section if no name is given .