public class BancoBanrisulRegistrarTitulo extends Object
| Constructor and Description |
|---|
BancoBanrisulRegistrarTitulo() |
| Modifier and Type | Method and Description |
|---|---|
String |
montaXmlRegistrarTitulo(BoletoModel boletoModel,
AmbienteEnum ambiente)
Monta o XML para registrar(Enviar) um boleto.
|
BoletoModel |
validaXmlRetorno(String xmlRetorno,
BoletoModel boletoModel)
Valida a response
|
public String montaXmlRegistrarTitulo(BoletoModel boletoModel, AmbienteEnum ambiente) throws Exception
Monta o XML para registrar(Enviar) um boleto.
boletoModel - BoletoModel contendo os dados do boleto a ser registrado(Enviado)ambiente - 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.