_data = $response; } /** * @param string|null $field * @return mixed */ public function getData($field = null) { return $field ? $this->_data[$field] : $this->_data; } abstract public function isSuccess(); }