class Pohoda::Parsers::Acp::ActionPriceItemType

Public Instance Methods

action_price_stock_item() click to toggle source
# File lib/pohoda/parsers/acp/action_price_item_type.rb, line 7
def action_price_stock_item
  array_of_at(Acp::ActionPriceStockItemType, ['acp:actionPriceStockItem'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/acp/action_price_item_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:action_price_stock_item] = action_price_stock_item.map(&:to_h) if has? 'acp:actionPriceStockItem'

  hash
end