public function update(Order $order)
    {
        if ($this->sgOrder->getUpdatePayment()) {
            $order->setIsPaid($this->sgOrder->getIsPaid());
        }

        if ($this->sgOrder->getUpdateShipping()) {
            $order->setIsShippingBlocked($this->sgOrder->getIsShippingBlocked());
        }
    }
public function update(Order $order)
    {
        if ($this->sgOrder->getUpdatePayment()) {
            $order->setIsPaid($this->sgOrder->getIsPaid());
        }

        if ($this->sgOrder->getUpdateShipping()) {
            $order->setIsShippingBlocked($this->sgOrder->getIsShippingBlocked());
        }
    }
public function update ( Order $ order ) { if ( $ this -> sgOrder -> getUpdatePayment ( ) ) { $ order -> setIsPaid ( $ this -> sgOrder -> getIsPaid ( ) ) ; } if ( $ this -> sgOrder -> getUpdateShipping ( ) ) { $ order -> setIsShippingBlocked ( $ this -> sgOrder -> getIsShippingBlocked ( ) ) ; } }
Updates isPaid and isShippingBlocked settings
using the loaded SG Base class

@param Order $order
Updates isPaid and isShippingBlocked settings using the loaded SG Base class