/** * Returns discount percent * * @return bool|float */ public function getDiscountPercent() { if ($this->percent === null) { $this->percent = parent::getValue(); } return $this->percent; }
/** * Returns discount percent * * @return bool|float */ public function getDiscountPercent() { if ($this->percent === null) { $this->percent = parent::getValue(); } return $this->percent; }