<?php

namespace Eurostop\Products;

class GetHierarchyNodesByLevel
{

    /**
     * @var int $levelNumber
     */
    protected $levelNumber = null;

    /**
     * @param int $levelNumber
     */
    public function __construct($levelNumber = null)
    {
      $this->levelNumber = $levelNumber;
    }

    /**
     * @return int
     */
    public function getLevelNumber()
    {
      return $this->levelNumber;
    }

    /**
     * @param int $levelNumber
     * @return \Eurostop\Products\GetHierarchyNodesByLevel
     */
    public function setLevelNumber($levelNumber)
    {
      $this->levelNumber = $levelNumber;
      return $this;
    }

}
