<?php declare(strict_types=1);
namespace Shopware\Storefront\Page\Product\Review;
class MatrixElement
{
/**
* @var int
*/
protected $points;
/**
* @var int
*/
protected $count;
/**
* @var float
*/
protected $percent;
public function __construct(int $points, int $count, float $percent = 0.0)
{
$this->points = $points;
$this->count = $count;
$this->percent = $percent;
}
public function getPoints(): int
{
return $this->points;
}
public function setPoints(int $points): MatrixElement
{
$this->points = $points;
return $this;
}
public function getCount(): int
{
return $this->count;
}
public function setCount(int $count): MatrixElement
{
$this->count = $count;
return $this;
}
public function getPercent(): float
{
return $this->percent;
}
public function setPercent(float $percent): MatrixElement
{
$this->percent = $percent;
return $this;
}
}