public function getIp($orderIndex = 0)
    {
        $orderStatuses = $this->getOrderStatuses();
        return array_key_exists('ip', $orderStatuses[$orderIndex]) ? $orderStatuses[$orderIndex]['ip'] : null;
    }
public function getIp($orderIndex = 0)
    {
        $orderStatuses = $this->getOrderStatuses();
        return array_key_exists('ip', $orderStatuses[$orderIndex]) ? $orderStatuses[$orderIndex]['ip'] : null;
    }
public function getIp ( $ orderIndex = 0 ) { $ orderStatuses = $ this -> getOrderStatuses ( ) ; return array_key_exists ( 'ip' , $ orderStatuses [ $ orderIndex ] ) ? $ orderStatuses [ $ orderIndex ] [ 'ip' ] : null ; }
IP address of the buyer.

Specified only after payment.

@param int $orderIndex
@return mixed|null
IP address of the buyer .