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

namespace Kufer\Web\KuferTools\Teilnehmer\Punkte\HandleCheckCode4Ajax;

class HandleCheckCode4AjaxPresenter extends \Kufer\Web\KuferTools\Basis\Presenter\JsonPresenter
{
  public function present()
  {
    $obj = new \stdClass();
    $obj->knr = $this->useCaseResponse->knr;
    $obj->ktitel = $this->useCaseResponse->ktitel;
    $obj->status = $this->useCaseResponse->status;
    $obj->angefragteKursnummer = $this->useCaseResponse->angefragteKursnummer;
    $obj->belegId = $this->useCaseResponse->belegId;
    $obj->code = $this->useCaseResponse->code;
    $obj->technischerFehler = $this->useCaseResponse->technischerFehler;

    return \JsonOperations::encode4Ajax($obj);
  }

  protected function getView()
  {
    return;
  }

  protected function getViewModel()
  {
    return;
  }
}