class Pohoda::Parsers::Bka::BankAccountType

Public Instance Methods

action_type() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_type.rb, line 7
def action_type
  at 'bka:actionType'
end
action_type_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_type.rb, line 11
def action_type_attributes
  attributes_at 'bka:actionType'
end
bank_account_header() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_type.rb, line 15
def bank_account_header
  submodel_at(Bka::BankAccountHeaderType, 'bka:bankAccountHeader')
end
to_h() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_type.rb, line 19
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:action_type] = action_type if has? 'bka:actionType'
  hash[:action_type_attributes] = action_type_attributes if has? 'bka:actionType'
  hash[:bank_account_header] = bank_account_header.to_h if has? 'bka:bankAccountHeader'

  hash
end