class MoneyS3::Parsers::SouhrnDPHPolType

Public Instance Methods

dph() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 30
def dph
  at 'DPH'
end
dph_attributes() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 34
def dph_attributes
  attributes_at 'DPH'
end
dph_mj() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 14
def dph_mj
  at 'DPH_MJ'
end
dph_mj_attributes() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 18
def dph_mj_attributes
  attributes_at 'DPH_MJ'
end
to_h() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 42
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:zaklad_mj] = zaklad_mj if has? 'Zaklad_MJ'
  hash[:zaklad_mj_attributes] = zaklad_mj_attributes if has? 'Zaklad_MJ'
  hash[:dph_mj] = dph_mj if has? 'DPH_MJ'
  hash[:dph_mj_attributes] = dph_mj_attributes if has? 'DPH_MJ'
  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[:valuty] = valuty.to_h if has? 'Valuty'

  hash
end
valuty() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 38
def valuty
  submodel_at(Valuty, 'Valuty')
end
zaklad() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 22
def zaklad
  at 'Zaklad'
end
zaklad_attributes() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 26
def zaklad_attributes
  attributes_at 'Zaklad'
end
zaklad_mj() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 6
def zaklad_mj
  at 'Zaklad_MJ'
end
zaklad_mj_attributes() click to toggle source
# File lib/money_s3/parsers/souhrn_dph_pol_type.rb, line 10
def zaklad_mj_attributes
  attributes_at 'Zaklad_MJ'
end