Nino

uk.gov.hmrc.domain.Nino
See theNino companion class
object Nino extends String => Nino

Attributes

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

Members list

Type members

Inherited and Abstract 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(nino: String): Boolean

Inherited methods

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

Attributes

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

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

Concrete fields

val validPrefixes: Seq[String]
val validSuffixes: Seq[String]

Implicits

Implicits

implicit val ninoRead: Reads[Nino]
implicit val ninoWrite: Writes[Nino]