<?php
/**
 * @copyright (c) Kufer Software GmbH, Oderstraße 7, D-84453 Mühldorf
 */

namespace Kufer\Web\KuferTools\Basis\TeilnehmerInfo\Detailsreiter\Bankverbindungen\Bankdaten;

abstract class BankdatenController extends \Kufer\Web\KuferTools\Basis\Controller\AjaxToolController
{
  protected function getRequestObj()
  {
    $requestObj = new BankdatenRequest();
    $requestObj->stammBvId = \PostOperations::getVarValue('bank_id');
    $requestObj->tnr = \GetOperations::getVarValue('tnr');
    $requestObj->tguid = \GetOperations::getVarValue('tguid', null);

    return $requestObj;
  }
}