class MoneyS3::Parsers::DalsiSazba

Public Instance Methods

dph() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 38
def dph
  at 'DPH'
end
dph_attributes() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 42
def dph_attributes
  attributes_at 'DPH'
end
hladina_dph() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 14
def hladina_dph
  at 'HladinaDPH'
end
hladina_dph_attributes() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 18
def hladina_dph_attributes
  attributes_at 'HladinaDPH'
end
popis() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 6
def popis
  at 'Popis'
end
popis_attributes() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 10
def popis_attributes
  attributes_at 'Popis'
end
sazba() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 22
def sazba
  at 'Sazba'
end
sazba_attributes() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 26
def sazba_attributes
  attributes_at 'Sazba'
end
to_h() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 46
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:popis] = popis if has? 'Popis'
  hash[:popis_attributes] = popis_attributes if has? 'Popis'
  hash[:hladina_dph] = hladina_dph if has? 'HladinaDPH'
  hash[:hladina_dph_attributes] = hladina_dph_attributes if has? 'HladinaDPH'
  hash[:sazba] = sazba if has? 'Sazba'
  hash[:sazba_attributes] = sazba_attributes if has? 'Sazba'
  hash[:zaklad] = zaklad if has? 'Zaklad'
  hash[:zaklad_attributes] = zaklad_attributes if has? 'Zaklad'
  hash[:dph] = dph if has? 'DPH'
  hash[:dph_attributes] = dph_attributes if has? 'DPH'

  hash
end
zaklad() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 30
def zaklad
  at 'Zaklad'
end
zaklad_attributes() click to toggle source
# File lib/money_s3/parsers/dalsi_sazba.rb, line 34
def zaklad_attributes
  attributes_at 'Zaklad'
end