public function isNotPaid($exact = true)
    {
        //return $this->hasStatusHelper(OrderStatus::CODE_NOT_PAID);
        if ($exact) {
            return $this->hasStatusHelper(OrderStatus::CODE_NOT_PAID);
        } else {
            return ! $this->isPaid(false);
        }
    }
public function isNotPaid($exact = true)
    {
        //return $this->hasStatusHelper(OrderStatus::CODE_NOT_PAID);
        if ($exact) {
            return $this->hasStatusHelper(OrderStatus::CODE_NOT_PAID);
        } else {
            return ! $this->isPaid(false);
        }
    }
public function isNotPaid ( $ exact = true ) { //return $this->hasStatusHelper(OrderStatus::CODE_NOT_PAID); if ( $ exact ) { return $ this -> hasStatusHelper ( OrderStatus :: CODE_NOT_PAID ) ; } else { return ! $ this -> isPaid ( false ) ; } }
Check if the current status is NOT PAID

@param bool $exact if true, the method will check if the current status is exactly OrderStatus::CODE_NOT_PAID.
if false, it will check if the order has not been paid, whatever the exact status is. The default is true.

@return bool true if NOT PAID, false otherwise.
Check if the current status is NOT PAID