Eori

uk.gov.hmrc.domain.Eori
See theEori companion class
object Eori extends String => Eori

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait String => Eori
class Object
trait Matchable
class Any
Show all
Self type
Eori.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(id: String): Boolean

Inherited methods

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

Attributes

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

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 eoriRead: Reads[Eori]
implicit val eoriWrite: Writes[Eori]