code: public function setConsumerId($id)
      {
          $this->sessionHandler->setTransactionFlowLink(true);
          $this->sessionHandler->setConsumerId($id);
      }
docs: Set TransactionFlowLink Consumer Id
  
  @throws UnsupportedOperationException when used on unsupported WSAP versions
  @param string $id
  @return void