class MoneyS3::Parsers::ZakazkaType

Public Instance Methods

c_objednavk() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 110
def c_objednavk
  at 'CObjednavk'
end
c_objednavk_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 114
def c_objednavk_attributes
  attributes_at 'CObjednavk'
end
dat_pl_pred() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 54
def dat_pl_pred
  at 'DatPlPred'
end
dat_pl_pred_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 58
def dat_pl_pred_attributes
  attributes_at 'DatPlPred'
end
dat_pl_zah() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 38
def dat_pl_zah
  at 'DatPlZah'
end
dat_pl_zah_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 42
def dat_pl_zah_attributes
  attributes_at 'DatPlZah'
end
dat_pred() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 62
def dat_pred
  at 'DatPred'
end
dat_pred_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 66
def dat_pred_attributes
  attributes_at 'DatPred'
end
dat_zah() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 46
def dat_zah
  at 'DatZah'
end
dat_zah_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 50
def dat_zah_attributes
  attributes_at 'DatZah'
end
dod_odb() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 126
def dod_odb
  submodel_at(DokladFirmaType, 'DodOdb')
end
dokumenty() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 134
def dokumenty
  array_of_at(String, ['Dokumenty', 'Dokument'])
end
druh_zak() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 86
def druh_zak
  at 'DruhZak'
end
druh_zak_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 90
def druh_zak_attributes
  attributes_at 'DruhZak'
end
hodnoceni() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 102
def hodnoceni
  at 'Hodnoceni'
end
hodnoceni_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 106
def hodnoceni_attributes
  attributes_at 'Hodnoceni'
end
nazev() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 14
def nazev
  at 'Nazev'
end
nazev_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 18
def nazev_attributes
  attributes_at 'Nazev'
end
obch_prip() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 22
def obch_prip
  at 'ObchPrip'
end
obch_prip_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 26
def obch_prip_attributes
  attributes_at 'ObchPrip'
end
odp_os() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 78
def odp_os
  at 'OdpOs'
end
odp_os_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 82
def odp_os_attributes
  attributes_at 'OdpOs'
end
pozn() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 30
def pozn
  at 'Pozn'
end
pozn_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 34
def pozn_attributes
  attributes_at 'Pozn'
end
stav_zak() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 94
def stav_zak
  at 'StavZak'
end
stav_zak_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 98
def stav_zak_attributes
  attributes_at 'StavZak'
end
to_h() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 138
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:zkrat] = zkrat if has? 'Zkrat'
  hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat'
  hash[:nazev] = nazev if has? 'Nazev'
  hash[:nazev_attributes] = nazev_attributes if has? 'Nazev'
  hash[:obch_prip] = obch_prip if has? 'ObchPrip'
  hash[:obch_prip_attributes] = obch_prip_attributes if has? 'ObchPrip'
  hash[:pozn] = pozn if has? 'Pozn'
  hash[:pozn_attributes] = pozn_attributes if has? 'Pozn'
  hash[:dat_pl_zah] = dat_pl_zah if has? 'DatPlZah'
  hash[:dat_pl_zah_attributes] = dat_pl_zah_attributes if has? 'DatPlZah'
  hash[:dat_zah] = dat_zah if has? 'DatZah'
  hash[:dat_zah_attributes] = dat_zah_attributes if has? 'DatZah'
  hash[:dat_pl_pred] = dat_pl_pred if has? 'DatPlPred'
  hash[:dat_pl_pred_attributes] = dat_pl_pred_attributes if has? 'DatPlPred'
  hash[:dat_pred] = dat_pred if has? 'DatPred'
  hash[:dat_pred_attributes] = dat_pred_attributes if has? 'DatPred'
  hash[:zaruka_do] = zaruka_do if has? 'ZarukaDo'
  hash[:zaruka_do_attributes] = zaruka_do_attributes if has? 'ZarukaDo'
  hash[:odp_os] = odp_os if has? 'OdpOs'
  hash[:odp_os_attributes] = odp_os_attributes if has? 'OdpOs'
  hash[:druh_zak] = druh_zak if has? 'DruhZak'
  hash[:druh_zak_attributes] = druh_zak_attributes if has? 'DruhZak'
  hash[:stav_zak] = stav_zak if has? 'StavZak'
  hash[:stav_zak_attributes] = stav_zak_attributes if has? 'StavZak'
  hash[:hodnoceni] = hodnoceni if has? 'Hodnoceni'
  hash[:hodnoceni_attributes] = hodnoceni_attributes if has? 'Hodnoceni'
  hash[:c_objednavk] = c_objednavk if has? 'CObjednavk'
  hash[:c_objednavk_attributes] = c_objednavk_attributes if has? 'CObjednavk'
  hash[:vystavil] = vystavil if has? 'Vystavil'
  hash[:vystavil_attributes] = vystavil_attributes if has? 'Vystavil'
  hash[:dod_odb] = dod_odb.to_h if has? 'DodOdb'
  hash[:vlajky] = vlajky.to_h if has? 'Vlajky'
  hash[:dokumenty] = dokumenty if has? 'Dokumenty'

  hash
end
vlajky() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 130
def vlajky
  submodel_at(Vlajky, 'Vlajky')
end
vystavil() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 118
def vystavil
  at 'Vystavil'
end
vystavil_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 122
def vystavil_attributes
  attributes_at 'Vystavil'
end
zaruka_do() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 70
def zaruka_do
  at 'ZarukaDo'
end
zaruka_do_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 74
def zaruka_do_attributes
  attributes_at 'ZarukaDo'
end
zkrat() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 6
def zkrat
  at 'Zkrat'
end
zkrat_attributes() click to toggle source
# File lib/money_s3/parsers/zakazka_type.rb, line 10
def zkrat_attributes
  attributes_at 'Zkrat'
end