Beispiel #1
0
 /**
  * List All Fulfillment Orders
  * Gets the first set of fulfillment orders that are currently being
  *   fulfilled or that were being fulfilled at some time in the past
  *   (as specified by the query parameters). Also returns a NextToken
  *   which can be used iterate through the remaining fulfillment orders
  *   (via the ListAllFulfillmentOrdersByNextToken operation).
  *
  *   If a NextToken is not returned, it indicates the end-of-data.
  *
  *   If the QueryStartDateTime is set, the results will include all orders
  *   currently being fulfilled, and all orders that were being fulfilled
  *   since that date and time.
  *
  * @param mixed $request array of parameters for FBAOutboundServiceMWS_Model_ListAllFulfillmentOrders request or FBAOutboundServiceMWS_Model_ListAllFulfillmentOrders object itself
  * @see FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersRequest
  * @return FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersResponse
  *
  * @throws FBAOutboundServiceMWS_Exception
  */
 public function listAllFulfillmentOrders($request)
 {
     if (!$request instanceof FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersRequest) {
         $request = new FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'ListAllFulfillmentOrders';
     $httpResponse = $this->_invoke($parameters);
     $response = FBAOutboundServiceMWS_Model_ListAllFulfillmentOrdersResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }