/** * Get Competitive Pricing For ASIN * Gets competitive pricing and related information for a product identified by * the MarketplaceId and ASIN. * * @param mixed $request array of parameters for GetCompetitivePricingForASIN request or GetCompetitivePricingForASIN object itself * * @see GetCompetitivePricingForASIN * @return GetCompetitivePricingForASINResponse * * @throws MwsProductsException */ public function getCompetitivePricingForASIN($request) { return GetCompetitivePricingForASINResponse::fromXML($this->_invoke('GetCompetitivePricingForASIN')); }
/** * Get Competitive Pricing For ASIN * Gets competitive pricing and related information for a product identified by * the MarketplaceId and ASIN. * * @param mixed $request array of parameters for GetCompetitivePricingForASIN request or GetCompetitivePricingForASIN object itself * * @see GetCompetitivePricingForASINRequest * @return Model\GetCompetitivePricingForASINResponse * * @throws \Exception */ public function getCompetitivePricingForASIN($request) { if (!$request instanceof Model\GetCompetitivePricingForASINRequest) { $request = new Model\GetCompetitivePricingForASINRequest($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'GetCompetitivePricingForASIN'; $httpResponse = $this->_invoke($parameters); $response = Model\GetCompetitivePricingForASINResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }