Class: MoneyS3::Parsers::NormPolozUDType

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

Instance Method Summary collapse

Instance Method Details

#cenaObject



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

def cena
  at 'Cena'
end

#cena_attributesObject



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

def cena_attributes
  attributes_at 'Cena'
end

#cena_typObject



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

def cena_typ
  at 'CenaTyp'
end

#cena_typ_attributesObject



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

def cena_typ_attributes
  attributes_at 'CenaTyp'
end

#cinnostObject



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

def cinnost
  at 'Cinnost'
end

#cinnost_attributesObject



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

def cinnost_attributes
  attributes_at 'Cinnost'
end

#cleneniObject



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

def cleneni
  at 'Cleneni'
end

#cleneni_attributesObject



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

def cleneni_attributes
  attributes_at 'Cleneni'
end

#pocet_mjObject



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

def pocet_mj
  at 'PocetMJ'
end

#pocet_mj_attributesObject



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

def pocet_mj_attributes
  attributes_at 'PocetMJ'
end

#popisObject



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

def popis
  at 'Popis'
end

#popis_attributesObject



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

def popis_attributes
  attributes_at 'Popis'
end

#poradiObject



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

def poradi
  at 'Poradi'
end

#poradi_attributesObject



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

def poradi_attributes
  attributes_at 'Poradi'
end

#poznamkaObject



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

def poznamka
  at 'Poznamka'
end

#poznamka_attributesObject



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

def poznamka_attributes
  attributes_at 'Poznamka'
end

#pr_kontObject



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

def pr_kont
  at 'PrKont'
end

#pr_kont_attributesObject



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

def pr_kont_attributes
  attributes_at 'PrKont'
end

#predm_plnObject



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

def predm_pln
  at 'PredmPln'
end

#predm_pln_attributesObject



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

def predm_pln_attributes
  attributes_at 'PredmPln'
end

#sazba_dphObject



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

def sazba_dph
  at 'SazbaDPH'
end

#sazba_dph_attributesObject



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

def sazba_dph_attributes
  attributes_at 'SazbaDPH'
end

#stredObject



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

def stred
  at 'Stred'
end

#stred_attributesObject



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

def stred_attributes
  attributes_at 'Stred'
end

#text_mjObject



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

def text_mj
  at 'TextMJ'
end

#text_mj_attributesObject



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

def text_mj_attributes
  attributes_at 'TextMJ'
end

#to_hObject



126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'lib/money_s3/parsers/norm_poloz_ud_type.rb', line 126

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

  hash[:poradi] = poradi if has? 'Poradi'
  hash[:poradi_attributes] = poradi_attributes if has? 'Poradi'
  hash[:popis] = popis if has? 'Popis'
  hash[:popis_attributes] = popis_attributes if has? 'Popis'
  hash[:cena] = cena if has? 'Cena'
  hash[:cena_attributes] = cena_attributes if has? 'Cena'
  hash[:valuty] = valuty if has? 'Valuty'
  hash[:valuty_attributes] = valuty_attributes if has? 'Valuty'
  hash[:cena_typ] = cena_typ if has? 'CenaTyp'
  hash[:cena_typ_attributes] = cena_typ_attributes if has? 'CenaTyp'
  hash[:sazba_dph] = sazba_dph if has? 'SazbaDPH'
  hash[:sazba_dph_attributes] = sazba_dph_attributes if has? 'SazbaDPH'
  hash[:text_mj] = text_mj if has? 'TextMJ'
  hash[:text_mj_attributes] = text_mj_attributes if has? 'TextMJ'
  hash[:pocet_mj] = pocet_mj if has? 'PocetMJ'
  hash[:pocet_mj_attributes] = pocet_mj_attributes if has? 'PocetMJ'
  hash[:pr_kont] = pr_kont if has? 'PrKont'
  hash[:pr_kont_attributes] = pr_kont_attributes if has? 'PrKont'
  hash[:cleneni] = cleneni if has? 'Cleneni'
  hash[:cleneni_attributes] = cleneni_attributes if has? 'Cleneni'
  hash[:predm_pln] = predm_pln if has? 'PredmPln'
  hash[:predm_pln_attributes] = predm_pln_attributes if has? 'PredmPln'
  hash[:stred] = stred if has? 'Stred'
  hash[:stred_attributes] = stred_attributes if has? 'Stred'
  hash[:zakazka] = zakazka if has? 'Zakazka'
  hash[:zakazka_attributes] = zakazka_attributes if has? 'Zakazka'
  hash[:cinnost] = cinnost if has? 'Cinnost'
  hash[:cinnost_attributes] = cinnost_attributes if has? 'Cinnost'
  hash[:poznamka] = poznamka if has? 'Poznamka'
  hash[:poznamka_attributes] = poznamka_attributes if has? 'Poznamka'

  hash
end

#valutyObject



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

def valuty
  at 'Valuty'
end

#valuty_attributesObject



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

def valuty_attributes
  attributes_at 'Valuty'
end

#zakazkaObject



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

def zakazka
  at 'Zakazka'
end

#zakazka_attributesObject



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

def zakazka_attributes
  attributes_at 'Zakazka'
end