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[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
  8. case class EmailAlert(emailAddress: Option[String], alertTime: DateTime, success: Boolean, failureReason: Option[String]) extends Product with Serializable
  9. case class ExternalRef(id: String, source: String) extends Product with Serializable
  10. case class Lifecycle(status: LifecycleStatus, startedAt: DateTime, notification: Option[Notification] = None) extends Product with Serializable
  11. case class LifecycleStatus(name: LifecycleStatusType, updated: DateTime) extends Product with Serializable
  12. sealed trait LifecycleStatusType extends EnumEntry with UpperSnakecase
  13. sealed trait MailgunStatus extends AnyRef
  14. 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, deliveredOn: Option[DateTime] = None, mailgunStatus: Option[MailgunStatus] = None) extends Alertable with Product with Serializable
  15. case class MessageContentParameters(data: ContentParameters, templateId: String) extends Product with Serializable
  16. 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
  17. case class MessageStatus(envelopeId: Option[String], status: Option[LifecycleStatusType]) extends Product with Serializable
  18. final case class MessagesCount(total: Int, unread: Int) extends Product with Serializable
  19. case class Notification(count: Int, lastSent: DateTime) extends Product with Serializable
  20. case class Recipient(taxIdentifier: TaxIdWithName, name: Option[TaxpayerName], email: Option[String] = None, regime: Option[Regime.Value] = None) extends Product with Serializable
  21. sealed trait Regime extends AnyRef
  22. case class RenderUrl(service: String, url: String) extends Product with Serializable
  23. case class Rescindment(time: DateTime, type: Type, ref: String) extends Product with Serializable
  24. final case class SendAlertResponse(sendAlert: Boolean) extends Product with Serializable
  25. trait SystemTimeSource extends TimeSource
  26. final case class TaxEntity(regime: Regime.Value, identifier: TaxIdWithName, email: Option[String] = None) extends Product with Serializable
  27. 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
  28. 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 BSONObjectIdFormats with Serializable
  11. object EmailAlert 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 BSONObjectIdFormats with Serializable
  20. object MessageMongoFormats
  21. object MessageRESTFormats extends RestFormats with BSONObjectIdFormats with 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 Regime extends Enumeration
  28. object RenderUrl extends Serializable
  29. object Rescindment extends Serializable
  30. object SendAlertResponse extends Serializable
  31. object SystemTimeSource extends SystemTimeSource
  32. object TaxEntity extends Serializable
  33. object TaxIdentifierRESTV2Formats
  34. object TaxpayerName extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped