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