All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.objectos.cnab.TestingRemessaHeaderBuilderPojo Maven / Gradle / Ivy

The newest version!
package br.com.objectos.cnab;

import br.com.objectos.jabuticava.CadastroRFB;
import java.time.LocalDate;
import javax.annotation.Generated;

@Generated({
    "br.com.objectos.flat.FlatEntityPojoInfo$ThisBuilderPropertyAction",
    "br.com.objectos.pojo.compiler.PojoCompiler"
})
final class TestingRemessaHeaderBuilderPojo implements TestingRemessaHeaderBuilder, TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderSequencia, TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderData, TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderCodigo, TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderCadastroRfb, TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderRazaoSocial, TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderAgenciaNumero, TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderAgenciaDigito, TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderContaNumero, TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderContaDigito {
  private int sequencia;

  private LocalDate data;

  private long codigo;

  private CadastroRFB cadastroRfb;

  private String razaoSocial;

  private int agenciaNumero;

  private int agenciaDigito;

  private int contaNumero;

  private int contaDigito;

  public TestingRemessaHeaderBuilderPojo() {
  }

  @Override
  public TestingRemessaHeader build() {
    return new TestingRemessaHeaderPojo(this);
  }

  @Override
  public TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderSequencia sequencia(int sequencia) {
    this.sequencia = sequencia;
    return this;
  }

  int ___get___sequencia() {
    return sequencia;
  }

  @Override
  public TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderData data(LocalDate data) {
    if (data == null) {
      throw new NullPointerException();
    }
    this.data = data;
    return this;
  }

  LocalDate ___get___data() {
    return data;
  }

  @Override
  public TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderCodigo codigo(long codigo) {
    this.codigo = codigo;
    return this;
  }

  long ___get___codigo() {
    return codigo;
  }

  @Override
  public TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderCadastroRfb cadastroRfb(CadastroRFB cadastroRfb) {
    if (cadastroRfb == null) {
      throw new NullPointerException();
    }
    this.cadastroRfb = cadastroRfb;
    return this;
  }

  CadastroRFB ___get___cadastroRfb() {
    return cadastroRfb;
  }

  @Override
  public TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderRazaoSocial razaoSocial(String razaoSocial) {
    if (razaoSocial == null) {
      throw new NullPointerException();
    }
    this.razaoSocial = razaoSocial;
    return this;
  }

  String ___get___razaoSocial() {
    return razaoSocial;
  }

  @Override
  public TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderAgenciaNumero agenciaNumero(int agenciaNumero) {
    this.agenciaNumero = agenciaNumero;
    return this;
  }

  int ___get___agenciaNumero() {
    return agenciaNumero;
  }

  @Override
  public TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderAgenciaDigito agenciaDigito(int agenciaDigito) {
    this.agenciaDigito = agenciaDigito;
    return this;
  }

  int ___get___agenciaDigito() {
    return agenciaDigito;
  }

  @Override
  public TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderContaNumero contaNumero(int contaNumero) {
    this.contaNumero = contaNumero;
    return this;
  }

  int ___get___contaNumero() {
    return contaNumero;
  }

  @Override
  public TestingRemessaHeaderBuilder.TestingRemessaHeaderBuilderContaDigito contaDigito(int contaDigito) {
    this.contaDigito = contaDigito;
    return this;
  }

  int ___get___contaDigito() {
    return contaDigito;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy