* 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 SKU Action
 ***********************************************************************/
// @TODO: set request. Action can be passed as FBAInboundServiceMWS_Model_GetPrepInstructionsForSKU
$request = new FBAInboundServiceMWS_Model_GetPrepInstructionsForSKURequest();
$request->setSellerId(MERCHANT_ID);
// object or array of parameters
invokeGetPrepInstructionsForSKU($service, $request);
/**
 * Get Get Prep Instructions For SKU 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_GetPrepInstructionsForSKU or array of parameters
 */
function invokeGetPrepInstructionsForSKU(FBAInboundServiceMWS_Interface $service, $request)
{
    try {
        $response = $service->GetPrepInstructionsForSKU($request);
 /**
  * Get Prep Instructions For SKU
  * Returns the required prep that must be performed for a set of items, identified
  * by SellerSKUs, 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_GetPrepInstructionsForSKU request or FBAInboundServiceMWS_Model_GetPrepInstructionsForSKU object itself
  * @see FBAInboundServiceMWS_Model_GetPrepInstructionsForSKURequest
  * @return FBAInboundServiceMWS_Model_GetPrepInstructionsForSKUResponse
  *
  * @throws FbaInbound_Exception
  */
 public function getPrepInstructionsForSKU($request)
 {
     if (!$request instanceof Model\FBAInboundServiceMWS_Model_GetPrepInstructionsForSKURequest) {
         //require_once (dirname(__FILE__) . '/Model/GetPrepInstructionsForSKURequest.php');
         $request = new FBAInboundServiceMWS_Model_GetPrepInstructionsForSKURequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'GetPrepInstructionsForSKU';
     $httpResponse = $this->_invoke($parameters);
     //require_once (dirname(__FILE__) . '/Model/GetPrepInstructionsForSKUResponse.php');
     $response = Model\FBAInboundServiceMWS_Model_GetPrepInstructionsForSKUResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }