public static function getStatusFromKey($key)
    {
        if (array_key_exists($key, self::$statusList)) {
            return self::$statusList[$key];
        }
        return false;
    }
public static function getStatusFromKey($key)
    {
        if (array_key_exists($key, self::$statusList)) {
            return self::$statusList[$key];
        }
        return false;
    }
public static function getStatusFromKey ( $ key ) { if ( array_key_exists ( $ key , self :: $ statusList ) ) { return self :: $ statusList [ $ key ] ; } return false ; }
Get the name of payment status
@param Integer $key
@return boolean|string
Get the name of payment status