Sha256: d87d7ee68ed914f73f4676e7a98c5588dd6c3ebb0c57bd6e809327afe6b9ba40
Contents?: true
Size: 1.62 KB
Versions: 1
Compression:
Stored size: 1.62 KB
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/firma_type' module MoneyS3 module Parsers class RozuctPolozUDType include BaseParser def popis at 'Popis' end def castka at 'Castka' end def stred at 'Stred' end def zakazka at 'Zakazka' end def cinnost at 'Cinnost' end def pozn at 'Pozn' end def typ_cena at 'TypCena' end def sazba_dph at 'SazbaDPH' end def uc_md at 'UcMD' end def uc_d at 'UcD' end def pohyb at 'Pohyb' end def par_sym at 'ParSym' end def var_sym at 'VarSym' end def adresa submodel_at(FirmaType, 'Adresa') end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:popis] = popis if has? 'Popis' hash[:castka] = castka if has? 'Castka' hash[:stred] = stred if has? 'Stred' hash[:zakazka] = zakazka if has? 'Zakazka' hash[:cinnost] = cinnost if has? 'Cinnost' hash[:pozn] = pozn if has? 'Pozn' hash[:typ_cena] = typ_cena if has? 'TypCena' hash[:sazba_dph] = sazba_dph if has? 'SazbaDPH' hash[:uc_md] = uc_md if has? 'UcMD' hash[:uc_d] = uc_d if has? 'UcD' hash[:pohyb] = pohyb if has? 'Pohyb' hash[:par_sym] = par_sym if has? 'ParSym' hash[:var_sym] = var_sym if has? 'VarSym' hash[:adresa] = adresa.to_h if has? 'Adresa' hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.6.0 | lib/money_s3/parsers/rozuct_poloz_ud_type.rb |