public function setStateNotVoid()
    {
        if ($this->state === State::VOID) {
            $this->state = $this->hasSavedProperties() ? State::SAVED : State::PENDING;
        }

        return $this;
    }