Interface CpfGeneratorSpec
- All Superinterfaces:
GeneratorSpec<String>,NullableGeneratorSpec<String>
- All Known Subinterfaces:
CpfSpec
Spec for generating
Brazilian 'Cadastro de Pessoas FĂsicas' (CPF).
- Since:
- 5.0.0
-
Method Summary
Modifier and TypeMethodDescriptionFormat the CPF output.nullable()Indicates thatnullvalue can be generated.
-
Method Details
-
formatted
CpfGeneratorSpec formatted()Format the CPF output. By default, the output is not formatted:'12343598309'In case the formatted is called, the result will be formatted as follows:'123.435.983-09'- Returns:
- spec builder
- Since:
- 5.0.0
-
nullable
CpfGeneratorSpec nullable()Indicates thatnullvalue can be generated.- Specified by:
nullablein interfaceNullableGeneratorSpec<String>- Returns:
- spec builder
- Since:
- 5.0.0
-