Copyright © Unimake Software
Generated with DocFX

Search Results for

    Class NfeProc

    Classe da NFe/NFCe de distribuição

    Inheritance
    object
    XMLBase
    NfeProc
    Implements
    IXmlSerializable
    Inherited Members
    XMLBase.NameSpaces
    XMLBase.LerXML<T>(XmlDocument)
    XMLBase.ReadXml(XmlDocument)
    XMLBase.WriteXml(StringWriter)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unimake.Business.DFe.Xml.NFe
    Assembly: Unimake.Business.DFe.dll
    Syntax
    [Serializable]
    [XmlRoot("nfeProc", Namespace = "http://www.portalfiscal.inf.br/nfe", IsNullable = false)]
    public class NfeProc : XMLBase, IXmlSerializable

    Properties

    NFe

    NFe/NFCe

    Declaration
    [XmlElement("NFe")]
    public NFe NFe { get; set; }
    Property Value
    Type Description
    NFe

    NomeArquivoDistribuicao

    Nome do arquivo de distribuição

    Declaration
    [XmlIgnore]
    public string NomeArquivoDistribuicao { get; }
    Property Value
    Type Description
    string

    ProtNFe

    Protocolo de autorização da NFe/NFCe

    Declaration
    [XmlElement("protNFe")]
    public ProtNFe ProtNFe { get; set; }
    Property Value
    Type Description
    ProtNFe

    Versao

    Versão do schema do XML de distribuição da NFe/NFCe

    Declaration
    [XmlAttribute(AttributeName = "versao", DataType = "token")]
    public string Versao { get; set; }
    Property Value
    Type Description
    string

    Methods

    GerarXML()

    Serializa o objeto (Converte o objeto para XML)

    Declaration
    public override XmlDocument GerarXML()
    Returns
    Type Description
    XmlDocument

    Conteúdo do XML

    Overrides
    XMLBase.GerarXML()

    LoadFromFile(string)

    Desserializar o arquivo XML no objeto NfeProc

    Declaration
    public NfeProc LoadFromFile(string filename)
    Parameters
    Type Name Description
    string filename

    Localização do arquivo XML de distribuição do NFe

    Returns
    Type Description
    NfeProc

    Objeto do XML de distribuição do NFe

    LoadFromXML(string)

    Desserializar a string do XML NfeProc no objeto NfeProc

    Declaration
    public NfeProc LoadFromXML(string xml)
    Parameters
    Type Name Description
    string xml

    string do XML NfeProc

    Returns
    Type Description
    NfeProc

    Objeto da NfeProc

    Implements

    IXmlSerializable