Class: IngramMicro::InboundLineItem
Instance Attribute Summary
#hash
Instance Method Summary
collapse
#==, #initialize, #transaction_name
Instance Method Details
#backorder_quantity ⇒ Object
82
83
84
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 82
def backorder_quantity
hash['backorder_quantity']
end
|
#base_price ⇒ Object
3
4
5
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 3
def base_price
hash['base_price']
end
|
#bill_of_lading ⇒ Object
7
8
9
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 7
def bill_of_lading
hash['bill_of_lading']
end
|
#brightpoint_line_no ⇒ Object
62
63
64
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 62
def brightpoint_line_no
hash['brightpoint_line_no']
end
|
15
16
17
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 15
def
hash['comments']
end
|
#container_id ⇒ Object
11
12
13
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 11
def container_id
hash['container_id']
end
|
#customer_order_date ⇒ Object
19
20
21
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 19
def customer_order_date
hash['customer_order_date']
end
|
#item_code ⇒ Object
46
47
48
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 46
def item_code
hash['item_code']
end
|
#line_discount ⇒ Object
23
24
25
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 23
def line_discount
hash['line_discount']
end
|
#line_no ⇒ Object
50
51
52
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 50
def line_no
hash['line_no']
end
|
#line_reference ⇒ Object
54
55
56
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 54
def line_reference
hash['line_reference']
end
|
#line_status ⇒ Object
58
59
60
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 58
def line_status
hash['line_status'] || ''
end
|
#line_tax1 ⇒ Object
27
28
29
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 27
def line_tax1
hash['line_tax1']
end
|
#line_tax2 ⇒ Object
31
32
33
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 31
def line_tax2
hash['line_tax2']
end
|
#line_tax3 ⇒ Object
35
36
37
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 35
def line_tax3
hash['line_tax3']
end
|
#market_id ⇒ Object
66
67
68
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 66
def market_id
hash['market_id']
end
|
#pallet_id ⇒ Object
70
71
72
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 70
def pallet_id
hash['pallet_id']
end
|
#product_name ⇒ Object
74
75
76
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 74
def product_name
hash['product_name']
end
|
#quantity ⇒ Object
78
79
80
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 78
def quantity
hash['quantity']
end
|
#rejection_date ⇒ Object
86
87
88
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 86
def rejection_date
hash['rejection_date']
end
|
#scac ⇒ Object
90
91
92
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 90
def scac
hash['scac']
end
|
#serial_numbers ⇒ Object
39
40
41
42
43
44
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 39
def serial_numbers
if hash['serial_list']
serial_numbers_hash = hash['serial_list']['serial_numbers']
IngramMicro::SerialNumbers.new(serial_numbers_hash)
end
end
|
#ship_quantity ⇒ Object
94
95
96
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 94
def ship_quantity
hash['ship_quantity']
end
|
#special_message ⇒ Object
98
99
100
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 98
def special_message
hash['special_message']
end
|
#unit_of_measure ⇒ Object
102
103
104
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 102
def unit_of_measure
hash['unit_of_measure']
end
|
#universal_product_code ⇒ Object
106
107
108
|
# File 'lib/ingram_micro/inbound_elements/inbound_line_item.rb', line 106
def universal_product_code
hash['universal_product_code']
end
|