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