Model/OrderPaymentActionManager.php
protected function getAvailableActions($paymentAction, $paymentStatus)
    {
        $actions = $this->availableActions[$paymentAction][$paymentStatus];

        return $actions ? $actions : array();
    }
protected function getAvailableActions($paymentAction, $paymentStatus)
    {
        $actions = $this->availableActions[$paymentAction][$paymentStatus];

        return $actions ? $actions : array();
    }
protected function getAvailableActions ( $ paymentAction , $ paymentStatus ) { $ actions = $ this -> availableActions [ $ paymentAction ] [ $ paymentStatus ] ; return $ actions ? $ actions : array ( ) ; }
Returns available actions for given payment action

@param string $paymentAction
@param string $paymentStatus

@return array
Returns available actions for given payment action