Model/OrderPaymentStatusCalculator.php
protected function getOrderPaymentStatusFinal()
    {
        $status = null;
        if ($this->isOrderPaymentStatusFinal()) {
            $status = $this->getOrder()->getPaymentStatus();
        }

        return $status;
    }
protected function getOrderPaymentStatusFinal()
    {
        $status = null;
        if ($this->isOrderPaymentStatusFinal()) {
            $status = $this->getOrder()->getPaymentStatus();
        }

        return $status;
    }
protected function getOrderPaymentStatusFinal ( ) { $ status = null ; if ( $ this -> isOrderPaymentStatusFinal ( ) ) { $ status = $ this -> getOrder ( ) -> getPaymentStatus ( ) ; } return $ status ; }
Returns order payment status if order has final status.

@return string|null
Returns order payment status if order has final status .