class Pohoda::Parsers::Lst::CreateAccountingDoubleEntryResponseType

Public Instance Methods

create_accounting_response() click to toggle source
# File lib/pohoda/parsers/lst/create_accounting_double_entry_response_type.rb, line 11
def create_accounting_response
  array_of_at(Lst::CreateAccountingResponseType, ['lst:createAccountingResponse'])
end
import_details() click to toggle source
# File lib/pohoda/parsers/lst/create_accounting_double_entry_response_type.rb, line 7
def import_details
  array_of_at(Rdc::DetailType, ['lst:importDetails', 'rdc:detail'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/lst/create_accounting_double_entry_response_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:import_details] = import_details.map(&:to_h) if has? 'lst:importDetails'
  hash[:create_accounting_response] = create_accounting_response.map(&:to_h) if has? 'lst:createAccountingResponse'

  hash
end