public function getApprovedAmount($orderIndex = 0)
    {
        $paymentAmountInfo = $this->getPaymentAmountInfo($orderIndex);
        return array_key_exists('approvedAmount', $paymentAmountInfo) ? $paymentAmountInfo['approvedAmount'] : null;
    }
public function getApprovedAmount($orderIndex = 0)
    {
        $paymentAmountInfo = $this->getPaymentAmountInfo($orderIndex);
        return array_key_exists('approvedAmount', $paymentAmountInfo) ? $paymentAmountInfo['approvedAmount'] : null;
    }
public function getApprovedAmount ( $ orderIndex = 0 ) { $ paymentAmountInfo = $ this -> getPaymentAmountInfo ( $ orderIndex ) ; return array_key_exists ( 'approvedAmount' , $ paymentAmountInfo ) ? $ paymentAmountInfo [ 'approvedAmount' ] : null ; }
Amount confirmed for cancellation.

@param int $orderIndex
@return mixed|null
Amount confirmed for cancellation .