public class BancoBanrisulAlterarTitulo extends Object
| Constructor and Description |
|---|
BancoBanrisulAlterarTitulo() |
| Modifier and Type | Method and Description |
|---|---|
String |
montaXmlAlterarTitulo(BoletoModel boletoModel,
AmbienteEnum ambiente)
Monta o XML para Alterar um boleto.
|
BoletoModel |
validaXmlRetorno(String xmlRetorno,
BoletoModel boletoModel)
Valida a response
|
public String montaXmlAlterarTitulo(BoletoModel boletoModel, AmbienteEnum ambiente) throws Exception
Monta o XML para Alterar um boleto.
Até o momento somente é permitido alterar a data de vencimentoboletoModel - BoletoModel contendo os dados do boleto a ser alteradoambiente - AmbienteEnum com o ambiente HOMOLOGACAO, PRODUCAOExceptionpublic BoletoModel validaXmlRetorno(String xmlRetorno, BoletoModel boletoModel) throws Exception
xmlRetorno - String contendo o xml retornado pelo WebserviceboletoModel - BoletoModel com os dados do boletoExceptionCopyright © 2022. All rights reserved.