Sha256: 9c9bec2fd651556ed717bd115891e1585ea69e1bd718e35e2d8bf2b10be80db7

Contents?: true

Size: 807 Bytes

Versions: 1

Compression:

Stored size: 807 Bytes

Contents

require_relative 'models/fulfillment_order'
require_relative 'models/fulfillment_order_item'
require_relative 'models/fulfillment_shipment'

module Amazon
  module MWS

    class GetFulfillmentOrderResponse < Response
      xml_name 'GetFulfillmentOrderResponse'
      result = 'GetFulfillmentOrderResult'
      namespace = 'xmlns:'

      xml_reader :request_id, :in => "ResponseMetadata"
      xml_reader :fulfillment_order, :as => FulfillmentOrder, :in => result
      xml_reader :fulfillment_order_items, :as => [FulFillmentOrderItem], :in => namespace + result + "/" + namespace + "FulfillmentOrderItem", :from => "member"
      xml_reader :fulfillment_shipments, :as => [FulfillmentShipment], :in => namespace + result + "/" + namespace + "FulfillmentShipment", :from => "member"
    end 
  end 
end 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amazon-mws-plus-0.1.3 lib/amazon/mws/response/fulfillment_order/get_fulfillment_order_response.rb