class Pohoda::Parsers::Typ::TypeCurrencyHome

Public Instance Methods

price3() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 63
def price3
  at 'typ:price3'
end
price3_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 67
def price3_attributes
  attributes_at 'typ:price3'
end
price3_sum() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 79
def price3_sum
  at 'typ:price3Sum'
end
price3_sum_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 83
def price3_sum_attributes
  attributes_at 'typ:price3Sum'
end
price3_vat() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 71
def price3_vat
  at 'typ:price3VAT'
end
price3_vat_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 75
def price3_vat_attributes
  attributes_at 'typ:price3VAT'
end
price_high() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 39
def price_high
  at 'typ:priceHigh'
end
price_high_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 43
def price_high_attributes
  attributes_at 'typ:priceHigh'
end
price_high_sum() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 55
def price_high_sum
  at 'typ:priceHighSum'
end
price_high_sum_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 59
def price_high_sum_attributes
  attributes_at 'typ:priceHighSum'
end
price_high_vat() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 47
def price_high_vat
  at 'typ:priceHighVAT'
end
price_high_vat_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 51
def price_high_vat_attributes
  attributes_at 'typ:priceHighVAT'
end
price_low() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 15
def price_low
  at 'typ:priceLow'
end
price_low_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 19
def price_low_attributes
  attributes_at 'typ:priceLow'
end
price_low_sum() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 31
def price_low_sum
  at 'typ:priceLowSum'
end
price_low_sum_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 35
def price_low_sum_attributes
  attributes_at 'typ:priceLowSum'
end
price_low_vat() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 23
def price_low_vat
  at 'typ:priceLowVAT'
end
price_low_vat_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 27
def price_low_vat_attributes
  attributes_at 'typ:priceLowVAT'
end
price_none() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 7
def price_none
  at 'typ:priceNone'
end
price_none_attributes() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 11
def price_none_attributes
  attributes_at 'typ:priceNone'
end
round() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 87
def round
  submodel_at(Typ::TypeRound, 'typ:round')
end
to_h() click to toggle source
# File lib/pohoda/parsers/typ/type_currency_home.rb, line 91
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:price_none] = price_none if has? 'typ:priceNone'
  hash[:price_none_attributes] = price_none_attributes if has? 'typ:priceNone'
  hash[:price_low] = price_low if has? 'typ:priceLow'
  hash[:price_low_attributes] = price_low_attributes if has? 'typ:priceLow'
  hash[:price_low_vat] = price_low_vat if has? 'typ:priceLowVAT'
  hash[:price_low_vat_attributes] = price_low_vat_attributes if has? 'typ:priceLowVAT'
  hash[:price_low_sum] = price_low_sum if has? 'typ:priceLowSum'
  hash[:price_low_sum_attributes] = price_low_sum_attributes if has? 'typ:priceLowSum'
  hash[:price_high] = price_high if has? 'typ:priceHigh'
  hash[:price_high_attributes] = price_high_attributes if has? 'typ:priceHigh'
  hash[:price_high_vat] = price_high_vat if has? 'typ:priceHighVAT'
  hash[:price_high_vat_attributes] = price_high_vat_attributes if has? 'typ:priceHighVAT'
  hash[:price_high_sum] = price_high_sum if has? 'typ:priceHighSum'
  hash[:price_high_sum_attributes] = price_high_sum_attributes if has? 'typ:priceHighSum'
  hash[:price3] = price3 if has? 'typ:price3'
  hash[:price3_attributes] = price3_attributes if has? 'typ:price3'
  hash[:price3_vat] = price3_vat if has? 'typ:price3VAT'
  hash[:price3_vat_attributes] = price3_vat_attributes if has? 'typ:price3VAT'
  hash[:price3_sum] = price3_sum if has? 'typ:price3Sum'
  hash[:price3_sum_attributes] = price3_sum_attributes if has? 'typ:price3Sum'
  hash[:round] = round.to_h if has? 'typ:round'

  hash
end