Class: MoneyS3::Parsers::RozuctPolozUDType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::RozuctPolozUDType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/rozuct_poloz_ud_type.rb
Instance Method Summary collapse
- #adresa ⇒ Object
- #castka ⇒ Object
- #castka_attributes ⇒ Object
- #cinnost ⇒ Object
- #cinnost_attributes ⇒ Object
- #ico ⇒ Object
- #ico_attributes ⇒ Object
- #par_ico ⇒ Object
- #par_ico_attributes ⇒ Object
- #par_sym ⇒ Object
- #par_sym_attributes ⇒ Object
- #pohyb ⇒ Object
- #pohyb_attributes ⇒ Object
- #popis ⇒ Object
- #popis_attributes ⇒ Object
- #pozn ⇒ Object
- #pozn_attributes ⇒ Object
- #sazba_dph ⇒ Object
- #sazba_dph_attributes ⇒ Object
- #stred ⇒ Object
- #stred_attributes ⇒ Object
- #to_h ⇒ Object
- #typ_cena ⇒ Object
- #typ_cena_attributes ⇒ Object
- #uc_d ⇒ Object
- #uc_d_attributes ⇒ Object
- #uc_md ⇒ Object
- #uc_md_attributes ⇒ Object
- #var_sym ⇒ Object
- #var_sym_attributes ⇒ Object
- #zakazka ⇒ Object
- #zakazka_attributes ⇒ Object
Instance Method Details
#adresa ⇒ Object
126 127 128 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 126 def adresa submodel_at(FirmaType, 'Adresa') end |
#castka ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 38 def castka at 'Castka' end |
#castka_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 42 def castka_attributes attributes_at 'Castka' end |
#cinnost ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 62 def cinnost at 'Cinnost' end |
#cinnost_attributes ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 66 def cinnost_attributes attributes_at 'Cinnost' end |
#ico ⇒ Object
94 95 96 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 94 def ico at 'ICO' end |
#ico_attributes ⇒ Object
98 99 100 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 98 def ico_attributes attributes_at 'ICO' end |
#par_ico ⇒ Object
86 87 88 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 86 def par_ico at 'ParICO' end |
#par_ico_attributes ⇒ Object
90 91 92 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 90 def par_ico_attributes attributes_at 'ParICO' end |
#par_sym ⇒ Object
70 71 72 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 70 def par_sym at 'ParSym' end |
#par_sym_attributes ⇒ Object
74 75 76 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 74 def par_sym_attributes attributes_at 'ParSym' end |
#pohyb ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 30 def pohyb at 'Pohyb' end |
#pohyb_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 34 def pohyb_attributes attributes_at 'Pohyb' end |
#popis ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 6 def popis at 'Popis' end |
#popis_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 10 def popis_attributes attributes_at 'Popis' end |
#pozn ⇒ Object
102 103 104 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 102 def pozn at 'Pozn' end |
#pozn_attributes ⇒ Object
106 107 108 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 106 def pozn_attributes attributes_at 'Pozn' end |
#sazba_dph ⇒ Object
118 119 120 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 118 def sazba_dph at 'SazbaDPH' end |
#sazba_dph_attributes ⇒ Object
122 123 124 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 122 def sazba_dph_attributes attributes_at 'SazbaDPH' end |
#stred ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 46 def stred at 'Stred' end |
#stred_attributes ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 50 def stred_attributes attributes_at 'Stred' end |
#to_h ⇒ Object
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 163 164 165 166 167 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 130 def to_h hash = {} hash[:attributes] = attributes hash[:popis] = popis if has? 'Popis' hash[:popis_attributes] = popis_attributes if has? 'Popis' hash[:uc_md] = uc_md if has? 'UcMD' hash[:uc_md_attributes] = uc_md_attributes if has? 'UcMD' hash[:uc_d] = uc_d if has? 'UcD' hash[:uc_d_attributes] = uc_d_attributes if has? 'UcD' hash[:pohyb] = pohyb if has? 'Pohyb' hash[:pohyb_attributes] = pohyb_attributes if has? 'Pohyb' hash[:castka] = castka if has? 'Castka' hash[:castka_attributes] = castka_attributes if has? 'Castka' 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[:par_sym] = par_sym if has? 'ParSym' hash[:par_sym_attributes] = par_sym_attributes if has? 'ParSym' hash[:var_sym] = var_sym if has? 'VarSym' hash[:var_sym_attributes] = var_sym_attributes if has? 'VarSym' hash[:par_ico] = par_ico if has? 'ParICO' hash[:par_ico_attributes] = par_ico_attributes if has? 'ParICO' hash[:ico] = ico if has? 'ICO' hash[:ico_attributes] = ico_attributes if has? 'ICO' hash[:pozn] = pozn if has? 'Pozn' hash[:pozn_attributes] = pozn_attributes if has? 'Pozn' hash[:typ_cena] = typ_cena if has? 'TypCena' hash[:typ_cena_attributes] = typ_cena_attributes if has? 'TypCena' hash[:sazba_dph] = sazba_dph if has? 'SazbaDPH' hash[:sazba_dph_attributes] = sazba_dph_attributes if has? 'SazbaDPH' hash[:adresa] = adresa.to_h if has? 'Adresa' hash end |
#typ_cena ⇒ Object
110 111 112 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 110 def typ_cena at 'TypCena' end |
#typ_cena_attributes ⇒ Object
114 115 116 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 114 def typ_cena_attributes attributes_at 'TypCena' end |
#uc_d ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 22 def uc_d at 'UcD' end |
#uc_d_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 26 def uc_d_attributes attributes_at 'UcD' end |
#uc_md ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 14 def uc_md at 'UcMD' end |
#uc_md_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 18 def uc_md_attributes attributes_at 'UcMD' end |
#var_sym ⇒ Object
78 79 80 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 78 def var_sym at 'VarSym' end |
#var_sym_attributes ⇒ Object
82 83 84 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 82 def var_sym_attributes attributes_at 'VarSym' end |
#zakazka ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 54 def zakazka at 'Zakazka' end |
#zakazka_attributes ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/rozuct_poloz_ud_type.rb', line 58 def zakazka_attributes attributes_at 'Zakazka' end |