class MoneyS3::Parsers::PolObjednType

Public Instance Methods

cena() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 38
def cena
  at 'Cena'
end
cena_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 42
def cena_attributes
  attributes_at 'Cena'
end
cena_po_sleve() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 218
def cena_po_sleve
  at 'CenaPoSleve'
end
cena_po_sleve_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 222
def cena_po_sleve_attributes
  attributes_at 'CenaPoSleve'
end
cenova_hlad() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 138
def cenova_hlad
  at 'CenovaHlad'
end
cenova_hlad_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 142
def cenova_hlad_attributes
  attributes_at 'CenovaHlad'
end
cinnost() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 130
def cinnost
  at 'Cinnost'
end
cinnost_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 134
def cinnost_attributes
  attributes_at 'Cinnost'
end
hmotnost() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 170
def hmotnost
  at 'Hmotnost'
end
hmotnost_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 174
def hmotnost_attributes
  attributes_at 'Hmotnost'
end
km_karta() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 230
def km_karta
  submodel_at(KmKartaType, 'KmKarta')
end
kod_statu_puv() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 154
def kod_statu_puv
  at 'KodStatuPuv'
end
kod_statu_puv_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 158
def kod_statu_puv_attributes
  attributes_at 'KodStatuPuv'
end
neskl_polozka() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 242
def neskl_polozka
  submodel_at(NesklPolozka2, 'NesklPolozka')
end
pocet_mj() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 22
def pocet_mj
  at 'PocetMJ'
end
pocet_mj_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 26
def pocet_mj_attributes
  attributes_at 'PocetMJ'
end
popis() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 6
def popis
  at 'Popis'
end
popis_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 10
def popis_attributes
  attributes_at 'Popis'
end
poradi() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 106
def poradi
  at 'Poradi'
end
poradi_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 110
def poradi_attributes
  attributes_at 'Poradi'
end
poznamka() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 14
def poznamka
  at 'Poznamka'
end
poznamka_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 18
def poznamka_attributes
  attributes_at 'Poznamka'
end
pred_pc() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 202
def pred_pc
  at 'PredPC'
end
pred_pc_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 206
def pred_pc_attributes
  attributes_at 'PredPC'
end
predm_pln() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 210
def predm_pln
  at 'PredmPln'
end
predm_pln_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 214
def predm_pln_attributes
  attributes_at 'PredmPln'
end
rezim_eet() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 194
def rezim_eet
  at 'RezimEET'
end
rezim_eet_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 198
def rezim_eet_attributes
  attributes_at 'RezimEET'
end
sazba_dph() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 50
def sazba_dph
  at 'SazbaDPH'
end
sazba_dph_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 54
def sazba_dph_attributes
  attributes_at 'SazbaDPH'
end
seznam_vc() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 234
def seznam_vc
  array_of_at(VyrobniCisloType, ['SeznamVC', 'VyrobniCislo'])
end
sklad() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 226
def sklad
  submodel_at(SkladType, 'Sklad')
end
sleva() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 66
def sleva
  at 'Sleva'
end
sleva_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 70
def sleva_attributes
  attributes_at 'Sleva'
end
slozeni() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 238
def slozeni
  array_of_at(SubPolObjType, ['Slozeni', 'SubPolozka'])
end
souhrn_dph() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 46
def souhrn_dph
  submodel_at(SouhrnDPHPolType, 'SouhrnDPH')
end
stredisko() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 114
def stredisko
  at 'Stredisko'
end
stredisko_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 118
def stredisko_attributes
  attributes_at 'Stredisko'
