class Pohoda::Parsers::Ord::OrderDetailType
Public Instance Methods
order_item()
click to toggle source
# File lib/pohoda/parsers/ord/order_detail_type.rb, line 7 def order_item array_of_at(Ord::OrderItemType, ['ord:orderItem']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/ord/order_detail_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:order_item] = order_item.map(&:to_h) if has? 'ord:orderItem' hash end