Companion

object Companion

Functions

Link copied to clipboard
fun create(to: String, from: String, exchangeId: String, closeData: CloseData, protocol: String = "1.0", externalId: String? = null): Close

Creates a new Close message, autopopulating the id, creation time, and message kind.

Link copied to clipboard
fun parse(payload: String): Close

Takes an existing Close in the form of a json string and parses it into a Close object. Validates object structure and performs an integrity check using the message signature.