Skip to content

Commit 73d0f7b

Browse files
ajustado o nome do provedor Fintel para FintelISS para padronizar com ACBr
1 parent df6fade commit 73d0f7b

7 files changed

Lines changed: 2098 additions & 10 deletions

File tree

src/OpenAC.Net.NFSe/Commom/Types/NFSeProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,5 @@ public enum NFSeProvider : sbyte
139139
ISSIntegra = 47,
140140

141141
ISSRecife = 48,
142-
Fintel = 51,
142+
FintelISS = 51,
143143
}

src/OpenAC.Net.NFSe/Providers/Fintel/Fintel204ServiceClient.cs renamed to src/OpenAC.Net.NFSe/Providers/FintelISS/FintelISS204ServiceClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
namespace OpenAC.Net.NFSe.Providers;
1212

13-
internal sealed class Fintel204ServiceClient : NFSeSoapServiceClient, IServiceClient
13+
internal sealed class FintelISS204ServiceClient : NFSeSoapServiceClient, IServiceClient
1414
{
15-
public Fintel204ServiceClient(ProviderBase provider, TipoUrl tipoUrl, X509Certificate2? certificado) : base(provider, tipoUrl, certificado, SoapVersion.Soap11)
15+
public FintelISS204ServiceClient(ProviderBase provider, TipoUrl tipoUrl, X509Certificate2? certificado) : base(provider, tipoUrl, certificado, SoapVersion.Soap11)
1616
{
1717
}
1818

@@ -140,7 +140,7 @@ public string EnviarSincrono(string? cabec, string msg)
140140

141141
public string SubstituirNFSe(string? cabec, string msg)
142142
{
143-
// método não testado
143+
// m�todo n�o testado
144144
var message = new StringBuilder();
145145
message.Append("<nfse:SubstituirNfse>");
146146
message.Append("<nfseCabecMsg>");

src/OpenAC.Net.NFSe/Providers/Fintel/ProviderFintel204.cs renamed to src/OpenAC.Net.NFSe/Providers/FintelISS/ProviderFintelISS204.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66
namespace OpenAC.Net.NFSe.Providers;
77

8-
internal sealed class ProviderFintel204 : ProviderABRASF204
8+
internal sealed class ProviderFintelISS204 : ProviderABRASF204
99
{
10-
public ProviderFintel204(ConfigNFSe config, OpenMunicipioNFSe municipio) : base(config, municipio)
10+
public ProviderFintelISS204(ConfigNFSe config, OpenMunicipioNFSe municipio) : base(config, municipio)
1111
{
12-
Name = "Fintel";
12+
Name = "FintelISS";
1313
}
1414

1515
protected override IServiceClient GetClient(TipoUrl tipo)
1616
{
17-
return new Fintel204ServiceClient(this, tipo, this.Certificado);
17+
return new FintelISS204ServiceClient(this, tipo, this.Certificado);
1818
}
1919

2020
//protected override bool PrecisaValidarSchema(TipoUrl tipo) => false;

src/OpenAC.Net.NFSe/Providers/ProviderManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static ProviderManager()
103103
{NFSeProvider.Sigep, new Dictionary<VersaoNFSe, Type> {{VersaoNFSe.ve100, typeof(ProviderSigep) }, {VersaoNFSe.ve202, typeof(ProviderSigep) }}},
104104
{NFSeProvider.ISSIntegra, new Dictionary<VersaoNFSe, Type> {{VersaoNFSe.ve100, typeof(ProviderISSIntegra)}}},
105105
{NFSeProvider.ISSRecife, new Dictionary<VersaoNFSe, Type> {{VersaoNFSe.ve100, typeof(ProviderISSRecife)}}},
106-
{NFSeProvider.Fintel, new Dictionary<VersaoNFSe, Type> {{VersaoNFSe.ve204, typeof(ProviderFintel204)}}},
106+
{NFSeProvider.FintelISS, new Dictionary<VersaoNFSe, Type> {{VersaoNFSe.ve204, typeof(ProviderFintelISS204)}}},
107107
};
108108

109109
Load();

src/OpenAC.Net.NFSe/Resources/Municipios.nfse

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10045,7 +10045,7 @@
1004510045
<Codigo>3534708</Codigo>
1004610046
<Nome>Ourinhos</Nome>
1004710047
<UF>SP</UF>
10048-
<Provedor>Fintel</Provedor>
10048+
<Provedor>FintelISS</Provedor>
1004910049
<Versao>2.04</Versao>
1005010050
<UrlHomologacao>
1005110051
<Item>

0 commit comments

Comments
 (0)