Uses of Interface
org.instancio.generator.specs.LuhnGeneratorSpec
Packages that use LuhnGeneratorSpec
-
Uses of LuhnGeneratorSpec in org.instancio.generator.specs
Subinterfaces of LuhnGeneratorSpec in org.instancio.generator.specsModifier and TypeInterfaceDescriptioninterfaceA spec for generating numbers that pass the Luhn checksum algorithm.interfaceA spec for generating numbers that pass the Luhn checksum algorithm.Methods in org.instancio.generator.specs that return LuhnGeneratorSpecModifier and TypeMethodDescriptionLuhnGeneratorSpec.checkDigitIndex(int checkDigitIndex) The index of the check digit in the input.LuhnGeneratorSpec.endIndex(int endIndex) The end index for calculating the checksum.LuhnGeneratorSpec.length(int length) Length of the number to generate (default value is16).LuhnGeneratorSpec.length(int min, int max) Generate a number of random length within the specified range.LuhnGeneratorSpec.nullable()Indicates thatnullvalue can be generated.LuhnGeneratorSpec.startIndex(int startIndex) The start index for calculating the checksum (default value is0).