/**
  * Service Call: BMGetInventory
  * @param BMGetInventoryReq $bMGetInventoryReq
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return BMGetInventoryResponseType
  * @throws APIException
  */
 public function BMGetInventory($bMGetInventoryReq, $apiCredential = NULL)
 {
     $this->setStandardParams($bMGetInventoryReq->BMGetInventoryRequest);
     $ret = new BMGetInventoryResponseType();
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $resp = $this->call('PayPalAPI', 'BMGetInventory', $bMGetInventoryReq, $apiContext, $handlers);
     $ret->init(PPUtils::xmlToArray($resp));
     return $ret;
 }
 /**
  * Service Call: BMGetInventory
  * @param BMGetInventoryReq $bMGetInventoryReq
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return BMGetInventoryResponseType
  * @throws APIException
  */
 public function BMGetInventory($bMGetInventoryReq, $apiCredential = NULL)
 {
     $this->setStandardParams($bMGetInventoryReq->BMGetInventoryRequest);
     $ret = new BMGetInventoryResponseType();
     $resp = $this->call('PayPalAPI', 'BMGetInventory', $bMGetInventoryReq, $apiCredential);
     $ret->init(PPUtils::xmlToArray($resp));
     return $ret;
 }
 /**
  * Service Call: BMGetInventory
  * @param BMGetInventoryReq $bMGetInventoryReq
  * @return BMGetInventoryResponseType
  * @throws APIException
  */
 public function BMGetInventory($bMGetInventoryReq, $apiUsername = null)
 {
     $this->setStandardParams($bMGetInventoryReq->BMGetInventoryRequest);
     $ret = new BMGetInventoryResponseType();
     $resp = $this->call("BMGetInventory", $bMGetInventoryReq, $apiUsername);
     $ret->init(PPUtils::xmlToArray($resp));
     return $ret;
 }