/** * Sets the response type * * @param $type Type of response for the output data */ public function set_response_type($type) { // Set the response type for the API library object $this->response_type = $type; // Set the response type for the API service $this->api_service->set_response_type($type); }