class MoneyS3::Parsers::PC

Public Instance Methods

cena1() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 86
def cena1
  submodel_at(CenaType, 'Cena1')
end
cena2() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 90
def cena2
  submodel_at(CenaType, 'Cena2')
end
cena3() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 94
def cena3
  submodel_at(CenaType, 'Cena3')
end
cena4() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 98
def cena4
  submodel_at(CenaType, 'Cena4')
end
cena5() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 102
def cena5
  submodel_at(CenaType, 'Cena5')
end
dealer_skupina() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 10
def dealer_skupina
  at 'DealerSkupina'
end
dealer_skupina_attributes() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 14
def dealer_skupina_attributes
  attributes_at 'DealerSkupina'
end
hladina() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 6
def hladina
  submodel_at(CenovaHladinaType, 'Hladina')
end
mena() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 42
def mena
  submodel_at(MenaType, 'Mena')
end
sdph() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 18
def sdph
  at 'SDPH'
end
sdph_attributes() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 22
def sdph_attributes
  attributes_at 'SDPH'
end
to_h() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 106
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:hladina] = hladina.to_h if has? 'Hladina'
  hash[:dealer_skupina] = dealer_skupina if has? 'DealerSkupina'
  hash[:dealer_skupina_attributes] = dealer_skupina_attributes if has? 'DealerSkupina'
  hash[:sdph] = sdph if has? 'SDPH'
  hash[:sdph_attributes] = sdph_attributes if has? 'SDPH'
  hash[:zaok] = zaok if has? 'Zaok'
  hash[:zaok_attributes] = zaok_attributes if has? 'Zaok'
  hash[:zpusob_zao] = zpusob_zao if has? 'ZpusobZao'
  hash[:zpusob_zao_attributes] = zpusob_zao_attributes if has? 'ZpusobZao'
  hash[:mena] = mena.to_h if has? 'Mena'
  hash[:vyp_pr_ceny] = vyp_pr_ceny if has? 'VypPrCeny'
  hash[:vyp_pr_ceny_attributes] = vyp_pr_ceny_attributes if has? 'VypPrCeny'
  hash[:vych_a] = vych_a if has? 'VychA'
  hash[:vych_a_attributes] = vych_a_attributes if has? 'VychA'
  hash[:zpusob_zm_a] = zpusob_zm_a if has? 'ZpusobZmA'
  hash[:zpusob_zm_a_attributes] = zpusob_zm_a_attributes if has? 'ZpusobZmA'
  hash[:vych_b] = vych_b if has? 'VychB'
  hash[:vych_b_attributes] = vych_b_attributes if has? 'VychB'
  hash[:zpusob_zm_b] = zpusob_zm_b if has? 'ZpusobZmB'
  hash[:zpusob_zm_b_attributes] = zpusob_zm_b_attributes if has? 'ZpusobZmB'
  hash[:cena1] = cena1.to_h if has? 'Cena1'
  hash[:cena2] = cena2.to_h if has? 'Cena2'
  hash[:cena3] = cena3.to_h if has? 'Cena3'
  hash[:cena4] = cena4.to_h if has? 'Cena4'
  hash[:cena5] = cena5.to_h if has? 'Cena5'

  hash
end
vych_a() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 54
def vych_a
  at 'VychA'
end
vych_a_attributes() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 58
def vych_a_attributes
  attributes_at 'VychA'
end
vych_b() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 70
def vych_b
  at 'VychB'
end
vych_b_attributes() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 74
def vych_b_attributes
  attributes_at 'VychB'
end
vyp_pr_ceny() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 46
def vyp_pr_ceny
  at 'VypPrCeny'
end
vyp_pr_ceny_attributes() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 50
def vyp_pr_ceny_attributes
  attributes_at 'VypPrCeny'
end
zaok() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 26
def zaok
  at 'Zaok'
end
zaok_attributes() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 30
def zaok_attributes
  attributes_at 'Zaok'
end
zpusob_zao() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 34
def zpusob_zao
  at 'ZpusobZao'
end
zpusob_zao_attributes() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 38
def zpusob_zao_attributes
  attributes_at 'ZpusobZao'
end
zpusob_zm_a() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 62
def zpusob_zm_a
  at 'ZpusobZmA'
end
zpusob_zm_a_attributes() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 66
def zpusob_zm_a_attributes
  attributes_at 'ZpusobZmA'
end
zpusob_zm_b() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 78
def zpusob_zm_b
  at 'ZpusobZmB'
end
zpusob_zm_b_attributes() click to toggle source
# File lib/money_s3/parsers/pc.rb, line 82
def zpusob_zm_b_attributes
  attributes_at 'ZpusobZmB'
end