public function getOrderTypeEntityById($typeId)
    {
        // Get desired status.
        $typeEntity = $this->orderTypeRepository->find($typeId);
        if (!$typeEntity) {
            throw new EntityNotFoundException($this->orderTypeRepository->getClassName(), $typeId);
        }

        return $typeEntity;
    }