Skip to content

Commit 3373a74

Browse files
authored
Merge pull request #1552 from AgnaldoSilva0/Branch_19826
Implementado interface para ServicoMDFeConsultaProtocolo
2 parents e7aa2ce + 3f1e12e commit 3373a74

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

MDFe.Servicos/ConsultaProtocoloMDFe/ServicoMDFeConsultaProtocolo.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@
3434
using MDFe.Classes.Extensoes;
3535
using MDFe.Classes.Retorno.MDFeConsultaProtocolo;
3636
using MDFe.Servicos.Factory;
37+
using MDFe.Servicos.Interfaces;
3738
using MDFe.Utils.Configuracoes;
3839

3940
namespace MDFe.Servicos.ConsultaProtocoloMDFe
4041
{
41-
public class ServicoMDFeConsultaProtocolo
42+
public class ServicoMDFeConsultaProtocolo : IServicoMDFeConsultaProtocolo
4243
{
4344
public MDFeRetConsSitMDFe MDFeConsultaProtocolo(string chave, MDFeConfiguracao cfgMdfe = null)
4445
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using MDFe.Classes.Retorno.MDFeConsultaProtocolo;
2+
using MDFe.Utils.Configuracoes;
3+
4+
namespace MDFe.Servicos.Interfaces
5+
{
6+
public interface IServicoMDFeConsultaProtocolo
7+
{
8+
MDFeRetConsSitMDFe MDFeConsultaProtocolo(string chave, MDFeConfiguracao cfgMdfe);
9+
}
10+
}

0 commit comments

Comments
 (0)