Class MsgEvtIn
XML para envio de todos os tipos de eventos do SNCM.
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.SNCM
Assembly: Unimake.Business.DFe.dll
Syntax
[XmlRoot("msgEvtIn", Namespace = "http://sncm.anvisa.gov.br/", IsNullable = false)]
public class MsgEvtIn : XMLBase, IXmlSerializable
Properties
CcTime
Carimbo de tempo realizado pelo Sistema Cliente no instante da comunicação com o SNCM.
Declaration
[XmlIgnore]
public DateTimeOffset CcTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
CcTimeField
Declaration
[XmlElement("ccTime")]
public string CcTimeField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Declarant
Identificador do membro da cadeia.
Declaration
[XmlElement("declarant")]
public Declarant Declarant { get; set; }
Property Value
| Type | Description |
|---|---|
| Declarant |
DocId
Identificador de controle da comunicação com o SNCM, gerado pelo Sistema Cliente.
Declaration
[XmlElement("docId")]
public string DocId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Env
Identificação do Ambiente.
Declaration
[XmlElement("env")]
public IdentificacaoAmbiente Env { get; set; }
Property Value
| Type | Description |
|---|---|
| IdentificacaoAmbiente |
Evts
Grupo de eventos a serem informados ao SNCM.
Declaration
[XmlElement("evts")]
public Evts Evts { get; set; }
Property Value
| Type | Description |
|---|---|
| Evts |
Lc
Idioma desejado para as mensagens descritivas de retorno. Padrão: pt-BR.
Declaration
[XmlElement("lc")]
public string Lc { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MbrAgt
Identificação do procurador que assina a comunicação (CNPJ).
Declaration
[XmlElement("mbrAgt")]
public string MbrAgt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Signature
Assinatura digital da mensagem XML.
Declaration
[XmlElement(ElementName = "Signature", Namespace = "http://www.w3.org/2000/09/xmldsig#")]
public Signature Signature { get; set; }
Property Value
| Type | Description |
|---|---|
| Signature |
UsrAgt
Elemento livre para o desenvolvedor do Sistema Cliente indicar seu nome, a respectiva versão do software cliente, um telefone para contato com DDD e um email.
Declaration
[XmlElement("usrAgt")]
public string UsrAgt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ver
Versão do Leiaute
Declaration
[XmlElement("ver")]
public string Ver { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
LoadFromFile(string)
Deserializar o XML msgEvtIn no objeto MsgEvtIn.
Declaration
public MsgEvtIn LoadFromFile(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | Localização do arquivo XML msgEvtIn |
Returns
| Type | Description |
|---|---|
| MsgEvtIn | Objeto do MsgEvtIn |
LoadFromXML(string)
Deserializar o XML msgEvtIn no objeto MsgEvtIn.
Declaration
public MsgEvtIn LoadFromXML(string xml)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xml | string do XML MsgEvtIn |
Returns
| Type | Description |
|---|---|
| MsgEvtIn | Objeto do MsgEvtIn |
ShouldSerializeMbrAgt()
Declaration
public bool ShouldSerializeMbrAgt()
Returns
| Type | Description |
|---|---|
| bool |