uk.gov.hmrc.domain.VrnGenerator
See theVrnGenerator companion object
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
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article