AtedUtr

uk.gov.hmrc.domain.AtedUtr
See theAtedUtr companion class
object AtedUtr extends Modulus23Check, String => AtedUtr

Attributes

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

Inherited methods

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

Attributes

Inherited from:
Function1
protected def calculateCheckCharacter(utr: String): Char

Attributes

Inherited from:
ModulusCheck
def compose[A](g: A => String): A => AtedUtr

Attributes

Inherited from:
Function1
protected def isCheckCorrect(utr: String, checkPosition: Int): Boolean

Attributes

Inherited from:
ModulusCheck
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

Inherited fields

override protected val checkString: String

Attributes

Inherited from:
Modulus23Check
override protected val mod: Int

Attributes

Inherited from:
Modulus23Check
override protected val weights: List[Int]

Attributes

Inherited from:
Modulus23Check

Implicits

Implicits

implicit val atedUtrRead: Reads[AtedUtr]
implicit val atedUtrWrite: Writes[AtedUtr]