class MoneyS3::Parsers::PolSklDoklType

Public Instance Methods

cena() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 22
def cena
  at 'Cena'
end
cena_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 26
def cena_attributes
  attributes_at 'Cena'
end
cena_po_sleve() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 182
def cena_po_sleve
  at 'CenaPoSleve'
end
cena_po_sleve_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 186
def cena_po_sleve_attributes
  attributes_at 'CenaPoSleve'
end
cena_typ() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 46
def cena_typ
  at 'CenaTyp'
end
cena_typ_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 50
def cena_typ_attributes
  attributes_at 'CenaTyp'
end
cenova_hlad() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 86
def cenova_hlad
  at 'CenovaHlad'
end
cenova_hlad_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 90
def cenova_hlad_attributes
  attributes_at 'CenovaHlad'
end
cinnost() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 62
def cinnost
  at 'Cinnost'
end
cinnost_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 66
def cinnost_attributes
  attributes_at 'Cinnost'
end
dph() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 38
def dph
  at 'DPH'
end
dph_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 42
def dph_attributes
  attributes_at 'DPH'
end
hmotnost() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 142
def hmotnost
  at 'Hmotnost'
end
hmotnost_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 146
def hmotnost_attributes
  attributes_at 'Hmotnost'
end
km_karta() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 202
def km_karta
  submodel_at(KmKartaType, 'KmKarta')
end
kod_statu_puv() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 126
def kod_statu_puv
  at 'KodStatuPuv'
end
kod_statu_puv_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 130
def kod_statu_puv_attributes
  attributes_at 'KodStatuPuv'
end
nazev() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 6
def nazev
  at 'Nazev'
end
nazev_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 10
def nazev_attributes
  attributes_at 'Nazev'
end
pocet_mj() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 14
def pocet_mj
  at 'PocetMJ'
end
pocet_mj_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 18
def pocet_mj_attributes
  attributes_at 'PocetMJ'
end
poriz_cena() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 150
def poriz_cena
  at 'PorizCena'
end
poriz_cena_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 154
def poriz_cena_attributes
  attributes_at 'PorizCena'
end
poznamka() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 94
def poznamka
  at 'Poznamka'
end
poznamka_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 98
def poznamka_attributes
  attributes_at 'Poznamka'
end
rezim_eet() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 174
def rezim_eet
  at 'RezimEET'
end
rezim_eet_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 178
def rezim_eet_attributes
  attributes_at 'RezimEET'
end
seznam_dodavek() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 194
def seznam_dodavek
  array_of_at(DodavkaType, ['SeznamDodavek', 'Dodavka'])
end
seznam_vc() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 190
def seznam_vc
  array_of_at(VyrobniCisloType, ['SeznamVC', 'VyrobniCislo'])
end
sklad() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 198
def sklad
  submodel_at(SkladType, 'Sklad')
end
sleva() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 54
def sleva
  at 'Sleva'
end
sleva_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 58
def sleva_attributes
  attributes_at 'Sleva'
end
slozeni() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 206
def slozeni
  array_of_at(DefSubPolType, ['Slozeni', 'SubPolozka'])
end
stredisko() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 78
def stredisko
  at 'Stredisko'
end
stredisko_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 82
def stredisko_attributes
  attributes_at 'Stredisko'
