Copyright © Unimake Software
Generated with DocFX

Search Results for

    Class CteProc

    Estrutura de distribuição de CT-e composto pelo CT-e e respectivo protocolo de autorização de uso.

    Inheritance
    object
    XMLBase
    CteProc
    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.CTe
    Assembly: Unimake.Business.DFe.dll
    Syntax
    [Serializable]
    [XmlRoot("cteProc", Namespace = "http://www.portalfiscal.inf.br/cte", IsNullable = false)]
    public class CteProc : XMLBase, IXmlSerializable

    Properties

    CTe

    Dados do CT-e.

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

    DhConexao

    Data e hora de conexão.

    Declaration
    [XmlIgnore]
    public DateTimeOffset DhConexao { get; set; }
    Property Value
    Type Description
    DateTimeOffset

    DhConexaoField

    Data e hora de conexão (campo para serialização XML).

    Declaration
    [XmlAttribute("dhConexao")]
    public string DhConexaoField { get; set; }
    Property Value
    Type Description
    string

    IpTransmissor

    IP do transmissor.

    Declaration
    [XmlAttribute("ipTransmissor")]
    public string IpTransmissor { get; set; }
    Property Value
    Type Description
    string

    NPortaCon

    Porta de conexão.

    Declaration
    [XmlAttribute("nPortaCon")]
    public int NPortaCon { get; set; }
    Property Value
    Type Description
    int

    NomeArquivoDistribuicao

    Nome do arquivo de distribuição

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

    ProtCTe

    Protocolo de autorização do CT-e.

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

    Versao

    Versão do leiaute.

    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)

    Deserializar o arquivo XML no objeto CteProc

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

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

    Returns
    Type Description
    CteProc

    Objeto do XML de distribuição do CTe

    LoadFromXML(string)

    Desserializar a string do XML CteProc no objeto CteProc

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

    string do XML NfeProc

    Returns
    Type Description
    CteProc

    Objeto da NfeProc

    ShouldSerializeDhConexaoField()

    Declaration
    public bool ShouldSerializeDhConexaoField()
    Returns
    Type Description
    bool

    ShouldSerializeIpTransmissor()

    Declaration
    public bool ShouldSerializeIpTransmissor()
    Returns
    Type Description
    bool

    ShouldSerializeNPortaCon()

    Declaration
    public bool ShouldSerializeNPortaCon()
    Returns
    Type Description
    bool

    Implements

    IXmlSerializable