class MoneyS3::Parsers::ZasobaType

Public Instance Methods

dat_inv() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 202
def dat_inv
  at 'DatInv'
end
dat_inv_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 206
def dat_inv_attributes
  attributes_at 'DatInv'
end
dokumenty() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 254
def dokumenty
  array_of_at(String, ['Dokumenty', 'Dokument'])
end
eshop() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 218
def eshop
  submodel_at(EshopZasobaType, 'eshop')
end
km_karta() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 222
def km_karta
  submodel_at(KmKartaType, 'KmKarta')
end
konfigurace() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 6
def konfigurace
  submodel_at(Konfigurace, 'konfigurace')
end
mn_inv() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 210
def mn_inv
  at 'MnInv'
end
mn_inv_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 214
def mn_inv_attributes
  attributes_at 'MnInv'
end
nak_cena() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 14
def nak_cena
  at 'Nak_Cena'
end
nak_cena_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 18
def nak_cena_attributes
  attributes_at 'Nak_Cena'
end
naz_podskup() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 126
def naz_podskup
  at 'NazPodskup'
end
naz_podskup_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 130
def naz_podskup_attributes
  attributes_at 'NazPodskup'
end
nomenklatu() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 134
def nomenklatu
  at 'Nomenklatu'
end
nomenklatu_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 138
def nomenklatu_attributes
  attributes_at 'Nomenklatu'
end
novinka() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 94
def novinka
  at 'Novinka'
end
novinka_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 98
def novinka_attributes
  attributes_at 'Novinka'
end
pc() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 238
def pc
  array_of_at(PC, ['PC'])
end
platnost_do() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 182
def platnost_do
  at 'PlatnostDo'
end
platnost_do_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 186
def platnost_do_attributes
  attributes_at 'PlatnostDo'
end
posl_dod() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 234
def posl_dod
  submodel_at(FirmaType, 'Posl_Dod')
end
posl_n_cen() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 22
def posl_n_cen
  at 'Posl_N_Cen'
end
posl_n_cen_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 26
def posl_n_cen_attributes
  attributes_at 'Posl_N_Cen'
end
posl_nak() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 30
def posl_nak
  at 'Posl_Nak'
end
posl_nak_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 34
def posl_nak_attributes
  attributes_at 'Posl_Nak'
end
posl_prod() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 38
def posl_prod
  at 'Posl_Prod'
end
posl_prod_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 42
def posl_prod_attributes
  attributes_at 'Posl_Prod'
end
pozn() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 46
def pozn
  at 'Pozn'
end
pozn_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 50
def pozn_attributes
  attributes_at 'Pozn'
end
pripravuje() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 102
def pripravuje
  at 'Pripravuje'
end
pripravuje_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 106
def pripravuje_attributes
  attributes_at 'Pripravuje'
end
prva_strana() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 174
def prva_strana
  at 'PrvaStrana'
end
prva_strana_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 178
def prva_strana_attributes
  attributes_at 'PrvaStrana'
end
seznam_alternativ() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 242
def seznam_alternativ
  array_of_at(AlternativaPrislusenstviType, ['SeznamAlternativ', 'Alternativa'])
end
seznam_prislusenstvi() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 246
def seznam_prislusenstvi
  array_of_at(AlternativaPrislusenstviType, ['SeznamPrislusenstvi', 'Prislusenstvi'])
end
skl_ucet() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 54
def skl_ucet
  at 'SklUcet'
end
skl_ucet_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 58
def skl_ucet_attributes
  attributes_at 'SklUcet'
end
sklad() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 226
def sklad
  submodel_at(SkladType, 'Sklad')
end
skupina() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 230
def skupina
  submodel_at(SkupinaZasobType, 'Skupina')
end
sleva() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 86
def sleva
  at 'Sleva'
end
sleva_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 90
def sleva_attributes
  attributes_at 'Sleva'
end
stav_zasoby() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 10
def stav_zasoby
  submodel_at(StavZasobyType, 'StavZasoby')
