class Pohoda::Parsers::Lst::CreateAccountingDoubleEntryType

Public Instance Methods

create_accounting() click to toggle source
# File lib/pohoda/parsers/lst/create_accounting_double_entry_type.rb, line 7
def create_accounting
  at 'lst:createAccounting'
end
create_accounting_attributes() click to toggle source
# File lib/pohoda/parsers/lst/create_accounting_double_entry_type.rb, line 11
def create_accounting_attributes
  attributes_at 'lst:createAccounting'
end
to_h() click to toggle source
# File lib/pohoda/parsers/lst/create_accounting_double_entry_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:create_accounting] = create_accounting if has? 'lst:createAccounting'
  hash[:create_accounting_attributes] = create_accounting_attributes if has? 'lst:createAccounting'

  hash
end