public class BoletoSafe2PayModelConverter extends Object
| Constructor and Description |
|---|
BoletoSafe2PayModelConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Payment |
montaAlterarBoletoRequest(BoletoModel boletoModel)
Monta Payment com dado da Alteração
No momento somente é possivel alterar a data de vencimento
|
static BoletoModel |
montaBaixaBoletoResponse(BoletoModel boletoModel,
BoletoSafe2PayAPICancelarResponse response)
Monta BoletoModel com retorno da Consulta
|
static BoletoModel |
montaConsultarBoletoResponse(BoletoModel boletoModel,
BoletoSafe2PayAPIConsultaResponse response)
Monta BoletoModel com retorno da Consulta
|
static Payment |
montaEnviarBoletoRequest(BoletoModel boletoModel,
ConfiguracaoSafe2PayAPI configuracaoSafe2PayAPI)
Monta Payment com dado do Envio
|
static BoletoModel |
montaEnviarBoletoResponse(BoletoModel boletoModel,
BoletoSafe2PayAPIEnvioResponse response)
Monta BoletoModel com retorno do Envio
|
public static Payment montaEnviarBoletoRequest(BoletoModel boletoModel, ConfiguracaoSafe2PayAPI configuracaoSafe2PayAPI)
Monta Payment com dado do Envio
boletoModel - BoletoModel com os dados do boletoconfiguracaoSafe2PayAPI - Confogiração para comunicação com Webservicepouco.public static BoletoModel montaEnviarBoletoResponse(BoletoModel boletoModel, BoletoSafe2PayAPIEnvioResponse response)
Monta BoletoModel com retorno do Envio
boletoModel - BoletoModel com os dados do boletoresponse - incluindo os dados retornado pelo Webservicepouco.public static BoletoModel montaConsultarBoletoResponse(BoletoModel boletoModel, BoletoSafe2PayAPIConsultaResponse response)
Monta BoletoModel com retorno da Consulta
boletoModel - BoletoModel com os dados do boletoresponse - incluindo os dados retornado pelo Webservicepouco.public static BoletoModel montaBaixaBoletoResponse(BoletoModel boletoModel, BoletoSafe2PayAPICancelarResponse response)
Monta BoletoModel com retorno da Consulta
boletoModel - BoletoModel com os dados do boletoresponse - incluindo os dados retornado pelo Webservicepouco.public static Payment montaAlterarBoletoRequest(BoletoModel boletoModel)
Monta Payment com dado da Alteração
No momento somente é possivel alterar a data de vencimentoboletoModel - BoletoModel com a data de vencimento a ser modificada!Copyright © 2022. All rights reserved.