set_type($type); $this->set_sub_type($sub_type); } public function get_type(){ return $this->type; } public function set_type($type) { $this->type = $type; return $this; } public function get_sub_type() { return $this->sub_type; } public function set_sub_type($sub_type) { $this->sub_type = $sub_type; return $this; } public function get_error_message(){ return $this->error_message; } public function set_error_message($message){ $this->error_message = $message; return $this; } public function get_elements() { return $this->elements; } public function set_elements($elements) { $this->elements = $elements; } }