class Pohoda::Parsers::Lst::ListCashRegisterType

Public Instance Methods

cash_register() click to toggle source
# File lib/pohoda/parsers/lst/list_cash_register_type.rb, line 7
def cash_register
  array_of_at(Csh::CashRegisterType, ['lst:cashRegister'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_cash_register_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

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

  hash
  super.merge(hash)
end