34 lines
630 B
PHP
34 lines
630 B
PHP
<?php
|
|
|
|
namespace DigressivePrice\Event;
|
|
|
|
/**
|
|
* Class DigressivePriceFullEvent
|
|
* @package DigressivePrice\Event
|
|
* @author Etienne PERRIERE <eperriere@openstudio.fr> - Nexxpix - OpenStudio
|
|
*/
|
|
class DigressivePriceFullEvent extends DigressivePriceEvent
|
|
{
|
|
protected $id;
|
|
|
|
public function __construct(
|
|
$id,
|
|
$productId,
|
|
$discount,
|
|
$quantityFrom,
|
|
$quantityTo
|
|
) {
|
|
parent::__construct($productId, $discount, $quantityFrom, $quantityTo);
|
|
|
|
$this->id = $id;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
}
|