/** * Get My Fees Estimate * Retrieves the fees estimate for the * products identified by the given * ASIN/SKU list. * * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetMyFeesEstimate request or MarketplaceWebServiceProducts_Model_GetMyFeesEstimate object itself * @see MarketplaceWebServiceProducts_Model_GetMyFeesEstimateRequest * @return MarketplaceWebServiceProducts_Model_GetMyFeesEstimateResponse * * @throws MarketplaceWebServiceProducts_Exception */ public function getMyFeesEstimate($request) { if (!$request instanceof MarketplaceWebServiceProducts_Model_GetMyFeesEstimateRequest) { require_once dirname(__FILE__) . '/Model/GetMyFeesEstimateRequest.php'; $request = new MarketplaceWebServiceProducts_Model_GetMyFeesEstimateRequest($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'GetMyFeesEstimate'; $httpResponse = $this->_invoke($parameters); require_once dirname(__FILE__) . '/Model/GetMyFeesEstimateResponse.php'; $response = MarketplaceWebServiceProducts_Model_GetMyFeesEstimateResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }
/** * Get My Fees Estimate * Retrieves the fees estimate for the * products identified by the given * ASIN/SKU list. * * @param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetMyFeesEstimate request or MarketplaceWebServiceProducts_Model_GetMyFeesEstimate object itself * @see MarketplaceWebServiceProducts_Model_GetMyFeesEstimate * @return MarketplaceWebServiceProducts_Model_GetMyFeesEstimateResponse * * @throws MarketplaceWebServiceProducts_Exception */ public function getMyFeesEstimate($request) { require_once dirname(__FILE__) . '/Model/GetMyFeesEstimateResponse.php'; return MarketplaceWebServiceProducts_Model_GetMyFeesEstimateResponse::fromXML($this->_invoke('GetMyFeesEstimate')); }