class MoneyS3::Parsers::EkategorieType

Public Instance Methods

descript() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 22
def descript
  at 'Descript'
end
descript_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 26
def descript_attributes
  attributes_at 'Descript'
end
e_shop_info() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 46
def e_shop_info
  submodel_at(EShopInfo, 'eShopInfo')
end
id() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 6
def id
  at 'ID'
end
id_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 10
def id_attributes
  attributes_at 'ID'
end
in_changed() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 30
def in_changed
  at 'IN_Changed'
end
in_changed_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 34
def in_changed_attributes
  attributes_at 'IN_Changed'
end
name() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 14
def name
  at 'Name'
end
name_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 18
def name_attributes
  attributes_at 'Name'
end
no_public() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 38
def no_public
  at 'NoPublic'
end
no_public_attributes() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 42
def no_public_attributes
  attributes_at 'NoPublic'
end
seznam_podr_kategorii() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 50
def seznam_podr_kategorii
  array_of_at(EkategorieType, ['SeznamPodrKategorii', 'eKategorie'])
end
to_h() click to toggle source
# File lib/money_s3/parsers/ekategorie_type.rb, line 54
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'ID'
  hash[:id_attributes] = id_attributes if has? 'ID'
  hash[:name] = name if has? 'Name'
  hash[:name_attributes] = name_attributes if has? 'Name'
  hash[:descript] = descript if has? 'Descript'
  hash[:descript_attributes] = descript_attributes if has? 'Descript'
  hash[:in_changed] = in_changed if has? 'IN_Changed'
  hash[:in_changed_attributes] = in_changed_attributes if has? 'IN_Changed'
  hash[:no_public] = no_public if has? 'NoPublic'
  hash[:no_public_attributes] = no_public_attributes if has? 'NoPublic'
  hash[:e_shop_info] = e_shop_info.to_h if has? 'eShopInfo'
  hash[:seznam_podr_kategorii] = seznam_podr_kategorii.map(&:to_h) if has? 'SeznamPodrKategorii'

  hash
end