ApplicationState

uk.gov.hmrc.apiplatform.modules.applications.core.domain.models.ApplicationState
See theApplicationState companion object
case class ApplicationState(name: State = ..., requestedByEmailAddress: Option[String] = ..., requestedByName: Option[String] = ..., verificationCode: Option[String] = ..., updatedOn: Instant)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isDeleted: Boolean
def isInPreProduction: Boolean
def isInProduction: Boolean
def isInTesting: Boolean
final def requireState(requirement: State, transitionTo: State): Unit
def toDeleted(timestamp: Instant): ApplicationState
def toPendingGatekeeperApproval(requestedByEmailAddress: String, requestedByName: String, timestamp: Instant): ApplicationState
def toPendingResponsibleIndividualVerification(requestedByEmailAddress: String, requestedByName: String, timestamp: Instant): ApplicationState
def toPreProduction(timestamp: Instant): ApplicationState
def toProduction(timestamp: Instant): ApplicationState
def toTesting(timestamp: Instant): ApplicationState

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product