コード例 #1
0
 /**
  * Service Call: CancelPermissions
  * @param CancelPermissionsRequest $cancelPermissionsRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return Types\Perm\CancelPermissionsResponse
  * @throws APIException
  */
 public function CancelPermissions($cancelPermissionsRequest, $apiCredential = NULL)
 {
     $ret = new CancelPermissionsResponse();
     $resp = $this->call('Permissions', 'CancelPermissions', $cancelPermissionsRequest, $apiCredential);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
コード例 #2
0
 /**
  * Service Call: CancelPermissions
  * @param CancelPermissionsRequest $cancelPermissionsRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically
  * @return Types\Perm\CancelPermissionsResponse
  * @throws APIException
  */
 public function CancelPermissions($cancelPermissionsRequest, $apiCredential = NULL)
 {
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $ret = new CancelPermissionsResponse();
     $resp = $this->call('Permissions', 'CancelPermissions', $cancelPermissionsRequest, $apiContext, $handlers);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }