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()

Classes

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:
  • CustomEvent#validate for other possible exceptions.
Throws:

properties.feature must be a boolean

Type
TypeError