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