class MoneyS3::Parsers::KmKartaType

Public Instance Methods

bar_code() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 62
def bar_code
  at 'BarCode'
end
bar_code_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 66
def bar_code_attributes
  attributes_at 'BarCode'
end
bc_typ() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 70
def bc_typ
  at 'BCTyp'
end
bc_typ_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 74
def bc_typ_attributes
  attributes_at 'BCTyp'
end
ceny() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 142
def ceny
  at 'Ceny'
end
ceny_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 146
def ceny_attributes
  attributes_at 'Ceny'
end
definice_ceny() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 138
def definice_ceny
  submodel_at(DefiniceCeny, 'definiceCeny')
end
des_mist() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 110
def des_mist
  at 'DesMist'
end
des_mist_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 114
def des_mist_attributes
  attributes_at 'DesMist'
end
dokumenty() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 278
def dokumenty
  array_of_at(String, ['Dokumenty', 'Dokument'])
end
ev_vyr_cis() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 102
def ev_vyr_cis
  at 'EvVyrCis'
end
ev_vyr_cis_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 106
def ev_vyr_cis_attributes
  attributes_at 'EvVyrCis'
end
guid() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 46
def guid
  at 'GUID'
end
guid_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 50
def guid_attributes
  attributes_at 'GUID'
end
hmotnost() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 206
def hmotnost
  at 'Hmotnost'
end
hmotnost_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 210
def hmotnost_attributes
  attributes_at 'Hmotnost'
end
i_dokl_agend() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 262
def i_dokl_agend
  at 'iDoklAgend'
end
i_dokl_agend_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 266
def i_dokl_agend_attributes
  attributes_at 'iDoklAgend'
end
i_dokl_pol() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 254
def i_dokl_pol
  at 'iDoklPol'
end
i_dokl_pol_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 258
def i_dokl_pol_attributes
  attributes_at 'iDoklPol'
end
katalog() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 54
def katalog
  at 'Katalog'
end
katalog_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 58
def katalog_attributes
  attributes_at 'Katalog'
end
kod_kn() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 222
def kod_kn
  at 'KodKN'
end
kod_kn_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 226
def kod_kn_attributes
  attributes_at 'KodKN'
end
kod_statu() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 238
def kod_statu
  at 'KodStatu'
end
kod_statu_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 242
def kod_statu_attributes
  attributes_at 'KodStatu'
end
konfigurace() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 134
def konfigurace
  submodel_at(Konfigurace, 'konfigurace')
end
mj() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 30
def mj
  at 'MJ'
end
mj_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 34
def mj_attributes
  attributes_at 'MJ'
end
nastav() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 150
def nastav
  at 'Nastav'
end
nastav_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 154
def nastav_attributes
  attributes_at 'Nastav'
end
objem() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 214
def objem
  at 'Objem'
end
objem_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 218
def objem_attributes
  attributes_at 'Objem'
end
obrazek() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 118
def obrazek
  at 'Obrazek'
end
obrazek2() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 126
def obrazek2
  at 'Obrazek2'
end
obrazek2_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 130
def obrazek2_attributes
  attributes_at 'Obrazek2'
end
obrazek_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 122
def obrazek_attributes
  attributes_at 'Obrazek'
end
popis() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 6
def popis
  at 'Popis'
end
popis1() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 158
def popis1
  at 'Popis1'
end
popis1_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 162
def popis1_attributes
  attributes_at 'Popis1'
end
popis2() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 174
def popis2
  at 'Popis2'
end
popis2_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 178
def popis2_attributes
  attributes_at 'Popis2'
end
popis3() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 190
def popis3
  at 'Popis3'
end
popis3_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 194
def popis3_attributes
  attributes_at 'Popis3'
end
popis_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 10
def popis_attributes
  attributes_at 'Popis'
end
pozn() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 22
def pozn
  at 'Pozn'
