Examples of GeradorDeLinhaDigitavel


Examples of br.com.caelum.stella.boleto.bancos.GeradorDeLinhaDigitavel

  /**
   * Linha digitável formatada
   * @return linha digitável
   */
  public String getLinhaDigitavel(){
    return new GeradorDeLinhaDigitavel().geraLinhaDigitavelPara(getCodigoDeBarras(), banco);
  }
View Full Code Here

Examples of br.com.caelum.stella.boleto.bancos.GeradorDeLinhaDigitavel

  }
 
  private void imprimeLinhaDigitavelEmNegrito(Boleto boleto) {
    final float LINHA4 = 319;
    this.writer.writeBold(125, LINHA4, boleto.getBanco().getNumeroFormatadoComDigito());
    GeradorDeLinhaDigitavel linhaDigitavelGenerator = new GeradorDeLinhaDigitavel();
    String codigoDeBarras = boleto.getBanco().geraCodigoDeBarrasPara(boleto);
    this.writer.writeBold(175, LINHA4, linhaDigitavelGenerator.geraLinhaDigitavelPara(codigoDeBarras));
  }
View Full Code Here

Examples of br.com.caelum.stella.boleto.bancos.GeradorDeLinhaDigitavel

     * fica em outro pacote, deixei o construtor privado para não correr o
     * risco de alguém usar.
     */
    private BoletoTemplateWrapper(final Boleto boleto) {
      this.boleto = boleto;
      linhaDigitavelGenerator = new GeradorDeLinhaDigitavel();
      codigoDeBarras = this.boleto.getBanco().geraCodigoDeBarrasPara(this.boleto);
      linhaDigitavel = linhaDigitavelGenerator.geraLinhaDigitavelPara(codigoDeBarras);
    }
View Full Code Here

Examples of br.com.caelum.stella.boleto.bancos.GeradorDeLinhaDigitavel

  /**
   * Linha digitável formatada
   * @return
   */
  public String getLinhaDigitavel(){
    return new GeradorDeLinhaDigitavel().geraLinhaDigitavelPara(getCodigoDeBarras(), banco);
  }
View Full Code Here

Examples of br.com.caelum.stella.boleto.bancos.GeradorDeLinhaDigitavel

  /**
   * Linha digitável formatada
   * @return linha digitável
   */
  public String getLinhaDigitavel(){
    return new GeradorDeLinhaDigitavel().geraLinhaDigitavelPara(getCodigoDeBarras(), banco);
  }
View Full Code Here

Examples of br.com.caelum.stella.boleto.bancos.GeradorDeLinhaDigitavel

     * fica em outro pacote, deixei o construtor privado para não correr o
     * risco de alguém usar.
     */
    private BoletoTemplateWrapper(final Boleto boleto) {
      this.boleto = boleto;
      linhaDigitavelGenerator = new GeradorDeLinhaDigitavel();
      codigoDeBarras = this.boleto.getBanco().geraCodigoDeBarrasPara(this.boleto);
      linhaDigitavel = linhaDigitavelGenerator.geraLinhaDigitavelPara(codigoDeBarras);
    }
View Full Code Here

Examples of br.com.caelum.stella.boleto.bancos.GeradorDeLinhaDigitavel

  }
 
  private void imprimeLinhaDigitavelEmNegrito(Boleto boleto) {
    final float LINHA4 = 319;
    this.writer.writeBold(125, LINHA4, boleto.getBanco().getNumeroFormatadoComDigito());
    GeradorDeLinhaDigitavel linhaDigitavelGenerator = new GeradorDeLinhaDigitavel();
    String codigoDeBarras = boleto.getBanco().geraCodigoDeBarrasPara(boleto);
    this.writer.writeBold(175, LINHA4, linhaDigitavelGenerator.geraLinhaDigitavelPara(codigoDeBarras));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.