package model
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- model
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class Adviser(pidId: String) extends Product with Serializable
- case class AlertDetails(templateId: String, recipientName: Option[TaxpayerName], data: Map[String, String]) extends Product with Serializable
- trait AlertEmailTemplateMapper extends AnyRef
- trait Alertable extends AnyRef
- type ContentParameters = JsValue
- case class ConversationItem(id: String, subject: String, body: Option[Details], validFrom: LocalDate, content: Option[String]) extends Product with Serializable
- 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
- case class EmailAlert(emailAddress: Option[String], alertTime: DateTime, success: Boolean, failureReason: Option[String]) extends Product with Serializable
- final case class Enrolments(main: String, fallback: List[String]) extends Product with Serializable
- case class ExternalRef(id: String, source: String) extends Product with Serializable
- case class Lifecycle(status: LifecycleStatus, startedAt: DateTime, notification: Option[Notification] = None) extends Product with Serializable
- case class LifecycleStatus(name: LifecycleStatusType, updated: DateTime) extends Product with Serializable
- sealed trait LifecycleStatusType extends EnumEntry with UpperSnakecase
- sealed trait MailgunStatus extends AnyRef
- 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
- case class MessageContentParameters(data: ContentParameters, templateId: String) extends Product with Serializable
- 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
- case class MessageStatus(envelopeId: Option[String], status: Option[LifecycleStatusType]) extends Product with Serializable
- final case class MessagesCount(total: Int, unread: Int) extends Product with Serializable
- case class Notification(count: Int, lastSent: DateTime) extends Product with Serializable
- case class Recipient(taxIdentifier: TaxIdWithName, name: Option[TaxpayerName], email: Option[String] = None, regime: Option[Regime.Value] = None) extends Product with Serializable
- sealed trait Regime extends AnyRef
- case class RenderUrl(service: String, url: String) extends Product with Serializable
- case class Rescindment(time: Instant, type: Type, ref: String) extends Product with Serializable
- final case class SendAlertResponse(sendAlert: Boolean) extends Product with Serializable
- trait SystemTimeSource extends TimeSource
- final case class TaxEntity(regime: Regime.Value, identifier: TaxIdWithName, email: Option[String] = None) extends Product with Serializable
- 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
- trait TimeSource extends AnyRef
Value Members
- val defaultJodaDateFormat: String
- def formatDate(date: LocalDate): String
- def jodaDateReads: Reads[LocalDate]
- object Adviser extends Serializable
- object AlertDetails extends Serializable
- object AlertQueueTypes
- object ConversationItem extends Serializable
- case object Delivered extends MailgunStatus with Product with Serializable
- object Details extends Serializable
- object EmailAlert extends Serializable
- object Enrolments extends Serializable
- object ExternalRef extends Serializable
- object Lifecycle extends Serializable
- object LifecycleStatus extends Serializable
- object LifecycleStatusType extends Enum[LifecycleStatusType] with PlayJsonEnum[LifecycleStatusType]
- object MailgunStatus
- object Message extends Serializable
- object MessageContentParameters extends Serializable
- object MessageDetails extends Serializable
- object MessageMongoFormats
- object MessageRESTFormats extends RestFormats with AlertEmailTemplateMapper
- object MessageStatus extends Serializable
- object MessagesCount extends Serializable
- object MongoTaxIdentifierFormats
- object Notification extends Serializable
- object Recipient extends Serializable
- object RecipientNonQuadientErrorFormats
- object Regime extends Enumeration
- object RenderUrl extends Serializable
- object Rescindment extends Serializable
- object SendAlertResponse extends Serializable
- object SystemTimeSource extends SystemTimeSource
- object TaxEntity extends Serializable
- object TaxIdentifierRESTV2Formats
- object TaxpayerName extends Serializable