/**
  * Service Call: ExecutePayment
  * @param ExecutePaymentRequest $executePaymentRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return ExecutePaymentResponse
  * @throws APIException
  */
 public function ExecutePayment($executePaymentRequest, $apiCredential = NULL)
 {
     $ret = new ExecutePaymentResponse();
     $resp = $this->call('AdaptivePayments', 'ExecutePayment', $executePaymentRequest, $apiCredential);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
 /**
  * Service Call: ExecutePayment
  * @param ExecutePaymentRequest $executePaymentRequest
  * @return ExecutePaymentResponse
  * @throws APIException
  */
 public function ExecutePayment($executePaymentRequest, $apiUsername = null)
 {
     $ret = new ExecutePaymentResponse();
     $resp = $this->call("ExecutePayment", $executePaymentRequest, $apiUsername);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
 /**
  * Service Call: ExecutePayment
  * @param ExecutePaymentRequest $executePaymentRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return ExecutePaymentResponse
  * @throws APIException
  */
 public function ExecutePayment($executePaymentRequest, $apiCredential = NULL)
 {
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $ret = new ExecutePaymentResponse();
     $resp = $this->call('AdaptivePayments', 'ExecutePayment', $executePaymentRequest, $apiContext, $handlers);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }