Class: MoneyS3::Parsers::FirmaType

Inherits:
Object
  • Object
show all
Includes:
ParserCore::BaseParser
Defined in:
lib/money_s3/parsers/firma_type.rb

Direct Known Subclasses

Firma

Instance Method Summary collapse

Instance Method Details

#adr_kliceObject



206
207
208
# File 'lib/money_s3/parsers/firma_type.rb', line 206

def adr_klice
  at 'AdrKlice'
end

#adr_klice_attributesObject



210
211
212
# File 'lib/money_s3/parsers/firma_type.rb', line 210

def adr_klice_attributes
  attributes_at 'AdrKlice'
end

#adresaObject



30
31
32
# File 'lib/money_s3/parsers/firma_type.rb', line 30

def adresa
  submodel_at(AdresaType, 'Adresa')
end

#bankaObject



158
159
160
# File 'lib/money_s3/parsers/firma_type.rb', line 158

def banka
  at 'Banka'
end

#banka_attributesObject



162
163
164
# File 'lib/money_s3/parsers/firma_type.rb', line 162

def banka_attributes
  attributes_at 'Banka'
end

#cenikyObject



222
223
224
# File 'lib/money_s3/parsers/firma_type.rb', line 222

def ceniky
  at 'Ceniky'
end

#ceniky_attributesObject



226
227
228
# File 'lib/money_s3/parsers/firma_type.rb', line 226

def ceniky_attributes
  attributes_at 'Ceniky'
end

#cenyObject



214
215
216
# File 'lib/money_s3/parsers/firma_type.rb', line 214

def ceny
  at 'Ceny'
end

#ceny_attributesObject



218
219
220
# File 'lib/money_s3/parsers/firma_type.rb', line 218

def ceny_attributes
  attributes_at 'Ceny'
end

#cinnostiObject



198
199
200
# File 'lib/money_s3/parsers/firma_type.rb', line 198

def cinnosti
  at 'Cinnosti'
end

#cinnosti_attributesObject



202
203
204
# File 'lib/money_s3/parsers/firma_type.rb', line 202

def cinnosti_attributes
  attributes_at 'Cinnosti'
end

#dicObject



118
119
120
# File 'lib/money_s3/parsers/firma_type.rb', line 118

def dic
  at 'DIC'
end

#dic_attributesObject



122
123
124
# File 'lib/money_s3/parsers/firma_type.rb', line 122

def dic_attributes
  attributes_at 'DIC'
end

#dicskObject



126
127
128
# File 'lib/money_s3/parsers/firma_type.rb', line 126

def dicsk
  at 'DICSK'
end

#dicsk_attributesObject



130
131
132
# File 'lib/money_s3/parsers/firma_type.rb', line 130

def dicsk_attributes
  attributes_at 'DICSK'
end

#dokumentyObject



362
363
364
# File 'lib/money_s3/parsers/firma_type.rb', line 362

def dokumenty
  array_of_at(String, ['Dokumenty', 'Dokument'])
end

#e_mailObject



70
71
72
# File 'lib/money_s3/parsers/firma_type.rb', line 70

def e_mail
  at 'EMail'
end

#e_mail_attributesObject



74
75
76
# File 'lib/money_s3/parsers/firma_type.rb', line 74

def e_mail_attributes
  attributes_at 'EMail'
end

#e_mail_kopieObject



78
79
80
# File 'lib/money_s3/parsers/firma_type.rb', line 78

def e_mail_kopie
  at 'EMailKopie'
end

#e_mail_kopie_attributesObject



82
83
84
# File 'lib/money_s3/parsers/firma_type.rb', line 82

def e_mail_kopie_attributes
  attributes_at 'EMailKopie'
end

#e_mail_skrytObject



86
87
88
# File 'lib/money_s3/parsers/firma_type.rb', line 86

def e_mail_skryt
  at 'EMailSkryt'
end

#e_mail_skryt_attributesObject



90
91
92
# File 'lib/money_s3/parsers/firma_type.rb', line 90

def e_mail_skryt_attributes
  attributes_at 'EMailSkryt'
end

#eshopObject



342
343
344
# File 'lib/money_s3/parsers/firma_type.rb', line 342

def eshop
  submodel_at(Eshop2, 'eshop')
end

#fakt_adresaObject



54
55
56
# File 'lib/money_s3/parsers/firma_type.rb', line 54

def fakt_adresa
  submodel_at(AdresaType, 'FaktAdresa')
end

#fakt_nazevObject



46
47
48
# File 'lib/money_s3/parsers/firma_type.rb', line 46

def fakt_nazev
  at 'FaktNazev'
end

#fakt_nazev_attributesObject



50
51
52
# File 'lib/money_s3/parsers/firma_type.rb', line 50

def fakt_nazev_attributes
  attributes_at 'FaktNazev'
end

#faxObject



62
63
64
# File 'lib/money_s3/parsers/firma_type.rb', line 62

def fax
  submodel_at(TelefonType, 'Fax')
end

#flag_slevaObject



294
295
296
# File 'lib/money_s3/parsers/firma_type.rb', line 294

def flag_sleva
  at 'FlagSleva'
end

#flag_sleva_attributesObject



298
299
300
# File 'lib/money_s3/parsers/firma_type.rb', line 298

def flag_sleva_attributes
  attributes_at 'FlagSleva'
end

#fyz_osobaObject



142
143
144
# File 'lib/money_s3/parsers/firma_type.rb', line 142

def fyz_osoba
  at 'FyzOsoba'
end

#fyz_osoba_attributesObject



146
147
148
# File 'lib/money_s3/parsers/firma_type.rb', line 146

def fyz_osoba_attributes
  attributes_at 'FyzOsoba'
end

#guidObject



6
7
8
# File 'lib/money_s3/parsers/firma_type.rb', line 6

def guid
  at 'GUID'
end

#guid_attributesObject



10
11
12
# File 'lib/money_s3/parsers/firma_type.rb', line 10

def guid_attributes
  attributes_at 'GUID'
end

#icoObject



110
111
112
# File 'lib/money_s3/parsers/firma_type.rb', line 110

def ico
  at 'ICO'
end

#ico_attributesObject



114
115
116
# File 'lib/money_s3/parsers/firma_type.rb', line 114

def ico_attributes
  attributes_at 'ICO'
end

#isdocObject



334
335
336
# File 'lib/money_s3/parsers/firma_type.rb', line 334

def isdoc
  at 'ISDOC'
end

#isdoc_attributesObject



338
339
340
# File 'lib/money_s3/parsers/firma_type.rb', line 338

def isdoc_attributes
  attributes_at 'ISDOC'
end

#kod_bankyObject



174
175
176
# File 'lib/money_s3/parsers/firma_type.rb', line 174

def kod_banky
  at 'KodBanky'
end

#kod_banky_attributesObject



178
179
180
# File 'lib/money_s3/parsers/firma_type.rb', line 178

def kod_banky_attributes
  attributes_at 'KodBanky'
end

#kod_dan_urObject



150
151
152
# File 'lib/money_s3/parsers/firma_type.rb', line 150

def kod_dan_ur
  at 'KodDanUr'
end

#kod_dan_ur_attributesObject



154
155
156
# File 'lib/money_s3/parsers/firma_type.rb', line 154

def kod_dan_ur_attributes
  attributes_at 'KodDanUr'
end

#kod_partnObject



326
327
328
# File 'lib/money_s3/parsers/firma_type.rb', line 326

def kod_partn
  at 'KodPartn'
end

#kod_partn_attributesObject



330
331
332
# File 'lib/money_s3/parsers/firma_type.rb', line 330

def kod_partn_attributes
  attributes_at 'KodPartn'
end

#kreditObject



230
231
232
# File 'lib/money_s3/parsers/firma_type.rb', line 230

def kredit
  at 'Kredit'
end

#kredit_attributesObject



234
235
236
# File 'lib/money_s3/parsers/firma_type.rb', line 234

def kredit_attributes
  attributes_at 'Kredit'
end

#kredit_valObject



238
239
240
# File 'lib/money_s3/parsers/firma_type.rb', line 238

def kredit_val
  at 'KreditVal'
end

#kredit_val_attributesObject



242
243
244
# File 'lib/money_s3/parsers/firma_type.rb', line 242

def kredit_val_attributes
  attributes_at 'KreditVal'
end

#mailObject



302
303
304
# File 'lib/money_s3/parsers/firma_type.rb', line 302

def mail
  at 'Mail'
end

#mail_attributesObject



306
307
308
# File 'lib/money_s3/parsers/firma_type.rb', line 306

def mail_attributes
  attributes_at 'Mail'
end

#mobilObject



66
67
68
# File 'lib/money_s3/parsers/firma_type.rb', line 66

def mobil
  submodel_at(TelefonType, 'Mobil')
end

#nazevObject



14
15
16
# File 'lib/money_s3/parsers/firma_type.rb', line 14

def nazev
  at 'Nazev'
end

#nazev_attributesObject



18
19
20
# File 'lib/money_s3/parsers/firma_type.rb', line 18

def nazev_attributes
  attributes_at 'Nazev'
end

#obch_adresaObject



42
43
44
# File 'lib/money_s3/parsers/firma_type.rb', line 42

def obch_adresa
  submodel_at(AdresaType, 'ObchAdresa')
end

#obch_nazevObject



34
35
36
# File 'lib/money_s3/parsers/firma_type.rb', line 34

def obch_nazev
  at 'ObchNazev'
end

#obch_nazev_attributesObject



38
39
40
# File 'lib/money_s3/parsers/firma_type.rb', line 38

def obch_nazev_attributes
  attributes_at 'ObchNazev'
end

#odesl_upomObject



278
279
280
# File 'lib/money_s3/parsers/firma_type.rb', line 278

def odesl_upom
  at 'OdeslUpom'
end

#odesl_upom_attributesObject



282
283
284
# File 'lib/money_s3/parsers/firma_type.rb', line 282

def odesl_upom_attributes
  attributes_at 'OdeslUpom'
end

#osobaObject



346
347
348
# File 'lib/money_s3/parsers/firma_type.rb', line 346

def osoba
  array_of_at(OsobaType, ['Osoba'])
end

#platce_dphObject



134
135
136
# File 'lib/money_s3/parsers/firma_type.rb', line 134

def platce_dph
  at 'PlatceDPH'
end

#platce_dph_attributesObject



138
139
140
# File 'lib/money_s3/parsers/firma_type.rb', line 138

def platce_dph_attributes
  attributes_at 'PlatceDPH'
end

#poznamkaObject



318
319
320
# File 'lib/money_s3/parsers/firma_type.rb', line 318

def poznamka
  at 'Poznamka'
end

#poznamka_attributesObject



322
323
324
# File 'lib/money_s3/parsers/firma_type.rb', line 322

def poznamka_attributes
  attributes_at 'Poznamka'
end

#seznam_bank_spojeniObject



350
351
352
# File 'lib/money_s3/parsers/firma_type.rb', line 350

def seznam_bank_spojeni
  array_of_at(BankSpojeniType, ['SeznamBankSpojeni', 'BankSpojeni'])
end

#skupinaObject



354
355
356
# File 'lib/money_s3/parsers/firma_type.rb', line 354

def skupina
  submodel_at(SkupinaFiremType, 'Skupina')
end

#skupina_idObject



22
23
24
# File 'lib/money_s3/parsers/firma_type.rb', line 22

def skupina_id
  at 'SkupinaID'
end

#skupina_id_attributesObject



26
27
28
# File 'lib/money_s3/parsers/firma_type.rb', line 26

def skupina_id_attributes
  attributes_at 'SkupinaID'
end

#slevaObject



286
287
288
# File 'lib/money_s3/parsers/firma_type.rb', line 286

def sleva
  at 'Sleva'
end

#sleva_attributesObject



290
291
292
# File 'lib/money_s3/parsers/firma_type.rb', line 290

def sleva_attributes
  attributes_at 'Sleva'
end

#spec_symObject



190
191
192
# File 'lib/money_s3/parsers/firma_type.rb', line 190

def spec_sym
  at 'SpecSym'
end

#spec_sym_attributesObject



194
195
196
# File 'lib/money_s3/parsers/firma_type.rb', line 194

def spec_sym_attributes
  attributes_at 'SpecSym'
end

#spl_poh_dniObject



262
263
264
# File 'lib/money_s3/parsers/firma_type.rb', line 262

def spl_poh_dni
  at 'SplPohDni'
end

#spl_poh_dni_attributesObject



266
267
268
# File 'lib/money_s3/parsers/firma_type.rb', line 266

def spl_poh_dni_attributes
  attributes_at 'SplPohDni'
end

#spl_zav_dniObject



270
271
272
# File 'lib/money_s3/parsers/firma_type.rb', line 270

def spl_zav_dni
  at 'SplZavDni'
end

#spl_zav_dni_attributesObject



274
275
276
# File 'lib/money_s3/parsers/firma_type.rb', line 274

def spl_zav_dni_attributes
  attributes_at 'SplZavDni'
end

#splat_pohObject



246
247
248
# File 'lib/money_s3/parsers/firma_type.rb', line 246

def splat_poh
  at 'SplatPoh'
end

#splat_poh_attributesObject



250
251
252
# File 'lib/money_s3/parsers/firma_type.rb', line 250

def splat_poh_attributes
  attributes_at 'SplatPoh'
end

#splat_zavObject



254
255
256
# File 'lib/money_s3/parsers/firma_type.rb', line 254

def splat_zav
  at 'SplatZav'
end

#splat_zav_attributesObject



258
259
260
# File 'lib/money_s3/parsers/firma_type.rb', line 258

def splat_zav_attributes
  attributes_at 'SplatZav'
end

#spojeniObject



102
103
104
# File 'lib/money_s3/parsers/firma_type.rb', line 102

def spojeni
  at 'Spojeni'
end

#spojeni_attributesObject



106
107
108
# File 'lib/money_s3/parsers/firma_type.rb', line 106

def spojeni_attributes
  attributes_at 'Spojeni'
end

#telObject



58
59
60
# File 'lib/money_s3/parsers/firma_type.rb', line 58

def tel
  submodel_at(TelefonType, 'Tel')
end

#to_hObject



366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
# File 'lib/money_s3/parsers/firma_type.rb', line 366

