original_string: protected function setNotificationUpdateOrder($order_id)
      {
          if (!$this->config('order_update_notify_customer', 1)) {
              return static::NOTIFICATION_DISABLED;
          }
  
          $order = $this->order->get($order_id);
          if ($this->order_action->notifyUpdated($order) === true) {
              return static::NOTIFICATION_SENT;
          }
  
          return static::NOTIFICATION_ERROR;
      }
code: protected function setNotificationUpdateOrder($order_id)
      {
          if (!$this->config('order_update_notify_customer', 1)) {
              return static::NOTIFICATION_DISABLED;
          }
  
          $order = $this->order->get($order_id);
          if ($this->order_action->notifyUpdated($order) === true) {
              return static::NOTIFICATION_SENT;
          }
  
          return static::NOTIFICATION_ERROR;
      }
code_tokens: protected function setNotificationUpdateOrder ( $ order_id ) { if ( ! $ this -> config ( 'order_update_notify_customer' , 1 ) ) { return static :: NOTIFICATION_DISABLED ; } $ order = $ this -> order -> get ( $ order_id ) ; if ( $ this -> order_action -> notifyUpdated ( $ order ) === true ) { return static :: NOTIFICATION_SENT ; } return static :: NOTIFICATION_ERROR ; }
docstring: Notify a customer when an order has been updated
  @param integer $order_id
  @return integer
docstring_tokens: Notify a customer when an order has been updated