PsaId

uk.gov.hmrc.domain.PsaId
See thePsaId companion class
object PsaId extends String => PsaId

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait String => PsaId
class Object
trait Matchable
class Any
Show all
Self type
PsaId.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def isValid(id: String): Boolean

Inherited methods

def andThen[A](g: PsaId => A): String => A

Attributes

Inherited from:
Function1
def compose[A](g: A => String): A => PsaId

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Implicits

Implicits

implicit val psaIdRead: Reads[PsaId]
implicit val psaIdWrite: Writes[PsaId]