end
to_h() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 254
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:popis] = popis if has? 'Popis'
  hash[:popis_attributes] = popis_attributes if has? 'Popis'
  hash[:poznamka] = poznamka if has? 'Poznamka'
  hash[:poznamka_attributes] = poznamka_attributes if has? 'Poznamka'
  hash[:pocet_mj] = pocet_mj if has? 'PocetMJ'
  hash[:pocet_mj_attributes] = pocet_mj_attributes if has? 'PocetMJ'
  hash[:zbyva_mj] = zbyva_mj if has? 'ZbyvaMJ'
  hash[:zbyva_mj_attributes] = zbyva_mj_attributes if has? 'ZbyvaMJ'
  hash[:cena] = cena if has? 'Cena'
  hash[:cena_attributes] = cena_attributes if has? 'Cena'
  hash[:souhrn_dph] = souhrn_dph.to_h if has? 'SouhrnDPH'
  hash[:sazba_dph] = sazba_dph if has? 'SazbaDPH'
  hash[:sazba_dph_attributes] = sazba_dph_attributes if has? 'SazbaDPH'
  hash[:typ_ceny] = typ_ceny if has? 'TypCeny'
  hash[:typ_ceny_attributes] = typ_ceny_attributes if has? 'TypCeny'
  hash[:sleva] = sleva if has? 'Sleva'
  hash[:sleva_attributes] = sleva_attributes if has? 'Sleva'
  hash[:vystaveno] = vystaveno if has? 'Vystaveno'
  hash[:vystaveno_attributes] = vystaveno_attributes if has? 'Vystaveno'
  hash[:vyridit_nej] = vyridit_nej if has? 'VyriditNej'
  hash[:vyridit_nej_attributes] = vyridit_nej_attributes if has? 'VyriditNej'
  hash[:vyridit_do] = vyridit_do if has? 'Vyridit_do'
  hash[:vyridit_do_attributes] = vyridit_do_attributes if has? 'Vyridit_do'
  hash[:vyrizeno] = vyrizeno if has? 'Vyrizeno'
  hash[:vyrizeno_attributes] = vyrizeno_attributes if has? 'Vyrizeno'
  hash[:poradi] = poradi if has? 'Poradi'
  hash[:poradi_attributes] = poradi_attributes if has? 'Poradi'
  hash[:stredisko] = stredisko if has? 'Stredisko'
  hash[:stredisko_attributes] = stredisko_attributes if has? 'Stredisko'
  hash[:zakazka] = zakazka if has? 'Zakazka'
  hash[:zakazka_attributes] = zakazka_attributes if has? 'Zakazka'
  hash[:cinnost] = cinnost if has? 'Cinnost'
  hash[:cinnost_attributes] = cinnost_attributes if has? 'Cinnost'
  hash[:cenova_hlad] = cenova_hlad if has? 'CenovaHlad'
  hash[:cenova_hlad_attributes] = cenova_hlad_attributes if has? 'CenovaHlad'
  hash[:valuty] = valuty if has? 'Valuty'
  hash[:valuty_attributes] = valuty_attributes if has? 'Valuty'
  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[: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[:pred_pc] = pred_pc if has? 'PredPC'
  hash[:pred_pc_attributes] = pred_pc_attributes if has? 'PredPC'
  hash[:predm_pln] = predm_pln if has? 'PredmPln'
  hash[:predm_pln_attributes] = predm_pln_attributes if has? 'PredmPln'
  hash[:cena_po_sleve] = cena_po_sleve if has? 'CenaPoSleve'
  hash[:cena_po_sleve_attributes] = cena_po_sleve_attributes if has? 'CenaPoSleve'
  hash[:sklad] = sklad.to_h if has? 'Sklad'
  hash[:km_karta] = km_karta.to_h if has? 'KmKarta'
  hash[:seznam_vc] = seznam_vc.map(&:to_h) if has? 'SeznamVC'
  hash[:slozeni] = slozeni.map(&:to_h) if has? 'Slozeni'
  hash[:neskl_polozka] = neskl_polozka.to_h if has? 'NesklPolozka'
  hash[:uzivatelska_pole] = uzivatelska_pole if has? 'UzivatelskaPole'
  hash[:uzivatelska_pole_attributes] = uzivatelska_pole_attributes if has? 'UzivatelskaPole'

  hash
end
typ_ceny() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 58
def typ_ceny
  at 'TypCeny'
end
typ_ceny_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 62
def typ_ceny_attributes
  attributes_at 'TypCeny'
end
typ_transakce() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 162
def typ_transakce
  at 'TypTransakce'
end
typ_transakce_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 166
def typ_transakce_attributes
  attributes_at 'TypTransakce'
end
uzivatelska_pole() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 246
def uzivatelska_pole
  at 'UzivatelskaPole'
end
uzivatelska_pole_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 250
def uzivatelska_pole_attributes
  attributes_at 'UzivatelskaPole'
end
valuty() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 146
def valuty
  at 'Valuty'
end
valuty_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 150
def valuty_attributes
  attributes_at 'Valuty'
end
vyridit_do() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 90
def vyridit_do
  at 'Vyridit_do'
end
vyridit_do_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 94
def vyridit_do_attributes
  attributes_at 'Vyridit_do'
end
vyridit_nej() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 82
def vyridit_nej
  at 'VyriditNej'
end
vyridit_nej_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 86
def vyridit_nej_attributes
  attributes_at 'VyriditNej'
end
vyrizeno() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 98
def vyrizeno
  at 'Vyrizeno'
end
vyrizeno_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 102
def vyrizeno_attributes
  attributes_at 'Vyrizeno'
end
vystaveno() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 74
def vystaveno
  at 'Vystaveno'
end
vystaveno_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 78
def vystaveno_attributes
  attributes_at 'Vystaveno'
end
zakazka() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 122
def zakazka
  at 'Zakazka'
end
zakazka_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 126
def zakazka_attributes
  attributes_at 'Zakazka'
end
zbyva_mj() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 30
def zbyva_mj
  at 'ZbyvaMJ'
end
zbyva_mj_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 34
def zbyva_mj_attributes
  attributes_at 'ZbyvaMJ'
end
zvl_dph() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 186
def zvl_dph
  at 'ZvlDPH'
end
zvl_dph_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 190
def zvl_dph_attributes
  attributes_at 'ZvlDPH'
end
zvl_rezim() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 178
def zvl_rezim
  at 'ZvlRezim'
end
zvl_rezim_attributes() click to toggle source
# File lib/money_s3/parsers/pol_objedn_type.rb, line 182
def zvl_rezim_attributes
  attributes_at 'ZvlRezim'
end