Generator

uk.gov.hmrc.domain.Generator
class Generator(random: Random) extends Modulus23Check

Attributes

Graph
Supertypes
trait ModulusCheck
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(seed: Int)

Concrete methods

def atedUtrBatch(amountToGenerate: Int): List[AtedUtr]
def nextNino: Nino

Inherited methods

protected def calculateCheckCharacter(utr: String): Char

Attributes

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

Attributes

Inherited from:
ModulusCheck

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