public function getRefundedAmount($orderIndex = 0)
    {
        $paymentAmountInfo = $this->getPaymentAmountInfo($orderIndex);
        return array_key_exists('refundedAmount', $paymentAmountInfo) ? $paymentAmountInfo['refundedAmount'] : null;
    }
public function getRefundedAmount($orderIndex = 0)
    {
        $paymentAmountInfo = $this->getPaymentAmountInfo($orderIndex);
        return array_key_exists('refundedAmount', $paymentAmountInfo) ? $paymentAmountInfo['refundedAmount'] : null;
    }
public function getRefundedAmount ( $ orderIndex = 0 ) { $ paymentAmountInfo = $ this -> getPaymentAmountInfo ( $ orderIndex ) ; return array_key_exists ( 'refundedAmount' , $ paymentAmountInfo ) ? $ paymentAmountInfo [ 'refundedAmount' ] : null ; }
Refund amount.

@param int $orderIndex
@return mixed|null
Refund amount .