class MoneyS3::Parsers::PokDoklType

Public Instance Methods

adresa() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 130
def adresa
  submodel_at(DokladFirmaType, 'Adresa')
end
celkem() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 210
def celkem
  at 'Celkem'
end
celkem_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 214
def celkem_attributes
  attributes_at 'Celkem'
end
cinnost() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 174
def cinnost
  at 'Cinnost'
end
cinnost_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 178
def cinnost_attributes
  attributes_at 'Cinnost'
end
cleneni() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 150
def cleneni
  at 'Cleneni'
end
cleneni_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 154
def cleneni_attributes
  attributes_at 'Cleneni'
end
d_cislo() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 246
def d_cislo
  at 'DCislo'
end
d_cislo_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 250
def d_cislo_attributes
  attributes_at 'DCislo'
end
d_rada() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 238
def d_rada
  at 'DRada'
end
d_rada_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 242
def d_rada_attributes
  attributes_at 'DRada'
end
dat_plat() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 82
def dat_plat
  at 'DatPlat'
end
dat_plat_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 86
def dat_plat_attributes
  attributes_at 'DatPlat'
end
dat_pln() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 90
def dat_pln
  at 'DatPln'
end
dat_pln_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 94
def dat_pln_attributes
  attributes_at 'DatPln'
end
dat_uc_pr() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 66
def dat_uc_pr
  at 'DatUcPr'
end
dat_uc_pr_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 70
def dat_uc_pr_attributes
  attributes_at 'DatUcPr'
end
dat_upl_dph() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 98
def dat_upl_dph
  at 'DatUplDPH'
end
dat_upl_dph_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 102
def dat_upl_dph_attributes
  attributes_at 'DatUplDPH'
end
dat_vyst() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 74
def dat_vyst
  at 'DatVyst'
end
dat_vyst_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 78
def dat_vyst_attributes
  attributes_at 'DatVyst'
end
del() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 50
def del
  at 'Del'
end
del_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 54
def del_attributes
  attributes_at 'Del'
end
doklad() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 14
def doklad
  at 'Doklad'
end
doklad_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 18
def doklad_attributes
  attributes_at 'Doklad'
end
dokumenty() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 294
def dokumenty
  array_of_at(String, ['Dokumenty', 'Dokument'])
end
eet() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 30
def eet
  submodel_at(EETType, 'EET')
end
ev_cis_dokl() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 22
def ev_cis_dokl
  at 'EvCisDokl'
end
ev_cis_dokl_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 26
def ev_cis_dokl_attributes
  attributes_at 'EvCisDokl'
end
moje_firma() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 286
def moje_firma
  submodel_at(MojeFirmaType, 'MojeFirma')
end
par_sym() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 122
def par_sym
  at 'ParSym'
end
par_sym_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 126
def par_sym_attributes
  attributes_at 'ParSym'
end
pokl() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 134
def pokl
  at 'Pokl'
end
pokl_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 138
def pokl_attributes
  attributes_at 'Pokl'
end
popis() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 58
def popis
  at 'Popis'
end
popis_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 62
def popis_attributes
  attributes_at 'Popis'
end
pozn() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 230
def pozn
  at 'Pozn'
end
pozn_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 234
def pozn_attributes
  attributes_at 'Pozn'
end
pr_kont() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 142
def pr_kont
  at 'PrKont'
end
pr_kont_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 146
def pr_kont_attributes
  attributes_at 'PrKont'
end
prijat_dokl() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 106
def prijat_dokl
  at 'PrijatDokl'
end
prijat_dokl_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 110
def prijat_dokl_attributes
  attributes_at 'PrijatDokl'
end
s_sazba() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 190
def s_sazba
  at 'SSazba'
end
s_sazba_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 194
def s_sazba_attributes
  attributes_at 'SSazba'
end
seznam_norm_polozek() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 278
def seznam_norm_polozek
  array_of_at(NormPolozUDType, ['SeznamNormPolozek', 'NormPolozka'])
end
seznam_rozuct_polozek() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 282
def seznam_rozuct_polozek
  array_of_at(RozuctPolozUDType, ['SeznamRozuctPolozek', 'RozuctPolozka'])
end
souhrn_dph() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 206
def souhrn_dph
  submodel_at(SouhrnDPHType, 'SouhrnDPH')
end
stat_moss() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 222
def stat_moss
  at 'StatMOSS'
