public function getAmount()
    {
        $amount = $this->getRequest()->getRequestParameter('refund_amount');

        return $amount ? $amount : $this->getPaymentBeingRefunded()->getRemainingRefundAmount();
    }