Example #1
0
 /**
  * Get Package Tracking Details
  * Gets the tracking details for a shipment package.
  *
  * @param mixed $request array of parameters for FBAOutboundServiceMWS_Model_GetPackageTrackingDetails request or FBAOutboundServiceMWS_Model_GetPackageTrackingDetails object itself
  * @see FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsRequest
  * @return FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsResponse
  *
  * @throws FBAOutboundServiceMWS_Exception
  */
 public function getPackageTrackingDetails($request)
 {
     if (!$request instanceof FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsRequest) {
         $request = new FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'GetPackageTrackingDetails';
     $httpResponse = $this->_invoke($parameters);
     $response = FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
Example #2
0
 /**
  * Get Package Tracking Details
  * Gets the tracking details for a shipment package.
  *
  * @param mixed $request array of parameters for FBAOutboundServiceMWS_Model_GetPackageTrackingDetails request or FBAOutboundServiceMWS_Model_GetPackageTrackingDetails object itself
  * @see FBAOutboundServiceMWS_Model_GetPackageTrackingDetails
  * @return FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsResponse
  *
  * @throws FBAOutboundServiceMWS_Exception
  */
 public function getPackageTrackingDetails($request)
 {
     return FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsResponse::fromXML($this->_invoke('GetPackageTrackingDetails'));
 }
 public function getPackageTrackingDetails($request)
 {
     if (!$request instanceof FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsRequest) {
         $request = new FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsRequest($request);
     }
     return FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsResponse::fromXML($this->_invoke($this->_convertGetPackageTrackingDetails($request)));
 }
 /**
  * Get Package Tracking Details
  * Gets the tracking details for a shipment package.
  *
  * @param mixed $request array of parameters for FBAOutboundServiceMWS_Model_GetPackageTrackingDetails request or FBAOutboundServiceMWS_Model_GetPackageTrackingDetails object itself
  * @see FBAOutboundServiceMWS_Model_GetPackageTrackingDetails
  * @return FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsResponse
  *
  * @throws FBAOutboundServiceMWS_Exception
  */
 public function getPackageTrackingDetails($request)
 {
     require_once dirname(__FILE__) . '/Model/GetPackageTrackingDetailsResponse.php';
     return FBAOutboundServiceMWS_Model_GetPackageTrackingDetailsResponse::fromXML($this->_invoke('GetPackageTrackingDetails'));
 }