RetailEvent

RetailEvent

RetailEvent abstract class with a predefined and known properties. Must be used via it's subclasses. This class is not accessible directly.

Constructor

new RetailEvent()

Methods

validate()

Should never have to be called manually.

Validates the event and throws any errors found. Is used by CustomEvent#track to reject any errors.

See:
Throws:

properties.feature must be a boolean

Type
TypeError