end
to_h() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 266
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:konfigurace] = konfigurace.to_h if has? 'konfigurace'
  hash[:stav_zasoby] = stav_zasoby.to_h if has? 'StavZasoby'
  hash[:nak_cena] = nak_cena if has? 'Nak_Cena'
  hash[:nak_cena_attributes] = nak_cena_attributes if has? 'Nak_Cena'
  hash[:posl_n_cen] = posl_n_cen if has? 'Posl_N_Cen'
  hash[:posl_n_cen_attributes] = posl_n_cen_attributes if has? 'Posl_N_Cen'
  hash[:posl_nak] = posl_nak if has? 'Posl_Nak'
  hash[:posl_nak_attributes] = posl_nak_attributes if has? 'Posl_Nak'
  hash[:posl_prod] = posl_prod if has? 'Posl_Prod'
  hash[:posl_prod_attributes] = posl_prod_attributes if has? 'Posl_Prod'
  hash[:pozn] = pozn if has? 'Pozn'
  hash[:pozn_attributes] = pozn_attributes if has? 'Pozn'
  hash[:skl_ucet] = skl_ucet if has? 'SklUcet'
  hash[:skl_ucet_attributes] = skl_ucet_attributes if has? 'SklUcet'
  hash[:www_popis] = www_popis if has? 'WWWPopis'
  hash[:www_popis_attributes] = www_popis_attributes if has? 'WWWPopis'
  hash[:www_popis2] = www_popis2 if has? 'WWWPopis2'
  hash[:www_popis2_attributes] = www_popis2_attributes if has? 'WWWPopis2'
  hash[:vyrobce] = vyrobce if has? 'Vyrobce'
  hash[:vyrobce_attributes] = vyrobce_attributes if has? 'Vyrobce'
  hash[:sleva] = sleva if has? 'Sleva'
  hash[:sleva_attributes] = sleva_attributes if has? 'Sleva'
  hash[:novinka] = novinka if has? 'Novinka'
  hash[:novinka_attributes] = novinka_attributes if has? 'Novinka'
  hash[:pripravuje] = pripravuje if has? 'Pripravuje'
  hash[:pripravuje_attributes] = pripravuje_attributes if has? 'Pripravuje'
  hash[:vyprodej] = vyprodej if has? 'Vyprodej'
  hash[:vyprodej_attributes] = vyprodej_attributes if has? 'Vyprodej'
  hash[:zakaz_prode] = zakaz_prode if has? 'ZakazProde'
  hash[:zakaz_prode_attributes] = zakaz_prode_attributes if has? 'ZakazProde'
  hash[:naz_podskup] = naz_podskup if has? 'NazPodskup'
  hash[:naz_podskup_attributes] = naz_podskup_attributes if has? 'NazPodskup'
  hash[:nomenklatu] = nomenklatu if has? 'Nomenklatu'
  hash[:nomenklatu_attributes] = nomenklatu_attributes if has? 'Nomenklatu'
  hash[:url_zbozi] = url_zbozi if has? 'URL_Zbozi'
  hash[:url_zbozi_attributes] = url_zbozi_attributes if has? 'URL_Zbozi'
  hash[:v_sleva] = v_sleva if has? 'VSleva'
  hash[:v_sleva_attributes] = v_sleva_attributes if has? 'VSleva'
  hash[:v_akce] = v_akce if has? 'VAkce'
  hash[:v_akce_attributes] = v_akce_attributes if has? 'VAkce'
  hash[:v_novinka] = v_novinka if has? 'VNovinka'
  hash[:v_novinka_attributes] = v_novinka_attributes if has? 'VNovinka'
  hash[:prva_strana] = prva_strana if has? 'PrvaStrana'
  hash[:prva_strana_attributes] = prva_strana_attributes if has? 'PrvaStrana'
  hash[:platnost_do] = platnost_do if has? 'PlatnostDo'
  hash[:platnost_do_attributes] = platnost_do_attributes if has? 'PlatnostDo'
  hash[:uc_pohyb] = uc_pohyb.to_h if has? 'UcPohyb'
  hash[:uc_vyrobk_v] = uc_vyrobk_v if has? 'UcVyrobkV'
  hash[:uc_vyrobk_v_attributes] = uc_vyrobk_v_attributes if has? 'UcVyrobkV'
  hash[:dat_inv] = dat_inv if has? 'DatInv'
  hash[:dat_inv_attributes] = dat_inv_attributes if has? 'DatInv'
  hash[:mn_inv] = mn_inv if has? 'MnInv'
  hash[:mn_inv_attributes] = mn_inv_attributes if has? 'MnInv'
  hash[:eshop] = eshop.to_h if has? 'eshop'
  hash[:km_karta] = km_karta.to_h if has? 'KmKarta'
  hash[:sklad] = sklad.to_h if has? 'Sklad'
  hash[:skupina] = skupina.to_h if has? 'Skupina'
  hash[:posl_dod] = posl_dod.to_h if has? 'Posl_Dod'
  hash[:pc] = pc.map(&:to_h) if has? 'PC'
  hash[:seznam_alternativ] = seznam_alternativ.map(&:to_h) if has? 'SeznamAlternativ'
  hash[:seznam_prislusenstvi] = seznam_prislusenstvi.map(&:to_h) if has? 'SeznamPrislusenstvi'
  hash[:vlajky] = vlajky.to_h if has? 'Vlajky'
  hash[:dokumenty] = dokumenty if has? 'Dokumenty'
  hash[:uzivatelska_pole] = uzivatelska_pole if has? 'UzivatelskaPole'
  hash[:uzivatelska_pole_attributes] = uzivatelska_pole_attributes if has? 'UzivatelskaPole'

  hash
end
uc_pohyb() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 190
def uc_pohyb
  submodel_at(UctyPohybuType, 'UcPohyb')
end
uc_vyrobk_v() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 194
def uc_vyrobk_v
  at 'UcVyrobkV'
end
uc_vyrobk_v_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 198
def uc_vyrobk_v_attributes
  attributes_at 'UcVyrobkV'
end
url_zbozi() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 142
def url_zbozi
  at 'URL_Zbozi'
end
url_zbozi_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 146
def url_zbozi_attributes
  attributes_at 'URL_Zbozi'
end
uzivatelska_pole() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 258
def uzivatelska_pole
  at 'UzivatelskaPole'
end
uzivatelska_pole_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 262
def uzivatelska_pole_attributes
  attributes_at 'UzivatelskaPole'
end
v_akce() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 158
def v_akce
  at 'VAkce'
end
v_akce_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 162
def v_akce_attributes
  attributes_at 'VAkce'
end
v_novinka() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 166
def v_novinka
  at 'VNovinka'
end
v_novinka_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 170
def v_novinka_attributes
  attributes_at 'VNovinka'
end
v_sleva() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 150
def v_sleva
  at 'VSleva'
end
v_sleva_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 154
def v_sleva_attributes
  attributes_at 'VSleva'
end
vlajky() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 250
def vlajky
  submodel_at(Vlajky, 'Vlajky')
end
vyprodej() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 110
def vyprodej
  at 'Vyprodej'
end
vyprodej_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 114
def vyprodej_attributes
  attributes_at 'Vyprodej'
end
vyrobce() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 78
def vyrobce
  at 'Vyrobce'
end
vyrobce_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 82
def vyrobce_attributes
  attributes_at 'Vyrobce'
end
www_popis() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 62
def www_popis
  at 'WWWPopis'
end
www_popis2() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 70
def www_popis2
  at 'WWWPopis2'
end
www_popis2_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 74
def www_popis2_attributes
  attributes_at 'WWWPopis2'
end
www_popis_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 66
def www_popis_attributes
  attributes_at 'WWWPopis'
end
zakaz_prode() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 118
def zakaz_prode
  at 'ZakazProde'
end
zakaz_prode_attributes() click to toggle source
# File lib/money_s3/parsers/zasoba_type.rb, line 122
def zakaz_prode_attributes
  attributes_at 'ZakazProde'
end