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. Protected

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. trait Alertable extends AnyRef
  5. type ContentParameters = JsValue
  6. case class ConversationItem(id: String, subject: String, body: Option[Details], validFrom: LocalDate, content: Option[String]) extends Product with Serializable
  7. 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[String] = 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
  8. case class EmailAlert(emailAddress: Option[String], alertTime: Instant, success: Boolean, failureReason: Option[String]) extends Product with Serializable
  9. final case class Enrolments(main: String, fallback: List[String]) extends Product with Serializable
  10. case class ExternalRef(id: String, source: String) extends Product with Serializable
  11. case class Lifecycle(status: LifecycleStatus, startedAt: Instant, notification: Option[Notification] = None) extends Product with Serializable
  12. case class LifecycleStatus(name: LifecycleStatusType, updated: Instant) extends Product with Serializable
  13. sealed trait LifecycleStatusType extends EnumEntry with UpperSnakecase
  14. sealed trait MailgunStatus extends AnyRef
  15. case class Message(id: ObjectId = new ObjectId, recipient: TaxEntity, subject: String, body: Option[Details], validFrom: LocalDate, alertFrom: Option[LocalDate], alertDetails: AlertDetails, alerts: Option[EmailAlert] = None, alertQueue: Option[String] = None, readTime: Option[Instant] = None, archiveTime: Option[Instant] = None, contentParameters: Option[MessageContentParameters] = None, status: ProcessingStatus = ToDo, rescindment: Option[Rescindment] = None, lastUpdated: Option[Instant], 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, deliveredOn: Option[Instant] = None, mailgunStatus: Option[MailgunStatus] = None) extends Alertable with Product with Serializable
  16. case class MessageContentParameters(data: ContentParameters, templateId: String) extends Product with Serializable
  17. 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[String] = Some(new ObjectId().toString), enquiryType: Option[String] = None, adviser: Option[Adviser] = None, waitTime: Option[String] = None, topic: Option[String] = None, properties: Option[JsValue] = None) extends Product with Serializable
  18. case class MessageStatus(envelopeId: Option[String], status: Option[LifecycleStatusType]) extends Product with Serializable
  19. final case class MessagesCount(total: Int, unread: Int) extends Product with Serializable
  20. case class Notification(count: Int, lastSent: Instant) extends Product with Serializable
  21. case class Recipient(taxIdentifier: TaxIdWithName, name: Option[TaxpayerName], email: Option[String] = None, regime: Option[Regime.Value] = None) extends Product with Serializable
  22. sealed trait Regime extends AnyRef
  23. case class RenderUrl(service: String, url: String) extends Product with Serializable
  24. case class Rescindment(time: Instant, type: Type, ref: String) extends Product with Serializable
  25. final case class SendAlertResponse(sendAlert: Boolean) extends Product with Serializable
  26. trait SystemTimeSource extends TimeSource
  27. final case class TaxEntity(regime: Regime.Value, identifier: TaxIdWithName, email: Option[String] = None) extends Product with Serializable
  28. 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
  29. trait TimeSource extends AnyRef

Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped