Initial Commit
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user