/** * 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')); }
/** * 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; }
/** * 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')); }