class MoneyS3::Parsers::PolFakturyType

Public Instance Methods

cena() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 38
def cena
  at 'Cena'
end
cena_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 42
def cena_attributes
  attributes_at 'Cena'
end
cena_po_sleve() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 126
def cena_po_sleve
  at 'CenaPoSleve'
end
cena_po_sleve_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 130
def cena_po_sleve_attributes
  attributes_at 'CenaPoSleve'
end
cena_typ() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 50
def cena_typ
  at 'CenaTyp'
end
cena_typ_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 54
def cena_typ_attributes
  attributes_at 'CenaTyp'
end
cinnost() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 66
def cinnost
  at 'Cinnost'
end
cinnost_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 70
def cinnost_attributes
  attributes_at 'Cinnost'
end
kod_dph() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 82
def kod_dph
  at 'KodDPH'
end
kod_dph_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 86
def kod_dph_attributes
  attributes_at 'KodDPH'
end
neskl_polozka() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 122
def neskl_polozka
  submodel_at(NesklPolozka, 'NesklPolozka')
end
pocet_mj() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 22
def pocet_mj
  at 'PocetMJ'
end
pocet_mj_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 26
def pocet_mj_attributes
  attributes_at 'PocetMJ'
end
popis() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 6
def popis
  at 'Popis'
end
popis_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 10
def popis_attributes
  attributes_at 'Popis'
end
poradi() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 74
def poradi
  at 'Poradi'
end
poradi_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 78
def poradi_attributes
  attributes_at 'Poradi'
end
poznamka() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 14
def poznamka
  at 'Poznamka'
end
poznamka_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 18
def poznamka_attributes
  attributes_at 'Poznamka'
end
predkontac() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 106
def predkontac
  at 'Predkontac'
end
predkontac_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 110
def predkontac_attributes
  attributes_at 'Predkontac'
end
rezim_eet() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 150
def rezim_eet
  at 'RezimEET'
end
rezim_eet_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 154
def rezim_eet_attributes
  attributes_at 'RezimEET'
end
sazba_dph() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 30
def sazba_dph
  at 'SazbaDPH'
end
sazba_dph_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 34
def sazba_dph_attributes
  attributes_at 'SazbaDPH'
end
seznam_vazeb() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 162
def seznam_vazeb
  submodel_at(SeznamVazeb, 'SeznamVazeb')
end
skl_polozka() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 158
def skl_polozka
  submodel_at(PolSklDoklType, 'SklPolozka')
end
sleva() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 58
def sleva
  at 'Sleva'
end
sleva_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 62
def sleva_attributes
  attributes_at 'Sleva'
end
souhrn_dph() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 46
def souhrn_dph
  submodel_at(SouhrnDPHPolType, 'SouhrnDPH')
end
stredisko() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 90
def stredisko
  at 'Stredisko'
end
stredisko_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 94
def stredisko_attributes
  attributes_at 'Stredisko'
end
to_h() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 166
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[:sazba_dph] = sazba_dph if has? 'SazbaDPH'
  hash[:sazba_dph_attributes] = sazba_dph_attributes if has? 'SazbaDPH'
  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[:cena_typ] = cena_typ if has? 'CenaTyp'
  hash[:cena_typ_attributes] = cena_typ_attributes if has? 'CenaTyp'
  hash[:sleva] = sleva if has? 'Sleva'
  hash[:sleva_attributes] = sleva_attributes if has? 'Sleva'
  hash[:cinnost] = cinnost if has? 'Cinnost'
  hash[:cinnost_attributes] = cinnost_attributes if has? 'Cinnost'
  hash[:poradi] = poradi if has? 'Poradi'
  hash[:poradi_attributes] = poradi_attributes if has? 'Poradi'
  hash[:kod_dph] = kod_dph if has? 'KodDPH'
  hash[:kod_dph_attributes] = kod_dph_attributes if has? 'KodDPH'
  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[:predkontac] = predkontac if has? 'Predkontac'
  hash[:predkontac_attributes] = predkontac_attributes if has? 'Predkontac'
  hash[:valuty] = valuty if has? 'Valuty'
  hash[:valuty_attributes] = valuty_attributes if has? 'Valuty'
  hash[:neskl_polozka] = neskl_polozka.to_h if has? 'NesklPolozka'
  hash[:cena_po_sleve] = cena_po_sleve if has? 'CenaPoSleve'
  hash[:cena_po_sleve_attributes] = cena_po_sleve_attributes if has? 'CenaPoSleve'
  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[:skl_polozka] = skl_polozka.to_h if has? 'SklPolozka'
  hash[:seznam_vazeb] = seznam_vazeb.to_h if has? 'SeznamVazeb'

  hash
end
valuty() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 114
def valuty
  at 'Valuty'
end
valuty_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 118
def valuty_attributes
  attributes_at 'Valuty'
end
zakazka() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 98
def zakazka
  at 'Zakazka'
end
zakazka_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 102
def zakazka_attributes
  attributes_at 'Zakazka'
end
zvl_dph() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 142
def zvl_dph
  at 'ZvlDPH'
end
zvl_dph_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 146
def zvl_dph_attributes
  attributes_at 'ZvlDPH'
end
zvl_rezim() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 134
def zvl_rezim
  at 'ZvlRezim'
end
zvl_rezim_attributes() click to toggle source
# File lib/money_s3/parsers/pol_faktury_type.rb, line 138
def zvl_rezim_attributes
  attributes_at 'ZvlRezim'
end