/** * Put Transport Content * A write operation which sellers use to provide transportation details regarding * how an inbound shipment will arrive at Amazon's Fulfillment Centers. * * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_PutTransportContent request or FBAInboundServiceMWS_Model_PutTransportContent object itself * @see FBAInboundServiceMWS_Model_PutTransportContentRequest * @return FBAInboundServiceMWS_Model_PutTransportContentResponse * * @throws FbaInbound_Exception */ public function putTransportContent($request) { if (!$request instanceof Model\FBAInboundServiceMWS_Model_PutTransportContentRequest) { //require_once (dirname(__FILE__) . '/Model/PutTransportContentRequest.php'); $request = new FBAInboundServiceMWS_Model_PutTransportContentRequest($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'PutTransportContent'; $httpResponse = $this->_invoke($parameters); //require_once (dirname(__FILE__) . '/Model/PutTransportContentResponse.php'); $response = Model\FBAInboundServiceMWS_Model_PutTransportContentResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }
/** * Put Transport Content * A write operation which sellers use to provide transportation details regarding * how an inbound shipment will arrive at Amazon's Fulfillment Centers. * * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_PutTransportContent request or FBAInboundServiceMWS_Model_PutTransportContent object itself * @see FBAInboundServiceMWS_Model_PutTransportContentRequest * @return FBAInboundServiceMWS_Model_PutTransportContentResponse * * @throws FBAInboundServiceMWS_Exception */ public function putTransportContent($request) { if (!$request instanceof FBAInboundServiceMWS_Model_PutTransportContentRequest) { $request = new FBAInboundServiceMWS_Model_PutTransportContentRequest($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'PutTransportContent'; $httpResponse = $this->_invoke($parameters); $response = FBAInboundServiceMWS_Model_PutTransportContentResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }