class Pohoda::Parsers::Lst::ListPaymentType

Public Instance Methods

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

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

  hash
  super.merge(hash)
end