Interface CnpjGeneratorSpec

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

public interface CnpjGeneratorSpec extends NullableGeneratorSpec<String>
Since:
5.0.0
  • Method Details

    • formatted

      CnpjGeneratorSpec formatted()
      Format the CNPJ output. By default, the output is not formatted: '123456780000199' In case the formatted is called, the result will be formatted as follows: '12.345.678/00001-99'
      Returns:
      spec builder
      Since:
      5.0.0
    • nullable

      CnpjGeneratorSpec nullable()
      Indicates that null value can be generated.
      Specified by:
      nullable in interface NullableGeneratorSpec<String>
      Returns:
      spec builder
      Since:
      5.0.0