Class: NFe::IdentificacaoNFe
- Inherits:
-
EntidadeNFe
- Object
- EntidadeNFe
- NFe::IdentificacaoNFe
- Defined in:
- lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb
Instance Attribute Summary collapse
-
#cDV ⇒ Object
Returns the value of attribute cDV.
-
#cMunFG ⇒ Object
Returns the value of attribute cMunFG.
-
#cNF ⇒ Object
Returns the value of attribute cNF.
-
#cUF ⇒ Object
Returns the value of attribute cUF.
-
#dhCont ⇒ Object
Returns the value of attribute dhCont.
-
#dhEmi ⇒ Object
Returns the value of attribute dhEmi.
-
#dSaiEnt ⇒ Object
Returns the value of attribute dSaiEnt.
-
#finNFe ⇒ Object
Returns the value of attribute finNFe.
-
#idDest ⇒ Object
Returns the value of attribute idDest.
-
#indFinal ⇒ Object
Returns the value of attribute indFinal.
-
#indPag ⇒ Object
Returns the value of attribute indPag.
-
#indPres ⇒ Object
Returns the value of attribute indPres.
-
#mod ⇒ Object
Returns the value of attribute mod.
-
#natOp ⇒ Object
Returns the value of attribute natOp.
-
#nNF ⇒ Object
Returns the value of attribute nNF.
-
#procEmi ⇒ Object
Returns the value of attribute procEmi.
-
#serie ⇒ Object
Returns the value of attribute serie.
-
#tpAmb ⇒ Object
Returns the value of attribute tpAmb.
-
#tpEmis ⇒ Object
Returns the value of attribute tpEmis.
-
#tpImp ⇒ Object
Returns the value of attribute tpImp.
-
#tpNF ⇒ Object
attr_accessor :hSaiEnt.
-
#verProc ⇒ Object
Returns the value of attribute verProc.
-
#xJust ⇒ Object
Returns the value of attribute xJust.
Instance Method Summary collapse
Methods inherited from EntidadeNFe
nfe_attr, #nfe_attributes, nfe_attrs, #serialize, #to_nfe, #to_nfe_xml, #to_xml, xml_accessor, #xml_to_hash
Instance Attribute Details
#cDV ⇒ Object
Returns the value of attribute cDV.
20 21 22 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 20 def cDV @cDV end |
#cMunFG ⇒ Object
Returns the value of attribute cMunFG.
17 18 19 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 17 def cMunFG @cMunFG end |
#cNF ⇒ Object
Returns the value of attribute cNF.
6 7 8 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 6 def cNF @cNF end |
#cUF ⇒ Object
Returns the value of attribute cUF.
5 6 7 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 5 def cUF @cUF end |
#dhCont ⇒ Object
Returns the value of attribute dhCont.
27 28 29 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 27 def dhCont @dhCont end |
#dhEmi ⇒ Object
Returns the value of attribute dhEmi.
12 13 14 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 12 def dhEmi @dhEmi end |
#dSaiEnt ⇒ Object
Returns the value of attribute dSaiEnt.
13 14 15 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 13 def dSaiEnt @dSaiEnt end |
#finNFe ⇒ Object
Returns the value of attribute finNFe.
22 23 24 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 22 def finNFe @finNFe end |
#idDest ⇒ Object
Returns the value of attribute idDest.
16 17 18 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 16 def idDest @idDest end |
#indFinal ⇒ Object
Returns the value of attribute indFinal.
23 24 25 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 23 def indFinal @indFinal end |
#indPag ⇒ Object
Returns the value of attribute indPag.
8 9 10 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 8 def indPag @indPag end |
#indPres ⇒ Object
Returns the value of attribute indPres.
24 25 26 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 24 def indPres @indPres end |
#mod ⇒ Object
Returns the value of attribute mod.
9 10 11 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 9 def mod @mod end |
#natOp ⇒ Object
Returns the value of attribute natOp.
7 8 9 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 7 def natOp @natOp end |
#nNF ⇒ Object
Returns the value of attribute nNF.
11 12 13 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 11 def nNF @nNF end |
#procEmi ⇒ Object
Returns the value of attribute procEmi.
25 26 27 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 25 def procEmi @procEmi end |
#serie ⇒ Object
Returns the value of attribute serie.
10 11 12 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 10 def serie @serie end |
#tpAmb ⇒ Object
Returns the value of attribute tpAmb.
21 22 23 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 21 def tpAmb @tpAmb end |
#tpEmis ⇒ Object
Returns the value of attribute tpEmis.
19 20 21 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 19 def tpEmis @tpEmis end |
#tpImp ⇒ Object
Returns the value of attribute tpImp.
18 19 20 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 18 def tpImp @tpImp end |
#tpNF ⇒ Object
attr_accessor :hSaiEnt
15 16 17 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 15 def tpNF @tpNF end |
#verProc ⇒ Object
Returns the value of attribute verProc.
26 27 28 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 26 def verProc @verProc end |
#xJust ⇒ Object
Returns the value of attribute xJust.
28 29 30 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 28 def xJust @xJust end |
Instance Method Details
#attributes ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 30 def attributes @attributes = { "cUF" => cUF, "cNF" => cNF, "natOp" => natOp, "indPag" => indPag, "mod" => mod, "serie" => serie, "nNF" => nNF, "dhEmi" => dhEmi, "dSaiEnt" => dSaiEnt, "tpNF" => tpNF, "idDest" => idDest, "cMunFG" => cMunFG, "tpImp" => tpImp, "tpEmis" => tpEmis, "cDV" => cDV, "tpAmb" => tpAmb, "finNFe" => finNFe, "indFinal" => indFinal, "indPres" => indPres, "procEmi" => procEmi, "verProc" => verProc } end |
#attributes=(params) ⇒ Object
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/nfe/entidades/infNFe/ide/identificacao_nfe.rb', line 56 def attributes=(params) @attributes = { "cUF" => params["cUF"], "cNF" => params["cNF"], "natOp" => params["natOp"], "indPag" => params["indPag"], "mod" => params["mod"], "serie" => params["serie"], "nNF" => params["nNF"], "dhEmi" => params["dhEmi"], "dSaiEnt" => params["dSaiEnt"], "tpNF" => params["tpNF"], "idDest" => params["idDest"], "cMunFG" => params["cMunFG"], "tpImp" => params["tpImp"], "tpEmis" => params["tpEmis"], "cDV" => params["cDV"], "tpAmb" => params["tpAmb"], "finNFe" => params["finNFe"], "indFinal" => params["indFinal"], "indPres" => params["indPres"], "procEmi" => params["procEmi"], "verProc" => params["verProc"] } end |