public function getPaymentState($orderIndex = 0)
    {
        $paymentAmountInfo = $this->getPaymentAmountInfo($orderIndex);
        return array_key_exists('paymentState', $paymentAmountInfo) ? $paymentAmountInfo['paymentState'] : null;
    }
public function getPaymentState($orderIndex = 0)
    {
        $paymentAmountInfo = $this->getPaymentAmountInfo($orderIndex);
        return array_key_exists('paymentState', $paymentAmountInfo) ? $paymentAmountInfo['paymentState'] : null;
    }
public function getPaymentState ( $ orderIndex = 0 ) { $ paymentAmountInfo = $ this -> getPaymentAmountInfo ( $ orderIndex ) ; return array_key_exists ( 'paymentState' , $ paymentAmountInfo ) ? $ paymentAmountInfo [ 'paymentState' ] : null ; }
State of payment

@param int $orderIndex
@return mixed|null
State of payment