Class: MoneyS3::Parsers::EETType

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

Instance Method Summary collapse

Instance Method Details

#bkpObject



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

def bkp
  at 'BKP'
end

#bkp_attributesObject



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

def bkp_attributes
  attributes_at 'BKP'
end

#cas_odeslObject



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

def cas_odesl
  at 'CasOdesl'
end

#cas_odesl_attributesObject



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

def cas_odesl_attributes
  attributes_at 'CasOdesl'
end

#cas_trzbyObject



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

def cas_trzby
  at 'CasTrzby'
end

#cas_trzby_attributesObject



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

def cas_trzby_attributes
  attributes_at 'CasTrzby'
end

#castkyObject



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

def castky
  submodel_at(Castky, 'Castky')
end

#cert_eetObject



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

def cert_eet
  at 'CertEET'
end

#cert_eet_attributesObject



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

def cert_eet_attributes
  attributes_at 'CertEET'
end

#cert_pkpObject



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

def cert_pkp
  at 'CertPKP'
end

#cert_pkp_attributesObject



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

def cert_pkp_attributes
  attributes_at 'CertPKP'
end

#dat_odeslObject



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

def dat_odesl
  at 'DatOdesl'
end

#dat_odesl_attributesObject



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

def dat_odesl_attributes
  attributes_at 'DatOdesl'
end

#dat_trzbyObject



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

def dat_trzby
  at 'DatTrzby'
end

#dat_trzby_attributesObject



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

def dat_trzby_attributes
  attributes_at 'DatTrzby'
end

#dic_poplObject



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

def dic_popl
  at 'DICPopl'
end

#dic_popl_attributesObject



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

def dic_popl_attributes
  attributes_at 'DICPopl'
end

#dic_poverObject



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

def dic_pover
  at 'DICPover'
end

#dic_pover_attributesObject



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

def dic_pover_attributes
  attributes_at 'DICPover'
end

#eet_odeslObject



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

def eet_odesl
  at 'EETOdesl'
end

#eet_odesl_attributesObject



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

def eet_odesl_attributes
  attributes_at 'EETOdesl'
end

#fikObject



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

def fik
  at 'FIK'
end

#fik_attributesObject



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

def fik_attributes
  attributes_at 'FIK'
end

#pkpObject



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

def pkp
  at 'PKP'
end

#pkp_attributesObject



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

def pkp_attributes
  attributes_at 'PKP'
end

#pokl_zarizObject



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

def pokl_zariz
  at 'PoklZariz'
end

#pokl_zariz_attributesObject



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

def pokl_zariz_attributes
  attributes_at 'PoklZariz'
end

#porad_cisObject



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

def porad_cis
  at 'PoradCis'
end

#porad_cis_attributesObject



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

def porad_cis_attributes
  attributes_at 'PoradCis'
end

#prod_mistoObject



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

def prod_misto
  at 'ProdMisto'
end

#prod_misto_attributesObject



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

def prod_misto_attributes
  attributes_at 'ProdMisto'
end

#provozovnaObject



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

def provozovna
  at 'Provozovna'
end

#provozovna_attributesObject



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

def provozovna_attributes
  attributes_at 'Provozovna'
end

#prvni_zaslObject



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

def prvni_zasl
  at 'PrvniZasl'
end

#prvni_zasl_attributesObject



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

def prvni_zasl_attributes
  attributes_at 'PrvniZasl'
end

#rezimObject



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

def rezim
  at 'Rezim'
end

#rezim_attributesObject



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

def rezim_attributes
  attributes_at 'Rezim'
end

#to_hObject



166
167
168
169
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
# File 'lib/money_s3/parsers/eet_type.rb', line 166

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

  hash[:eet_odesl] = eet_odesl if has? 'EETOdesl'
  hash[:eet_odesl_attributes] = eet_odesl_attributes if has? 'EETOdesl'
  hash[:prod_misto] = prod_misto if has? 'ProdMisto'
  hash[:prod_misto_attributes] = prod_misto_attributes if has? 'ProdMisto'
  hash[:uuid] = uuid if has? 'UUID'
  hash[:uuid_attributes] = uuid_attributes if has? 'UUID'
  hash[:dat_odesl] = dat_odesl if has? 'DatOdesl'
  hash[:dat_odesl_attributes] = dat_odesl_attributes if has? 'DatOdesl'
  hash[:cas_odesl] = cas_odesl if has? 'CasOdesl'
  hash[:cas_odesl_attributes] = cas_odesl_attributes if has? 'CasOdesl'
  hash[:prvni_zasl] = prvni_zasl if has? 'PrvniZasl'
  hash[:prvni_zasl_attributes] = prvni_zasl_attributes if has? 'PrvniZasl'
  hash[:dic_popl] = dic_popl if has? 'DICPopl'
  hash[:dic_popl_attributes] = dic_popl_attributes if has? 'DICPopl'
  hash[:dic_pover] = dic_pover if has? 'DICPover'
  hash[:dic_pover_attributes] = dic_pover_attributes if has? 'DICPover'
  hash[:provozovna] = provozovna if has? 'Provozovna'
  hash[:provozovna_attributes] = provozovna_attributes if has? 'Provozovna'
  hash[:pokl_zariz] = pokl_zariz if has? 'PoklZariz'
  hash[:pokl_zariz_attributes] = pokl_zariz_attributes if has? 'PoklZariz'
  hash[:porad_cis] = porad_cis if has? 'PoradCis'
  hash[:porad_cis_attributes] = porad_cis_attributes if has? 'PoradCis'
  hash[:dat_trzby] = dat_trzby if has? 'DatTrzby'
  hash[:dat_trzby_attributes] = dat_trzby_attributes if has? 'DatTrzby'
  hash[:cas_trzby] = cas_trzby if has? 'CasTrzby'
  hash[:cas_trzby_attributes] = cas_trzby_attributes if has? 'CasTrzby'
  hash[:castky] = castky.to_h if has? 'Castky'
  hash[:rezim] = rezim if has? 'Rezim'
  hash[:rezim_attributes] = rezim_attributes if has? 'Rezim'
  hash[:pkp] = pkp if has? 'PKP'
  hash[:pkp_attributes] = pkp_attributes if has? 'PKP'
  hash[:bkp] = bkp if has? 'BKP'
  hash[:bkp_attributes] = bkp_attributes if has? 'BKP'
  hash[:fik] = fik if has? 'FIK'
  hash[:fik_attributes] = fik_attributes if has? 'FIK'
  hash[:cert_pkp] = cert_pkp if has? 'CertPKP'
  hash[:cert_pkp_attributes] = cert_pkp_attributes if has? 'CertPKP'
  hash[:cert_eet] = cert_eet if has? 'CertEET'
  hash[:cert_eet_attributes] = cert_eet_attributes if has? 'CertEET'
  hash[:vysledek_odesl] = vysledek_odesl.to_h if has? 'VysledekOdesl'

  hash
end

#uuidObject



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

def uuid
  at 'UUID'
end

#uuid_attributesObject



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

def uuid_attributes
  attributes_at 'UUID'
end

#vysledek_odeslObject



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

def vysledek_odesl
  submodel_at(VysledekOdesl, 'VysledekOdesl')
end