class IngramMicro::SalesOrderRejection

Public Instance Methods

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