class IngramMicro::ShipAdvice

Public Instance Methods

customer_id() click to toggle source
# File lib/ingram_micro/inbound_elements/ship_advice.rb, line 3
def customer_id
  @hash['message']['ship_advice']['header']['customer_id']
end
detail() click to toggle source
# File lib/ingram_micro/inbound_elements/ship_advice.rb, line 22
def detail
  detail_hash = @hash['message']['ship_advice']['detail']
  IngramMicro::InboundDetail.new(detail_hash)
end
order_header() click to toggle source
# File lib/ingram_micro/inbound_elements/ship_advice.rb, line 17
def order_header
  order_header_hash = @hash['message']['ship_advice']['header']['order_header']
  IngramMicro::InboundOrderHeader.new(order_header_hash)
end
purchase_order_information() click to toggle source
# File lib/ingram_micro/inbound_elements/ship_advice.rb, line 12
def purchase_order_information
  purchase_order_information_hash = @hash['message']['ship_advice']['header']['purchase_order_information']
  IngramMicro::InboundPurchaseOrderInformation.new(purchase_order_information_hash)
end
shipment_information() click to toggle source
# File lib/ingram_micro/inbound_elements/ship_advice.rb, line 7
def shipment_information
  shipment_information_hash = @hash['message']['ship_advice']['header']['shipment_information']
  IngramMicro::InboundShipmentInformation.new(shipment_information_hash)
end