class MoneyS3::Parsers::MojeFirmaType

Public Instance Methods

adresa() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 14
def adresa
  submodel_at(AdresaType, 'Adresa')
end
banka() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 94
def banka
  at 'Banka'
end
banka_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 98
def banka_attributes
  attributes_at 'Banka'
end
dic() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 78
def dic
  at 'DIC'
end
dic_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 82
def dic_attributes
  attributes_at 'DIC'
end
dicsk() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 86
def dicsk
  at 'DICSK'
end
dicsk_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 90
def dicsk_attributes
  attributes_at 'DICSK'
end
e_mail() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 54
def e_mail
  at 'EMail'
end
e_mail_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 58
def e_mail_attributes
  attributes_at 'EMail'
end
fakt_adresa() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 38
def fakt_adresa
  submodel_at(AdresaType, 'FaktAdresa')
end
fakt_nazev() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 30
def fakt_nazev
  at 'FaktNazev'
end
fakt_nazev_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 34
def fakt_nazev_attributes
  attributes_at 'FaktNazev'
end
fax() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 46
def fax
  submodel_at(TelefonType, 'Fax')
end
fyz_osoba() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 126
def fyz_osoba
  at 'FyzOsoba'
end
fyz_osoba_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 130
def fyz_osoba_attributes
  attributes_at 'FyzOsoba'
end
ico() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 70
def ico
  at 'ICO'
end
ico_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 74
def ico_attributes
  attributes_at 'ICO'
end
kod_banky() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 110
def kod_banky
  at 'KodBanky'
end
kod_banky_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 114
def kod_banky_attributes
  attributes_at 'KodBanky'
end
kod_partn() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 118
def kod_partn
  at 'KodPartn'
end
kod_partn_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 122
def kod_partn_attributes
  attributes_at 'KodPartn'
end
mena_kod() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 150
def mena_kod
  at 'MenaKod'
end
mena_kod_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 154
def mena_kod_attributes
  attributes_at 'MenaKod'
end
mena_symb() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 142
def mena_symb
  at 'MenaSymb'
end
mena_symb_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 146
def mena_symb_attributes
  attributes_at 'MenaSymb'
end
mobil() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 50
def mobil
  submodel_at(TelefonType, 'Mobil')
end
nazev() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 6
def nazev
  at 'Nazev'
end
nazev_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 10
def nazev_attributes
  attributes_at 'Nazev'
end
obch_adresa() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 26
def obch_adresa
  submodel_at(AdresaType, 'ObchAdresa')
end
obch_nazev() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 18
def obch_nazev
  at 'ObchNazev'
end
obch_nazev_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 22
def obch_nazev_attributes
  attributes_at 'ObchNazev'
end
seznam_bank_spojeni() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 158
def seznam_bank_spojeni
  array_of_at(BankSpojeniType, ['SeznamBankSpojeni', 'BankSpojeni'])
end
spisova_znacka() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 134
def spisova_znacka
  at 'SpisovaZnacka'
end
spisova_znacka_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 138
def spisova_znacka_attributes
  attributes_at 'SpisovaZnacka'
end
tel() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 42
def tel
  submodel_at(TelefonType, 'Tel')
end
to_h() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 162
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:nazev] = nazev if has? 'Nazev'
  hash[:nazev_attributes] = nazev_attributes if has? 'Nazev'
  hash[:adresa] = adresa.to_h if has? 'Adresa'
  hash[:obch_nazev] = obch_nazev if has? 'ObchNazev'
  hash[:obch_nazev_attributes] = obch_nazev_attributes if has? 'ObchNazev'
  hash[:obch_adresa] = obch_adresa.to_h if has? 'ObchAdresa'
  hash[:fakt_nazev] = fakt_nazev if has? 'FaktNazev'
  hash[:fakt_nazev_attributes] = fakt_nazev_attributes if has? 'FaktNazev'
  hash[:fakt_adresa] = fakt_adresa.to_h if has? 'FaktAdresa'
  hash[:tel] = tel.to_h if has? 'Tel'
  hash[:fax] = fax.to_h if has? 'Fax'
  hash[:mobil] = mobil.to_h if has? 'Mobil'
  hash[:e_mail] = e_mail if has? 'EMail'
  hash[:e_mail_attributes] = e_mail_attributes if has? 'EMail'
  hash[:www] = www if has? 'WWW'
  hash[:www_attributes] = www_attributes if has? 'WWW'
  hash[:ico] = ico if has? 'ICO'
  hash[:ico_attributes] = ico_attributes if has? 'ICO'
  hash[:dic] = dic if has? 'DIC'
  hash[:dic_attributes] = dic_attributes if has? 'DIC'
  hash[:dicsk] = dicsk if has? 'DICSK'
  hash[:dicsk_attributes] = dicsk_attributes if has? 'DICSK'
  hash[:banka] = banka if has? 'Banka'
  hash[:banka_attributes] = banka_attributes if has? 'Banka'
  hash[:ucet] = ucet if has? 'Ucet'
  hash[:ucet_attributes] = ucet_attributes if has? 'Ucet'
  hash[:kod_banky] = kod_banky if has? 'KodBanky'
  hash[:kod_banky_attributes] = kod_banky_attributes if has? 'KodBanky'
  hash[:kod_partn] = kod_partn if has? 'KodPartn'
  hash[:kod_partn_attributes] = kod_partn_attributes if has? 'KodPartn'
  hash[:fyz_osoba] = fyz_osoba if has? 'FyzOsoba'
  hash[:fyz_osoba_attributes] = fyz_osoba_attributes if has? 'FyzOsoba'
  hash[:spisova_znacka] = spisova_znacka if has? 'SpisovaZnacka'
  hash[:spisova_znacka_attributes] = spisova_znacka_attributes if has? 'SpisovaZnacka'
  hash[:mena_symb] = mena_symb if has? 'MenaSymb'
  hash[:mena_symb_attributes] = mena_symb_attributes if has? 'MenaSymb'
  hash[:mena_kod] = mena_kod if has? 'MenaKod'
  hash[:mena_kod_attributes] = mena_kod_attributes if has? 'MenaKod'
  hash[:seznam_bank_spojeni] = seznam_bank_spojeni.map(&:to_h) if has? 'SeznamBankSpojeni'

  hash
end
ucet() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 102
def ucet
  at 'Ucet'
end
ucet_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 106
def ucet_attributes
  attributes_at 'Ucet'
end
www() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 62
def www
  at 'WWW'
end
www_attributes() click to toggle source
# File lib/money_s3/parsers/moje_firma_type.rb, line 66
def www_attributes
  attributes_at 'WWW'
end