getPayload

@VisibleForTesting(otherwise = 3)
fun getPayload(): JsonObject

Builds and returns the event attributes in the format it needs to be sent to backend.

Return

JsonObject re-presentation of the tracked event attributes