public function getPaymentAmountInfo($index = 0)
    {
        $orderStatuses = $this->getOrderStatuses();
        return array_key_exists('paymentAmountInfo', $orderStatuses[$index])
            ? $orderStatuses[$index]['paymentAmountInfo'] : [];
    }
public function getPaymentAmountInfo($index = 0)
    {
        $orderStatuses = $this->getOrderStatuses();
        return array_key_exists('paymentAmountInfo', $orderStatuses[$index])
            ? $orderStatuses[$index]['paymentAmountInfo'] : [];
    }
public function getPaymentAmountInfo ( $ index = 0 ) { $ orderStatuses = $ this -> getOrderStatuses ( ) ; return array_key_exists ( 'paymentAmountInfo' , $ orderStatuses [ $ index ] ) ? $ orderStatuses [ $ index ] [ 'paymentAmountInfo' ] : [ ] ; }
Information about the amounts of confirmation, cancellation, refund.

@param int $index
@return array
Information about the amounts of confirmation cancellation refund .