class Pohoda::Parsers::Typ::AccountType

Public Instance Methods

account_no() click to toggle source
# File lib/pohoda/parsers/typ/account_type.rb, line 23
def account_no
  at 'typ:accountNo'
end
account_no_attributes() click to toggle source
# File lib/pohoda/parsers/typ/account_type.rb, line 27
def account_no_attributes
  attributes_at 'typ:accountNo'
end
bank_code() click to toggle source
# File lib/pohoda/parsers/typ/account_type.rb, line 31
def bank_code
  at 'typ:bankCode'
end
bank_code_attributes() click to toggle source
# File lib/pohoda/parsers/typ/account_type.rb, line 35
def bank_code_attributes
  attributes_at 'typ:bankCode'
end
id() click to toggle source
# File lib/pohoda/parsers/typ/account_type.rb, line 7
def id
  at 'typ:id'
end
id_attributes() click to toggle source
# File lib/pohoda/parsers/typ/account_type.rb, line 11
def id_attributes
  attributes_at 'typ:id'
end
ids() click to toggle source
# File lib/pohoda/parsers/typ/account_type.rb, line 15
def ids
  at 'typ:ids'
end
ids_attributes() click to toggle source
# File lib/pohoda/parsers/typ/account_type.rb, line 19
def ids_attributes
  attributes_at 'typ:ids'
end
to_h() click to toggle source
# File lib/pohoda/parsers/typ/account_type.rb, line 39
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'typ:id'
  hash[:id_attributes] = id_attributes if has? 'typ:id'
  hash[:ids] = ids if has? 'typ:ids'
  hash[:ids_attributes] = ids_attributes if has? 'typ:ids'
  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