public function setIdParent($idParent)
    {
        $idParent = (int) $idParent;

        if ($this->idParent < 0) {
            throw new \UnderflowException('Value of "idParent" must be greater than 0');
        }


        if ($this->exists() && $this->idParent !== $idParent) {
            $this->updated['idParent'] = true;
        }

        $this->idParent = $idParent;

        return $this;
    }
public function setIdParent($idParent)
    {
        $idParent = (int) $idParent;

        if ($this->idParent < 0) {
            throw new \UnderflowException('Value of "idParent" must be greater than 0');
        }


        if ($this->exists() && $this->idParent !== $idParent) {
            $this->updated['idParent'] = true;
        }

        $this->idParent = $idParent;

        return $this;
    }
public function setIdParent ( $ idParent ) { $ idParent = ( int ) $ idParent ; if ( $ this -> idParent < 0 ) { throw new \ UnderflowException ( 'Value of "idParent" must be greater than 0' ) ; } if ( $ this -> exists ( ) && $ this -> idParent !== $ idParent ) { $ this -> updated [ 'idParent' ] = true ; } $ this -> idParent = $ idParent ; return $ this ; }
Set value for field "account_id_parent"

@param  int $idParent
@return $this
@throws \UnderflowException
Set value for field account_id_parent