email = $email; } } public function addCustomField($name, $value) { $this->custom_fields[$name] = $value; } }