class Pohoda::Parsers::Idp::PriceGroupsType

Public Instance Methods

price_group_item() click to toggle source
# File lib/pohoda/parsers/idp/price_groups_type.rb, line 7
def price_group_item
  array_of_at(Idp::PriceGroupItemType, ['idp:priceGroupItem'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/idp/price_groups_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:price_group_item] = price_group_item.map(&:to_h) if has? 'idp:priceGroupItem'

  hash
end