|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.com.caelum.stella.boleto.Boleto
public class Boleto
Bean que representa os dados de um boleto.
| Method Summary | |
|---|---|
boolean |
getAceite()
Devolve o aceite do boleto Valor padrão: 'N' |
Banco |
getBanco()
Devolve o banco do boleto |
int |
getCodEspecieMoeda()
Devolve o código da espécie da moeda. |
Datas |
getDatas()
Devolve as datas do boleto |
List<String> |
getDescricoes()
Devolve as descrições do boleto. |
Emissor |
getEmissor()
Devolve o emissor do boleto |
String |
getEspecieDocumento()
Devolve a espécie do documento do boleto. |
String |
getEspecieMoeda()
Devolve a espécie da moeda. |
int |
getFatorVencimento()
Devolve o fator de vencimento do boleto. |
List<String> |
getInstrucoes()
Devolve as instruções do boleto |
List<String> |
getLocaisDePagamento()
Devolve os locais de pagamento do boleto |
String |
getNoDocumento()
Devolve o número do documento. |
String |
getNoDocumentoFormatado()
Devolve o número do documento formatado (com 4 digitos) |
BigDecimal |
getQtdMoeda()
Devolve a quantidade da moeda |
Sacado |
getSacado()
Devolve o sacado do banco |
BigDecimal |
getValorBoleto()
Devolve o valor desse boleto |
String |
getValorFormatado()
Devolve o valor do boleto formatado (com 10 digitos) |
BigDecimal |
getValorMoeda()
Devolve o valor da moeda, format |
static Boleto |
newBoleto()
Cria um novo boleto com valores padrão. |
Boleto |
withAceite(boolean aceite)
Associa o aceite ao boleto. |
Boleto |
withBanco(Banco banco)
Associa um banco ao boleto |
Boleto |
withDatas(Datas datas)
Associa datas ao boleto |
Boleto |
withDescricoes(String... descricoes)
Associa as descrições ao boleto. |
Boleto |
withEmissor(Emissor emissor)
Associa um sacado ao boleto |
Boleto |
withEspecieDocumento(String especieDocumento)
Associa a espécie do documento ao boleto. |
Boleto |
withInstrucoes(String... instrucoes)
Associa instruções ao boleto |
Boleto |
withLocaisDePagamento(String... locaisDePagamento)
Associa locais de pagamento ao boleto |
Boleto |
withNoDocumento(String noDocumento)
Associa o número do documento ao boleto Código informado pelo banco. |
Boleto |
withQtdMoeda(BigDecimal qtdMoeda)
Associa a quantidade de moeda ao boleto |
Boleto |
withSacado(Sacado sacado)
Associa um sacado ao banco |
Boleto |
withValorBoleto(BigDecimal valorBoleto)
|
Boleto |
withValorBoleto(double valorBoleto)
|
Boleto |
withValorBoleto(String valorBoleto)
Associa um valor ao boleto, convertendo a String para BigDecimal utilizando o Locale da JVM |
Boleto |
withValorMoeda(BigDecimal valorMoeda)
Associa um valor de moeda ao boleto |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Boleto newBoleto()
public boolean getAceite()
public Boleto withAceite(boolean aceite)
aceite - public Datas getDatas()
public Boleto withDatas(Datas datas)
datas - public String getEspecieDocumento()
public Boleto withEspecieDocumento(String especieDocumento)
especieDocumento - public String getNoDocumento()
public Boleto withNoDocumento(String noDocumento)
noDocumento - public BigDecimal getQtdMoeda()
public Boleto withQtdMoeda(BigDecimal qtdMoeda)
qtdMoeda -
public BigDecimal getValorBoleto()
public Boleto withValorBoleto(String valorBoleto)
valorBoleto -
public Boleto withValorBoleto(BigDecimal valorBoleto)
public Boleto withValorBoleto(double valorBoleto)
public String getEspecieMoeda()
public int getCodEspecieMoeda()
public BigDecimal getValorMoeda()
public Boleto withValorMoeda(BigDecimal valorMoeda)
public Banco getBanco()
public Boleto withBanco(Banco banco)
banco -
public Sacado getSacado()
public Boleto withSacado(Sacado sacado)
sacado -
public Emissor getEmissor()
public Boleto withEmissor(Emissor emissor)
emissor -
public List<String> getInstrucoes()
public Boleto withInstrucoes(String... instrucoes)
instrucoes -
public List<String> getDescricoes()
public Boleto withDescricoes(String... descricoes)
public List<String> getLocaisDePagamento()
public Boleto withLocaisDePagamento(String... locaisDePagamento)
locaisDePagamento -
public int getFatorVencimento()
public String getValorFormatado()
public String getNoDocumentoFormatado()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||