uk.gov.hmrc.domain
Members list
Type members
Classlikes
A generator that should be used Only for Testing!
A generator that should be used Only for Testing!
Rules for the AtedUtr: https://design.tax.service.gov.uk/hmrc-design-patterns/unique-taxpayer-reference/
Generates an AtedUtr from a random seed. You can use a specific seed to generate an AtedUtr so it is going to be more predictable.
Attributes
- Example
-
AtedUtrGenerator(seed).nextAtedUtr.utr
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Modulus23Checktrait ModulusCheckclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AtedUtrGenerator.type
A generator that should be used Only for Testing!
A generator that should be used Only for Testing!
Rules for the EORI: https://design.tax.service.gov.uk/hmrc-design-patterns/eori-numbers/
Generates an Eori from a random seed. You can use a specific seed to generate an Eori so it is going to be more predictable.
Attributes
- Example
-
EoriGenerator(seed).nextEori.eori
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EoriGenerator.type
A generator that should be used Only for Testing!
A generator that should be used Only for Testing!
Rules for the Nino: https://en.wikipedia.org/wiki/National_Insurance_number#Format
Generates a Nino from a random seed. You can use a specific seed to generate a Nino so it is going to be more predictable.
Attributes
- Example
-
NinoGenerator(seed).nextNino.nino
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Modulus23Checktrait ModulusCheckclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
NinoGenerator.type
A generator that should be used Only for Testing!
A generator that should be used Only for Testing!
Rules for the SaUtr: https://design.tax.service.gov.uk/hmrc-design-patterns/unique-taxpayer-reference/
Generates an SaUtr from a random seed. You can use a specific seed to generate an SaUtr so it is going to be more predictable.
Attributes
- Example
-
SaUtrGenerator(seed).nextSaUtr.utr
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Modulus11Checktrait ModulusCheckclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SaUtrGenerator.type
A generator that should be used Only for Testing!
A generator that should be used Only for Testing!
Rules for the VRN: https://design.tax.service.gov.uk/hmrc-design-patterns/vat-registration-number/
Generates a VRN from a random seed. You can use a specific seed to generate a VRN so it is going to be more predictable.
Attributes
- Example
-
VrnGenerator(seed).nextVrn.vrn
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
VrnGenerator.type