Class EnvEvento
Classe para envio dos eventos da NFe/NFCe
Implements
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()
Namespace: Unimake.Business.DFe.Xml.NFe
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
public class EnvEvento : XMLBase, IXmlSerializable
Properties
Evento
Eventos da NFe/NFCe
Declaration
public List<Evento> Evento { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Evento> |
IdLote
Número do lote de eventos
Declaration
public string IdLote { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Versao
Versão schema do XML de lote de eventos
Declaration
public string Versao { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GerarXML()
Declaration
public override XmlDocument GerarXML()
Returns
Type | Description |
---|---|
System.Xml.XmlDocument |
Overrides
LerXML<T>(XmlDocument)
Declaration
public override T LerXML<T>(XmlDocument doc)
where T : new()
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | doc |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Overrides
LoadFromFile(String)
Desserializar o XML no objeto EnvEvento
Declaration
public EnvEvento LoadFromFile(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | Localização do arquivo XML do envEvento |
Returns
Type | Description |
---|---|
EnvEvento | Objeto do EnvEvento |
LoadFromXML(String)
Desserializar o XML envEvento no objeto EnvEvento
Declaration
public EnvEvento LoadFromXML(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | string do XML envEvento |
Returns
Type | Description |
---|---|
EnvEvento | Objeto da EnvEvento |
PreparaDetPag(XmlDocument)
Declaration
public void PreparaDetPag(XmlDocument xmlDoc)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | xmlDoc |
PreparaItemPedido(XmlDocument)
Declaration
public void PreparaItemPedido(XmlDocument xmlDoc)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | xmlDoc |
ReadXml(XmlDocument)
Declaration
public override void ReadXml(XmlDocument document)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | document |
Overrides
SignEvent(Evento, XmlElement)
Declaration
void SignEvent(Evento evento, XmlElement xmlEl)
Parameters
Type | Name | Description |
---|---|---|
Evento | evento | |
System.Xml.XmlElement | xmlEl |