private function setSent($orderId, $sent)
    {
        //Getting connection
        $connection  = $this->_resource->getConnection();
        //Getting full table name
        $tableName = $this->_resource->getTableName('pagseguro_orders');
        //Update sales_order_grid query
        $mapsDeleteQuery = "UPDATE {$tableName} SET sent={$sent} WHERE order_id={$orderId}";
        $connection->query($mapsDeleteQuery);
    }
private function setSent($orderId, $sent)
    {
        //Getting connection
        $connection  = $this->_resource->getConnection();
        //Getting full table name
        $tableName = $this->_resource->getTableName('pagseguro_orders');
        //Update sales_order_grid query
        $mapsDeleteQuery = "UPDATE {$tableName} SET sent={$sent} WHERE order_id={$orderId}";
        $connection->query($mapsDeleteQuery);
    }
private function setSent ( $ orderId , $ sent ) { //Getting connection $ connection = $ this -> _resource -> getConnection ( ) ; //Getting full table name $ tableName = $ this -> _resource -> getTableName ( 'pagseguro_orders' ) ; //Update sales_order_grid query $ mapsDeleteQuery = "UPDATE {$tableName} SET sent={$sent} WHERE order_id={$orderId}" ; $ connection -> query ( $ mapsDeleteQuery ) ; }
Increments a sent for a order in pagseguro_orders table.

@param $orderId
@param $sent
Increments a sent for a order in pagseguro_orders table .