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