Class: MoneyS3::Parsers::IntDoklType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::IntDoklType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/int_dokl_type.rb
Direct Known Subclasses
Instance Method Summary collapse
- #adresa ⇒ Object
- #celkem ⇒ Object
- #celkem_attributes ⇒ Object
- #cinnost ⇒ Object
- #cinnost_attributes ⇒ Object
- #cislo_zapoc ⇒ Object
- #cislo_zapoc_attributes ⇒ Object
- #cleneni ⇒ Object
- #cleneni_attributes ⇒ Object
- #d_cislo ⇒ Object
- #d_cislo_attributes ⇒ Object
- #d_rada ⇒ Object
- #d_rada_attributes ⇒ Object
- #dat_pln ⇒ Object
- #dat_pln_attributes ⇒ Object
- #dat_uc_pr ⇒ Object
- #dat_uc_pr_attributes ⇒ Object
- #dat_upl_dph ⇒ Object
- #dat_upl_dph_attributes ⇒ Object
- #datum_kv ⇒ Object
- #datum_kv_attributes ⇒ Object
- #del ⇒ Object
- #del_attributes ⇒ Object
- #doklad ⇒ Object
- #doklad_attributes ⇒ Object
- #dokumenty ⇒ Object
- #eet ⇒ Object
- #korekce_cen ⇒ Object
- #korekce_cen_attributes ⇒ Object
- #norm_polozka ⇒ Object
- #par_sym ⇒ Object
- #par_sym_attributes ⇒ Object
- #popis ⇒ Object
- #popis_attributes ⇒ Object
- #pozn ⇒ Object
- #pozn_attributes ⇒ Object
- #pr_kont ⇒ Object
- #pr_kont_attributes ⇒ Object
- #prijat_dokl ⇒ Object
- #prijat_dokl_attributes ⇒ Object
- #rezim ⇒ Object
- #rezim_attributes ⇒ Object
- #rozuct_polozka ⇒ Object
- #s_sazba ⇒ Object
- #s_sazba_attributes ⇒ Object
- #souhrn_dph ⇒ Object
- #stat_moss ⇒ Object
- #stat_moss_attributes ⇒ Object
- #storno ⇒ Object
- #storno_attributes ⇒ Object
- #stred ⇒ Object
- #stred_attributes ⇒ Object
- #to_h ⇒ Object
- #typ_dokl ⇒ Object
- #typ_dokl_attributes ⇒ Object
- #valuty ⇒ Object
- #var_sym ⇒ Object
- #var_sym_attributes ⇒ Object
- #vlajky ⇒ Object
- #vyroba ⇒ Object
- #vyroba_attributes ⇒ Object
- #vyst ⇒ Object
- #vyst_attributes ⇒ Object
- #z_sazba ⇒ Object
- #z_sazba_attributes ⇒ Object
- #zakazka ⇒ Object
- #zakazka_attributes ⇒ Object
- #zp_vyp_dph ⇒ Object
- #zp_vyp_dph_attributes ⇒ Object
- #zpusob_uctovani ⇒ Object
- #zpusob_uctovani_attributes ⇒ Object
Instance Method Details
#adresa ⇒ Object
114 115 116 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 114 def adresa submodel_at(DokladFirmaType, 'Adresa') end |
#celkem ⇒ Object
202 203 204 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 202 def celkem at 'Celkem' end |
#celkem_attributes ⇒ Object
206 207 208 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 206 def celkem_attributes attributes_at 'Celkem' end |
#cinnost ⇒ Object
150 151 152 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 150 def cinnost at 'Cinnost' end |
#cinnost_attributes ⇒ Object
154 155 156 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 154 def cinnost_attributes attributes_at 'Cinnost' end |
#cislo_zapoc ⇒ Object
82 83 84 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 82 def cislo_zapoc at 'CisloZapoc' end |
#cislo_zapoc_attributes ⇒ Object
86 87 88 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 86 def cislo_zapoc_attributes attributes_at 'CisloZapoc' end |
#cleneni ⇒ Object
126 127 128 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 126 def cleneni at 'Cleneni' end |
#cleneni_attributes ⇒ Object
130 131 132 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 130 def cleneni_attributes attributes_at 'Cleneni' end |
#d_cislo ⇒ Object
230 231 232 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 230 def d_cislo at 'DCislo' end |
#d_cislo_attributes ⇒ Object
234 235 236 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 234 def d_cislo_attributes attributes_at 'DCislo' end |
#d_rada ⇒ Object
222 223 224 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 222 def d_rada at 'DRada' end |
#d_rada_attributes ⇒ Object
226 227 228 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 226 def d_rada_attributes attributes_at 'DRada' end |
#dat_pln ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 58 def dat_pln at 'DatPln' end |
#dat_pln_attributes ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 62 def dat_pln_attributes attributes_at 'DatPln' end |
#dat_uc_pr ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 50 def dat_uc_pr at 'DatUcPr' end |
#dat_uc_pr_attributes ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 54 def dat_uc_pr_attributes attributes_at 'DatUcPr' end |
#dat_upl_dph ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 66 def dat_upl_dph at 'DatUplDPH' end |
#dat_upl_dph_attributes ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 70 def dat_upl_dph_attributes attributes_at 'DatUplDPH' end |
#datum_kv ⇒ Object
74 75 76 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 74 def datum_kv at 'DatumKV' end |
#datum_kv_attributes ⇒ Object
78 79 80 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 78 def datum_kv_attributes attributes_at 'DatumKV' end |
#del ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 34 def del at 'Del' end |
#del_attributes ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 38 def del_attributes attributes_at 'Del' end |
#doklad ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 6 def doklad at 'Doklad' end |
#doklad_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 10 def doklad_attributes attributes_at 'Doklad' end |
#dokumenty ⇒ Object
282 283 284 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 282 def dokumenty array_of_at(String, ['Dokumenty', 'Dokument']) end |
#eet ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 14 def eet submodel_at(EETType, 'EET') end |
#korekce_cen ⇒ Object
254 255 256 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 254 def korekce_cen at 'KorekceCen' end |
#korekce_cen_attributes ⇒ Object
258 259 260 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 258 def korekce_cen_attributes attributes_at 'KorekceCen' end |
#norm_polozka ⇒ Object
274 275 276 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 274 def norm_polozka array_of_at(NormPolozIDType, ['NormPolozka']) end |
#par_sym ⇒ Object
106 107 108 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 106 def par_sym at 'ParSym' end |
#par_sym_attributes ⇒ Object
110 111 112 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 110 def par_sym_attributes attributes_at 'ParSym' end |
#popis ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 42 def popis at 'Popis' end |
#popis_attributes ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 46 def popis_attributes attributes_at 'Popis' end |
#pozn ⇒ Object
214 215 216 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 214 def pozn at 'Pozn' end |
#pozn_attributes ⇒ Object
218 219 220 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 218 def pozn_attributes attributes_at 'Pozn' end |
#pr_kont ⇒ Object
118 119 120 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 118 def pr_kont at 'PrKont' end |
#pr_kont_attributes ⇒ Object
122 123 124 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 122 def pr_kont_attributes attributes_at 'PrKont' end |
#prijat_dokl ⇒ Object
90 91 92 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 90 def prijat_dokl at 'PrijatDokl' end |
#prijat_dokl_attributes ⇒ Object
94 95 96 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 94 def prijat_dokl_attributes attributes_at 'PrijatDokl' end |
#rezim ⇒ Object
246 247 248 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 246 def rezim at 'Rezim' end |
#rezim_attributes ⇒ Object
250 251 252 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 250 def rezim_attributes attributes_at 'Rezim' end |
#rozuct_polozka ⇒ Object
270 271 272 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 270 def rozuct_polozka array_of_at(RozuctPolozIDType, ['RozuctPolozka']) end |
#s_sazba ⇒ Object
182 183 184 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 182 def s_sazba at 'SSazba' end |
#s_sazba_attributes ⇒ Object
186 187 188 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 186 def s_sazba_attributes attributes_at 'SSazba' end |
#souhrn_dph ⇒ Object
198 199 200 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 198 def souhrn_dph submodel_at(SouhrnDPHType, 'SouhrnDPH') end |
#stat_moss ⇒ Object
166 167 168 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 166 def stat_moss at 'StatMOSS' end |
#stat_moss_attributes ⇒ Object
170 171 172 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 170 def stat_moss_attributes attributes_at 'StatMOSS' end |
#storno ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 26 def storno at 'Storno' end |
#storno_attributes ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 30 def storno_attributes attributes_at 'Storno' end |
#stred ⇒ Object
134 135 136 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 134 def stred at 'Stred' end |
#stred_attributes ⇒ Object
138 139 140 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 138 def stred_attributes attributes_at 'Stred' end |
#to_h ⇒ Object
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 286 def to_h hash = {} hash[:attributes] = attributes hash[:doklad] = doklad if has? 'Doklad' hash[:doklad_attributes] = doklad_attributes if has? 'Doklad' hash[:eet] = eet.to_h if has? 'EET' hash[:zpusob_uctovani] = zpusob_uctovani if has? 'ZpusobUctovani' hash[:zpusob_uctovani_attributes] = zpusob_uctovani_attributes if has? 'ZpusobUctovani' hash[:storno] = storno if has? 'Storno' hash[:storno_attributes] = storno_attributes if has? 'Storno' hash[:del] = del if has? 'Del' hash[:del_attributes] = del_attributes if has? 'Del' hash[:popis] = popis if has? 'Popis' hash[:popis_attributes] = popis_attributes if has? 'Popis' hash[:dat_uc_pr] = dat_uc_pr if has? 'DatUcPr' hash[:dat_uc_pr_attributes] = dat_uc_pr_attributes if has? 'DatUcPr' hash[:dat_pln] = dat_pln if has? 'DatPln' hash[:dat_pln_attributes] = dat_pln_attributes if has? 'DatPln' hash[:dat_upl_dph] = dat_upl_dph if has? 'DatUplDPH' hash[:dat_upl_dph_attributes] = dat_upl_dph_attributes if has? 'DatUplDPH' hash[:datum_kv] = datum_kv if has? 'DatumKV' hash[:datum_kv_attributes] = datum_kv_attributes if has? 'DatumKV' hash[:cislo_zapoc] = cislo_zapoc if has? 'CisloZapoc' hash[:cislo_zapoc_attributes] = cislo_zapoc_attributes if has? 'CisloZapoc' hash[:prijat_dokl] = prijat_dokl if has? 'PrijatDokl' hash[:prijat_dokl_attributes] = prijat_dokl_attributes if has? 'PrijatDokl' hash[:var_sym] = var_sym if has? 'VarSym' hash[:var_sym_attributes] = var_sym_attributes if has? 'VarSym' hash[:par_sym] = par_sym if has? 'ParSym' hash[:par_sym_attributes] = par_sym_attributes if has? 'ParSym' hash[:adresa] = adresa.to_h if has? 'Adresa' hash[:pr_kont] = pr_kont if has? 'PrKont' hash[:pr_kont_attributes] = pr_kont_attributes if has? 'PrKont' hash[:cleneni] = cleneni if has? 'Cleneni' hash[:cleneni_attributes] = cleneni_attributes if has? 'Cleneni' hash[:stred] = stred if has? 'Stred' hash[:stred_attributes] = stred_attributes if has? 'Stred' hash[:zakazka] = zakazka if has? 'Zakazka' hash[:zakazka_attributes] = zakazka_attributes if has? 'Zakazka' hash[:cinnost] = cinnost if has? 'Cinnost' hash[:cinnost_attributes] = cinnost_attributes if has? 'Cinnost' hash[:vyroba] = vyroba if has? 'Vyroba' hash[:vyroba_attributes] = vyroba_attributes if has? 'Vyroba' hash[:stat_moss] = stat_moss if has? 'StatMOSS' hash[:stat_moss_attributes] = stat_moss_attributes if has? 'StatMOSS' hash[:zp_vyp_dph] = zp_vyp_dph if has? 'ZpVypDPH' hash[:zp_vyp_dph_attributes] = zp_vyp_dph_attributes if has? 'ZpVypDPH' hash[:s_sazba] = s_sazba if has? 'SSazba' hash[:s_sazba_attributes] = s_sazba_attributes if has? 'SSazba' hash[:z_sazba] = z_sazba if has? 'ZSazba' hash[:z_sazba_attributes] = z_sazba_attributes if has? 'ZSazba' hash[:souhrn_dph] = souhrn_dph.to_h if has? 'SouhrnDPH' hash[:celkem] = celkem if has? 'Celkem' hash[:celkem_attributes] = celkem_attributes if has? 'Celkem' hash[:valuty] = valuty.to_h if has? 'Valuty' hash[:pozn] = pozn if has? 'Pozn' hash[:pozn_attributes] = pozn_attributes if has? 'Pozn' hash[:d_rada] = d_rada if has? 'DRada' hash[:d_rada_attributes] = d_rada_attributes if has? 'DRada' hash[:d_cislo] = d_cislo if has? 'DCislo' hash[:d_cislo_attributes] = d_cislo_attributes if has? 'DCislo' hash[:vyst] = vyst if has? 'Vyst' hash[:vyst_attributes] = vyst_attributes if has? 'Vyst' hash[:rezim] = rezim if has? 'Rezim' hash[:rezim_attributes] = rezim_attributes if has? 'Rezim' hash[:korekce_cen] = korekce_cen if has? 'KorekceCen' hash[:korekce_cen_attributes] = korekce_cen_attributes if has? 'KorekceCen' hash[:typ_dokl] = typ_dokl if has? 'TypDokl' hash[:typ_dokl_attributes] = typ_dokl_attributes if has? 'TypDokl' hash[:rozuct_polozka] = rozuct_polozka.map(&:to_h) if has? 'RozuctPolozka' hash[:norm_polozka] = norm_polozka.map(&:to_h) if has? 'NormPolozka' hash[:vlajky] = vlajky.to_h if has? 'Vlajky' hash[:dokumenty] = dokumenty if has? 'Dokumenty' hash end |
#typ_dokl ⇒ Object
262 263 264 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 262 def typ_dokl at 'TypDokl' end |
#typ_dokl_attributes ⇒ Object
266 267 268 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 266 def typ_dokl_attributes attributes_at 'TypDokl' end |
#valuty ⇒ Object
210 211 212 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 210 def valuty submodel_at(Valuty2, 'Valuty') end |
#var_sym ⇒ Object
98 99 100 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 98 def var_sym at 'VarSym' end |
#var_sym_attributes ⇒ Object
102 103 104 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 102 def var_sym_attributes attributes_at 'VarSym' end |
#vlajky ⇒ Object
278 279 280 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 278 def vlajky submodel_at(Vlajky, 'Vlajky') end |
#vyroba ⇒ Object
158 159 160 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 158 def vyroba at 'Vyroba' end |
#vyroba_attributes ⇒ Object
162 163 164 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 162 def vyroba_attributes attributes_at 'Vyroba' end |
#vyst ⇒ Object
238 239 240 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 238 def vyst at 'Vyst' end |
#vyst_attributes ⇒ Object
242 243 244 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 242 def vyst_attributes attributes_at 'Vyst' end |
#z_sazba ⇒ Object
190 191 192 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 190 def z_sazba at 'ZSazba' end |
#z_sazba_attributes ⇒ Object
194 195 196 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 194 def z_sazba_attributes attributes_at 'ZSazba' end |
#zakazka ⇒ Object
142 143 144 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 142 def zakazka at 'Zakazka' end |
#zakazka_attributes ⇒ Object
146 147 148 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 146 def zakazka_attributes attributes_at 'Zakazka' end |
#zp_vyp_dph ⇒ Object
174 175 176 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 174 def zp_vyp_dph at 'ZpVypDPH' end |
#zp_vyp_dph_attributes ⇒ Object
178 179 180 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 178 def zp_vyp_dph_attributes attributes_at 'ZpVypDPH' end |
#zpusob_uctovani ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 18 def zpusob_uctovani at 'ZpusobUctovani' end |
#zpusob_uctovani_attributes ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/int_dokl_type.rb', line 22 def zpusob_uctovani_attributes attributes_at 'ZpusobUctovani' end |