Class MDFe
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.MDFe
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
[XmlType(Namespace = "http://www.portalfiscal.inf.br/mdfe")]
[XmlRoot("MDFe", Namespace = "http://www.portalfiscal.inf.br/mdfe", IsNullable = false)]
public class MDFe : XMLBase, IXmlSerializable
Properties
InfMDFe
Informações do Manifesto de Documentos Fiscais Eletrônico
Declaration
[XmlElement("infMDFe")]
public InfMDFe InfMDFe { get; set; }
Property Value
| Type | Description |
|---|---|
| InfMDFe |
InfMDFeSupl
Informações suplementares do Manifesto de Documentos Fiscais Eletrônico
Declaration
[XmlElement("infMDFeSupl")]
public InfMDFeSupl InfMDFeSupl { get; set; }
Property Value
| Type | Description |
|---|---|
| InfMDFeSupl |
Signature
Assinatura XML
Declaration
[XmlElement(ElementName = "Signature", Namespace = "http://www.w3.org/2000/09/xmldsig#")]
public Signature Signature { get; set; }
Property Value
| Type | Description |
|---|---|
| Signature |
Methods
LoadFromFile(string)
Deserializar o XML no objeto MDFe
Declaration
public MDFe LoadFromFile(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | Localização do arquivo XML |
Returns
| Type | Description |
|---|---|
| MDFe | Objeto do MDFe |
LoadFromXML(string)
Deserializar o XML MDFe no objeto MDFe
Declaration
public MDFe LoadFromXML(string xml)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xml | string do XML MDFe |
Returns
| Type | Description |
|---|---|
| MDFe | Objeto da MDFe |