class MoneyS3::Parsers::NesklPolozka2

Public Instance Methods

bar_code() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 38
def bar_code
  at 'BarCode'
end
bar_code_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 42
def bar_code_attributes
  attributes_at 'BarCode'
end
dat_exp() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 78
def dat_exp
  at 'DatExp'
end
dat_exp_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 82
def dat_exp_attributes
  attributes_at 'DatExp'
end
dat_nakupu() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 86
def dat_nakupu
  at 'DatNakupu'
end
dat_nakupu_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 90
def dat_nakupu_attributes
  attributes_at 'DatNakupu'
end
dodavatel() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 94
def dodavatel
  submodel_at(FirmaType, 'Dodavatel')
end
katalog() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 30
def katalog
  at 'Katalog'
end
katalog_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 34
def katalog_attributes
  attributes_at 'Katalog'
end
mj() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 14
def mj
  at 'MJ'
end
mj_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 18
def mj_attributes
  attributes_at 'MJ'
end
pred_pc() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 62
def pred_pc
  at 'PredPC'
end
pred_pc_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 66
def pred_pc_attributes
  attributes_at 'PredPC'
end
to_h() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 98
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:zkrat] = zkrat if has? 'Zkrat'
  hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat'
  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[: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[: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[:pred_pc] = pred_pc if has? 'PredPC'
  hash[:pred_pc_attributes] = pred_pc_attributes if has? 'PredPC'
  hash[:vyrobni_cis] = vyrobni_cis if has? 'VyrobniCis'
  hash[:vyrobni_cis_attributes] = vyrobni_cis_attributes if has? 'VyrobniCis'
  hash[:dat_exp] = dat_exp if has? 'DatExp'
  hash[:dat_exp_attributes] = dat_exp_attributes if has? 'DatExp'
  hash[:dat_nakupu] = dat_nakupu if has? 'DatNakupu'
  hash[:dat_nakupu_attributes] = dat_nakupu_attributes if has? 'DatNakupu'
  hash[:dodavatel] = dodavatel.to_h if has? 'Dodavatel'

  hash
end
typ_zar_doby() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 46
def typ_zar_doby
  at 'TypZarDoby'
end
typ_zar_doby_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 50
def typ_zar_doby_attributes
  attributes_at 'TypZarDoby'
end
uziv_code() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 22
def uziv_code
  at 'UzivCode'
end
uziv_code_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 26
def uziv_code_attributes
  attributes_at 'UzivCode'
end
vyrobni_cis() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 70
def vyrobni_cis
  at 'VyrobniCis'
end
vyrobni_cis_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 74
def vyrobni_cis_attributes
  attributes_at 'VyrobniCis'
end
zar_doba() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 54
def zar_doba
  at 'ZarDoba'
end
zar_doba_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 58
def zar_doba_attributes
  attributes_at 'ZarDoba'
end
zkrat() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 6
def zkrat
  at 'Zkrat'
end
zkrat_attributes() click to toggle source
# File lib/money_s3/parsers/neskl_polozka2.rb, line 10
def zkrat_attributes
  attributes_at 'Zkrat'
end