class MoneyS3::Parsers::CenovaHladinaType

Public Instance Methods

ceny() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 42
def ceny
  at 'Ceny'
end
ceny_attributes() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 46
def ceny_attributes
  attributes_at 'Ceny'
end
definice_ceny() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 50
def definice_ceny
  submodel_at(DefiniceCeny, 'definiceCeny')
end
mena() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 30
def mena
  submodel_at(MenaType, 'Mena')
end
nazev() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 14
def nazev
  at 'Nazev'
end
nazev_attributes() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 18
def nazev_attributes
  attributes_at 'Nazev'
end
pozn() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 22
def pozn
  at 'Pozn'
end
pozn_attributes() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 26
def pozn_attributes
  attributes_at 'Pozn'
end
skup() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 34
def skup
  at 'Skup'
end
skup_attributes() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 38
def skup_attributes
  attributes_at 'Skup'
end
to_h() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 54
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[:pozn] = pozn if has? 'Pozn'
  hash[:pozn_attributes] = pozn_attributes if has? 'Pozn'
  hash[:mena] = mena.to_h if has? 'Mena'
  hash[:skup] = skup if has? 'Skup'
  hash[:skup_attributes] = skup_attributes if has? 'Skup'
  hash[:ceny] = ceny if has? 'Ceny'
  hash[:ceny_attributes] = ceny_attributes if has? 'Ceny'
  hash[:definice_ceny] = definice_ceny.to_h if has? 'definiceCeny'

  hash
end
zkrat() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 6
def zkrat
  at 'Zkrat'
end
zkrat_attributes() click to toggle source
# File lib/money_s3/parsers/cenova_hladina_type.rb, line 10
def zkrat_attributes
  attributes_at 'Zkrat'
end