package model

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. model
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Adviser(pidId: String) extends Product with Serializable
  2. case class AlertDetails(templateId: String, recipientName: Option[TaxpayerName], data: Map[String, String]) extends Product with Serializable
  3. trait AlertEmailTemplateMapper extends AnyRef
  4. type ContentParameters = JsValue
  5. case class ConversationItem(id: String, subject: String, body: Option[Details], validFrom: LocalDate, content: Option[String]) extends Product with Serializable
  6. case class Details(form: Option[String], type: Option[String], suppressedAt: Option[String], detailsId: Option[String], paperSent: Option[Boolean] = None, batchId: Option[String] = None, issueDate: Option[LocalDate] = Some(LocalDate.now), replyTo: Option[String] = None, threadId: Option[BSONObjectID] = None, enquiryType: Option[String] = None, adviser: Option[Adviser] = None, waitTime: Option[String] = None, topic: Option[String] = None, envelopId: Option[String] = None, properties: Option[JsValue] = None) extends Product with Serializable
  7. case class EmailAlert(emailAddress: Option[String], alertTime: DateTime, success: Boolean, failureReason: Option[String]) extends Product with Serializable
  8. case class ExternalRef(id: String, source: String) extends Product with Serializable
  9. case class Lifecycle(status: LifecycleStatus, startedAt: DateTime, notification: Option[Notification] = None) extends Product with Serializable
  10. case class LifecycleStatus(name: LifecycleStatusType, updated: DateTime) extends Product with Serializable
  11. sealed trait LifecycleStatusType extends EnumEntry with UpperSnakecase
  12. case class Message(id: BSONObjectID = BSONObjectID.generate, recipient: TaxEntity, subject: String, body: Option[Details], validFrom: LocalDate, alertFrom: Option[LocalDate], alertDetails: AlertDetails, alerts: Option[EmailAlert] = None, alertQueue: Option[String] = None, readTime: Option[DateTime] = None, archiveTime: Option[DateTime] = None, contentParameters: Option[MessageContentParameters] = None, status: ProcessingStatus = ToDo, rescindment: Option[Rescindment] = None, lastUpdated: Option[DateTime], hash: String, statutory: Boolean, renderUrl: RenderUrl, sourceData: Option[String], externalRef: Option[ExternalRef] = None, content: Option[String] = None, emailAlertEventUrl: Option[String] = None, verificationBrake: Option[Boolean] = None, lifecycle: Option[Lifecycle] = None, tags: Option[Map[String, String]] = None) extends Product with Serializable
  13. case class MessageContentParameters(data: ContentParameters, templateId: String) extends Product with Serializable
  14. case class MessageDetails(formId: String, statutoryOp: Option[Boolean], paperSentOp: Option[Boolean], sourceData: Option[String], batchId: Option[String], issueDate: Option[LocalDate] = Some(LocalDate.now), replyTo: Option[String], threadId: Option[BSONObjectID] = Some(BSONObjectID.generate), enquiryType: Option[String] = None, adviser: Option[Adviser] = None, waitTime: Option[String] = None, topic: Option[String] = None, properties: Option[JsValue] = None) extends Product with Serializable
  15. case class MessageStatus(envelopeId: Option[String], status: Option[LifecycleStatusType]) extends Product with Serializable
  16. case class Notification(count: Int, lastSent: DateTime) extends Product with Serializable
  17. case class Recipient(taxIdentifier: TaxIdWithName, name: Option[TaxpayerName], email: Option[String] = None, regime: Option[Regime.Value] = None) extends Product with Serializable
  18. sealed trait Regime extends AnyRef
  19. case class RenderUrl(service: String, url: String) extends Product with Serializable
  20. case class Rescindment(time: DateTime, type: Type, ref: String) extends Product with Serializable
  21. final case class SendAlertResponse(sendAlert: Boolean) extends Product with Serializable
  22. trait SystemTimeSource extends TimeSource
  23. final case class TaxEntity(regime: Regime.Value, identifier: TaxIdWithName, email: Option[String] = None) extends Product with Serializable
  24. case class TaxpayerName(title: Option[String] = None, forename: Option[String] = None, secondForename: Option[String] = None, surname: Option[String] = None, honours: Option[String] = None, line1: Option[String] = None, line2: Option[String] = None, line3: Option[String] = None) extends Product with Serializable
  25. trait TimeSource extends AnyRef

Value Members

  1. val defaultJodaDateFormat: String
  2. def formatDate(date: LocalDate): String
  3. def jodaDateReads(fieldName: String): Reads[LocalDate]
  4. object Adviser extends Serializable
  5. object AlertDetails extends Serializable
  6. object AlertQueueTypes
  7. object ConversationItem extends Serializable
  8. object Details extends BSONObjectIdFormats with Serializable
  9. object EmailAlert extends Serializable
  10. object ExternalRef extends Serializable
  11. object Lifecycle extends Serializable
  12. object LifecycleStatus extends Serializable
  13. object LifecycleStatusType extends Enum[LifecycleStatusType] with PlayJsonEnum[LifecycleStatusType]
  14. object Message extends Serializable
  15. object MessageContentParameters extends Serializable
  16. object MessageDetails extends BSONObjectIdFormats with Serializable
  17. object MessageMongoFormats
  18. object MessageRESTFormats extends RestFormats with BSONObjectIdFormats with AlertEmailTemplateMapper
  19. object MessageStatus extends Serializable
  20. object MongoTaxIdentifierFormats
  21. object Notification extends Serializable
  22. object Recipient extends Serializable
  23. object Regime extends Enumeration
  24. object RenderUrl extends Serializable
  25. object Rescindment extends Serializable
  26. object SendAlertResponse extends Serializable
  27. object SystemTimeSource extends SystemTimeSource
  28. object TaxEntity extends Serializable
  29. object TaxIdentifierRESTV2Formats
  30. object TaxpayerName extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped