Message Metadata
class MessageMetadata(val from: String, val to: String, val kind: MessageKind, val id: String, val exchangeId: String, val externalId: String? = null, val createdAt: OffsetDateTime, val protocol: String) : Metadata
A data class representing the metadata present on every Message
Constructors
Link copied to clipboard
constructor(from: String, to: String, kind: MessageKind, id: String, exchangeId: String, externalId: String? = null, createdAt: OffsetDateTime, protocol: String)
Properties
Link copied to clipboard
ISO 8601 timestamp
Link copied to clipboard
ID for an "exchange" of messages between Alice <-> PFI. Set by the first message in an exchange
Link copied to clipboard
Arbitrary ID for the caller to associate with the message. Different messages in the same exchange can have different IDs
Link copied to clipboard
e.g. rfq, quote etc. This defines the data property's type
Link copied to clipboard