class MoneyS3::Parsers::SouhrnDPHType

Public Instance Methods

dph22() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 38
def dph22
  at 'DPH22'
end
dph22_attributes() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 42
def dph22_attributes
  attributes_at 'DPH22'
end
dph5() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 30
def dph5
  at 'DPH5'
end
dph5_attributes() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 34
def dph5_attributes
  attributes_at 'DPH5'
end
seznam_dalsi_sazby() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 46
def seznam_dalsi_sazby
  array_of_at(DalsiSazba, ['SeznamDalsiSazby', 'DalsiSazba'])
end
to_h() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 50
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:zaklad0] = zaklad0 if has? 'Zaklad0'
  hash[:zaklad0_attributes] = zaklad0_attributes if has? 'Zaklad0'
  hash[:zaklad5] = zaklad5 if has? 'Zaklad5'
  hash[:zaklad5_attributes] = zaklad5_attributes if has? 'Zaklad5'
  hash[:zaklad22] = zaklad22 if has? 'Zaklad22'
  hash[:zaklad22_attributes] = zaklad22_attributes if has? 'Zaklad22'
  hash[:dph5] = dph5 if has? 'DPH5'
  hash[:dph5_attributes] = dph5_attributes if has? 'DPH5'
  hash[:dph22] = dph22 if has? 'DPH22'
  hash[:dph22_attributes] = dph22_attributes if has? 'DPH22'
  hash[:seznam_dalsi_sazby] = seznam_dalsi_sazby.map(&:to_h) if has? 'SeznamDalsiSazby'

  hash
end
zaklad0() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 6
def zaklad0
  at 'Zaklad0'
end
zaklad0_attributes() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 10
def zaklad0_attributes
  attributes_at 'Zaklad0'
end
zaklad22() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 22
def zaklad22
  at 'Zaklad22'
end
zaklad22_attributes() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 26
def zaklad22_attributes
  attributes_at 'Zaklad22'
end
zaklad5() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 14
def zaklad5
  at 'Zaklad5'
end
zaklad5_attributes() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_type.rb, line 18
def zaklad5_attributes
  attributes_at 'Zaklad5'
end