Class: MoneyS3::Parsers::SkladType

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

Direct Known Subclasses

Sklad

Instance Method Summary collapse

Instance Method Details

#cenik_skladObject



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

def cenik_sklad
  at 'CenikSklad'
end

#cenik_sklad_attributesObject



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

def cenik_sklad_attributes
  attributes_at 'CenikSklad'
end

#cenyObject



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

def ceny
  at 'Ceny'
end

#ceny_attributesObject



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

def ceny_attributes
  attributes_at 'Ceny'
end

#definice_cenyObject



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

def definice_ceny
  submodel_at(DefiniceCeny, 'definiceCeny')
end

#guidObject



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

def guid
  at 'GUID'
end

#guid_attributesObject



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

def guid_attributes
  attributes_at 'GUID'
end

#kod_skladuObject



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

def kod_skladu
  at 'KodSkladu'
end

#kod_skladu_attributesObject



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

def kod_skladu_attributes
  attributes_at 'KodSkladu'
end

#konfiguraceObject



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

def konfigurace
  submodel_at(Konfigurace, 'konfigurace')
end

#minusObject



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

def minus
  at 'Minus'
end

#minus_attributesObject



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

def minus_attributes
  attributes_at 'Minus'
end

#nazevObject



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

def nazev
  at 'Nazev'
end

#nazev_attributesObject



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

def nazev_attributes
  attributes_at 'Nazev'
end

#neupozObject



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

def neupoz
  at 'Neupoz'
end

#neupoz_attributesObject



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

def neupoz_attributes
  attributes_at 'Neupoz'
end

#p_dod_lst_vzObject



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

def p_dod_lst_vz
  at 'PDodLstVz'
end

#p_dod_lst_vz_attributesObject



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

def p_dod_lst_vz_attributes
  attributes_at 'PDodLstVz'
end

#platno_doObject



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

def platno_do
  at 'PlatnoDo'
end

#platno_do_attributesObject



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

def platno_do_attributes
  attributes_at 'PlatnoDo'
end

#platno_odObject



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

def platno_od
  at 'PlatnoOd'
end

#platno_od_attributesObject



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

def platno_od_attributes
  attributes_at 'PlatnoOd'
end

#prepocetObject



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

def prepocet
  at 'Prepocet'
end

#prepocet_attributesObject



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

def prepocet_attributes
  attributes_at 'Prepocet'
end

#prod_ceny_dObject



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

def prod_ceny_d
  at 'ProdCenyD'
end

#prod_ceny_d_attributesObject



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

def prod_ceny_d_attributes
  attributes_at 'ProdCenyD'
end

#prodejk_vzObject



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

def prodejk_vz
  at 'ProdejkVz'
end

#prodejk_vz_attributesObject



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

def prodejk_vz_attributes
  attributes_at 'ProdejkVz'
end

#to_hObject



