class Pohoda::Parsers::Ilt::InventoryListsItemType
Public Instance Methods
code()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 11 def code at 'ilt:code' end
code_attributes()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 15 def code_attributes attributes_at 'ilt:code' end
is_delivered()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 43 def is_delivered at 'ilt:isDelivered' end
is_delivered_attributes()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 47 def is_delivered_attributes attributes_at 'ilt:isDelivered' end
quantity()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 27 def quantity at 'ilt:quantity' end
quantity_attributes()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 31 def quantity_attributes attributes_at 'ilt:quantity' end
stock_item()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 7 def stock_item submodel_at(Typ::StockItemType, 'ilt:stockItem') end
text()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 19 def text at 'ilt:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 23 def text_attributes attributes_at 'ilt:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 51 def to_h hash = {} hash[:attributes] = attributes hash[:stock_item] = stock_item.to_h if has? 'ilt:stockItem' hash[:code] = code if has? 'ilt:code' hash[:code_attributes] = code_attributes if has? 'ilt:code' hash[:text] = text if has? 'ilt:text' hash[:text_attributes] = text_attributes if has? 'ilt:text' hash[:quantity] = quantity if has? 'ilt:quantity' hash[:quantity_attributes] = quantity_attributes if has? 'ilt:quantity' hash[:unit] = unit if has? 'ilt:unit' hash[:unit_attributes] = unit_attributes if has? 'ilt:unit' hash[:is_delivered] = is_delivered if has? 'ilt:isDelivered' hash[:is_delivered_attributes] = is_delivered_attributes if has? 'ilt:isDelivered' hash end
unit()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 35 def unit at 'ilt:unit' end
unit_attributes()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_item_type.rb, line 39 def unit_attributes attributes_at 'ilt:unit' end