AdjustRevenueEvent
A purchase as Adjust counts revenue: a tokened event that also carries the amount, so Adjust attributes it to the campaign that brought the user in.
A final class, so an app event can't be one. The app's Adjust factory builds one from its own event and sends it through RevenueEventTracker, with the purchase's token.
For ad revenue from a mediation SDK, see AdjustAdRevenueEvent, which Adjust models as a different call.
Properties
The transaction id, so a purchase that is reported twice — a retried callback, a restored receipt — is counted once. Adjust drops a revenue event whose id it has already seen. Absent by default, which counts every report.
Sent as callback parameters, as on every other Adjust event. Usually the app event's own.
Functions
Builds the Adjust payload for an event under eventToken, carrying the event's parameters as callback parameters. Public because a custom AdjustEventTracker almost always needs it.
Builds the Adjust payload under eventToken: the revenue, the deduplication id when there is one, and AdjustRevenueEvent.parameters as callback parameters. Public because a custom AdjustEventTracker almost always needs it.