EventObject

fun EventObject(@Json(name = idid: String, @Json(name = transactiontransaction: String, @Json(name = typetype: String, @Json(name = datadata: Any, @Json(name = testmodetestmode: Boolean, @Json(name = messagemessage: String, @Json(name = created_atcreatedAt: OffsetDateTime)

Parameters

id

Transaction id

transaction

The transaction ID this object belongs to. May be null for some events.

type

The type of event. transaction.created or transaction.updated

data

The object, that this event relates to. This is usually a transaction object.

testmode

Indicates whether or not this event belongs to a test transaction

message

A human readable message that describes this event.

createdAt

The date the event was fired.