These docs are for an old release. Info on upgrading to v5
edit doc

Event::setExtendedProp

Modifies a single property in an Event Object’s extendedProps hash.

event.setExtendedProp( name, value )