class Pohoda::Parsers::Lst::ListAccountingDoubleEntryType

Public Instance Methods

item_accounting() click to toggle source
# File lib/pohoda/parsers/lst/list_accounting_double_entry_type.rb, line 7
def item_accounting
  array_of_at(Lst::ItemAccountingTypeDoubleEntry, ['lst:itemAccounting'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_accounting_double_entry_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:item_accounting] = item_accounting.map(&:to_h) if has? 'lst:itemAccounting'

  hash
  super.merge(hash)
end