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