class MoneyS3::Parsers::ZamestnanecType

Public Instance Methods

dat_nastup() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 30
def dat_nastup
  at 'DatNastup'
end
dat_nastup_attributes() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 34
def dat_nastup_attributes
  attributes_at 'DatNastup'
end
dat_odchod() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 38
def dat_odchod
  at 'DatOdchod'
end
dat_odchod_attributes() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 42
def dat_odchod_attributes
  attributes_at 'DatOdchod'
end
jmeno() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 14
def jmeno
  at 'Jmeno'
end
jmeno_attributes() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 18
def jmeno_attributes
  attributes_at 'Jmeno'
end
os_cislo() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 6
def os_cislo
  at 'OsCislo'
end
os_cislo_attributes() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 10
def os_cislo_attributes
  attributes_at 'OsCislo'
end
seznam_mzdovych_obdobi() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 46
def seznam_mzdovych_obdobi
  array_of_at(MzdoveObdobiType, ['SeznamMzdovychObdobi', 'MzdoveObdobi'])
end
stredisko() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 22
def stredisko
  at 'Stredisko'
end
stredisko_attributes() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 26
def stredisko_attributes
  attributes_at 'Stredisko'
end
to_h() click to toggle source
# File lib/money_s3/parsers/zamestnanec_type.rb, line 50
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:os_cislo] = os_cislo if has? 'OsCislo'
  hash[:os_cislo_attributes] = os_cislo_attributes if has? 'OsCislo'
  hash[:jmeno] = jmeno if has? 'Jmeno'
  hash[:jmeno_attributes] = jmeno_attributes if has? 'Jmeno'
  hash[:stredisko] = stredisko if has? 'Stredisko'
  hash[:stredisko_attributes] = stredisko_attributes if has? 'Stredisko'
  hash[:dat_nastup] = dat_nastup if has? 'DatNastup'
  hash[:dat_nastup_attributes] = dat_nastup_attributes if has? 'DatNastup'
  hash[:dat_odchod] = dat_odchod if has? 'DatOdchod'
  hash[:dat_odchod_attributes] = dat_odchod_attributes if has? 'DatOdchod'
  hash[:seznam_mzdovych_obdobi] = seznam_mzdovych_obdobi.map(&:to_h) if has? 'SeznamMzdovychObdobi'

  hash
end