Event Object
data class EventObject(@Json(name = id ) id: String, @Json(name = transaction ) transaction: String, @Json(name = type ) type: String, @Json(name = data ) data: Any, @Json(name = testmode ) testmode: Boolean, @Json(name = message ) message: String, @Json(name = created_at ) createdAt: OffsetDateTime)
Content copied to clipboard
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.
Constructors
EventObject
Link copied to clipboard
fun EventObject(@Json(name = id ) id: String, @Json(name = transaction ) transaction: String, @Json(name = type ) type: String, @Json(name = data ) data: Any, @Json(name = testmode ) testmode: Boolean, @Json(name = message ) message: String, @Json(name = created_at ) createdAt: OffsetDateTime)
Content copied to clipboard
Transaction id