private function getFromData($type, $key)
    {
        return $this->hasData($type, $key) ? $this->data[$type][$key] : null;
    }
private function getFromData($type, $key)
    {
        return $this->hasData($type, $key) ? $this->data[$type][$key] : null;
    }
private function getFromData ( $ type , $ key ) { return $ this -> hasData ( $ type , $ key ) ? $ this -> data [ $ type ] [ $ key ] : null ; }
Get specific type of data from specific key from response.

@param string $type
@param string $key

@return mixed
Get specific type of data from specific key from response .