170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'lib/money_s3/parsers/sklad_type.rb', line 170

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

  hash[:nazev] = nazev if has? 'Nazev'
  hash[:nazev_attributes] = nazev_attributes if has? 'Nazev'
  hash[:kod_skladu] = kod_skladu if has? 'KodSkladu'
  hash[:kod_skladu_attributes] = kod_skladu_attributes if has? 'KodSkladu'
  hash[:guid] = guid if has? 'GUID'
  hash[:guid_attributes] = guid_attributes if has? 'GUID'
  hash[:cenik_sklad] = cenik_sklad if has? 'CenikSklad'
  hash[:cenik_sklad_attributes] = cenik_sklad_attributes if has? 'CenikSklad'
  hash[:platno_od] = platno_od if has? 'PlatnoOd'
  hash[:platno_od_attributes] = platno_od_attributes if has? 'PlatnoOd'
  hash[:platno_do] = platno_do if has? 'PlatnoDo'
  hash[:platno_do_attributes] = platno_do_attributes if has? 'PlatnoDo'
  hash[:minus] = minus if has? 'Minus'
  hash[:minus_attributes] = minus_attributes if has? 'Minus'
  hash[:neupoz] = neupoz if has? 'Neupoz'
  hash[:neupoz_attributes] = neupoz_attributes if has? 'Neupoz'
  hash[:vyber_cen] = vyber_cen if has? 'Vyber_cen'
  hash[:vyber_cen_attributes] = vyber_cen_attributes if has? 'Vyber_cen'
  hash[:vyber_dod] = vyber_dod if has? 'Vyber_dod'
  hash[:vyber_dod_attributes] = vyber_dod_attributes if has? 'Vyber_dod'
  hash[:zpusob] = zpusob if has? 'Zpusob'
  hash[:zpusob_attributes] = zpusob_attributes if has? 'Zpusob'
  hash[:prod_ceny_d] = prod_ceny_d if has? 'ProdCenyD'
  hash[:prod_ceny_d_attributes] = prod_ceny_d_attributes if has? 'ProdCenyD'
  hash[:prepocet] = prepocet if has? 'Prepocet'
  hash[:prepocet_attributes] = prepocet_attributes if has? 'Prepocet'
  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[:uc_pohyb_m] = uc_pohyb_m.to_h if has? 'UcPohybM'
  hash[:uc_pohyb_z] = uc_pohyb_z.to_h if has? 'UcPohybZ'
  hash[:uc_pohyb_v] = uc_pohyb_v.to_h if has? 'UcPohybV'
  hash[:uc_vyrobk_vv] = uc_vyrobk_vv if has? 'UcVyrobkVV'
  hash[:uc_vyrobk_vv_attributes] = uc_vyrobk_vv_attributes if has? 'UcVyrobkVV'
  hash[:prodejk_vz] = prodejk_vz if has? 'ProdejkVz'
  hash[:prodejk_vz_attributes] = prodejk_vz_attributes if has? 'ProdejkVz'
  hash[:v_dod_lst_vz] = v_dod_lst_vz if has? 'VDodLstVz'
  hash[:v_dod_lst_vz_attributes] = v_dod_lst_vz_attributes if has? 'VDodLstVz'
  hash[:p_dod_lst_vz] = p_dod_lst_vz if has? 'PDodLstVz'
  hash[:p_dod_lst_vz_attributes] = p_dod_lst_vz_attributes if has? 'PDodLstVz'

  hash
end

#uc_pohyb_mObject



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

def uc_pohyb_m
  submodel_at(UctyPohybuType, 'UcPohybM')
end

#uc_pohyb_vObject



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

def uc_pohyb_v
  submodel_at(UctyPohybuType, 'UcPohybV')
end

#uc_pohyb_zObject



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

def uc_pohyb_z
  submodel_at(UctyPohybuType, 'UcPohybZ')
end

#uc_vyrobk_vvObject



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

def uc_vyrobk_vv
  at 'UcVyrobkVV'
end

#uc_vyrobk_vv_attributesObject



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

def uc_vyrobk_vv_attributes
  attributes_at 'UcVyrobkVV'
end

#v_dod_lst_vzObject



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

def v_dod_lst_vz
  at 'VDodLstVz'
end

#v_dod_lst_vz_attributesObject



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

def v_dod_lst_vz_attributes
  attributes_at 'VDodLstVz'
end

#vyber_cenObject



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

def vyber_cen
  at 'Vyber_cen'
end

#vyber_cen_attributesObject



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

def vyber_cen_attributes
  attributes_at 'Vyber_cen'
end

#vyber_dodObject



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

def vyber_dod
  at 'Vyber_dod'
end

#vyber_dod_attributesObject



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

def vyber_dod_attributes
  attributes_at 'Vyber_dod'
end

#zpusobObject



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

def zpusob
  at 'Zpusob'
end

#zpusob_attributesObject



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

def zpusob_attributes
  attributes_at 'Zpusob'
end