class Pohoda::Parsers::Lst::ListInvoiceType

Public Instance Methods

invoice() click to toggle source
# File lib/pohoda/parsers/lst/list_invoice_type.rb, line 7
def invoice
  array_of_at(Inv::InvoiceType, ['lst:invoice'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_invoice_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

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

  hash
  super.merge(hash)
end