revenue

fun revenue(revenue: Revenue, options: EventOptions? = null): Amplitude

Create a Revenue object to hold your revenue data and properties, and log it as a revenue event using this method.

Return

the Amplitude instance

Parameters

revenue

revenue object

options

optional event options


fun revenue(event: RevenueEvent): Amplitude

Log a Revenue Event.

Return

the Amplitude instance

Parameters

event

the revenue event