Sha256: ede6cf2dd4ee12d1d9dd8ed113a38300368dffcaab62dd0b045b61277d07c68f
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/adresa_type' require 'money_s3/parsers/telefon_type' require 'money_s3/parsers/eshop' module MoneyS3 module Parsers class KonecPrijFirmaType include BaseParser def nazev at :Nazev end def guid at :GUID end def e_mail at :EMail end def www at :WWW end def ico at :ICO end def dic at :DIC end def dicsk at :DICSK end def platce_dph at :PlatceDPH end def fyz_osoba at :FyzOsoba end def banka at :Banka end def ucet at :Ucet end def kod_banky at :KodBanky end def v_symb at :VSymb end def spec_sym at :SpecSym end def kod_partn at :KodPartn end def adresa submodel_at(AdresaType, :Adresa) end def tel submodel_at(TelefonType, :Tel) end def fax submodel_at(TelefonType, :Fax) end def mobil submodel_at(TelefonType, :Mobil) end def eshop submodel_at(Eshop, :eshop) end def to_h { nazev: nazev, guid: guid, e_mail: e_mail, www: www, ico: ico, dic: dic, dicsk: dicsk, platce_dph: platce_dph, fyz_osoba: fyz_osoba, banka: banka, ucet: ucet, kod_banky: kod_banky, v_symb: v_symb, spec_sym: spec_sym, kod_partn: kod_partn, adresa: adresa.to_h, tel: tel.to_h, fax: fax.to_h, mobil: mobil.to_h, eshop: eshop.to_h }.delete_if { |k, v| v.nil? || v.empty? } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.4.0 | lib/money_s3/parsers/konec_prij_firma_type.rb |