public function Remove($id)
    {
        if (!$id) {
            $exception = new IdsException('BatchItemIdNotFound: id');
            IdsExceptionManager::HandleException($exception);
        }

        $revisedBatchRequests = array();
        foreach ($this->batchRequests as $oneBatchRequest) {
            if ($oneBatchRequest->bId == $id) {
                // Exclude
            } else {
                $revisedBatchRequests[] = $oneBatchRequest;
            }
        }
        $this->batchRequests = $revisedBatchRequests;
    }
public function Remove($id)
    {
        if (!$id) {
            $exception = new IdsException('BatchItemIdNotFound: id');
            IdsExceptionManager::HandleException($exception);
        }

        $revisedBatchRequests = array();
        foreach ($this->batchRequests as $oneBatchRequest) {
            if ($oneBatchRequest->bId == $id) {
                // Exclude
            } else {
                $revisedBatchRequests[] = $oneBatchRequest;
            }
        }
        $this->batchRequests = $revisedBatchRequests;
    }
public function Remove ( $ id ) { if ( ! $ id ) { $ exception = new IdsException ( 'BatchItemIdNotFound: id' ) ; IdsExceptionManager :: HandleException ( $ exception ) ; } $ revisedBatchRequests = array ( ) ; foreach ( $ this -> batchRequests as $ oneBatchRequest ) { if ( $ oneBatchRequest -> bId == $ id ) { // Exclude } else { $ revisedBatchRequests [ ] = $ oneBatchRequest ; } } $ this -> batchRequests = $ revisedBatchRequests ; }
Removes batchitem with the specified batchitem id.
@param string id unique batchitem id
Removes batchitem with the specified batchitem id .