public function getAmount($baseAmount = null)
    {
        if (is_numeric($this->getFixedAmount())) {
            return $this->getFixedAmount();
        }

        if (null === $baseAmount) {
            $baseAmount = $this->getBaseAmount();
        }

        return round($baseAmount * $this->getRate() / 100, 2);
    }