示例#1
0
 public Recepcao(INFeContexto nfeContexto) : base(nfeContexto)
 {
     _arquivoSchema = "nfe_v" + nfeContexto.Versao.VersaoString + ".xsd";
     _producao      = nfeContexto.Producao;
     _sincrono      = false;
     _uf            = nfeContexto.Uf;
 }
 public RetRecepcao(INFeContexto nfe)
     : base(nfe)
 {
     ArquivoSchema = "inutNFe_v" + nfe.Versao.VersaoString + ".xsd";
     _producao     = nfe.Producao;
     _uf           = nfe.Uf;
 }
示例#3
0
        public Nota(INFeContexto nFeContexto)
        {
            _nFeContexto = nFeContexto;

            Ide     = new Ide();
            Emit    = new Emit();
            Dest    = new Dest();
            DetList = new List <Det>();
            Total   = new Total();
            Transp  = new Transp();
            Cobr    = new Cobr();

            _xmlString = new StringBuilder();

            Ide.tpAmb = _nFeContexto.Producao ? "1" : "2";
        }
示例#4
0
        public Nota(INFeContexto nFeContexto)
        {
            this.nFeContexto = nFeContexto;

            ide = new IDE();
            emit = new EMIT();
            dest = new DEST();
            detList = new List<DET>();
            total = new TOTAL();
            transp = new TRANSP();
            cobr = new COBR();

            xmlString = new StringBuilder();

            if (this.nFeContexto.Producao)
                ide.tpAmb = "1";
            else
                ide.tpAmb = "2";
        }
示例#5
0
        public Nota(INFeContexto nFeContexto)
        {
            this.nFeContexto = nFeContexto;

            ide     = new IDE();
            emit    = new EMIT();
            dest    = new DEST();
            detList = new List <DET>();
            total   = new TOTAL();
            transp  = new TRANSP();
            cobr    = new COBR();

            xmlString = new StringBuilder();

            if (this.nFeContexto.Producao)
            {
                ide.tpAmb = "1";
            }
            else
            {
                ide.tpAmb = "2";
            }
        }
示例#6
0
 public Inutilizacao(INFeContexto nfeContexto) : base(nfeContexto)
 {
     ArquivoSchema = "inutNFe_v2.00.xsd";
 }
示例#7
0
 public RecepcaoEvento(INFeContexto nfe)
     : base(nfe)
 {
 }
 protected BaseOperacao(INFeContexto nfeContexto)
 {
     NFeContexto = nfeContexto;
 }
示例#9
0
 public RetRecepcao(INFeContexto nfe)
     : base(nfe)
 {
 }
示例#10
0
 public RecepcaoEvento(INFeContexto nfe)
     : base(nfe)
 {
 }
示例#11
0
 public RetRecepcao(INFeContexto nfe)
     : base(nfe)
 {
 }
示例#12
0
 public Inutilizacao(INFeContexto nfeContexto) : base(nfeContexto)
 {
     ArquivoSchema = "inutNFe_v" + nfeContexto.Versao.VersaoString + ".xsd";
     _producao     = nfeContexto.Producao;
     _uf           = nfeContexto.Uf;
 }
示例#13
0
        public Recepcao(INFeContexto nfeContexto) : base(nfeContexto)
        {
            arquivoSchema = "nfe_v" + nfeContexto.Versao.VersaoString + ".xsd";

            sincrono = false;
        }
示例#14
0
        public Recepcao(INFeContexto nfeContexto) : base(nfeContexto)
        {
            arquivoSchema = "nfe_v" + nfeContexto.Versao.VersaoString + ".xsd";

            sincrono = false;
        }
 public RecepcaoEvento(INFeContexto nfe)
     : base(nfe)
 {
     _producao = nfe.Producao;
     _uf       = nfe.Uf;
 }