Class: MoneyS3::Parsers::DokladFirmaType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::DokladFirmaType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/doklad_firma_type.rb
Instance Method Summary collapse
- #adresa ⇒ Object
- #banka ⇒ Object
- #banka_attributes ⇒ Object
- #dic ⇒ Object
- #dic_attributes ⇒ Object
- #dicsk ⇒ Object
- #dicsk_attributes ⇒ Object
- #e_mail ⇒ Object
- #e_mail_attributes ⇒ Object
- #e_mail_kopie ⇒ Object
- #e_mail_kopie_attributes ⇒ Object
- #e_mail_skryt ⇒ Object
- #e_mail_skryt_attributes ⇒ Object
- #eshop ⇒ Object
- #fakt_adresa ⇒ Object
- #fakt_nazev ⇒ Object
- #fakt_nazev_attributes ⇒ Object
- #fax ⇒ Object
- #fyz_osoba ⇒ Object
- #fyz_osoba_attributes ⇒ Object
- #guid ⇒ Object
- #guid_attributes ⇒ Object
- #ico ⇒ Object
- #ico_attributes ⇒ Object
- #isdoc ⇒ Object
- #isdoc_attributes ⇒ Object
- #kod_banky ⇒ Object
- #kod_banky_attributes ⇒ Object
- #kod_partn ⇒ Object
- #kod_partn_attributes ⇒ Object
- #mobil ⇒ Object
- #nazev ⇒ Object
- #nazev_attributes ⇒ Object
- #obch_adresa ⇒ Object
- #obch_nazev ⇒ Object
- #obch_nazev_attributes ⇒ Object
- #platce_dph ⇒ Object
- #platce_dph_attributes ⇒ Object
- #seznam_bank_spojeni ⇒ Object
- #spec_sym ⇒ Object
- #spec_sym_attributes ⇒ Object
- #tel ⇒ Object
- #to_h ⇒ Object
- #ucet ⇒ Object
- #ucet_attributes ⇒ Object
- #v_symb ⇒ Object
- #v_symb_attributes ⇒ Object
- #vlajky ⇒ Object
- #www ⇒ Object
- #www_attributes ⇒ Object
Instance Method Details
#adresa ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 70 def adresa submodel_at(AdresaType, 'Adresa') end |
#banka ⇒ Object
134 135 136 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 134 def banka at 'Banka' end |
#banka_attributes ⇒ Object
138 139 140 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 138 def banka_attributes attributes_at 'Banka' end |
#dic ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 34 def dic at 'DIC' end |
#dic_attributes ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 38 def dic_attributes attributes_at 'DIC' end |
#dicsk ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 42 def dicsk at 'DICSK' end |
#dicsk_attributes ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 46 def dicsk_attributes attributes_at 'DICSK' end |
#e_mail ⇒ Object
86 87 88 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 86 def e_mail at 'EMail' end |
#e_mail_attributes ⇒ Object
90 91 92 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 90 def e_mail_attributes attributes_at 'EMail' end |
#e_mail_kopie ⇒ Object
94 95 96 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 94 def e_mail_kopie at 'EMailKopie' end |
#e_mail_kopie_attributes ⇒ Object
98 99 100 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 98 def e_mail_kopie_attributes attributes_at 'EMailKopie' end |
#e_mail_skryt ⇒ Object
102 103 104 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 102 def e_mail_skryt at 'EMailSkryt' end |
#e_mail_skryt_attributes ⇒ Object
106 107 108 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 106 def e_mail_skryt_attributes attributes_at 'EMailSkryt' end |
#eshop ⇒ Object
190 191 192 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 190 def eshop submodel_at(Eshop2, 'eshop') end |
#fakt_adresa ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 50 def fakt_adresa submodel_at(AdresaType, 'FaktAdresa') end |
#fakt_nazev ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 18 def fakt_nazev at 'FaktNazev' end |
#fakt_nazev_attributes ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 22 def fakt_nazev_attributes attributes_at 'FaktNazev' end |
#fax ⇒ Object
78 79 80 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 78 def fax submodel_at(TelefonType, 'Fax') end |
#fyz_osoba ⇒ Object
126 127 128 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 126 def fyz_osoba at 'FyzOsoba' end |
#fyz_osoba_attributes ⇒ Object
130 131 132 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 130 def fyz_osoba_attributes attributes_at 'FyzOsoba' end |
#guid ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 54 def guid at 'GUID' end |
#guid_attributes ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 58 def guid_attributes attributes_at 'GUID' end |
#ico ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 26 def ico at 'ICO' end |
#ico_attributes ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 30 def ico_attributes attributes_at 'ICO' end |
#isdoc ⇒ Object
182 183 184 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 182 def isdoc at 'ISDOC' end |
#isdoc_attributes ⇒ Object
186 187 188 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 186 def isdoc_attributes attributes_at 'ISDOC' end |
#kod_banky ⇒ Object
150 151 152 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 150 def kod_banky at 'KodBanky' end |
#kod_banky_attributes ⇒ Object
154 155 156 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 154 def kod_banky_attributes attributes_at 'KodBanky' end |
#kod_partn ⇒ Object
174 175 176 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 174 def kod_partn at 'KodPartn' end |
#kod_partn_attributes ⇒ Object
178 179 180 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 178 def kod_partn_attributes attributes_at 'KodPartn' end |
#mobil ⇒ Object
82 83 84 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 82 def mobil submodel_at(TelefonType, 'Mobil') end |
#nazev ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 62 def nazev at 'Nazev' end |
#nazev_attributes ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 66 def nazev_attributes attributes_at 'Nazev' end |
#obch_adresa ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 14 def obch_adresa submodel_at(AdresaType, 'ObchAdresa') end |
#obch_nazev ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 6 def obch_nazev at 'ObchNazev' end |
#obch_nazev_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 10 def obch_nazev_attributes attributes_at 'ObchNazev' end |
#platce_dph ⇒ Object
118 119 120 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 118 def platce_dph at 'PlatceDPH' end |
#platce_dph_attributes ⇒ Object
122 123 124 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 122 def platce_dph_attributes attributes_at 'PlatceDPH' end |
#seznam_bank_spojeni ⇒ Object
194 195 196 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 194 def seznam_bank_spojeni array_of_at(BankSpojeniType, ['SeznamBankSpojeni', 'BankSpojeni']) end |
#spec_sym ⇒ Object
166 167 168 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 166 def spec_sym at 'SpecSym' end |
#spec_sym_attributes ⇒ Object
170 171 172 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 170 def spec_sym_attributes attributes_at 'SpecSym' end |
#tel ⇒ Object
74 75 76 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 74 def tel submodel_at(TelefonType, 'Tel') end |
#to_h ⇒ Object
202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 202 def to_h hash = {} hash[:attributes] = attributes 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[: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[:fakt_adresa] = fakt_adresa.to_h if has? 'FaktAdresa' 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[:adresa] = adresa.to_h if has? 'Adresa' 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[: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[: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[: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[:seznam_bank_spojeni] = seznam_bank_spojeni.map(&:to_h) if has? 'SeznamBankSpojeni' hash[:vlajky] = vlajky.to_h if has? 'Vlajky' hash end |
#ucet ⇒ Object
142 143 144 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 142 def ucet at 'Ucet' end |
#ucet_attributes ⇒ Object
146 147 148 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 146 def ucet_attributes attributes_at 'Ucet' end |
#v_symb ⇒ Object
158 159 160 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 158 def v_symb at 'VSymb' end |
#v_symb_attributes ⇒ Object
162 163 164 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 162 def v_symb_attributes attributes_at 'VSymb' end |
#vlajky ⇒ Object
198 199 200 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 198 def vlajky submodel_at(Vlajky, 'Vlajky') end |
#www ⇒ Object
110 111 112 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 110 def www at 'WWW' end |
#www_attributes ⇒ Object
114 115 116 |
# File 'lib/money_s3/parsers/doklad_firma_type.rb', line 114 def www_attributes attributes_at 'WWW' end |