Exemplo n.º 1
0
 /**
  * Get Transport Content
  * A read-only operation which sellers use to retrieve the current
  *     details about the transportation of an inbound shipment, including status of the
  *     partnered carrier workflow and status of individual packages when they arrive at our FCs.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_GetTransportContent request or FBAInboundServiceMWS_Model_GetTransportContent object itself
  * @see FBAInboundServiceMWS_Model_GetTransportContent
  * @return FBAInboundServiceMWS_Model_GetTransportContentResponse
  *
  * @throws FbaInbound_Exception
  */
 public function getTransportContent($request)
 {
     //require_once (dirname(__FILE__) . '/Model/GetTransportContentResponse.php');
     return FBAInboundServiceMWS_Model_GetTransportContentResponse::fromXML($this->_invoke('GetTransportContent'));
 }
Exemplo n.º 2
0
 /**
  * Get Transport Content
  * A read-only operation which sellers use to retrieve the current
  *     details about the transportation of an inbound shipment, including status of the
  *     partnered carrier workflow and status of individual packages when they arrive at our FCs.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_GetTransportContent request or FBAInboundServiceMWS_Model_GetTransportContent object itself
  * @see FBAInboundServiceMWS_Model_GetTransportContentRequest
  * @return FBAInboundServiceMWS_Model_GetTransportContentResponse
  *
  * @throws FBAInboundServiceMWS_Exception
  */
 public function getTransportContent($request)
 {
     if (!$request instanceof FBAInboundServiceMWS_Model_GetTransportContentRequest) {
         $request = new FBAInboundServiceMWS_Model_GetTransportContentRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'GetTransportContent';
     $httpResponse = $this->_invoke($parameters);
     $response = FBAInboundServiceMWS_Model_GetTransportContentResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
Exemplo n.º 3
0
 /**
  * Get Transport Content
  * A read-only operation which sellers use to retrieve the current
  *     details about the transportation of an inbound shipment, including status of the
  *     partnered carrier workflow and status of individual packages when they arrive at our FCs.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_GetTransportContent request or FBAInboundServiceMWS_Model_GetTransportContent object itself
  * @see FBAInboundServiceMWS_Model_GetTransportContent
  * @return FBAInboundServiceMWS_Model_GetTransportContentResponse
  *
  * @throws FBAInboundServiceMWS_Exception
  */
 public function getTransportContent($request)
 {
     return FBAInboundServiceMWS_Model_GetTransportContentResponse::fromXML($this->_invoke('GetTransportContent'));
 }