public function getAmount($orderIndex = 0)
    {
        $orderStatuses = $this->getOrderStatuses();
        return array_key_exists('amount', $orderStatuses[$orderIndex]) ? $orderStatuses[$orderIndex]['amount'] : null;
    }
public function getAmount($orderIndex = 0)
    {
        $orderStatuses = $this->getOrderStatuses();
        return array_key_exists('amount', $orderStatuses[$orderIndex]) ? $orderStatuses[$orderIndex]['amount'] : null;
    }
public function getAmount ( $ orderIndex = 0 ) { $ orderStatuses = $ this -> getOrderStatuses ( ) ; return array_key_exists ( 'amount' , $ orderStatuses [ $ orderIndex ] ) ? $ orderStatuses [ $ orderIndex ] [ 'amount' ] : null ; }
The amount of payment in the minimum units of currency.

@param int $orderIndex
@return mixed|null
The amount of payment in the minimum units of currency .