module Pohoda::Parsers::Typ::Groups::MyGroupOfAccount

Public Instance Methods

account_no() click to toggle source
# File lib/pohoda/parsers/typ/groups/my_group_of_account.rb, line 6
def account_no
  at 'typ:accountNo'
end
account_no_attributes() click to toggle source
# File lib/pohoda/parsers/typ/groups/my_group_of_account.rb, line 10
def account_no_attributes
  attributes_at 'typ:accountNo'
end
bank_code() click to toggle source
# File lib/pohoda/parsers/typ/groups/my_group_of_account.rb, line 14
def bank_code
  at 'typ:bankCode'
end
bank_code_attributes() click to toggle source
# File lib/pohoda/parsers/typ/groups/my_group_of_account.rb, line 18
def bank_code_attributes
  attributes_at 'typ:bankCode'
end
to_h() click to toggle source
# File lib/pohoda/parsers/typ/groups/my_group_of_account.rb, line 22
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:account_no] = account_no if has? 'typ:accountNo'
  hash[:account_no_attributes] = account_no_attributes if has? 'typ:accountNo'
  hash[:bank_code] = bank_code if has? 'typ:bankCode'
  hash[:bank_code_attributes] = bank_code_attributes if has? 'typ:bankCode'

  hash
end