class Pohoda::Parsers::Bka::BankAccountHeaderType

Public Instance Methods

analytic_account() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 75
def analytic_account
  submodel_at(Typ::RefType, 'bka:analyticAccount')
end
cancelled() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 83
def cancelled
  at 'bka:cancelled'
end
cancelled_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 87
def cancelled_attributes
  attributes_at 'bka:cancelled'
end
code_bank() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 35
def code_bank
  at 'bka:codeBank'
end
code_bank_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 39
def code_bank_attributes
  attributes_at 'bka:codeBank'
end
currency_bank_account() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 79
def currency_bank_account
  submodel_at(Bka::CurrencyBankAccountType, 'bka:currencyBankAccount')
end
ext_id() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 15
def ext_id
  submodel_at(Typ::ExtIdType, 'bka:extId')
end
homebanking() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 91
def homebanking
  at 'bka:homebanking'
end
homebanking_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 95
def homebanking_attributes
  attributes_at 'bka:homebanking'
end
iban() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 59
def iban
  at 'bka:IBAN'
end
iban_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 63
def iban_attributes
  attributes_at 'bka:IBAN'
end
id() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 7
def id
  at 'bka:id'
end
id_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 11
def id_attributes
  attributes_at 'bka:id'
end
ids() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 19
def ids
  at 'bka:ids'
end
ids_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 23
def ids_attributes
  attributes_at 'bka:ids'
end
name_bank() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 43
def name_bank
  at 'bka:nameBank'
end
name_bank_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 47
def name_bank_attributes
  attributes_at 'bka:nameBank'
end
note() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 107
def note
  at 'bka:note'
end
note_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 111
def note_attributes
  attributes_at 'bka:note'
end
number_account() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 27
def number_account
  at 'bka:numberAccount'
end
number_account_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 31
def number_account_attributes
  attributes_at 'bka:numberAccount'
end
pay_terminal() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 99
def pay_terminal
  at 'bka:payTerminal'
end
pay_terminal_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 103
def pay_terminal_attributes
  attributes_at 'bka:payTerminal'
end
swift() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 67
def swift
  at 'bka:SWIFT'
end
swift_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 71
def swift_attributes
  attributes_at 'bka:SWIFT'
end
sym_spec() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 51
def sym_spec
  at 'bka:symSpec'
end
sym_spec_attributes() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 55
def sym_spec_attributes
  attributes_at 'bka:symSpec'
end
to_h() click to toggle source
# File lib/pohoda/parsers/bka/bank_account_header_type.rb, line 115
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'bka:id'
  hash[:id_attributes] = id_attributes if has? 'bka:id'
  hash[:ext_id] = ext_id.to_h if has? 'bka:extId'
  hash[:ids] = ids if has? 'bka:ids'
  hash[:ids_attributes] = ids_attributes if has? 'bka:ids'
  hash[:number_account] = number_account if has? 'bka:numberAccount'
  hash[:number_account_attributes] = number_account_attributes if has? 'bka:numberAccount'
  hash[:code_bank] = code_bank if has? 'bka:codeBank'
  hash[:code_bank_attributes] = code_bank_attributes if has? 'bka:codeBank'
  hash[:name_bank] = name_bank if has? 'bka:nameBank'
  hash[:name_bank_attributes] = name_bank_attributes if has? 'bka:nameBank'
  hash[:sym_spec] = sym_spec if has? 'bka:symSpec'
  hash[:sym_spec_attributes] = sym_spec_attributes if has? 'bka:symSpec'
  hash[:iban] = iban if has? 'bka:IBAN'
  hash[:iban_attributes] = iban_attributes if has? 'bka:IBAN'
  hash[:swift] = swift if has? 'bka:SWIFT'
  hash[:swift_attributes] = swift_attributes if has? 'bka:SWIFT'
  hash[:analytic_account] = analytic_account.to_h if has? 'bka:analyticAccount'
  hash[:currency_bank_account] = currency_bank_account.to_h if has? 'bka:currencyBankAccount'
  hash[:cancelled] = cancelled if has? 'bka:cancelled'
  hash[:cancelled_attributes] = cancelled_attributes if has? 'bka:cancelled'
  hash[:homebanking] = homebanking if has? 'bka:homebanking'
  hash[:homebanking_attributes] = homebanking_attributes if has? 'bka:homebanking'
  hash[:pay_terminal] = pay_terminal if has? 'bka:payTerminal'
  hash[:pay_terminal_attributes] = pay_terminal_attributes if has? 'bka:payTerminal'
  hash[:note] = note if has? 'bka:note'
  hash[:note_attributes] = note_attributes if has? 'bka:note'

  hash
end