Package br.com.caelum.stella.boleto

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


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

public class BoletoExample {
  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(
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)
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(1824).withDvAgencia('4')
View Full Code Here

        // 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()
View Full Code Here

            .withNoDocumento("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()
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.