custom/plugins/AcrisRrpCS/src/Components/RrpPrice/Struct/RrpRuleStruct.php line 8
<?php declare(strict_types=1);
namespace Acris\Rrp\Components\RrpPrice\Struct;
use Acris\Rrp\Custom\AcrisRrpEntity;
use Shopware\Core\Framework\Struct\Struct;
class RrpRuleStruct extends Struct
{
public const EXTENSION_KEY = 'acris_rrp_rule_struct';
/**
* @var AcrisRrpEntity|null
*/
protected $rrpRule;
public function __construct(?AcrisRrpEntity $rrpRule)
{
$this->rrpRule = $rrpRule;
}
/**
* @return AcrisRrpEntity|null
*/
public function getRrpRule(): ?AcrisRrpEntity
{
return $this->rrpRule;
}
/**
* @param AcrisRrpEntity|null $rrpRule
*/
public function setRrpRule(?AcrisRrpEntity $rrpRule): void
{
$this->rrpRule = $rrpRule;
}
}