class Pohoda::Parsers::Lst::ListAccountingFormOfPaymentType

Public Instance Methods

accounting_form_of_payment() click to toggle source
# File lib/pohoda/parsers/lst/list_accounting_form_of_payment_type.rb, line 7
def accounting_form_of_payment
  array_of_at(Afp::AccountingFormOfPaymentTypeRoot, ['lst:accountingFormOfPayment'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_accounting_form_of_payment_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

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

  hash
  super.merge(hash)
end