public function getProductCategoriesForASIN($request)
    {
        if (!($request instanceof MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINRequest)) {
            require_once (dirname(__FILE__) . '/Model/GetProductCategoriesForASINRequest.php');
            $request = new MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINRequest($request);
        }
        $parameters = $request->toQueryParameterArray();
        $parameters['Action'] = 'GetProductCategoriesForASIN';
        $httpResponse = $this->_invoke($parameters);

        require_once (dirname(__FILE__) . '/Model/GetProductCategoriesForASINResponse.php');
        $response = MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function getProductCategoriesForASIN($request)
    {
        if (!($request instanceof MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINRequest)) {
            require_once (dirname(__FILE__) . '/Model/GetProductCategoriesForASINRequest.php');
            $request = new MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINRequest($request);
        }
        $parameters = $request->toQueryParameterArray();
        $parameters['Action'] = 'GetProductCategoriesForASIN';
        $httpResponse = $this->_invoke($parameters);

        require_once (dirname(__FILE__) . '/Model/GetProductCategoriesForASINResponse.php');
        $response = MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function getProductCategoriesForASIN ( $ request ) { if ( ! ( $ request instanceof MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINRequest ) ) { require_once ( dirname ( __FILE__ ) . '/Model/GetProductCategoriesForASINRequest.php' ) ; $ request = new MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINRequest ( $ request ) ; } $ parameters = $ request -> toQueryParameterArray ( ) ; $ parameters [ 'Action' ] = 'GetProductCategoriesForASIN' ; $ httpResponse = $ this -> _invoke ( $ parameters ) ; require_once ( dirname ( __FILE__ ) . '/Model/GetProductCategoriesForASINResponse.php' ) ; $ response = MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINResponse :: fromXML ( $ httpResponse [ 'ResponseBody' ] ) ; $ response -> setResponseHeaderMetadata ( $ httpResponse [ 'ResponseHeaderMetadata' ] ) ; return $ response ; }
Get Product Categories For ASIN
Gets categories information for a product identified by
the MarketplaceId and ASIN.

@param mixed $request array of parameters for MarketplaceWebServiceProducts_Model_GetProductCategoriesForASIN request or MarketplaceWebServiceProducts_Model_GetProductCategoriesForASIN object itself
@see MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINRequest
@return MarketplaceWebServiceProducts_Model_GetProductCategoriesForASINResponse

@throws MarketplaceWebServiceProducts_Exception
Get Product Categories For ASIN Gets categories information for a product identified by the MarketplaceId and ASIN .