Sha256: 22ce6e32863932aeb4e11e6003966bbd87bfaa25bd6bf09dea18a825e84c1fd9
Contents?: true
Size: 1.54 KB
Versions: 6
Compression:
Stored size: 1.54 KB
Contents
module MoneyS3 module Builders class RozuctPolozIDType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('Popis', data[:popis], data[:popis_attributes]) if data.key? :popis root << build_element('UcMD', data[:uc_md], data[:uc_md_attributes]) if data.key? :uc_md root << build_element('UcD', data[:uc_d], data[:uc_d_attributes]) if data.key? :uc_d root << build_element('Castka', data[:castka], data[:castka_attributes]) if data.key? :castka root << build_element('Stred', data[:stred], data[:stred_attributes]) if data.key? :stred root << build_element('Zakazka', data[:zakazka], data[:zakazka_attributes]) if data.key? :zakazka root << build_element('Cinnost', data[:cinnost], data[:cinnost_attributes]) if data.key? :cinnost root << build_element('ParSym', data[:par_sym], data[:par_sym_attributes]) if data.key? :par_sym root << build_element('ParICO', data[:par_ico], data[:par_ico_attributes]) if data.key? :par_ico root << build_element('Pozn', data[:pozn], data[:pozn_attributes]) if data.key? :pozn root << build_element('TypCena', data[:typ_cena], data[:typ_cena_attributes]) if data.key? :typ_cena root << build_element('SazbaDPH', data[:sazba_dph], data[:sazba_dph_attributes]) if data.key? :sazba_dph if data.key? :adresa root << FirmaType.new('Adresa', data[:adresa]).builder end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems