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. 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: DateTime, 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: DateTime, notification: Option[Notification] = None) extends Product with Serializable
  12. case class LifecycleStatus(name: LifecycleStatusType, updated: DateTime) 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[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, deliveredOn: Option[DateTime] = 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: DateTime) 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 defaultJodaDateFormat: String
  2. def formatDate(date: LocalDate): String
  3. def jodaDateReads(fieldName: String): Reads[LocalDate]
  4. def jodaDateReads(): Reads[LocalDate]
  5. object Adviser extends Serializable
  6. object AlertDetails extends Serializable
  7. object AlertQueueTypes
  8. object ConversationItem extends Serializable
  9. object Delivered extends MailgunStatus with Product with Serializable
  10. object Details extends Serializable
  11. object EmailAlert extends Serializable
  12. object Enrolments extends Serializable
  13. object ExternalRef extends Serializable
  14. object Lifecycle extends Serializable
  15. object LifecycleStatus extends Serializable
  16. object LifecycleStatusType extends Enum[LifecycleStatusType] with PlayJsonEnum[LifecycleStatusType]
  17. object MailgunStatus
  18. object Message extends Serializable
  19. object MessageContentParameters extends Serializable
  20. object MessageDetails extends Serializable
  21. object MessageMongoFormats
  22. object MessageRESTFormats extends RestFormats with AlertEmailTemplateMapper
  23. object MessageStatus extends Serializable
  24. object MessagesCount extends Serializable
  25. object MongoTaxIdentifierFormats
  26. object Notification extends Serializable
  27. object Recipient extends Serializable
  28. object RecipientNonQuadientErrorFormats
  29. object Regime extends Enumeration
  30. object RenderUrl extends Serializable
  31. object Rescindment extends Serializable
  32. object SendAlertResponse extends Serializable
  33. object SystemTimeSource extends SystemTimeSource
  34. object TaxEntity extends Serializable
  35. object TaxIdentifierRESTV2Formats
  36. object TaxpayerName extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped