Class: MoneyS3::Parsers::KmKartaType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::KmKartaType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/km_karta_type.rb
Direct Known Subclasses
Instance Method Summary collapse
- #bar_code ⇒ Object
- #bar_code_attributes ⇒ Object
- #bc_typ ⇒ Object
- #bc_typ_attributes ⇒ Object
- #ceny ⇒ Object
- #ceny_attributes ⇒ Object
- #definice_ceny ⇒ Object
- #des_mist ⇒ Object
- #des_mist_attributes ⇒ Object
- #dokumenty ⇒ Object
- #ev_vyr_cis ⇒ Object
- #ev_vyr_cis_attributes ⇒ Object
- #guid ⇒ Object
- #guid_attributes ⇒ Object
- #hmotnost ⇒ Object
- #hmotnost_attributes ⇒ Object
- #i_dokl_agend ⇒ Object
- #i_dokl_agend_attributes ⇒ Object
- #i_dokl_pol ⇒ Object
- #i_dokl_pol_attributes ⇒ Object
- #katalog ⇒ Object
- #katalog_attributes ⇒ Object
- #kod_kn ⇒ Object
- #kod_kn_attributes ⇒ Object
- #kod_statu ⇒ Object
- #kod_statu_attributes ⇒ Object
- #konfigurace ⇒ Object
- #mj ⇒ Object
- #mj_attributes ⇒ Object
- #nastav ⇒ Object
- #nastav_attributes ⇒ Object
- #objem ⇒ Object
- #objem_attributes ⇒ Object
- #obrazek ⇒ Object
- #obrazek2 ⇒ Object
- #obrazek2_attributes ⇒ Object
- #obrazek_attributes ⇒ Object
- #popis ⇒ Object
- #popis1 ⇒ Object
- #popis1_attributes ⇒ Object
- #popis2 ⇒ Object
- #popis2_attributes ⇒ Object
- #popis3 ⇒ Object
- #popis3_attributes ⇒ Object
- #popis_attributes ⇒ Object
- #pozn ⇒ Object
- #pozn1 ⇒ Object
- #pozn1_attributes ⇒ Object
- #pozn2 ⇒ Object
- #pozn2_attributes ⇒ Object
- #pozn3 ⇒ Object
- #pozn3_attributes ⇒ Object
- #pozn_attributes ⇒ Object
- #predm_pln ⇒ Object
- #predm_pln_attributes ⇒ Object
- #seznam_parametru_karty ⇒ Object
- #slozeni ⇒ Object
- #to_h ⇒ Object
- #typ_karty ⇒ Object
- #typ_karty_attributes ⇒ Object
- #typ_zar_doby ⇒ Object
- #typ_zar_doby_attributes ⇒ Object
- #uziv_code ⇒ Object
- #uziv_code_attributes ⇒ Object
- #zar_doba ⇒ Object
- #zar_doba_attributes ⇒ Object
- #zboz_kuch ⇒ Object
- #zboz_kuch_attributes ⇒ Object
- #zkrat ⇒ Object
- #zkrat_attributes ⇒ Object
Instance Method Details
#bar_code ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 62 def at 'BarCode' end |
#bar_code_attributes ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 66 def attributes_at 'BarCode' end |
#bc_typ ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 70 def bc_typ at 'BCTyp' end |
#bc_typ_attributes ⇒ Object
74 75 76 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 74 def bc_typ_attributes attributes_at 'BCTyp' end |
#ceny ⇒ Object
142 143 144 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 142 def ceny at 'Ceny' end |
#ceny_attributes ⇒ Object
146 147 148 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 146 def ceny_attributes attributes_at 'Ceny' end |
#definice_ceny ⇒ Object
138 139 140 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 138 def definice_ceny submodel_at(DefiniceCeny, 'definiceCeny') end |
#des_mist ⇒ Object
110 111 112 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 110 def des_mist at 'DesMist' end |
#des_mist_attributes ⇒ Object
114 115 116 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 114 def des_mist_attributes attributes_at 'DesMist' end |
#dokumenty ⇒ Object
278 279 280 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 278 def dokumenty array_of_at(String, ['Dokumenty', 'Dokument']) end |
#ev_vyr_cis ⇒ Object
102 103 104 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 102 def ev_vyr_cis at 'EvVyrCis' end |
#ev_vyr_cis_attributes ⇒ Object
106 107 108 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 106 def ev_vyr_cis_attributes attributes_at 'EvVyrCis' end |
#guid ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 46 def guid at 'GUID' end |
#guid_attributes ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 50 def guid_attributes attributes_at 'GUID' end |
#hmotnost ⇒ Object
206 207 208 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 206 def hmotnost at 'Hmotnost' end |
#hmotnost_attributes ⇒ Object
210 211 212 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 210 def hmotnost_attributes attributes_at 'Hmotnost' end |
#i_dokl_agend ⇒ Object
262 263 264 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 262 def i_dokl_agend at 'iDoklAgend' end |
#i_dokl_agend_attributes ⇒ Object
266 267 268 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 266 def i_dokl_agend_attributes attributes_at 'iDoklAgend' end |
#i_dokl_pol ⇒ Object
254 255 256 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 254 def i_dokl_pol at 'iDoklPol' end |
#i_dokl_pol_attributes ⇒ Object
258 259 260 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 258 def i_dokl_pol_attributes attributes_at 'iDoklPol' end |
#katalog ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 54 def katalog at 'Katalog' end |
#katalog_attributes ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 58 def katalog_attributes attributes_at 'Katalog' end |
#kod_kn ⇒ Object
222 223 224 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 222 def kod_kn at 'KodKN' end |
#kod_kn_attributes ⇒ Object
226 227 228 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 226 def kod_kn_attributes attributes_at 'KodKN' end |
#kod_statu ⇒ Object
238 239 240 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 238 def kod_statu at 'KodStatu' end |
#kod_statu_attributes ⇒ Object
242 243 244 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 242 def kod_statu_attributes attributes_at 'KodStatu' end |
#konfigurace ⇒ Object
134 135 136 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 134 def konfigurace submodel_at(Konfigurace, 'konfigurace') end |
#mj ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 30 def mj at 'MJ' end |
#mj_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 34 def mj_attributes attributes_at 'MJ' end |
#nastav ⇒ Object
150 151 152 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 150 def nastav at 'Nastav' end |
#nastav_attributes ⇒ Object
154 155 156 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 154 def nastav_attributes attributes_at 'Nastav' end |
#objem ⇒ Object
214 215 216 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 214 def objem at 'Objem' end |
#objem_attributes ⇒ Object
218 219 220 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 218 def objem_attributes attributes_at 'Objem' end |
#obrazek ⇒ Object
118 119 120 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 118 def obrazek at 'Obrazek' end |
#obrazek2 ⇒ Object
126 127 128 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 126 def obrazek2 at 'Obrazek2' end |
#obrazek2_attributes ⇒ Object
130 131 132 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 130 def obrazek2_attributes attributes_at 'Obrazek2' end |
#obrazek_attributes ⇒ Object
122 123 124 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 122 def obrazek_attributes attributes_at 'Obrazek' end |
#popis ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 6 def popis at 'Popis' end |
#popis1 ⇒ Object
158 159 160 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 158 def popis1 at 'Popis1' end |
#popis1_attributes ⇒ Object
162 163 164 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 162 def popis1_attributes attributes_at 'Popis1' end |
#popis2 ⇒ Object
174 175 176 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 174 def popis2 at 'Popis2' end |
#popis2_attributes ⇒ Object
178 179 180 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 178 def popis2_attributes attributes_at 'Popis2' end |
#popis3 ⇒ Object
190 191 192 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 190 def popis3 at 'Popis3' end |
#popis3_attributes ⇒ Object
194 195 196 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 194 def popis3_attributes attributes_at 'Popis3' end |
#popis_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 10 def popis_attributes attributes_at 'Popis' end |
#pozn ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 22 def pozn at 'Pozn' end |
#pozn1 ⇒ Object
166 167 168 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 166 def pozn1 at 'Pozn1' end |
#pozn1_attributes ⇒ Object
170 171 172 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 170 def pozn1_attributes attributes_at 'Pozn1' end |
#pozn2 ⇒ Object
182 183 184 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 182 def pozn2 at 'Pozn2' end |
#pozn2_attributes ⇒ Object
186 187 188 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 186 def pozn2_attributes attributes_at 'Pozn2' end |
#pozn3 ⇒ Object
198 199 200 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 198 def pozn3 at 'Pozn3' end |
#pozn3_attributes ⇒ Object
202 203 204 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 202 def pozn3_attributes attributes_at 'Pozn3' end |
#pozn_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 26 def pozn_attributes attributes_at 'Pozn' end |
#predm_pln ⇒ Object
230 231 232 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 230 def predm_pln at 'PredmPln' end |
#predm_pln_attributes ⇒ Object
234 235 236 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 234 def predm_pln_attributes attributes_at 'PredmPln' end |
#seznam_parametru_karty ⇒ Object
274 275 276 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 274 def seznam_parametru_karty array_of_at(ParametrKartaType, ['SeznamParametruKarty', 'ParametrKarty']) end |
#slozeni ⇒ Object
270 271 272 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 270 def slozeni array_of_at(KomponentaType, ['Slozeni', 'Komponenta']) end |
#to_h ⇒ Object
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 282 def to_h hash = {} hash[:attributes] = attributes hash[:popis] = popis if has? 'Popis' hash[:popis_attributes] = popis_attributes if has? 'Popis' hash[:zkrat] = zkrat if has? 'Zkrat' hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat' hash[:pozn] = pozn if has? 'Pozn' hash[:pozn_attributes] = pozn_attributes if has? 'Pozn' hash[:mj] = mj if has? 'MJ' hash[:mj_attributes] = mj_attributes if has? 'MJ' hash[:uziv_code] = uziv_code if has? 'UzivCode' hash[:uziv_code_attributes] = uziv_code_attributes if has? 'UzivCode' hash[:guid] = guid if has? 'GUID' hash[:guid_attributes] = guid_attributes if has? 'GUID' hash[:katalog] = katalog if has? 'Katalog' hash[:katalog_attributes] = katalog_attributes if has? 'Katalog' hash[:bar_code] = if has? 'BarCode' hash[:bar_code_attributes] = if has? 'BarCode' hash[:bc_typ] = bc_typ if has? 'BCTyp' hash[:bc_typ_attributes] = bc_typ_attributes if has? 'BCTyp' hash[:typ_zar_doby] = typ_zar_doby if has? 'TypZarDoby' hash[:typ_zar_doby_attributes] = typ_zar_doby_attributes if has? 'TypZarDoby' hash[:zar_doba] = zar_doba if has? 'ZarDoba' hash[:zar_doba_attributes] = zar_doba_attributes if has? 'ZarDoba' hash[:zboz_kuch] = zboz_kuch if has? 'ZbozKuch' hash[:zboz_kuch_attributes] = zboz_kuch_attributes if has? 'ZbozKuch' hash[:ev_vyr_cis] = ev_vyr_cis if has? 'EvVyrCis' hash[:ev_vyr_cis_attributes] = ev_vyr_cis_attributes if has? 'EvVyrCis' hash[:des_mist] = des_mist if has? 'DesMist' hash[:des_mist_attributes] = des_mist_attributes if has? 'DesMist' hash[:obrazek] = obrazek if has? 'Obrazek' hash[:obrazek_attributes] = obrazek_attributes if has? 'Obrazek' hash[:obrazek2] = obrazek2 if has? 'Obrazek2' hash[:obrazek2_attributes] = obrazek2_attributes if has? 'Obrazek2' hash[:konfigurace] = konfigurace.to_h if has? 'konfigurace' hash[:definice_ceny] = definice_ceny.to_h if has? 'definiceCeny' hash[:ceny] = ceny if has? 'Ceny' hash[:ceny_attributes] = ceny_attributes if has? 'Ceny' hash[:nastav] = nastav if has? 'Nastav' hash[:nastav_attributes] = nastav_attributes if has? 'Nastav' hash[:popis1] = popis1 if has? 'Popis1' hash[:popis1_attributes] = popis1_attributes if has? 'Popis1' hash[:pozn1] = pozn1 if has? 'Pozn1' hash[:pozn1_attributes] = pozn1_attributes if has? 'Pozn1' hash[:popis2] = popis2 if has? 'Popis2' hash[:popis2_attributes] = popis2_attributes if has? 'Popis2' hash[:pozn2] = pozn2 if has? 'Pozn2' hash[:pozn2_attributes] = pozn2_attributes if has? 'Pozn2' hash[:popis3] = popis3 if has? 'Popis3' hash[:popis3_attributes] = popis3_attributes if has? 'Popis3' hash[:pozn3] = pozn3 if has? 'Pozn3' hash[:pozn3_attributes] = pozn3_attributes if has? 'Pozn3' hash[:hmotnost] = hmotnost if has? 'Hmotnost' hash[:hmotnost_attributes] = hmotnost_attributes if has? 'Hmotnost' hash[:objem] = objem if has? 'Objem' hash[:objem_attributes] = objem_attributes if has? 'Objem' hash[:kod_kn] = kod_kn if has? 'KodKN' hash[:kod_kn_attributes] = kod_kn_attributes if has? 'KodKN' hash[:predm_pln] = predm_pln if has? 'PredmPln' hash[:predm_pln_attributes] = predm_pln_attributes if has? 'PredmPln' hash[:kod_statu] = kod_statu if has? 'KodStatu' hash[:kod_statu_attributes] = kod_statu_attributes if has? 'KodStatu' hash[:typ_karty] = typ_karty if has? 'TypKarty' hash[:typ_karty_attributes] = typ_karty_attributes if has? 'TypKarty' hash[:i_dokl_pol] = i_dokl_pol if has? 'iDoklPol' hash[:i_dokl_pol_attributes] = i_dokl_pol_attributes if has? 'iDoklPol' hash[:i_dokl_agend] = i_dokl_agend if has? 'iDoklAgend' hash[:i_dokl_agend_attributes] = i_dokl_agend_attributes if has? 'iDoklAgend' hash[:slozeni] = slozeni.map(&:to_h) if has? 'Slozeni' hash[:seznam_parametru_karty] = seznam_parametru_karty.map(&:to_h) if has? 'SeznamParametruKarty' hash[:dokumenty] = dokumenty if has? 'Dokumenty' hash end |
#typ_karty ⇒ Object
246 247 248 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 246 def typ_karty at 'TypKarty' end |
#typ_karty_attributes ⇒ Object
250 251 252 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 250 def typ_karty_attributes attributes_at 'TypKarty' end |
#typ_zar_doby ⇒ Object
78 79 80 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 78 def typ_zar_doby at 'TypZarDoby' end |
#typ_zar_doby_attributes ⇒ Object
82 83 84 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 82 def typ_zar_doby_attributes attributes_at 'TypZarDoby' end |
#uziv_code ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 38 def uziv_code at 'UzivCode' end |
#uziv_code_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 42 def uziv_code_attributes attributes_at 'UzivCode' end |
#zar_doba ⇒ Object
86 87 88 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 86 def zar_doba at 'ZarDoba' end |
#zar_doba_attributes ⇒ Object
90 91 92 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 90 def zar_doba_attributes attributes_at 'ZarDoba' end |
#zboz_kuch ⇒ Object
94 95 96 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 94 def zboz_kuch at 'ZbozKuch' end |
#zboz_kuch_attributes ⇒ Object
98 99 100 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 98 def zboz_kuch_attributes attributes_at 'ZbozKuch' end |
#zkrat ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 14 def zkrat at 'Zkrat' end |
#zkrat_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/km_karta_type.rb', line 18 def zkrat_attributes attributes_at 'Zkrat' end |