Interface CpfGeneratorSpec

All Superinterfaces:
GeneratorSpec<String>, NullableGeneratorSpec<String>
All Known Subinterfaces:
CpfSpec

public interface CpfGeneratorSpec extends NullableGeneratorSpec<String>
Since:
5.0.0
  • 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 that null value can be generated.
      Specified by:
      nullable in interface NullableGeneratorSpec<String>
      Returns:
      spec builder
      Since:
      5.0.0