/**
  * Get Prep Instructions For ASIN
  * Returns the required prep that must be performed for a set of items, identified
  * by ASINs, that will be sent to Amazon. It returns guidance for the seller
  * on how to prepare the items to be sent in to Amazon's Fulfillment Centers, and
  * identifies the labeling required for the items, and gives the seller a list
  * of additional required prep that must be performed.
  *
  * @param mixed $request array of parameters for FBAInboundServiceMWS_Model_GetPrepInstructionsForASIN request or FBAInboundServiceMWS_Model_GetPrepInstructionsForASIN object itself
  * @see FBAInboundServiceMWS_Model_GetPrepInstructionsForASINRequest
  * @return FBAInboundServiceMWS_Model_GetPrepInstructionsForASINResponse
  *
  * @throws FbaInbound_Exception
  */
 public function getPrepInstructionsForASIN($request)
 {
     if (!$request instanceof Model\FBAInboundServiceMWS_Model_GetPrepInstructionsForASINRequest) {
         //require_once (dirname(__FILE__) . '/Model/GetPrepInstructionsForASINRequest.php');
         $request = new FBAInboundServiceMWS_Model_GetPrepInstructionsForASINRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'GetPrepInstructionsForASIN';
     $httpResponse = $this->_invoke($parameters);
     //require_once (dirname(__FILE__) . '/Model/GetPrepInstructionsForASINResponse.php');
     $response = Model\FBAInboundServiceMWS_Model_GetPrepInstructionsForASINResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
 * Uncomment to try out Mock Service that simulates FBAInboundServiceMWS
 * responses without calling FBAInboundServiceMWS service.
 *
 * Responses are loaded from local XML files. You can tweak XML files to
 * experiment with various outputs during development
 *
 * XML files available under FBAInboundServiceMWS/Mock tree
 *
 ***********************************************************************/
// $service = new FBAInboundServiceMWS_Mock();
/************************************************************************
 * Setup request parameters and uncomment invoke to try out
 * sample for Get Prep Instructions For ASIN Action
 ***********************************************************************/
// @TODO: set request. Action can be passed as FBAInboundServiceMWS_Model_GetPrepInstructionsForASIN
$request = new FBAInboundServiceMWS_Model_GetPrepInstructionsForASINRequest();
$request->setSellerId(MERCHANT_ID);
// object or array of parameters
invokeGetPrepInstructionsForASIN($service, $request);
/**
 * Get Get Prep Instructions For ASIN Action Sample
 * Gets competitive pricing and related information for a product identified by
 * the MarketplaceId and ASIN.
 *
 * @param FBAInboundServiceMWS_Interface $service instance of FBAInboundServiceMWS_Interface
 * @param mixed $request FBAInboundServiceMWS_Model_GetPrepInstructionsForASIN or array of parameters
 */
function invokeGetPrepInstructionsForASIN(FBAInboundServiceMWS_Interface $service, $request)
{
    try {
        $response = $service->GetPrepInstructionsForASIN($request);