Sha256: f1615d24b6ad5e2a5a418b97b1c3a7992fadd24b26e7cd6a4398e4f6fb3d9cc3

Contents?: true

Size: 1.52 KB

Versions: 8

Compression:

Stored size: 1.52 KB

Contents

require 'money_s3/base_element'
require 'money_s3/adresa_type'
require 'money_s3/adresa_type'
require 'money_s3/adresa_type'
require 'money_s3/telefon_type'
require 'money_s3/telefon_type'
require 'money_s3/telefon_type'

module MoneyS3
  class MojeFirmaType
    include BaseElement

    def nazev
      at :Nazev
    end

    def obch_nazev
      at :ObchNazev
    end

    def fakt_nazev
      at :FaktNazev
    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 banka
      at :Banka
    end

    def ucet
      at :Ucet
    end

    def kod_banky
      at :KodBanky
    end

    def kod_partn
      at :KodPartn
    end

    def fyz_osoba
      at :FyzOsoba
    end

    def mena_symb
      at :MenaSymb
    end

    def mena_kod
      at :MenaKod
    end

    def adresa
      element_xml = at :Adresa

      AdresaType.new(element_xml) if element_xml
    end

    def obch_adresa
      element_xml = at :ObchAdresa

      AdresaType.new(element_xml) if element_xml
    end

    def fakt_adresa
      element_xml = at :FaktAdresa

      AdresaType.new(element_xml) if element_xml
    end

    def tel
      element_xml = at :Tel

      TelefonType.new(element_xml) if element_xml
    end

    def fax
      element_xml = at :Fax

      TelefonType.new(element_xml) if element_xml
    end

    def mobil
      element_xml = at :Mobil

      TelefonType.new(element_xml) if element_xml
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
money_s3-0.1.8 lib/money_s3/moje_firma_type.rb
money_s3-0.1.7 lib/money_s3/moje_firma_type.rb
money_s3-0.1.6 lib/money_s3/moje_firma_type.rb
money_s3-0.1.5 lib/money_s3/moje_firma_type.rb
money_s3-0.1.4 lib/money_s3/moje_firma_type.rb
money_s3-0.1.3 lib/money_s3/moje_firma_type.rb
money_s3-0.1.1 lib/money_s3/moje_firma_type.rb
money_s3-0.1.0 lib/money_s3/moje_firma_type.rb