end
to_h() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 218
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:nazev] = nazev if has? 'Nazev'
  hash[:nazev_attributes] = nazev_attributes if has? 'Nazev'
  hash[:pocet_mj] = pocet_mj if has? 'PocetMJ'
  hash[:pocet_mj_attributes] = pocet_mj_attributes if has? 'PocetMJ'
  hash[:cena] = cena if has? 'Cena'
  hash[:cena_attributes] = cena_attributes if has? 'Cena'
  hash[:valuty] = valuty if has? 'Valuty'
  hash[:valuty_attributes] = valuty_attributes if has? 'Valuty'
  hash[:dph] = dph if has? 'DPH'
  hash[:dph_attributes] = dph_attributes if has? 'DPH'
  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[:zakazka] = zakazka if has? 'Zakazka'
  hash[:zakazka_attributes] = zakazka_attributes if has? 'Zakazka'
  hash[:stredisko] = stredisko if has? 'Stredisko'
  hash[:stredisko_attributes] = stredisko_attributes if has? 'Stredisko'
  hash[:cenova_hlad] = cenova_hlad if has? 'CenovaHlad'
  hash[:cenova_hlad_attributes] = cenova_hlad_attributes if has? 'CenovaHlad'
  hash[:poznamka] = poznamka if has? 'Poznamka'
  hash[:poznamka_attributes] = poznamka_attributes if has? 'Poznamka'
  hash[:vratka] = vratka if has? 'Vratka'
  hash[:vratka_attributes] = vratka_attributes if has? 'Vratka'
  hash[:ucet_md] = ucet_md if has? 'UcetMD'
  hash[:ucet_md_attributes] = ucet_md_attributes if has? 'UcetMD'
  hash[:ucet_d] = ucet_d if has? 'UcetD'
  hash[:ucet_d_attributes] = ucet_d_attributes if has? 'UcetD'
  hash[:kod_statu_puv] = kod_statu_puv if has? 'KodStatuPuv'
  hash[:kod_statu_puv_attributes] = kod_statu_puv_attributes if has? 'KodStatuPuv'
  hash[:typ_transakce] = typ_transakce if has? 'TypTransakce'
  hash[:typ_transakce_attributes] = typ_transakce_attributes if has? 'TypTransakce'
  hash[:hmotnost] = hmotnost if has? 'Hmotnost'
  hash[:hmotnost_attributes] = hmotnost_attributes if has? 'Hmotnost'
  hash[:poriz_cena] = poriz_cena if has? 'PorizCena'
  hash[:poriz_cena_attributes] = poriz_cena_attributes if has? 'PorizCena'
  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[:cena_po_sleve] = cena_po_sleve if has? 'CenaPoSleve'
  hash[:cena_po_sleve_attributes] = cena_po_sleve_attributes if has? 'CenaPoSleve'
  hash[:seznam_vc] = seznam_vc.map(&:to_h) if has? 'SeznamVC'
  hash[:seznam_dodavek] = seznam_dodavek.map(&:to_h) if has? 'SeznamDodavek'
  hash[:sklad] = sklad.to_h if has? 'Sklad'
  hash[:km_karta] = km_karta.to_h if has? 'KmKarta'
  hash[:slozeni] = slozeni.map(&:to_h) if has? 'Slozeni'
  hash[:uzivatelska_pole] = uzivatelska_pole if has? 'UzivatelskaPole'
  hash[:uzivatelska_pole_attributes] = uzivatelska_pole_attributes if has? 'UzivatelskaPole'

  hash
end
typ_transakce() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 134
def typ_transakce
  at 'TypTransakce'
end
typ_transakce_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 138
def typ_transakce_attributes
  attributes_at 'TypTransakce'
end
ucet_d() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 118
def ucet_d
  at 'UcetD'
end
ucet_d_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 122
def ucet_d_attributes
  attributes_at 'UcetD'
end
ucet_md() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 110
def ucet_md
  at 'UcetMD'
end
ucet_md_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 114
def ucet_md_attributes
  attributes_at 'UcetMD'
end
uzivatelska_pole() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 210
def uzivatelska_pole
  at 'UzivatelskaPole'
end
uzivatelska_pole_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 214
def uzivatelska_pole_attributes
  attributes_at 'UzivatelskaPole'
end
valuty() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 30
def valuty
  at 'Valuty'
end
valuty_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 34
def valuty_attributes
  attributes_at 'Valuty'
end
vratka() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 102
def vratka
  at 'Vratka'
end
vratka_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 106
def vratka_attributes
  attributes_at 'Vratka'
end
zakazka() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 70
def zakazka
  at 'Zakazka'
end
zakazka_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 74
def zakazka_attributes
  attributes_at 'Zakazka'
end
zvl_dph() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 166
def zvl_dph
  at 'ZvlDPH'
end
zvl_dph_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 170
def zvl_dph_attributes
  attributes_at 'ZvlDPH'
end
zvl_rezim() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 158
def zvl_rezim
  at 'ZvlRezim'
end
zvl_rezim_attributes() click to toggle source
# File lib/money_s3/parsers/pol_skl_dokl_type.rb, line 162
def zvl_rezim_attributes
  attributes_at 'ZvlRezim'
end