1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 
<?php
    namespace Inteve\FeedGenerator\Feeds\Heureka;
    use Inteve\FeedGenerator\AssertException;
    use Inteve\FeedGenerator\IFeedItem;
    use Inteve\FeedGenerator\InvalidArgumentException;
    use Inteve\FeedGenerator\Utils\Helpers;
    use Nette\Utils\Validators;
    class HeurekaItemParameter implements IFeedItem
    {
        /** @var string */
        private $name;
        /** @var string */
        private $value;
        /** @var string|NULL */
        private $unit;
        /**
         * @param  string
         * @param  string
         * @param  string|NULL
         */
        public function __construct($name, $value, $unit = NULL)
        {
            $this->name = $name;
            $this->value = $value;
            $this->unit = $unit;
        }
        /**
         * @return string
         */
        public function getName()
        {
            return $this->name;
        }
        /**
         * @return string
         */
        public function getValue()
        {
            return $this->value;
        }
        /**
         * @return string|NULL
         */
        public function getUnit()
        {
            return $this->unit;
        }
    }