Class MsgMbtAgtMgmt
XML para envio afim de incluir, excluir ou editar informações de um procurador que será autorizado a se comunicar com o SNCM em nome do membro.
Implements
Inherited Members
Namespace: Unimake.Business.DFe.Xml.SNCM
Assembly: Unimake.Business.DFe.dll
Syntax
public class MsgMbtAgtMgmt : XMLBase, IXmlSerializable
Properties
CcTime
Carimbo de tempo realizado pelo Sistema Cliente no instante da comunicação com o SNCM.
Declaration
public DateTimeOffset CcTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
CcTimeField
Auxiliar da propriedade "CcTime" - utilize a propriedade "CcTime" para atribuir valor.
Declaration
public string CcTimeField { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Declarant
Identificador do membro da cadeia.
Declaration
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
public string DocId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Env
Identificação do Ambiente.
Declaration
public IdentificacaoAmbiente Env { get; set; }
Property Value
Type | Description |
---|---|
IdentificacaoAmbiente |
Lc
Idioma desejado para as mensagens descritivas de retorno. Padrão: pt-BR.
Declaration
public string Lc { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MbrAgt
Identificação do procurador que assina a comunicação (CNPJ).
Declaration
public string MbrAgt { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MbrAgts
Grupo com informações sobre inclusão e exclusão de procuradores.
Declaration
public MbrAgts MbrAgts { get; set; }
Property Value
Type | Description |
---|---|
MbrAgts |
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
public string UsrAgt { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UsrAgtField
Declaration
string UsrAgtField { }
Property Value
Type | Description |
---|---|
System.String |
Ver
Versão do Leiaute
Declaration
public string Ver { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
LoadFromFile(String)
Deserializar o XML msgMbtAgtMgmt no objeto MsgMbtAgtMgmt.
Declaration
public MsgMbtAgtMgmt LoadFromFile(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | Localização do arquivo XML msgMbtAgtMgmt |
Returns
Type | Description |
---|---|
MsgMbtAgtMgmt | Objeto do MsgMbtAgtMgmt |
LoadFromXML(String)
Deserializar o XML msgMbtAgtMgmt no objeto MsgMbtAgtMgmt.
Declaration
public MsgMbtAgtMgmt LoadFromXML(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | string do XML msgMbtAgtMgmt |
Returns
Type | Description |
---|---|
MsgMbtAgtMgmt | Objeto do MsgMbtAgtMgmt |
ShouldSerializeMbrAgt()
Só gera a tag "mbrAgt" se a propriedade "MbrAgt" tiver conteúdo.
Declaration
public bool ShouldSerializeMbrAgt()
Returns
Type | Description |
---|---|
System.Boolean | Retorna se é ou não para gerar a tag "mbrAgt" |