end
stat_moss_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 226
def stat_moss_attributes
  attributes_at 'StatMOSS'
end
storno() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 42
def storno
  at 'Storno'
end
storno_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 46
def storno_attributes
  attributes_at 'Storno'
end
stred() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 158
def stred
  at 'Stred'
end
stred_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 162
def stred_attributes
  attributes_at 'Stred'
end
to_h() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 298
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:vydej] = vydej if has? 'Vydej'
  hash[:vydej_attributes] = vydej_attributes if has? 'Vydej'
  hash[:doklad] = doklad if has? 'Doklad'
  hash[:doklad_attributes] = doklad_attributes if has? 'Doklad'
  hash[:ev_cis_dokl] = ev_cis_dokl if has? 'EvCisDokl'
  hash[:ev_cis_dokl_attributes] = ev_cis_dokl_attributes if has? 'EvCisDokl'
  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_vyst] = dat_vyst if has? 'DatVyst'
  hash[:dat_vyst_attributes] = dat_vyst_attributes if has? 'DatVyst'
  hash[:dat_plat] = dat_plat if has? 'DatPlat'
  hash[:dat_plat_attributes] = dat_plat_attributes if has? 'DatPlat'
  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[: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[:pokl] = pokl if has? 'Pokl'
  hash[:pokl_attributes] = pokl_attributes if has? 'Pokl'
  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[: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[:stat_moss] = stat_moss if has? 'StatMOSS'
  hash[:stat_moss_attributes] = stat_moss_attributes if has? 'StatMOSS'
  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[:typ_dokl] = typ_dokl if has? 'TypDokl'
  hash[:typ_dokl_attributes] = typ_dokl_attributes if has? 'TypDokl'
  hash[:zjedn_d] = zjedn_d if has? 'ZjednD'
  hash[:zjedn_d_attributes] = zjedn_d_attributes if has? 'ZjednD'
  hash[:seznam_norm_polozek] = seznam_norm_polozek.map(&:to_h) if has? 'SeznamNormPolozek'
  hash[:seznam_rozuct_polozek] = seznam_rozuct_polozek.map(&:to_h) if has? 'SeznamRozuctPolozek'
  hash[:moje_firma] = moje_firma.to_h if has? 'MojeFirma'
  hash[:vlajky] = vlajky.to_h if has? 'Vlajky'
  hash[:dokumenty] = dokumenty if has? 'Dokumenty'

  hash
end
typ_dokl() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 262
def typ_dokl
  at 'TypDokl'
end
typ_dokl_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 266
def typ_dokl_attributes
  attributes_at 'TypDokl'
end
valuty() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 218
def valuty
  submodel_at(Valuty2, 'Valuty')
end
var_sym() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 114
def var_sym
  at 'VarSym'
end
var_sym_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 118
def var_sym_attributes
  attributes_at 'VarSym'
end
vlajky() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 290
def vlajky
  submodel_at(Vlajky, 'Vlajky')
end
vydej() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 6
def vydej
  at 'Vydej'
end
vydej_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 10
def vydej_attributes
  attributes_at 'Vydej'
end
vyst() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 254
def vyst
  at 'Vyst'
end
vyst_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 258
def vyst_attributes
  attributes_at 'Vyst'
end
z_sazba() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 198
def z_sazba
  at 'ZSazba'
end
z_sazba_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 202
def z_sazba_attributes
  attributes_at 'ZSazba'
end
zakazka() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 166
def zakazka
  at 'Zakazka'
end
zakazka_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 170
def zakazka_attributes
  attributes_at 'Zakazka'
end
zjedn_d() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 270
def zjedn_d
  at 'ZjednD'
end
zjedn_d_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 274
def zjedn_d_attributes
  attributes_at 'ZjednD'
end
zp_vyp_dph() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 182
def zp_vyp_dph
  at 'ZpVypDPH'
end
zp_vyp_dph_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 186
def zp_vyp_dph_attributes
  attributes_at 'ZpVypDPH'
end
zpusob_uctovani() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 34
def zpusob_uctovani
  at 'ZpusobUctovani'
end
zpusob_uctovani_attributes() click to toggle source
# File lib/money_s3/parsers/pok_dokl_type.rb, line 38
def zpusob_uctovani_attributes
  attributes_at 'ZpusobUctovani'
end