/**
  * Get My Price For ASIN
  * <!-- Wrong doc in current code -->
  *
  * @param mixed $request array of parameters for GetMyPriceForASIN request or GetMyPriceForASIN object itself
  *
  * @see GetMyPriceForASIN
  * @return GetMyPriceForASINResponse
  *
  * @throws MwsProductsException
  */
 public function getMyPriceForASIN($request)
 {
     return GetMyPriceForASINResponse::fromXML($this->_invoke('GetMyPriceForASIN'));
 }
Esempio n. 2
0
 /**
  * Get My Price For ASIN
  * <!-- Wrong doc in current code -->
  *
  * @param mixed $request array of parameters for GetMyPriceForASIN request or GetMyPriceForASIN object itself
  *
  * @see GetMyPriceForASINRequest
  * @return Model\GetMyPriceForASINResponse
  *
  * @throws MwsProductsException
  */
 public function getMyPriceForASIN($request)
 {
     if (!$request instanceof Model\GetMyPriceForASINRequest) {
         $request = new Model\GetMyPriceForASINRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'GetMyPriceForASIN';
     $httpResponse = $this->_invoke($parameters);
     $response = Model\GetMyPriceForASINResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }