ModulusCheck

uk.gov.hmrc.domain.ModulusCheck
trait ModulusCheck

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AtedUtr
class Generator
Show all

Members list

Value members

Concrete methods

protected def calculateCheckCharacter(utr: String): Char
protected def isCheckCorrect(utr: String, checkPosition: Int): Boolean

Abstract fields

protected val checkString: String
protected val mod: Int
protected val weights: List[Int]