Class: MoneyS3::Parsers::PolFakturyType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::PolFakturyType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/pol_faktury_type.rb
Instance Method Summary collapse
- #cena ⇒ Object
- #cena_attributes ⇒ Object
- #cena_po_sleve ⇒ Object
- #cena_po_sleve_attributes ⇒ Object
- #cena_typ ⇒ Object
- #cena_typ_attributes ⇒ Object
- #cinnost ⇒ Object
- #cinnost_attributes ⇒ Object
- #kod_dph ⇒ Object
- #kod_dph_attributes ⇒ Object
- #neskl_polozka ⇒ Object
- #pocet_mj ⇒ Object
- #pocet_mj_attributes ⇒ Object
- #popis ⇒ Object
- #popis_attributes ⇒ Object
- #poradi ⇒ Object
- #poradi_attributes ⇒ Object
- #poznamka ⇒ Object
- #poznamka_attributes ⇒ Object
- #predkontac ⇒ Object
- #predkontac_attributes ⇒ Object
- #rezim_eet ⇒ Object
- #rezim_eet_attributes ⇒ Object
- #sazba_dph ⇒ Object
- #sazba_dph_attributes ⇒ Object
- #seznam_vazeb ⇒ Object
- #skl_polozka ⇒ Object
- #sleva ⇒ Object
- #sleva_attributes ⇒ Object
- #souhrn_dph ⇒ Object
- #stredisko ⇒ Object
- #stredisko_attributes ⇒ Object
- #to_h ⇒ Object
- #valuty ⇒ Object
- #valuty_attributes ⇒ Object
- #zakazka ⇒ Object
- #zakazka_attributes ⇒ Object
- #zvl_dph ⇒ Object
- #zvl_dph_attributes ⇒ Object
- #zvl_rezim ⇒ Object
- #zvl_rezim_attributes ⇒ Object
Instance Method Details
#cena ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 38 def cena at 'Cena' end |
#cena_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 42 def cena_attributes attributes_at 'Cena' end |
#cena_po_sleve ⇒ Object
126 127 128 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 126 def cena_po_sleve at 'CenaPoSleve' end |
#cena_po_sleve_attributes ⇒ Object
130 131 132 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 130 def cena_po_sleve_attributes attributes_at 'CenaPoSleve' end |
#cena_typ ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 50 def cena_typ at 'CenaTyp' end |
#cena_typ_attributes ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 54 def cena_typ_attributes attributes_at 'CenaTyp' end |
#cinnost ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 66 def cinnost at 'Cinnost' end |
#cinnost_attributes ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 70 def cinnost_attributes attributes_at 'Cinnost' end |
#kod_dph ⇒ Object
82 83 84 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 82 def kod_dph at 'KodDPH' end |
#kod_dph_attributes ⇒ Object
86 87 88 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 86 def kod_dph_attributes attributes_at 'KodDPH' end |
#neskl_polozka ⇒ Object
122 123 124 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 122 def neskl_polozka submodel_at(NesklPolozka, 'NesklPolozka') end |
#pocet_mj ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 22 def pocet_mj at 'PocetMJ' end |
#pocet_mj_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 26 def pocet_mj_attributes attributes_at 'PocetMJ' end |
#popis ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 6 def popis at 'Popis' end |
#popis_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 10 def popis_attributes attributes_at 'Popis' end |
#poradi ⇒ Object
74 75 76 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 74 def poradi at 'Poradi' end |
#poradi_attributes ⇒ Object
78 79 80 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 78 def poradi_attributes attributes_at 'Poradi' end |
#poznamka ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 14 def poznamka at 'Poznamka' end |
#poznamka_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 18 def poznamka_attributes attributes_at 'Poznamka' end |
#predkontac ⇒ Object
106 107 108 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 106 def predkontac at 'Predkontac' end |
#predkontac_attributes ⇒ Object
110 111 112 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 110 def predkontac_attributes attributes_at 'Predkontac' end |
#rezim_eet ⇒ Object
150 151 152 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 150 def rezim_eet at 'RezimEET' end |
#rezim_eet_attributes ⇒ Object
154 155 156 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 154 def rezim_eet_attributes attributes_at 'RezimEET' end |
#sazba_dph ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 30 def sazba_dph at 'SazbaDPH' end |
#sazba_dph_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 34 def sazba_dph_attributes attributes_at 'SazbaDPH' end |
#seznam_vazeb ⇒ Object
162 163 164 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 162 def seznam_vazeb submodel_at(SeznamVazeb, 'SeznamVazeb') end |
#skl_polozka ⇒ Object
158 159 160 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 158 def skl_polozka submodel_at(PolSklDoklType, 'SklPolozka') end |
#sleva ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 58 def sleva at 'Sleva' end |
#sleva_attributes ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 62 def sleva_attributes attributes_at 'Sleva' end |
#souhrn_dph ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 46 def souhrn_dph submodel_at(SouhrnDPHPolType, 'SouhrnDPH') end |
#stredisko ⇒ Object
90 91 92 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 90 def stredisko at 'Stredisko' end |
#stredisko_attributes ⇒ Object
94 95 96 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 94 def stredisko_attributes attributes_at 'Stredisko' end |
#to_h ⇒ Object
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 166 def to_h hash = {} hash[:attributes] = attributes hash[:popis] = popis if has? 'Popis' hash[:popis_attributes] = popis_attributes if has? 'Popis' hash[:poznamka] = poznamka if has? 'Poznamka' hash[:poznamka_attributes] = poznamka_attributes if has? 'Poznamka' hash[:pocet_mj] = pocet_mj if has? 'PocetMJ' hash[:pocet_mj_attributes] = pocet_mj_attributes if has? 'PocetMJ' hash[:sazba_dph] = sazba_dph if has? 'SazbaDPH' hash[:sazba_dph_attributes] = sazba_dph_attributes if has? 'SazbaDPH' hash[:cena] = cena if has? 'Cena' hash[:cena_attributes] = cena_attributes if has? 'Cena' hash[:souhrn_dph] = souhrn_dph.to_h if has? 'SouhrnDPH' hash[:cena_typ] = cena_typ if has? 'CenaTyp' hash[:cena_typ_attributes] = cena_typ_attributes if has? 'CenaTyp' hash[:sleva] = sleva if has? 'Sleva' hash[:sleva_attributes] = sleva_attributes if has? 'Sleva' hash[:cinnost] = cinnost if has? 'Cinnost' hash[:cinnost_attributes] = cinnost_attributes if has? 'Cinnost' hash[:poradi] = poradi if has? 'Poradi' hash[:poradi_attributes] = poradi_attributes if has? 'Poradi' hash[:kod_dph] = kod_dph if has? 'KodDPH' hash[:kod_dph_attributes] = kod_dph_attributes if has? 'KodDPH' hash[:stredisko] = stredisko if has? 'Stredisko' hash[:stredisko_attributes] = stredisko_attributes if has? 'Stredisko' hash[:zakazka] = zakazka if has? 'Zakazka' hash[:zakazka_attributes] = zakazka_attributes if has? 'Zakazka' hash[:predkontac] = predkontac if has? 'Predkontac' hash[:predkontac_attributes] = predkontac_attributes if has? 'Predkontac' hash[:valuty] = valuty if has? 'Valuty' hash[:valuty_attributes] = valuty_attributes if has? 'Valuty' hash[:neskl_polozka] = neskl_polozka.to_h if has? 'NesklPolozka' hash[:cena_po_sleve] = cena_po_sleve if has? 'CenaPoSleve' hash[:cena_po_sleve_attributes] = cena_po_sleve_attributes if has? 'CenaPoSleve' hash[:zvl_rezim] = zvl_rezim if has? 'ZvlRezim' hash[:zvl_rezim_attributes] = zvl_rezim_attributes if has? 'ZvlRezim' hash[:zvl_dph] = zvl_dph if has? 'ZvlDPH' hash[:zvl_dph_attributes] = zvl_dph_attributes if has? 'ZvlDPH' hash[:rezim_eet] = rezim_eet if has? 'RezimEET' hash[:rezim_eet_attributes] = rezim_eet_attributes if has? 'RezimEET' hash[:skl_polozka] = skl_polozka.to_h if has? 'SklPolozka' hash[:seznam_vazeb] = seznam_vazeb.to_h if has? 'SeznamVazeb' hash end |
#valuty ⇒ Object
114 115 116 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 114 def valuty at 'Valuty' end |
#valuty_attributes ⇒ Object
118 119 120 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 118 def valuty_attributes attributes_at 'Valuty' end |
#zakazka ⇒ Object
98 99 100 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 98 def zakazka at 'Zakazka' end |
#zakazka_attributes ⇒ Object
102 103 104 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 102 def zakazka_attributes attributes_at 'Zakazka' end |
#zvl_dph ⇒ Object
142 143 144 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 142 def zvl_dph at 'ZvlDPH' end |
#zvl_dph_attributes ⇒ Object
146 147 148 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 146 def zvl_dph_attributes attributes_at 'ZvlDPH' end |
#zvl_rezim ⇒ Object
134 135 136 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 134 def zvl_rezim at 'ZvlRezim' end |
#zvl_rezim_attributes ⇒ Object
138 139 140 |
# File 'lib/money_s3/parsers/pol_faktury_type.rb', line 138 def zvl_rezim_attributes attributes_at 'ZvlRezim' end |