Package br.com.caelum.stella.boleto

Examples of br.com.caelum.stella.boleto.Datas


  // Para gerar um boleto em PDF
  gerador.toPDF("Boletos.pdf");
    }

    private static Boleto getBoletoBancoDoBrasil() {
  Datas datas = Datas.newDatas().withDocumento(1, 5, 2008)
    .withProcessamento(1, 5, 2008).withVencimento(2, 5, 2008);

  Emissor emissor = Emissor.newEmissor().withCedente("Fulano de Tal")
    .withAgencia(2345).withDvAgencia("6").withContaCorrente(12345)
    .withNumConvenio(1234567).withDvContaCorrete("1").withCarteira(
View Full Code Here


      "4343");
  return boleto;
    }

    private static Boleto getBoletoBradesco() {
  Datas datas = Datas.newDatas().withDocumento(1, 5, 2008)
    .withProcessamento(1, 5, 2008).withVencimento(2, 5, 2008);

  Emissor emissor = Emissor.newEmissor().withCedente("Fulano de Tal")
    .withAgencia(2345).withDvAgencia("6").withContaCorrente(12345)
    .withNumConvenio(1234567).withDvContaCorrete("1").withCarteira(
View Full Code Here

import br.com.caelum.stella.boleto.bancos.Bradesco;
import br.com.caelum.stella.boleto.transformer.BoletoGenerator;

public class BoletoBradescoExample {
    public static void main(String[] args) {
  Datas datas = Datas.newDatas().withDocumento(1, 5, 2008)
    .withProcessamento(1, 5, 2008).withVencimento(2, 5, 2008);

  Emissor emissor = Emissor.newEmissor().withCedente("Fulano de Tal")
    .withAgencia(2345).withDvAgencia("6").withContaCorrente(12345)
    .withNumConvenio(1234567).withDvContaCorrete("1").withCarteira(
View Full Code Here

import br.com.caelum.stella.boleto.bancos.BancoDoBrasil;
import br.com.caelum.stella.boleto.transformer.BoletoGenerator;

public class BoletoBancoDoBrasilExample {
    public static void main(String[] args) {
  Datas datas = Datas.newDatas().withDocumento(1, 5, 2008)
    .withProcessamento(1, 5, 2008).withVencimento(2, 5, 2008);

  Emissor emissor = Emissor.newEmissor().withCedente("Fulano de Tal")
    .withAgencia(2345).withDvAgencia("6").withContaCorrente(12345)
    .withNumConvenio(1234567).withDvContaCorrete("1").withCarteira(
View Full Code Here

import br.com.caelum.stella.boleto.bancos.Bradesco;
import br.com.caelum.stella.boleto.transformer.GeradorDeBoleto;

public class BoletoBradescoExample {
    public static void main(String[] args) {
        Datas datas = Datas.novasDatas().comDocumento(1, 5, 2008)
                .comProcessamento(1, 5, 2008).comVencimento(2, 5, 2008);

        Emissor emissor = Emissor.novoEmissor()
            .comCedente("Fulano de Tal")
            .comAgencia(2345)
View Full Code Here

import br.com.caelum.stella.boleto.bancos.BancoDoBrasil;
import br.com.caelum.stella.boleto.transformer.GeradorDeBoleto;

public class BoletoBancoDoBrasilExample {
    public static void main(String[] args) {
    Datas datas = Datas.novasDatas().comDocumento(1, 5, 2008)
        .comProcessamento(1, 5, 2008).comVencimento(2, 5, 2008);

    Emissor emissor = Emissor.novoEmissor()
            .comCedente("Fulano de Tal")
            .comAgencia(1824).comDigitoAgencia('4')
View Full Code Here

        // Para gerar um boleto em PDF
        gerador.geraPDF("Boletos.pdf");
    }

    private static Boleto getBoletoBancoDoBrasil() {
        Datas datas = Datas.novasDatas()
            .comDocumento(1, 5, 2008)
            .comProcessamento(1, 5, 2008)
            .comVencimento(2, 5, 2008);

        Emissor emissor = Emissor.novoEmissor()
View Full Code Here

            .comNumeroDoDocumento("4343");
        return boleto;
    }

    private static Boleto getBoletoBradesco() {
        Datas datas = Datas.novasDatas()
            .comDocumento(1, 5, 2008)
            .comProcessamento(1, 5, 2008)
            .comVencimento(2, 5, 2008);

        Emissor emissor = Emissor.novoEmissor()
View Full Code Here

  private Beneficiario beneficiario;
  private Boleto boleto;

  @Before
  public void setup() {
    Datas datas = Datas.novasDatas()
            .comDocumento(25, 07, 2013)
            .comVencimento(26, 07, 2013)
            .comProcessamento(25, 07, 2013);

    this.beneficiario = Beneficiario.novoBeneficiario()
View Full Code Here

  private Beneficiario beneficiario;

  @Before
  public void setUp() {
   
      Datas datas = Datas.novasDatas().comDocumento(20, 03, 2013)
              .comProcessamento(20, 03, 2013).comVencimento(01, 04, 2013)

        this.beneficiario = Beneficiario.novoBeneficiario().comNomeBeneficiario("Rodrigo Turini")
              .comAgencia("167").comCarteira("157").comCodigoBeneficiario("45145")
              .comNossoNumero("21897666").comDigitoNossoNumero("6")
View Full Code Here

TOP

Related Classes of br.com.caelum.stella.boleto.Datas

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.