Class APIConfig
Classe para definição de parâmetros da API
Inheritance
System.Object
APIConfig
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Unimake.Business.DFe.dll
Syntax
Fields
_B64
Declaration
Field Value
Type |
Description |
System.Boolean |
|
_chAcesso
Declaration
Field Value
Type |
Description |
System.String |
|
_CodigoTom
Declaration
Field Value
Type |
Description |
System.String |
|
_ContentType
Declaration
Field Value
Type |
Description |
System.String |
|
_GZipCompress
Declaration
Field Value
Type |
Description |
System.Boolean |
|
_LoginConexao
Declaration
Field Value
Type |
Description |
System.Boolean |
|
_MetodoAPI
Declaration
Field Value
Type |
Description |
System.String |
|
_MunicipioSenha
Declaration
Field Value
Type |
Description |
System.String |
|
_MunicipioUsuario
Declaration
Field Value
Type |
Description |
System.String |
|
_PadraoNFSe
Declaration
Field Value
_Proxy
Declaration
Field Value
Type |
Description |
System.Net.IWebProxy |
|
_RequestURI
Declaration
Field Value
Type |
Description |
System.String |
|
Declaration
string _ResponseMediaType
Field Value
Type |
Description |
System.String |
|
_Servico
Declaration
Field Value
_TagRetorno
Declaration
Field Value
Type |
Description |
System.String |
|
_Token
Declaration
Field Value
Type |
Description |
System.String |
|
_UsaCertificadoDigital
Declaration
bool _UsaCertificadoDigital
Field Value
Type |
Description |
System.Boolean |
|
_WebActionProducao
Declaration
string _WebActionProducao
Field Value
Type |
Description |
System.String |
|
_WebSoapString
Declaration
Field Value
Type |
Description |
System.String |
|
Properties
B64
Declaration
public bool B64 { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
chaveAcesso
Chave de acesso, resgatada pelo xml, necessário para facilitar a transição da informação pelas camadas da DLL
Declaration
public string chaveAcesso { get; set; }
Property Value
Type |
Description |
System.String |
|
CodigoTom
Escolher a forma de tratar o retorno API
Declaration
public string CodigoTom { get; set; }
Property Value
Type |
Description |
System.String |
|
ContentType
Content Type - Tipo do conteúdo
Declaration
public string ContentType { get; set; }
Property Value
Type |
Description |
System.String |
|
GZipCompress
Verifica se o arquivo precisa ser em GZip
Declaration
public bool GZipCompress { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LoginConexao
Utilizar os dados de login (usuário e senha)
Declaration
public bool LoginConexao { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
MetodoAPI
Método de solicitação da API
Declaration
public string MetodoAPI { get; set; }
Property Value
Type |
Description |
System.String |
|
MunicipioSenha
Senha para loguin no sistema do município
Declaration
public string MunicipioSenha { get; set; }
Property Value
Type |
Description |
System.String |
|
MunicipioUsuario
Usuario para loguin no sistema do município
Declaration
public string MunicipioUsuario { get; set; }
Property Value
Type |
Description |
System.String |
|
PadraoNFSe
Padrão selecionado da API, necessário para tratar configurações exclusivas de cada API
Declaration
public PadraoNFSe PadraoNFSe { get; set; }
Property Value
Proxy
Declaration
public IWebProxy Proxy { get; set; }
Property Value
Type |
Description |
System.Net.IWebProxy |
|
RequestURI
HttpAddress - Endereço da API
Declaration
public string RequestURI { get; set; }
Property Value
Type |
Description |
System.String |
|
Escolher a forma de tratar o retorno API
Declaration
public string ResponseMediaType { get; set; }
Property Value
Type |
Description |
System.String |
|
Servico
Serviço selecionado, utilizado para resgatar a chave dentro do arquivo xml, necessário pois há tamanhos diferentes de chaves, conforme o serviço a ser executado
Declaration
public Servico Servico { get; set; }
Property Value
TagRetorno
Tag alvo retornada pela API com o conteúdo desejado
Declaration
public string TagRetorno { get; set; }
Property Value
Type |
Description |
System.String |
|
Token
Declaration
public string Token { get; set; }
Property Value
Type |
Description |
System.String |
|
UsaCertificadoDigital
Utiliza ou não o certificado digital
Declaration
public bool UsaCertificadoDigital { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
WebAction
Prefixo de envio para solicitação da API
Declaration
public string WebAction { get; set; }
Property Value
Type |
Description |
System.String |
|
WebSoapString
String de comunicação com a API
Declaration
public string WebSoapString { get; set; }
Property Value
Type |
Description |
System.String |
|