Sha256: a18985ac5393001ba545705d073509eac365e9993a16ffb0e6b08555e0c21b41

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

require 'money_s3/base_element'
require 'money_s3/sklad_type'
require 'money_s3/km_karta_type'
require 'money_s3/vyrobni_cislo_type'
require 'money_s3/dodavka_type'
require 'money_s3/def_sub_pol_type'

module MoneyS3
  class PolSklDoklType
    include BaseElement

    def nazev
      at :Nazev
    end

    def pocet_mj
      at :PocetMJ
    end

    def cena
      at :Cena
    end

    def valuty
      at :Valuty
    end

    def dph
      at :DPH
    end

    def cena_typ
      at :CenaTyp
    end

    def sleva
      at :Sleva
    end

    def cinnost
      at :Cinnost
    end

    def zakazka
      at :Zakazka
    end

    def stredisko
      at :Stredisko
    end

    def cenova_hlad
      at :CenovaHlad
    end

    def poznamka
      at :Poznamka
    end

    def vratka
      at :Vratka
    end

    def ucet_md
      at :UcetMD
    end

    def ucet_d
      at :UcetD
    end

    def kod_statu_puv
      at :KodStatuPuv
    end

    def typ_transakce
      at :TypTransakce
    end

    def hmotnost
      at :Hmotnost
    end

    def poriz_cena
      at :PorizCena
    end

    def cena_po_sleve
      at :CenaPoSleve
    end

    def zvl_rezim
      at :ZvlRezim
    end

    def zvl_dph
      at :ZvlDPH
    end

    def rezim_eet
      at :RezimEET
    end

    def sklad
      submodel_at(SkladType, :Sklad)
    end

    def km_karta
      submodel_at(KmKartaType, :KmKarta)
    end

    def seznam_vc
      array_of_at(VyrobniCisloType, [:SeznamVC, :VyrobniCislo])
    end

    def seznam_dodavek
      array_of_at(DodavkaType, [:SeznamDodavek, :Dodavka])
    end

    def slozeni
      array_of_at(DefSubPolType, [:Slozeni, :SubPolozka])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.2.0 lib/money_s3/pol_skl_dokl_type.rb