- Nexxpix - OpenStudio */ class DigressivePriceEvent extends ActionEvent { protected $productId; protected $discount; protected $quantityFrom; protected $quantityTo; public function __construct( $productId, $discount, $quantityFrom, $quantityTo ) { $this->productId = $productId; $this->discount = $discount; $this->quantityFrom = $quantityFrom; $this->quantityTo = $quantityTo; } /** * @return mixed */ public function getProductId() { return $this->productId; } /** * @param mixed $productId */ public function setProductId($productId) { $this->productId = $productId; } /** * @return mixed */ public function getDiscount() { return $this->discount; } /** * @param mixed $discount * @return $this */ public function setDiscount($discount) { $this->discount = $discount; return $this; } /** * @return mixed */ public function getQuantityFrom() { return $this->quantityFrom; } /** * @param mixed $quantityFrom */ public function setQuantityFrom($quantityFrom) { $this->quantityFrom = $quantityFrom; } /** * @return mixed */ public function getQuantityTo() { return $this->quantityTo; } /** * @param mixed $quantityTo */ public function setQuantityTo($quantityTo) { $this->quantityTo = $quantityTo; } }