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