How to get reference name of a prestashop order?
<p>I saw that the Prestashop's order name has a reference like <code>SHAJSUYD</code>, but how can I get this reference? At the same time I want to get the <code>id_status</code>.</p>

<p>I want to apply the <code>id_status</code> in a hook like this example:</p>

<pre><code>public function hookActionOrderStatusUpdate($params)
{
    if($params['newOrderStatus']-&gt;id == 4)
    {
        my code is here
    }
}
</code></pre>