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