end
pozn1() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 166
def pozn1
  at 'Pozn1'
end
pozn1_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 170
def pozn1_attributes
  attributes_at 'Pozn1'
end
pozn2() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 182
def pozn2
  at 'Pozn2'
end
pozn2_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 186
def pozn2_attributes
  attributes_at 'Pozn2'
end
pozn3() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 198
def pozn3
  at 'Pozn3'
end
pozn3_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 202
def pozn3_attributes
  attributes_at 'Pozn3'
end
pozn_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 26
def pozn_attributes
  attributes_at 'Pozn'
end
predm_pln() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 230
def predm_pln
  at 'PredmPln'
end
predm_pln_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 234
def predm_pln_attributes
  attributes_at 'PredmPln'
end
seznam_parametru_karty() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 274
def seznam_parametru_karty
  array_of_at(ParametrKartaType, ['SeznamParametruKarty', 'ParametrKarty'])
end
slozeni() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 270
def slozeni
  array_of_at(KomponentaType, ['Slozeni', 'Komponenta'])
end
to_h() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 282
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:popis] = popis if has? 'Popis'
  hash[:popis_attributes] = popis_attributes if has? 'Popis'
  hash[:zkrat] = zkrat if has? 'Zkrat'
  hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat'
  hash[:pozn] = pozn if has? 'Pozn'
  hash[:pozn_attributes] = pozn_attributes if has? 'Pozn'
  hash[:mj] = mj if has? 'MJ'
  hash[:mj_attributes] = mj_attributes if has? 'MJ'
  hash[:uziv_code] = uziv_code if has? 'UzivCode'
  hash[:uziv_code_attributes] = uziv_code_attributes if has? 'UzivCode'
  hash[:guid] = guid if has? 'GUID'
  hash[:guid_attributes] = guid_attributes if has? 'GUID'
  hash[:katalog] = katalog if has? 'Katalog'
  hash[:katalog_attributes] = katalog_attributes if has? 'Katalog'
  hash[:bar_code] = bar_code if has? 'BarCode'
  hash[:bar_code_attributes] = bar_code_attributes if has? 'BarCode'
  hash[:bc_typ] = bc_typ if has? 'BCTyp'
  hash[:bc_typ_attributes] = bc_typ_attributes if has? 'BCTyp'
  hash[:typ_zar_doby] = typ_zar_doby if has? 'TypZarDoby'
  hash[:typ_zar_doby_attributes] = typ_zar_doby_attributes if has? 'TypZarDoby'
  hash[:zar_doba] = zar_doba if has? 'ZarDoba'
  hash[:zar_doba_attributes] = zar_doba_attributes if has? 'ZarDoba'
  hash[:zboz_kuch] = zboz_kuch if has? 'ZbozKuch'
  hash[:zboz_kuch_attributes] = zboz_kuch_attributes if has? 'ZbozKuch'
  hash[:ev_vyr_cis] = ev_vyr_cis if has? 'EvVyrCis'
  hash[:ev_vyr_cis_attributes] = ev_vyr_cis_attributes if has? 'EvVyrCis'
  hash[:des_mist] = des_mist if has? 'DesMist'
  hash[:des_mist_attributes] = des_mist_attributes if has? 'DesMist'
  hash[:obrazek] = obrazek if has? 'Obrazek'
  hash[:obrazek_attributes] = obrazek_attributes if has? 'Obrazek'
  hash[:obrazek2] = obrazek2 if has? 'Obrazek2'
  hash[:obrazek2_attributes] = obrazek2_attributes if has? 'Obrazek2'
  hash[:konfigurace] = konfigurace.to_h if has? 'konfigurace'
  hash[:definice_ceny] = definice_ceny.to_h if has? 'definiceCeny'
  hash[:ceny] = ceny if has? 'Ceny'
  hash[:ceny_attributes] = ceny_attributes if has? 'Ceny'
  hash[:nastav] = nastav if has? 'Nastav'
  hash[:nastav_attributes] = nastav_attributes if has? 'Nastav'
  hash[:popis1] = popis1 if has? 'Popis1'
  hash[:popis1_attributes] = popis1_attributes if has? 'Popis1'
  hash[:pozn1] = pozn1 if has? 'Pozn1'
  hash[:pozn1_attributes] = pozn1_attributes if has? 'Pozn1'
  hash[:popis2] = popis2 if has? 'Popis2'
  hash[:popis2_attributes] = popis2_attributes if has? 'Popis2'
  hash[:pozn2] = pozn2 if has? 'Pozn2'
  hash[:pozn2_attributes] = pozn2_attributes if has? 'Pozn2'
  hash[:popis3] = popis3 if has? 'Popis3'
  hash[:popis3_attributes] = popis3_attributes if has? 'Popis3'
  hash[:pozn3] = pozn3 if has? 'Pozn3'
  hash[:pozn3_attributes] = pozn3_attributes if has? 'Pozn3'
  hash[:hmotnost] = hmotnost if has? 'Hmotnost'
  hash[:hmotnost_attributes] = hmotnost_attributes if has? 'Hmotnost'
  hash[:objem] = objem if has? 'Objem'
  hash[:objem_attributes] = objem_attributes if has? 'Objem'
  hash[:kod_kn] = kod_kn if has? 'KodKN'
  hash[:kod_kn_attributes] = kod_kn_attributes if has? 'KodKN'
  hash[:predm_pln] = predm_pln if has? 'PredmPln'
  hash[:predm_pln_attributes] = predm_pln_attributes if has? 'PredmPln'
  hash[:kod_statu] = kod_statu if has? 'KodStatu'
  hash[:kod_statu_attributes] = kod_statu_attributes if has? 'KodStatu'
  hash[:typ_karty] = typ_karty if has? 'TypKarty'
  hash[:typ_karty_attributes] = typ_karty_attributes if has? 'TypKarty'
  hash[:i_dokl_pol] = i_dokl_pol if has? 'iDoklPol'
  hash[:i_dokl_pol_attributes] = i_dokl_pol_attributes if has? 'iDoklPol'
  hash[:i_dokl_agend] = i_dokl_agend if has? 'iDoklAgend'
  hash[:i_dokl_agend_attributes] = i_dokl_agend_attributes if has? 'iDoklAgend'
  hash[:slozeni] = slozeni.map(&:to_h) if has? 'Slozeni'
  hash[:seznam_parametru_karty] = seznam_parametru_karty.map(&:to_h) if has? 'SeznamParametruKarty'
  hash[:dokumenty] = dokumenty if has? 'Dokumenty'

  hash
end
typ_karty() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 246
def typ_karty
  at 'TypKarty'
end
typ_karty_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 250
def typ_karty_attributes
  attributes_at 'TypKarty'
end
typ_zar_doby() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 78
def typ_zar_doby
  at 'TypZarDoby'
end
typ_zar_doby_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 82
def typ_zar_doby_attributes
  attributes_at 'TypZarDoby'
end
uziv_code() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 38
def uziv_code
  at 'UzivCode'
end
uziv_code_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 42
def uziv_code_attributes
  attributes_at 'UzivCode'
end
zar_doba() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 86
def zar_doba
  at 'ZarDoba'
end
zar_doba_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 90
def zar_doba_attributes
  attributes_at 'ZarDoba'
end
zboz_kuch() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 94
def zboz_kuch
  at 'ZbozKuch'
end
zboz_kuch_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 98
def zboz_kuch_attributes
  attributes_at 'ZbozKuch'
end
zkrat() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 14
def zkrat
  at 'Zkrat'
end
zkrat_attributes() click to toggle source
# File lib/money_s3/parsers/km_karta_type.rb, line 18
def zkrat_attributes
  attributes_at 'Zkrat'
end