package dvla.common.domain.DmsWeb

import org.joda.time.DateTime

final case class DmsWebHeaderDto (conversationId: String,
                                  originDateTime: DateTime,
                                  applicationCode: String,
                                  channelCode: String,
                                  contactId: Long,
                                  eventFlag: Boolean,
                                  serviceTypeCode: String,
                                  languageCode: String,
                                  endUser: DmsWebEndUserDto)

package dvla.common.domain.DmsWeb

import org.joda.time.DateTime

final case class DmsWebHeaderDto (conversationId: String,
                                  originDateTime: DateTime,
                                  applicationCode: String,
                                  channelCode: String,
                                  contactId: Long,
                                  eventFlag: Boolean,
                                  serviceTypeCode: String,
                                  languageCode: String,
                                  endUser: Option[DmsWebEndUserDto])

Make the end user dto an optional component of web header dto.
US2244: Make the end user dto an optional component of web header dto.
