class Pohoda::Parsers::Afp::AccountingFormOfPaymentTypeRoot

Public Instance Methods

accounting_form_of_payment_header() click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_type_root.rb, line 7
def accounting_form_of_payment_header
  submodel_at(Afp::AccountingFormOfPaymentHeaderType, 'afp:accountingFormOfPaymentHeader')
end
to_h() click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_type_root.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:accounting_form_of_payment_header] = accounting_form_of_payment_header.to_h if has? 'afp:accountingFormOfPaymentHeader'

  hash
end