Class: IngramMicro::InventorySyncLineItem
Instance Attribute Summary
#hash
Instance Method Summary
collapse
#==, #initialize, #transaction_name
Instance Method Details
#item_code ⇒ Object
11
12
13
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 11
def item_code
hash['item_code']
end
|
#line_no ⇒ Object
3
4
5
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 3
def line_no
hash['line_no'].to_i
end
|
#quantity_available ⇒ Object
35
36
37
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 35
def quantity_available
hash['quantity_available'].to_i
end
|
#quantity_committed ⇒ Object
31
32
33
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 31
def quantity_committed
hash['quantity_committed'].to_i
end
|
#quantity_on_back_order ⇒ Object
39
40
41
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 39
def quantity_on_back_order
hash['quantity_on_back_order'].to_i
end
|
#quantity_on_hand ⇒ Object
27
28
29
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 27
def quantity_on_hand
hash['quantity_on_hand'].to_i
end
|
#synchronization_timestamp ⇒ Object
43
44
45
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 43
def synchronization_timestamp
hash['synchronization_timestamp'].to_i
end
|
#transaction_document_number ⇒ Object
7
8
9
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 7
def transaction_document_number
hash['transaction_document_number']
end
|
#unit_of_measure ⇒ Object
23
24
25
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 23
def unit_of_measure
hash['unit_of_measure']
end
|
#universal_product_code ⇒ Object
15
16
17
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 15
def universal_product_code
hash['universal_product_code'].to_i
end
|
#warehouse_id ⇒ Object
19
20
21
|
# File 'lib/ingram_micro/inbound_elements/inventory_sync_line_item.rb', line 19
def warehouse_id
hash['warehouse_id']
end
|