def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:guid] = guid if has? 'GUID'
  hash[:guid_attributes] = guid_attributes if has? 'GUID'
  hash[:nazev] = nazev if has? 'Nazev'
  hash[:nazev_attributes] = nazev_attributes if has? 'Nazev'
  hash[:skupina_id] = skupina_id if has? 'SkupinaID'
  hash[:skupina_id_attributes] = skupina_id_attributes if has? 'SkupinaID'
  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[:e_mail_kopie] = e_mail_kopie if has? 'EMailKopie'
  hash[:e_mail_kopie_attributes] = e_mail_kopie_attributes if has? 'EMailKopie'
  hash[:e_mail_skryt] = e_mail_skryt if has? 'EMailSkryt'
  hash[:e_mail_skryt_attributes] = e_mail_skryt_attributes if has? 'EMailSkryt'
  hash[:www] = www if has? 'WWW'
  hash[:www_attributes] = www_attributes if has? 'WWW'
  hash[:spojeni] = spojeni if has? 'Spojeni'
  hash[:spojeni_attributes] = spojeni_attributes if has? 'Spojeni'
  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[:platce_dph] = platce_dph if has? 'PlatceDPH'
  hash[:platce_dph_attributes] = platce_dph_attributes if has? 'PlatceDPH'
  hash[:fyz_osoba] = fyz_osoba if has? 'FyzOsoba'
  hash[:fyz_osoba_attributes] = fyz_osoba_attributes if has? 'FyzOsoba'
  hash[:kod_dan_ur] = kod_dan_ur if has? 'KodDanUr'
  hash[:kod_dan_ur_attributes] = kod_dan_ur_attributes if has? 'KodDanUr'
  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[:v_symb] = v_symb if has? 'VSymb'
  hash[:v_symb_attributes] = v_symb_attributes if has? 'VSymb'
  hash[:spec_sym] = spec_sym if has? 'SpecSym'
  hash[:spec_sym_attributes] = spec_sym_attributes if has? 'SpecSym'
  hash[:cinnosti] = cinnosti if has? 'Cinnosti'
  hash[:cinnosti_attributes] = cinnosti_attributes if has? 'Cinnosti'
  hash[:adr_klice] = adr_klice if has? 'AdrKlice'
  hash[:adr_klice_attributes] = adr_klice_attributes if has? 'AdrKlice'
  hash[:ceny] = ceny if has? 'Ceny'
  hash[:ceny_attributes] = ceny_attributes if has? 'Ceny'
  hash[:ceniky] = ceniky if has? 'Ceniky'
  hash[:ceniky_attributes] = ceniky_attributes if has? 'Ceniky'
  hash[:kredit] = kredit if has? 'Kredit'
  hash[:kredit_attributes] = kredit_attributes if has? 'Kredit'
  hash[:kredit_val] = kredit_val if has? 'KreditVal'
  hash[:kredit_val_attributes] = kredit_val_attributes if has? 'KreditVal'
  hash[:splat_poh] = splat_poh if has? 'SplatPoh'
  hash[:splat_poh_attributes] = splat_poh_attributes if has? 'SplatPoh'
  hash[:splat_zav] = splat_zav if has? 'SplatZav'
  hash[:splat_zav_attributes] = splat_zav_attributes if has? 'SplatZav'
  hash[:spl_poh_dni] = spl_poh_dni if has? 'SplPohDni'
  hash[:spl_poh_dni_attributes] = spl_poh_dni_attributes if has? 'SplPohDni'
  hash[:spl_zav_dni] = spl_zav_dni if has? 'SplZavDni'
  hash[:spl_zav_dni_attributes] = spl_zav_dni_attributes if has? 'SplZavDni'
  hash[:odesl_upom] = odesl_upom if has? 'OdeslUpom'
  hash[:odesl_upom_attributes] = odesl_upom_attributes if has? 'OdeslUpom'
  hash[:sleva] = sleva if has? 'Sleva'
  hash[:sleva_attributes] = sleva_attributes if has? 'Sleva'
  hash[:flag_sleva] = flag_sleva if has? 'FlagSleva'
  hash[:flag_sleva_attributes] = flag_sleva_attributes if has? 'FlagSleva'
  hash[:mail] = mail if has? 'Mail'
  hash[:mail_attributes] = mail_attributes if has? 'Mail'
  hash[:zprava] = zprava if has? 'Zprava'
  hash[:zprava_attributes] = zprava_attributes if has? 'Zprava'
  hash[:poznamka] = poznamka if has? 'Poznamka'
  hash[:poznamka_attributes] = poznamka_attributes if has? 'Poznamka'
  hash[:kod_partn] = kod_partn if has? 'KodPartn'
  hash[:kod_partn_attributes] = kod_partn_attributes if has? 'KodPartn'
  hash[:isdoc] = isdoc if has? 'ISDOC'
  hash[:isdoc_attributes] = isdoc_attributes if has? 'ISDOC'
  hash[:eshop] = eshop.to_h if has? 'eshop'
  hash[:osoba] = osoba.map(&:to_h) if has? 'Osoba'
  hash[:seznam_bank_spojeni] = seznam_bank_spojeni.map(&:to_h) if has? 'SeznamBankSpojeni'
  hash[:skupina] = skupina.to_h if has? 'Skupina'
  hash[:vlajky] = vlajky.to_h if has? 'Vlajky'
  hash[:dokumenty] = dokumenty if has? 'Dokumenty'

  hash
end

#ucetObject



166
167
168
# File 'lib/money_s3/parsers/firma_type.rb', line 166

def ucet
  at 'Ucet'
end

#ucet_attributesObject



170
171
172
# File 'lib/money_s3/parsers/firma_type.rb', line 170

def ucet_attributes
  attributes_at 'Ucet'
end

#v_symbObject



182
183
184
# File 'lib/money_s3/parsers/firma_type.rb', line 182

def v_symb
  at 'VSymb'
end

#v_symb_attributesObject



186
187
188
# File 'lib/money_s3/parsers/firma_type.rb', line 186

def v_symb_attributes
  attributes_at 'VSymb'
end

#vlajkyObject



358
359
360
# File 'lib/money_s3/parsers/firma_type.rb', line 358

def vlajky
  submodel_at(Vlajky, 'Vlajky')
end

#wwwObject



94
95
96
# File 'lib/money_s3/parsers/firma_type.rb', line 94

def www
  at 'WWW'
end

#www_attributesObject



98
99
100
# File 'lib/money_s3/parsers/firma_type.rb', line 98

def www_attributes
  attributes_at 'WWW'
end

#zpravaObject



310
311
312
# File 'lib/money_s3/parsers/firma_type.rb', line 310

def zprava
  at 'Zprava'
end

#zprava_attributesObject



314
315
316
# File 'lib/money_s3/parsers/firma_type.rb', line 314

def zprava_attributes
  attributes_at 'Zprava'
end